1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
9 compatible = "cudy,wr1300-v1", "mediatek,mt7621-soc";
10 model = "Cudy WR1300 v1";
14 led-failsafe = &led_sys;
15 led-running = &led_sys;
16 led-upgrade = &led_sys;
17 label-mac-device = &gmac0;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-keys";
29 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_WPS_BUTTON>;
41 compatible = "gpio-leds";
45 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
50 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
51 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
52 linux,default-trigger = "usbport";
57 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <10000000>;
71 compatible = "fixed-partitions";
83 reg = <0x30000 0x10000>;
87 factory: partition@40000 {
88 compatible = "nvmem-cells";
90 reg = <0x40000 0x10000>;
95 eeprom_factory_0: eeprom@0 {
99 eeprom_factory_8000: eeprom@8000 {
100 reg = <0x8000 0x200>;
105 compatible = "denx,uimage";
107 reg = <0x50000 0xf80000>;
112 reg = <0xfd0000 0x10000>;
118 reg = <0xfe0000 0x10000>;
122 bdinfo: partition@ff0000 {
123 compatible = "nvmem-cells";
125 reg = <0xff0000 0x10000>;
126 #address-cells = <1>;
130 macaddr_bdinfo_de00: macaddr@de00 {
144 compatible = "pci14c3,7603";
145 reg = <0x0000 0 0 0 0>;
146 nvmem-cells = <&eeprom_factory_0>, <&macaddr_bdinfo_de00>;
147 nvmem-cell-names = "eeprom", "mac-address";
148 ieee80211-freq-limit = <2400000 2500000>;
158 compatible = "pci14c3,7662";
159 reg = <0x0000 0 0 0 0>;
160 nvmem-cells = <&eeprom_factory_8000>, <&macaddr_bdinfo_de00>;
161 nvmem-cell-names = "eeprom", "mac-address";
162 mac-address-increment = <2>;
163 ieee80211-freq-limit = <5000000 6000000>;
173 nvmem-cells = <&macaddr_bdinfo_de00>;
174 nvmem-cell-names = "mac-address";
180 phy-handle = <ðphy4>;
182 nvmem-cells = <&macaddr_bdinfo_de00>;
183 nvmem-cell-names = "mac-address";
184 mac-address-increment = <1>;
188 ethphy4: ethernet-phy@4 {
219 groups = "wdt", "i2c", "jtag";