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";
22 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
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>;
80 compatible = "fixed-layout";
84 eeprom_factory_0: eeprom@0 {
88 eeprom_factory_8000: eeprom@8000 {
92 macaddr_factory_e000: macaddr@e000 {
96 macaddr_factory_e006: macaddr@e006 {
103 compatible = "denx,uimage";
105 reg = <0x50000 0xfb0000>;
117 reg = <0x0000 0 0 0 0>;
118 nvmem-cells = <&eeprom_factory_8000>;
119 nvmem-cell-names = "eeprom";
120 ieee80211-freq-limit = <5000000 6000000>;
126 reg = <0x0000 0 0 0 0>;
127 nvmem-cells = <&eeprom_factory_0>;
128 nvmem-cell-names = "eeprom";
133 nvmem-cells = <&macaddr_factory_e000>;
134 nvmem-cell-names = "mac-address";
140 phy-handle = <ðphy4>;
142 nvmem-cells = <&macaddr_factory_e006>;
143 nvmem-cell-names = "mac-address";
147 ethphy4: ethernet-phy@4 {