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 {
89 reg = <0x40000 0x10000>;
94 compatible = "denx,uimage";
96 reg = <0x50000 0xf80000>;
101 reg = <0xfd0000 0x10000>;
107 reg = <0xfe0000 0x10000>;
111 bdinfo: partition@ff0000 {
113 reg = <0xff0000 0x10000>;
126 compatible = "pci14c3,7603";
127 reg = <0x0000 0 0 0 0>;
128 mediatek,mtd-eeprom = <&factory 0x0000>;
129 nvmem-cells = <&macaddr_bdinfo_de00>;
130 nvmem-cell-names = "mac-address";
131 ieee80211-freq-limit = <2400000 2500000>;
141 compatible = "pci14c3,7662";
142 reg = <0x0000 0 0 0 0>;
143 mediatek,mtd-eeprom = <&factory 0x8000>;
144 nvmem-cells = <&macaddr_bdinfo_de00>;
145 nvmem-cell-names = "mac-address";
146 mac-address-increment = <2>;
147 ieee80211-freq-limit = <5000000 6000000>;
157 nvmem-cells = <&macaddr_bdinfo_de00>;
158 nvmem-cell-names = "mac-address";
164 phy-handle = <ðphy4>;
166 nvmem-cells = <&macaddr_bdinfo_de00>;
167 nvmem-cell-names = "mac-address";
168 mac-address-increment = <1>;
172 ethphy4: ethernet-phy@4 {
203 groups = "wdt", "i2c", "jtag";
209 compatible = "nvmem-cells";
210 #address-cells = <1>;
213 macaddr_bdinfo_de00: macaddr@de00 {