ath79: add support for devolo WiFi pro 1200e
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9558_devolo_dvl1200e.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6
7 #include "qca9558_devolo_dvl1xxx.dtsi"
8
9 / {
10         compatible = "devolo,dvl1200e", "qca,qca9557";
11         model = "devolo WiFi pro 1200e";
12
13         aliases {
14                 led-boot = &status_blue;
15                 led-failsafe = &status_red;
16                 led-running = &status_blue;
17                 led-upgrade = &status_red;
18         };
19
20         leds {
21                 compatible = "gpio-leds";
22
23                 status_blue: status_blue {
24                         label = "dvl1200e:blue:status";
25                         gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
26                         default-state = "on";
27                 };
28
29                 status_red: status_red {
30                         label = "dvl1200e:red:status";
31                         gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
32                 };
33         };
34
35         beeper {
36                 compatible = "gpio-beeper";
37                 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
38         };
39 };
40
41 &mdio1 {
42         status = "okay";
43 };
44
45 &eth1 {
46         status = "okay";
47 };