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 {
75 compatible = "nvmem-cells";
77 reg = <0x40000 0x10000>;
82 eeprom_factory_0: eeprom@0 {
86 eeprom_factory_8000: eeprom@8000 {
90 macaddr_factory_e000: macaddr@e000 {
94 macaddr_factory_e006: macaddr@e006 {
100 compatible = "denx,uimage";
102 reg = <0x50000 0xfb0000>;
114 reg = <0x0000 0 0 0 0>;
115 nvmem-cells = <&eeprom_factory_8000>;
116 nvmem-cell-names = "eeprom";
117 ieee80211-freq-limit = <5000000 6000000>;
123 reg = <0x0000 0 0 0 0>;
124 nvmem-cells = <&eeprom_factory_0>;
125 nvmem-cell-names = "eeprom";
130 nvmem-cells = <&macaddr_factory_e000>;
131 nvmem-cell-names = "mac-address";
137 phy-handle = <ðphy4>;
139 nvmem-cells = <&macaddr_factory_e006>;
140 nvmem-cell-names = "mac-address";
144 ethphy4: ethernet-phy@4 {