4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/gpio/gpio.h>
8 model = "SamKnows Whitebox 8";
11 device_type = "memory";
12 reg = <0x0 0x8000000>;
16 bootargs = "console=ttyS0,57600";
20 compatible = "gpio-leds";
23 label = "sk-wb8:green:wps";
24 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
28 label = "sk-wb8:green:usb";
29 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-keys-polled";
40 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
45 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
60 m25p,chunked-io = <32>;
70 reg = <0x30000 0x10000>;
73 factory: partition@40000 {
75 reg = <0x40000 0x10000>;
81 reg = <0x50000 0xfb0000>;
92 reg = <0x0000 0 0 0 0>;
94 mediatek,mtd-eeprom = <&factory 0x8000>;
101 reg = <0x0000 0 0 0 0>;
103 mediatek,mtd-eeprom = <&factory 0x0000>;
110 mtd-mac-address = <&factory 0xe000>;
114 state_default: pinctrl0 {
116 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
117 ralink,function = "gpio";