3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.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 function = LED_FUNCTION_WPS;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_USB;
29 color = <LED_COLOR_ID_GREEN>;
30 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
31 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
32 linux,default-trigger = "usbport";
37 compatible = "gpio-keys";
41 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_WPS_BUTTON>;
47 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <10000000>;
62 compatible = "fixed-partitions";
74 reg = <0x30000 0x10000>;
79 reg = <0x40000 0x10000>;
83 compatible = "fixed-layout";
87 eeprom_factory_0: eeprom@0 {
91 eeprom_factory_8000: eeprom@8000 {
95 macaddr_factory_e000: macaddr@e000 {
99 macaddr_factory_e006: macaddr@e006 {
106 compatible = "denx,uimage";
108 reg = <0x50000 0xfb0000>;
120 reg = <0x0000 0 0 0 0>;
121 nvmem-cells = <&eeprom_factory_8000>;
122 nvmem-cell-names = "eeprom";
123 ieee80211-freq-limit = <5000000 6000000>;
129 reg = <0x0000 0 0 0 0>;
130 nvmem-cells = <&eeprom_factory_0>;
131 nvmem-cell-names = "eeprom";
136 nvmem-cells = <&macaddr_factory_e000>;
137 nvmem-cell-names = "mac-address";
143 phy-handle = <ðphy4>;
145 nvmem-cells = <&macaddr_factory_e006>;
146 nvmem-cell-names = "mac-address";
150 /delete-property/ interrupts;