ath79: split Engenius EPG5000 DTS to common DTSI
[openwrt/staging/aparcar.git] / target / linux / ath79 / dts / qca955x_senao_router-dual.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 keys {
10 compatible = "gpio-keys";
11
12 reset {
13 label = "reset";
14 linux,code = <KEY_RESTART>;
15 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
16 debounce-interval = <60>;
17 };
18
19 wps {
20 label = "wps";
21 linux,code = <KEY_WPS_BUTTON>;
22 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
23 debounce-interval = <60>;
24 };
25 };
26 };
27
28 &eth0 {
29 status = "okay";
30
31 phy-handle = <&phy0>;
32 pll-data = <0xa6000000 0x00000101 0x00001616>;
33 };
34
35 &mdio0 {
36 status = "okay";
37
38 phy0: ethernet-phy@0 {
39 reg = <0>;
40 };
41 };
42
43 &pcie0 {
44 status = "okay";
45
46 ath10k_0: wifi@0,0,0 {
47 compatible = "qcom,ath10k";
48 reg = <0x0000 0 0 0 0>;
49 };
50 };
51
52 &spi {
53 status = "okay";
54
55 flash@0 {
56 compatible = "jedec,spi-nor";
57 reg = <0>;
58 spi-max-frequency = <25000000>;
59
60 partitions {
61 compatible = "fixed-partitions";
62 #address-cells = <1>;
63 #size-cells = <1>;
64
65 partition@0 {
66 label = "u-boot";
67 reg = <0x000000 0x030000>;
68 read-only;
69 };
70
71 partition@30000 {
72 label = "u-boot-env";
73 reg = <0x030000 0x010000>;
74 read-only;
75 };
76
77 partition@40000 {
78 compatible = "denx,uimage";
79 label = "firmware";
80 reg = <0x040000 0xe50000>;
81 };
82
83 partition@e90000 {
84 label = "manufacture";
85 reg = <0xe90000 0x100000>;
86 read-only;
87 };
88
89 partition@f90000 {
90 label = "backup";
91 reg = <0xf90000 0x010000>;
92 read-only;
93 };
94
95 partition@fa0000 {
96 label = "storage";
97 reg = <0xfa0000 0x050000>;
98 read-only;
99 };
100
101 art: partition@ff0000 {
102 label = "art";
103 reg = <0xff0000 0x010000>;
104 read-only;
105
106 compatible = "nvmem-cells";
107
108 calibration_art_1000: calibration@1000 {
109 reg = <0x1000 0x440>;
110 };
111
112 calibration_art_5000: calibration@5000 {
113 reg = <0x5000 0x844>;
114 };
115 };
116 };
117 };
118 };
119
120 &wmac {
121 status = "okay";
122 };