1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "renkforce,ws-wn530hp3-a", "mediatek,mt7621-soc";
10 model = "Renkforce WS-WN530HP3-A";
13 label-mac-device = &gmac0;
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-keys";
25 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
31 compatible = "gpio-leds";
35 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
49 compatible = "jedec,spi-nor";
51 spi-max-frequency = <40000000>;
54 compatible = "fixed-partitions";
66 reg = <0x30000 0x10000>;
72 reg = <0x40000 0x10000>;
76 compatible = "fixed-layout";
80 eeprom_factory_0: eeprom@0 {
84 eeprom_factory_8000: eeprom@8000 {
85 reg = <0x8000 0x4da8>;
88 macaddr_factory_4: macaddr@4 {
89 compatible = "mac-base";
91 #nvmem-cell-cells = <1>;
97 compatible = "denx,uimage";
99 reg = <0x50000 0xf30000>;
111 compatible = "mediatek,mt76";
112 reg = <0x0000 0 0 0 0>;
113 nvmem-cells = <&eeprom_factory_0>;
114 nvmem-cell-names = "eeprom";
115 ieee80211-freq-limit = <2400000 2500000>;
121 compatible = "mediatek,mt76";
122 reg = <0x0000 0 0 0 0>;
123 ieee80211-freq-limit = <5000000 6000000>;
124 nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_4 1>;
125 nvmem-cell-names = "eeprom", "mac-address";
130 nvmem-cells = <&macaddr_factory_4 (-2)>;
131 nvmem-cell-names = "mac-address";
137 phy-handle = <ðphy4>;
139 nvmem-cells = <&macaddr_factory_4 (-1)>;
140 nvmem-cell-names = "mac-address";
144 ethphy4: ethernet-phy@4 {
165 groups = "uart2", "jtag", "wdt";