ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9344_mikrotik_routerboard.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9344.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 aliases {
10 led-boot = &led_user;
11 led-failsafe = &led_user;
12 led-running = &led_user;
13 led-upgrade = &led_user;
14 };
15
16 keys {
17 compatible = "gpio-keys";
18
19 reset {
20 label = "reset";
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
23 debounce-interval = <60>;
24 };
25 };
26
27 leds: leds {
28 compatible = "gpio-leds";
29
30 rssilow {
31 label = "green:rssilow";
32 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
33 };
34
35 rssimediumlow {
36 label = "green:rssimediumlow";
37 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
38 };
39
40 rssimedium {
41 label = "green:rssimedium";
42 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
43 };
44
45 rssimediumhigh {
46 label = "green:rssimediumhigh";
47 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
48 };
49
50 rssihigh {
51 label = "green:rssihigh";
52 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
53 };
54 };
55 };
56
57 &eth0 {
58 status = "okay";
59
60 phy-handle = <&swphy0>;
61
62 gmac-config {
63 device = <&gmac>;
64 switch-phy-swap = <1>;
65 };
66 };
67
68 &eth1 {
69 status = "okay";
70
71 compatible = "syscon", "simple-mfd";
72 };
73
74 &wmac {
75 status = "okay";
76
77 qca,no-eeprom;
78 };