ath79: fix whitespace issues in DTS files
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9558_devolo_dvl1750e.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,dvl1750e", "qca,qca9557";
11         model = "devolo WiFi pro 1750e";
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         keys {
21                 wps {
22                         label = "WPS Button";
23                         linux,code = <KEY_WPS_BUTTON>;
24                         gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
25                         debounce-interval = <60>;
26                 };
27
28                 usb_eject {
29                         label = "USB Eject Button";
30                         linux,code = <BTN_0>;
31                         linux,input-type = <EV_SW>;
32                         gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
33                         debounce-interval = <60>;
34                 };
35         };
36
37         leds {
38                 compatible = "gpio-leds";
39
40                 status_blue: status_blue {
41                         label = "dvl1750e:blue:status";
42                         gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
43                         default-state = "on";
44                 };
45
46                 status_red: status_red {
47                         label = "dvl1750e:red:status";
48                         gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
49                 };
50         };
51
52         beeper {
53                 compatible = "gpio-beeper";
54                 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
55         };
56
57         gpio_export {
58                 compatible = "gpio-export";
59
60                 gpio_usb_power {
61                         gpio-export,name = "devolo:power:usb";
62                         gpio-export,output = <1>;
63                         gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
64                 };
65         };
66 };
67
68 &usb_phy0 {
69         status = "okay";
70 };
71
72 &usb0 {
73         status = "okay";
74 };
75
76 &mdio1 {
77         status = "okay";
78 };
79
80 &eth1 {
81         status = "okay";
82 };