ath79: add Embedded Wireless Balin Platform
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_dlink_dir-825-c1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9344_dlink_dir-8x5.dtsi"
4
5 / {
6 model = "D-LINK DIR-825 C1";
7 compatible = "dlink,dir-825-c1", "qca,ar9344";
8
9 aliases {
10 led-boot = &led_power_orange;
11 led-failsafe = &led_power_orange;
12 led-running = &led_power_blue;
13 led-upgrade = &led_power_orange;
14 };
15
16 leds {
17 compatible = "gpio-leds";
18
19 pinctrl-names = "default";
20 pinctrl-0 = <&enable_gpio_11>;
21
22 led_power_blue: power_blue {
23 label = "blue:power";
24 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
25 };
26
27 usb {
28 label = "blue:usb";
29 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
30 linux,default-trigger = "usbport";
31 trigger-sources = <&hub_port1>;
32 };
33
34 wan_blue {
35 label = "blue:wan";
36 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
37 };
38
39 wlan2g {
40 label = "blue:wlan2g";
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0tpt";
43 };
44
45 wps {
46 label = "blue:wps";
47 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
48 };
49
50 led_power_orange: power_orange {
51 label = "orange:power";
52 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
53 };
54
55 wan_orange {
56 label = "orange:wan";
57 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
58 };
59 };
60
61 leds-ath9k {
62 compatible = "gpio-leds";
63
64 wlan5g {
65 label = "blue:wlan5g";
66 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
67 linux,default-trigger = "phy1tpt";
68 };
69 };
70 };
71
72 &pinmux {
73 enable_gpio_11: pinmux_enable_gpio_11 {
74 pinctrl-single,bits = <0x8 0x0 0xff000000>;
75 };
76 };