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 = "elecom,wrc-2533ghbk-i", "mediatek,mt7621-soc";
10 model = "ELECOM WRC-2533GHBK-I";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
24 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
28 label = "white:power";
29 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
33 label = "white:wlan2g";
34 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
35 linux,default-trigger = "phy0radio";
39 label = "white:wlan5g";
40 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
41 linux,default-trigger = "phy1radio";
46 compatible = "gpio-keys";
50 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 linux,input-type = <EV_SW>;
57 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RESTART>;
63 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_WPS_BUTTON>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <40000000>;
78 compatible = "fixed-partitions";
90 reg = <0x30000 0x10000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
101 compatible = "denx,uimage";
103 reg = <0x50000 0x9a0000>;
108 reg = <0x9f0000 0x200000>;
114 reg = <0xbf0000 0x200000>;
119 label = "manufacture";
120 reg = <0xdf0000 0x180000>;
126 reg = <0xf70000 0x10000>;
132 reg = <0xf80000 0x80000>;
170 groups = "uart2", "uart3", "jtag", "wdt";
181 compatible = "mediatek,mt76";
182 reg = <0x0000 0 0 0 0>;
183 mediatek,mtd-eeprom = <&factory 0x0>;
184 ieee80211-freq-limit = <2400000 2500000>;
190 compatible = "mediatek,mt76";
191 reg = <0x0000 0 0 0 0>;
192 mediatek,mtd-eeprom = <&factory 0x8000>;
193 ieee80211-freq-limit = <5000000 6000000>;