3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "huasifei,ws1208v2", "mediatek,mt7621-soc";
9 model = "Huasifei WS1208V2";
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
16 label-mac-device = &gmac0;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-keys";
28 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 compatible = "gpio-leds";
36 led_status: led-status {
37 function = LED_FUNCTION_STATUS;
38 color = <LED_COLOR_ID_GREEN>;
39 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
43 label = "green:cellular";
44 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
48 label = "green:wlan5g";
49 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy1tpt";
54 label = "green:wlan2g";
55 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
56 linux,default-trigger = "phy0tpt";
60 function = LED_FUNCTION_USB;
61 color = <LED_COLOR_ID_GREEN>;
62 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
63 trigger-sources = <&xhci_ehci_port1>;
64 linux,default-trigger = "usbport";
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <10000000>;
82 compatible = "fixed-partitions";
94 reg = <0x30000 0x10000>;
100 reg = <0x40000 0x10000>;
104 compatible = "fixed-layout";
105 #address-cells = <1>;
108 eeprom_factory_0: eeprom@0 {
112 eeprom_factory_8000: eeprom@8000 {
113 reg = <0x8000 0x200>;
116 macaddr_factory_e000: macaddr@e000 {
123 compatible = "denx,uimage";
124 reg = <0x50000 0xfb0000>;
137 compatible = "pci14c3,7603";
138 reg = <0x0000 0 0 0 0>;
139 nvmem-cells = <&eeprom_factory_0>;
140 nvmem-cell-names = "eeprom";
146 compatible = "pci14c3,7662";
147 reg = <0x0000 0 0 0 0>;
148 nvmem-cells = <&eeprom_factory_8000>;
149 nvmem-cell-names = "eeprom";
150 ieee80211-freq-limit = <5000000 6000000>;
159 nvmem-cells = <&macaddr_factory_e000>;
160 nvmem-cell-names = "mac-address";
166 phy-handle = <ðphy4>;
168 nvmem-cells = <&macaddr_factory_e000>;
169 nvmem-cell-names = "mac-address";
173 /delete-property/ interrupts;