1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "zyxel,wap6805", "mediatek,mt7621-soc";
11 model = "ZyXEL WAP6805";
14 led-boot = &led_status_green;
15 led-failsafe = &led_status_red;
16 led-running = &led_status_green;
17 led-upgrade = &led_status_green;
18 label-mac-device = &gmac0;
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
28 led_status_red: status_red {
29 label = "wap6805:red:status";
30 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
34 label = "wap6805:blink:status";
35 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
38 led_status_green: status_green {
39 label = "wap6805:green:status";
40 gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
45 compatible = "gpio-keys";
49 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
55 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_RESTART>;
65 compatible = "fixed-partitions";
77 reg = <0x100000 0x100000>;
81 factory: partition@200000 {
83 reg = <0x200000 0x100000>;
89 reg = <0x300000 0x100000>;
94 reg = <0x400000 0x2000000>;
99 reg = <0x800000 0x1c00000>;
104 reg = <0x2400000 0x2000000>;
109 reg = <0x4400000 0x100000>;
114 reg = <0x4500000 0x1000000>;
119 reg = <0x5500000 0x2b00000>;
130 reg = <0x0000 0 0 0 0>;
131 mediatek,mtd-eeprom = <&factory 0x0>;
136 mtd-mac-address = <&factory 0xe000>;
175 groups = "i2c", "uart3", "jtag", "wdt";