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>;
70 factory: partition@40000 {
71 compatible = "nvmem-cells";
73 reg = <0x40000 0x10000>;
78 eeprom_factory_0: eeprom@0 {
82 eeprom_factory_8000: eeprom@8000 {
83 reg = <0x8000 0x4da8>;
86 macaddr_factory_4: macaddr@4 {
92 compatible = "denx,uimage";
94 reg = <0x50000 0xf30000>;
106 compatible = "mediatek,mt76";
107 reg = <0x0000 0 0 0 0>;
108 nvmem-cells = <&eeprom_factory_0>;
109 nvmem-cell-names = "eeprom";
110 ieee80211-freq-limit = <2400000 2500000>;
116 compatible = "mediatek,mt76";
117 reg = <0x0000 0 0 0 0>;
118 ieee80211-freq-limit = <5000000 6000000>;
119 nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_4>;
120 nvmem-cell-names = "eeprom", "mac-address";
121 mac-address-increment = <1>;
126 nvmem-cells = <&macaddr_factory_4>;
127 nvmem-cell-names = "mac-address";
128 mac-address-increment = <(-2)>;
134 phy-handle = <ðphy4>;
136 nvmem-cells = <&macaddr_factory_4>;
137 nvmem-cell-names = "mac-address";
138 mac-address-increment = <(-1)>;
142 ethphy4: ethernet-phy@4 {
163 groups = "uart2", "jtag", "wdt";