kirkwood: set testing kernel version to 5.10
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca955x_engenius_ecb1xxx.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca955x.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 aliases {
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 };
15
16 keys {
17 compatible = "gpio-keys";
18
19 reset {
20 label = "reset";
21 debounce-interval = <60>;
22 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
24 };
25 };
26
27 leds {
28 compatible = "gpio-leds";
29
30 led_power: power {
31 label = "amber:power";
32 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
33 default-state = "on";
34 };
35
36 wifi2g {
37 label = "blue:wifi2g";
38 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "phy1tpt";
40 };
41
42 wifi5g {
43 label = "blue:wifi5g";
44 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
45 linux,default-trigger = "phy0tpt";
46 };
47 };
48 };
49
50 &uart {
51 status = "okay";
52 };
53
54 &spi {
55 status = "okay";
56
57 flash@0 {
58 compatible = "jedec,spi-nor";
59 reg = <0>;
60 spi-max-frequency = <40000000>;
61
62 partitions {
63 compatible = "fixed-partitions";
64 #address-cells = <1>;
65 #size-cells = <1>;
66
67 partition@0 {
68 label = "u-boot";
69 reg = <0x000000 0x040000>;
70 read-only;
71 };
72
73 partition@40000 {
74 label = "u-boot-env";
75 reg = <0x040000 0x010000>;
76 };
77
78 partition@50000 {
79 compatible = "denx,uimage";
80 label = "firmware";
81 reg = <0x050000 0xf50000>;
82 };
83
84 partition@fa0000 {
85 label = "userconfig";
86 reg = <0xfa0000 0x050000>;
87 read-only;
88 };
89
90 partition@ff0000 {
91 label = "art";
92 reg = <0xff0000 0x010000>;
93 read-only;
94 };
95 };
96 };
97 };
98
99 &mdio0 {
100 status = "okay";
101
102 phy5: ethernet-phy@5 {
103 reg = <5>;
104 eee-broken-100tx;
105 eee-broken-1000t;
106 };
107 };
108
109 &eth0 {
110 status = "okay";
111
112 phy-handle = <&phy5>;
113 phy-mode = "rgmii-id";
114
115 pll-data = <0x82000000 0x80000101 0x80001313>;
116
117 gmac-config {
118 device = <&gmac>;
119 rgmii-enabled = <1>;
120 };
121 };
122
123 &pcie0 {
124 status = "okay";
125
126 wifi@0,0,0 {
127 compatible = "qcom,ath10k";
128 reg = <0x0 0 0 0 0>;
129 qca,no-eeprom;
130 };
131 };
132
133 &wmac {
134 status = "okay";
135
136 qca,no-eeprom;
137 };