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 {
72 reg = <0x40000 0x10000>;
77 compatible = "denx,uimage";
79 reg = <0x50000 0xf30000>;
91 compatible = "mediatek,mt76";
92 reg = <0x0000 0 0 0 0>;
93 mediatek,mtd-eeprom = <&factory 0x0000>;
94 ieee80211-freq-limit = <2400000 2500000>;
95 nvmem-cells = <&macaddr_factory_4>;
96 nvmem-cell-names = "mac-address";
102 compatible = "mediatek,mt76";
103 reg = <0x0000 0 0 0 0>;
104 mediatek,mtd-eeprom = <&factory 0x8000>;
105 ieee80211-freq-limit = <5000000 6000000>;
106 nvmem-cells = <&macaddr_factory_4>;
107 nvmem-cell-names = "mac-address";
108 mac-address-increment = <1>;
113 nvmem-cells = <&macaddr_factory_4>;
114 nvmem-cell-names = "mac-address";
115 mac-address-increment = <(-2)>;
133 nvmem-cells = <&macaddr_factory_4>;
134 nvmem-cell-names = "mac-address";
135 mac-address-increment = <(-1)>;
142 groups = "uart2", "jtag", "wdt";
152 compatible = "nvmem-cells";
153 #address-cells = <1>;
156 macaddr_factory_4: macaddr@4 {