ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9344_senao_ap-dual.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9344.dtsi"
4 #include "ar934x_senao_loader.dtsi"
5
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8
9 / {
10 aliases {
11 label-mac-device = &eth0;
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
16 };
17
18 keys {
19 compatible = "gpio-keys";
20
21 reset {
22 label = "reset";
23 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
25 linux,code = <KEY_RESTART>;
26 };
27 };
28
29 ath9k-leds {
30 compatible = "gpio-leds";
31
32 wifi2g {
33 label = "blue:wifi2g";
34 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "phy1tpt";
36 };
37 };
38 };
39
40 &mdio0 {
41 status = "okay";
42
43 phy0: ethernet-phy@0 {
44 reg = <0>;
45 eee-broken-100tx;
46 eee-broken-1000t;
47 };
48 };
49
50 &eth0 {
51 status = "okay";
52
53 phy-handle = <&phy0>;
54 phy-mode = "rgmii-txid";
55
56 pll-data = <0x02000000 0x00000101 0x00001313>;
57 };
58
59 &pcie {
60 status = "okay";
61
62 ath9k: wifi@0,0 {
63 compatible = "pci168c,0030";
64 reg = <0x0 0 0 0 0>;
65 ieee80211-freq-limit = <2402000 2482000>;
66 #gpio-cells = <2>;
67 gpio-controller;
68 };
69 };
70
71 &wmac {
72 status = "okay";
73
74 ieee80211-freq-limit = <4900000 5990000>;
75 };