3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "elecom,wrc-1167ghbk2-s", "mediatek,mt7621-soc";
8 model = "ELECOM WRC-1167GHBK2-S";
11 led-boot = &led_power_green;
12 led-failsafe = &led_power_green;
13 led-running = &led_power_green;
14 led-upgrade = &led_power_green;
18 compatible = "gpio-leds";
21 label = "white:wlan2g";
22 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
23 linux,default-trigger = "phy0radio";
27 label = "white:wlan5g";
28 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
31 led_power_green: power_green {
32 label = "green:power";
33 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
38 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
43 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
48 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
53 compatible = "gpio-keys";
57 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RESTART>;
63 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_WPS_BUTTON>;
70 nvmem-cells = <&macaddr_factory_e000>;
71 nvmem-cell-names = "mac-address";
79 nvmem-cells = <&macaddr_factory_e006>;
80 nvmem-cell-names = "mac-address";
109 compatible = "jedec,spi-nor";
111 spi-max-frequency = <10000000>;
114 compatible = "fixed-partitions";
115 #address-cells = <1>;
125 label = "u-boot-env";
126 reg = <0x30000 0x10000>;
130 factory: partition@40000 {
132 reg = <0x40000 0x10000>;
137 compatible = "denx,uimage";
139 reg = <0x50000 0xf20000>;
144 reg = <0xf70000 0x80000>;
150 reg = <0xff0000 0x10000>;
159 groups = "i2c", "uart3", "jtag", "wdt";
170 compatible = "mediatek,mt76";
171 reg = <0x0000 0 0 0 0>;
172 mediatek,mtd-eeprom = <&factory 0x0>;
173 nvmem-cells = <&macaddr_factory_e000>;
174 nvmem-cell-names = "mac-address";
175 mac-address-increment = <1>;
184 compatible = "nvmem-cells";
185 #address-cells = <1>;
188 macaddr_factory_e000: macaddr@e000 {
192 macaddr_factory_e006: macaddr@e006 {