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>;
35 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
36 linux,default-trigger = "usbport";
41 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>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
63 m25p,chunked-io = <32>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
81 factory: partition@40000 {
83 reg = <0x40000 0x10000>;
89 reg = <0x50000 0xfb0000>;
101 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x8000>;
103 ieee80211-freq-limit = <5000000 6000000>;
109 reg = <0x0000 0 0 0 0>;
110 mediatek,mtd-eeprom = <&factory 0x0000>;
115 mtd-mac-address = <&factory 0xe000>;
119 state_default: pinctrl0 {
121 ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
122 ralink,function = "gpio";