ramips: move compatible for Ubiquiti Edgerouter X to DTS file
[openwrt/staging/wigyori.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 / {
7 compatible = "belkin,f9k1109v1", "ralink,rt3883-soc";
8 model = "Belkin F9K1109 Version 1.0";
9
10 aliases {
11 led-boot = &led_status_amber;
12 led-failsafe = &led_status_amber;
13 led-running = &led_status_blue;
14 led-upgrade = &led_status_amber;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19
20 led_status_amber: internet_amber {
21 label = "f9k1109v1:amber:internet";
22 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
23 };
24
25 led_status_blue: internet_blue {
26 label = "f9k1109v1:blue:internet";
27 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
28 };
29
30 usb1 {
31 label = "f9k1109v1:green:usb1";
32 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
33 };
34
35 usb2 {
36 label = "f9k1109v1:green:usb2";
37 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
38 };
39
40 wps_amber {
41 label = "f9k1109v1:amber:wps";
42 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
43 };
44
45 wps_blue {
46 label = "f9k1109v1:blue:wps";
47 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
48 };
49 };
50
51 keys {
52 compatible = "gpio-keys-polled";
53 poll-interval = <100>;
54
55 reset {
56 label = "reset";
57 gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_RESTART>;
59 };
60
61 wps {
62 label = "wps";
63 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_WPS_BUTTON>;
65 };
66 };
67 };