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 {
24 label = "wap6805:red:status";
25 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
29 label = "wap6805:blink:status";
30 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
33 led_status_green: status_green {
34 label = "wap6805: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>;
84 reg = <0x300000 0x100000>;
89 reg = <0x400000 0x2000000>;
94 reg = <0x800000 0x1c00000>;
99 reg = <0x2400000 0x2000000>;
104 reg = <0x4400000 0x100000>;
109 reg = <0x4500000 0x1000000>;
114 reg = <0x5500000 0x2b00000>;
125 reg = <0x0000 0 0 0 0>;
126 mediatek,mtd-eeprom = <&factory 0x0>;
131 mtd-mac-address = <&factory 0xe000>;
170 groups = "i2c", "uart3", "jtag", "wdt";