uclient: update to Git HEAD (2024-04-19)
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_engenius_exx600.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-id";
55
56 pll-data = <0x02000000 0x00000101 0x00001313>;
57
58 gmac-config {
59 device = <&gmac>;
60 rgmii-gmac0 = <1>;
61 rxdv-delay = <3>;
62 rxd-delay = <3>;
63 };
64 };
65
66 &pcie {
67 status = "okay";
68
69 ath9k: wifi@0,0,0 {
70 compatible = "pci168c,0030";
71 reg = <0x0 0 0 0 0>;
72 qca,disable-5ghz;
73 qca,no-eeprom;
74 #gpio-cells = <2>;
75 gpio-controller;
76 };
77 };
78
79 &wmac {
80 status = "okay";
81
82 qca,disable-2ghz;
83
84 mtd-cal-data = <&art 0x1000>;
85 };