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";
77 phy-handle = <ðphy0>;
79 nvmem-cells = <&macaddr_factory_e006>;
80 nvmem-cell-names = "mac-address";
84 ethphy0: ethernet-phy@0 {
117 compatible = "jedec,spi-nor";
119 spi-max-frequency = <10000000>;
122 compatible = "fixed-partitions";
123 #address-cells = <1>;
133 label = "u-boot-env";
134 reg = <0x30000 0x10000>;
138 factory: partition@40000 {
140 reg = <0x40000 0x10000>;
144 compatible = "fixed-layout";
145 #address-cells = <1>;
148 eeprom_factory_0: eeprom@0 {
152 macaddr_factory_e000: macaddr@e000 {
156 macaddr_factory_e006: macaddr@e006 {
163 compatible = "denx,uimage";
165 reg = <0x50000 0xf20000>;
170 reg = <0xf70000 0x80000>;
176 reg = <0xff0000 0x10000>;
185 groups = "i2c", "uart3", "jtag", "wdt";
196 compatible = "mediatek,mt76";
197 reg = <0x0000 0 0 0 0>;
198 nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_e000>;
199 nvmem-cell-names = "eeprom", "mac-address";
200 mac-address-increment = <1>;