3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/gpio/gpio.h>
7 compatible = "samknows,whitebox-v8", "mediatek,mt7621-soc";
8 model = "SamKnows Whitebox 8";
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
18 compatible = "gpio-leds";
21 label = "sk-wb8:green:wps";
22 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
26 label = "sk-wb8:green:usb";
27 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
28 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
29 linux,default-trigger = "usbport";
34 compatible = "gpio-keys";
38 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WPS_BUTTON>;
44 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <10000000>;
59 compatible = "fixed-partitions";
71 reg = <0x30000 0x10000>;
74 factory: partition@40000 {
76 reg = <0x40000 0x10000>;
81 compatible = "denx,uimage";
83 reg = <0x50000 0xfb0000>;
95 reg = <0x0000 0 0 0 0>;
96 mediatek,mtd-eeprom = <&factory 0x8000>;
97 ieee80211-freq-limit = <5000000 6000000>;
103 reg = <0x0000 0 0 0 0>;
104 mediatek,mtd-eeprom = <&factory 0x0000>;
109 mtd-mac-address = <&factory 0xe000>;
137 mtd-mac-address = <&factory 0xe006>;