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 mtd-mac-address = <&factory 0xe000>;
78 mtd-mac-address = <&factory 0xe006>;
107 compatible = "jedec,spi-nor";
109 spi-max-frequency = <10000000>;
112 compatible = "fixed-partitions";
113 #address-cells = <1>;
123 label = "u-boot-env";
124 reg = <0x30000 0x10000>;
128 factory: partition@40000 {
130 reg = <0x40000 0x10000>;
135 compatible = "denx,uimage";
137 reg = <0x50000 0xf20000>;
142 reg = <0xf70000 0x80000>;
148 reg = <0xff0000 0x10000>;
157 groups = "i2c", "uart3", "jtag", "wdt";
168 compatible = "mediatek,mt76";
169 reg = <0x0000 0 0 0 0>;
170 mediatek,mtd-eeprom = <&factory 0x0>;
171 mtd-mac-address = <&factory 0xe000>;
172 mac-address-increment = <1>;