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 bootargs = "console=ttyS0,57600";
23 compatible = "gpio-leds";
26 label = "sk-wb8:green:wps";
27 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
31 label = "sk-wb8:green:usb";
32 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
33 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
34 linux,default-trigger = "usbport";
39 compatible = "gpio-keys";
43 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
49 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <10000000>;
64 compatible = "fixed-partitions";
76 reg = <0x30000 0x10000>;
79 factory: partition@40000 {
81 reg = <0x40000 0x10000>;
86 compatible = "denx,uimage";
88 reg = <0x50000 0xfb0000>;
100 reg = <0x0000 0 0 0 0>;
101 mediatek,mtd-eeprom = <&factory 0x8000>;
102 ieee80211-freq-limit = <5000000 6000000>;
108 reg = <0x0000 0 0 0 0>;
109 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";