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 compatible = "gpio-leds";
22 label = "sk-wb8:green:wps";
23 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
27 label = "sk-wb8:green:usb";
28 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
29 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
30 linux,default-trigger = "usbport";
35 compatible = "gpio-keys";
39 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_WPS_BUTTON>;
45 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <10000000>;
60 compatible = "fixed-partitions";
72 reg = <0x30000 0x10000>;
75 factory: partition@40000 {
77 reg = <0x40000 0x10000>;
82 compatible = "denx,uimage";
84 reg = <0x50000 0xfb0000>;
96 reg = <0x0000 0 0 0 0>;
97 mediatek,mtd-eeprom = <&factory 0x8000>;
98 ieee80211-freq-limit = <5000000 6000000>;
104 reg = <0x0000 0 0 0 0>;
105 mediatek,mtd-eeprom = <&factory 0x0000>;
110 mtd-mac-address = <&factory 0xe000>;
138 mtd-mac-address = <&factory 0xe006>;