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";
12 led-status = &led_wps;
16 device_type = "memory";
17 reg = <0x0 0x8000000>;
21 bootargs = "console=ttyS0,57600";
25 compatible = "gpio-leds";
28 label = "sk-wb8:green:wps";
29 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
33 label = "sk-wb8:green:usb";
34 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-keys-polled";
45 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
50 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <10000000>;
65 m25p,chunked-io = <32>;
75 reg = <0x30000 0x10000>;
78 factory: partition@40000 {
80 reg = <0x40000 0x10000>;
86 reg = <0x50000 0xfb0000>;
97 reg = <0x0000 0 0 0 0>;
99 mediatek,mtd-eeprom = <&factory 0x8000>;
100 ieee80211-freq-limit = <5000000 6000000>;
106 reg = <0x0000 0 0 0 0>;
108 mediatek,mtd-eeprom = <&factory 0x0000>;
114 mtd-mac-address = <&factory 0xe000>;
118 state_default: pinctrl0 {
120 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
121 ralink,function = "gpio";