5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "elecom,wrc-1167ghbk2-s", "mediatek,mt7621-soc";
10 model = "ELECOM WRC-1167GHBK2-S";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_green;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_green;
20 bootargs = "console=ttyS0,57600";
24 compatible = "gpio-leds";
27 label = "wrc-1167ghbk2-s:white:wlan2g";
28 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
29 linux,default-trigger = "phy0radio";
33 label = "wrc-1167ghbk2-s:white:wlan5g";
34 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
37 led_power_green: power_green {
38 label = "wrc-1167ghbk2-s:green:power";
39 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
43 label = "wrc-1167ghbk2-s:blue:power";
44 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
48 label = "wrc-1167ghbk2-s:red:wps";
49 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
53 label = "wrc-1167ghbk2-s:red:power";
54 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
59 compatible = "gpio-keys-polled";
64 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_RESTART>;
70 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_WPS_BUTTON>;
77 mtd-mac-address = <&factory 0xe000>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <10000000>;
89 compatible = "fixed-partitions";
100 label = "u-boot-env";
101 reg = <0x30000 0x10000>;
105 factory: partition@40000 {
107 reg = <0x40000 0x10000>;
112 compatible = "denx,uimage";
114 reg = <0x50000 0xf20000>;
119 reg = <0xf70000 0x80000>;
125 reg = <0xff0000 0x10000>;
133 state_default: pinctrl0 {
135 ralink,group = "i2c", "uart3", "jtag", "wdt";
136 ralink,function = "gpio";
147 compatible = "mediatek,mt76";
148 reg = <0x0000 0 0 0 0>;
149 mediatek,mtd-eeprom = <&factory 0x0>;
150 mtd-mac-address = <&factory 0xe000>;
151 mtd-mac-address-increment = <1>;