4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/gpio/gpio.h>
8 compatible = "samknows,whitebox-v8", "mediatek,mt7621-soc";
9 model = "SamKnows Whitebox 8";
13 led-failsafe = &led_wps;
14 led-running = &led_wps;
15 led-upgrade = &led_wps;
19 device_type = "memory";
20 reg = <0x0 0x8000000>;
24 bootargs = "console=ttyS0,57600";
28 compatible = "gpio-leds";
31 label = "sk-wb8:green:wps";
32 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
36 label = "sk-wb8:green:usb";
37 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
38 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
39 linux,default-trigger = "usbport";
44 compatible = "gpio-keys-polled";
48 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
53 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
66 m25p,chunked-io = <32>;
69 compatible = "fixed-partitions";
81 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
92 reg = <0x50000 0xfb0000>;
104 reg = <0x0000 0 0 0 0>;
105 mediatek,mtd-eeprom = <&factory 0x8000>;
106 ieee80211-freq-limit = <5000000 6000000>;
112 reg = <0x0000 0 0 0 0>;
113 mediatek,mtd-eeprom = <&factory 0x0000>;
118 mtd-mac-address = <&factory 0xe000>;
122 state_default: pinctrl0 {
124 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
125 ralink,function = "gpio";