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 = "zyxel,wap6805", "mediatek,mt7621-soc";
10 model = "ZyXEL WAP6805";
13 led-boot = &led_status_green;
14 led-failsafe = &led_status_red;
15 led-running = &led_status_green;
16 led-upgrade = &led_status_green;
17 label-mac-device = &gmac0;
21 compatible = "gpio-leds";
23 led_status_red: status_red {
25 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
29 label = "blink:status";
30 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
33 led_status_green: status_green {
34 label = "green:status";
35 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
40 compatible = "gpio-keys";
44 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_WPS_BUTTON>;
50 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
60 compatible = "fixed-partitions";
72 reg = <0x100000 0x100000>;
76 factory: partition@200000 {
78 reg = <0x200000 0x100000>;
82 compatible = "fixed-layout";
86 eeprom_factory_0: eeprom@0 {
90 macaddr_factory_e000: macaddr@e000 {
98 reg = <0x300000 0x100000>;
103 reg = <0x400000 0x2000000>;
108 reg = <0x800000 0x1c00000>;
113 reg = <0x2400000 0x2000000>;
118 reg = <0x4400000 0x100000>;
123 reg = <0x4500000 0x1000000>;
128 reg = <0x5500000 0x2b00000>;
139 reg = <0x0000 0 0 0 0>;
140 nvmem-cells = <&eeprom_factory_0>;
141 nvmem-cell-names = "eeprom";
146 nvmem-cells = <&macaddr_factory_e000>;
147 nvmem-cell-names = "mac-address";
186 groups = "i2c", "uart3", "jtag", "wdt";