3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "huasifei,ws1208v2", "mediatek,mt7621-soc";
8 model = "Huasifei WS1208V2";
11 led-boot = &led_status;
12 led-failsafe = &led_status;
13 led-running = &led_status;
14 led-upgrade = &led_status;
15 label-mac-device = &gmac0;
19 bootargs = "console=ttyS0,115200";
23 compatible = "gpio-keys";
27 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
35 led_status: led-status {
36 label = "green:status";
37 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
41 label = "green:cellular";
42 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
46 label = "green:wlan5g";
47 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "phy1tpt";
52 label = "green:wlan2g";
53 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy0tpt";
59 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
60 trigger-sources = <&xhci_ehci_port1>;
61 linux,default-trigger = "usbport";
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <10000000>;
79 compatible = "fixed-partitions";
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x10000>;
101 compatible = "fixed-layout";
102 #address-cells = <1>;
105 eeprom_factory_0: eeprom@0 {
109 eeprom_factory_8000: eeprom@8000 {
110 reg = <0x8000 0x200>;
113 macaddr_factory_e000: macaddr@e000 {
120 compatible = "denx,uimage";
121 reg = <0x50000 0xfb0000>;
134 compatible = "pci14c3,7603";
135 reg = <0x0000 0 0 0 0>;
136 nvmem-cells = <&eeprom_factory_0>;
137 nvmem-cell-names = "eeprom";
143 compatible = "pci14c3,7662";
144 reg = <0x0000 0 0 0 0>;
145 nvmem-cells = <&eeprom_factory_8000>;
146 nvmem-cell-names = "eeprom";
147 ieee80211-freq-limit = <5000000 6000000>;
156 nvmem-cells = <&macaddr_factory_e000>;
157 nvmem-cell-names = "mac-address";
163 phy-handle = <ðphy4>;
165 nvmem-cells = <&macaddr_factory_e000>;
166 nvmem-cell-names = "mac-address";
170 ethphy4: ethernet-phy@4 {