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 device_type = "memory";
13 reg = <0x0 0x8000000>;
17 bootargs = "console=ttyS0,57600";
21 compatible = "gpio-leds";
24 label = "sk-wb8:green:wps";
25 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
29 label = "sk-wb8:green:usb";
30 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys-polled";
41 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_WPS_BUTTON>;
46 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <10000000>;
61 m25p,chunked-io = <32>;
71 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
82 reg = <0x50000 0xfb0000>;
93 mediatek,mtd-eeprom = <&factory 0x8000>;
94 ieee80211-freq-limit = <5000000 6000000>;
100 mediatek,mtd-eeprom = <&factory 0x0000>;
106 mtd-mac-address = <&factory 0xe000>;
110 state_default: pinctrl0 {
112 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
113 ralink,function = "gpio";