ramips: fix whitespace issues in DTS files
[oweals/openwrt.git] / target / linux / ramips / dts / rt3883_belkin_f9k1109v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "rt3883_belkin_f9k110x.dtsi"
5
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8
9 / {
10         compatible = "belkin,f9k1109v1", "ralink,rt3883-soc";
11         model = "Belkin F9K1109 Version 1.0";
12
13         aliases {
14                 led-boot = &led_status_amber;
15                 led-failsafe = &led_status_amber;
16                 led-running = &led_status_blue;
17                 led-upgrade = &led_status_amber;
18         };
19
20         leds {
21                 compatible = "gpio-leds";
22
23                 led_status_amber: internet_amber {
24                         label = "f9k1109v1:amber:internet";
25                         gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
26                 };
27
28                 led_status_blue: internet_blue {
29                         label = "f9k1109v1:blue:internet";
30                         gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
31                 };
32
33                 usb1 {
34                         label = "f9k1109v1:green:usb1";
35                         gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
36                 };
37
38                 usb2 {
39                         label = "f9k1109v1:green:usb2";
40                         gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
41                 };
42
43                 wps_amber {
44                         label = "f9k1109v1:amber:wps";
45                         gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
46                 };
47
48                 wps_blue {
49                         label = "f9k1109v1:blue:wps";
50                         gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
51                 };
52         };
53
54         keys {
55                 compatible = "gpio-keys-polled";
56                 poll-interval = <100>;
57
58                 reset {
59                         label = "reset";
60                         gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
61                         linux,code = <KEY_RESTART>;
62                 };
63
64                 wps {
65                         label = "wps";
66                         gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
67                         linux,code = <KEY_WPS_BUTTON>;
68                 };
69         };
70 };