ipq40xx: 5.15: refresh kernel patches
[openwrt/staging/dedeckeh.git] / target / linux / ipq40xx / patches-5.15 / 900-dts-ipq4019-ap-dk01.1.patch
1 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
2 +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
3 @@ -15,6 +15,7 @@
4 */
5
6 #include "qcom-ipq4019.dtsi"
7 +#include <dt-bindings/soc/qcom,tcsr.h>
8
9 / {
10 model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1";
11 @@ -29,6 +30,32 @@
12 };
13
14 soc {
15 + tcsr@194b000 {
16 + /* select hostmode */
17 + compatible = "qcom,tcsr";
18 + reg = <0x194b000 0x100>;
19 + qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
20 + status = "okay";
21 + };
22 +
23 + ess_tcsr@1953000 {
24 + compatible = "qcom,tcsr";
25 + reg = <0x1953000 0x1000>;
26 + qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
27 + };
28 +
29 + tcsr@1949000 {
30 + compatible = "qcom,tcsr";
31 + reg = <0x1949000 0x100>;
32 + qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
33 + };
34 +
35 + tcsr@1957000 {
36 + compatible = "qcom,tcsr";
37 + reg = <0x1957000 0x100>;
38 + qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
39 + };
40 +
41 rng@22000 {
42 status = "okay";
43 };
44 @@ -74,14 +101,6 @@
45 pinctrl-names = "default";
46 status = "okay";
47 cs-gpios = <&tlmm 54 0>;
48 -
49 - mx25l25635e@0 {
50 - #address-cells = <1>;
51 - #size-cells = <1>;
52 - reg = <0>;
53 - compatible = "mx25l25635e";
54 - spi-max-frequency = <24000000>;
55 - };
56 };
57
58 serial@78af000 {
59 @@ -109,5 +128,41 @@
60 wifi@a800000 {
61 status = "okay";
62 };
63 +
64 + mdio@90000 {
65 + status = "okay";
66 + };
67 +
68 + ess-switch@c000000 {
69 + status = "okay";
70 + };
71 +
72 + ess-psgmii@98000 {
73 + status = "okay";
74 + };
75 +
76 + edma@c080000 {
77 + status = "okay";
78 + };
79 +
80 + usb3_ss_phy: ssphy@9a000 {
81 + status = "okay";
82 + };
83 +
84 + usb3_hs_phy: hsphy@a6000 {
85 + status = "okay";
86 + };
87 +
88 + usb3: usb3@8af8800 {
89 + status = "okay";
90 + };
91 +
92 + usb2_hs_phy: hsphy@a8000 {
93 + status = "okay";
94 + };
95 +
96 + usb2: usb2@60f8800 {
97 + status = "okay";
98 + };
99 };
100 };
101 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1-c1.dts
102 +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1-c1.dts
103 @@ -18,5 +18,73 @@
104
105 / {
106 model = "Qualcomm Technologies, Inc. IPQ40xx/AP-DK01.1-C1";
107 + compatible = "qcom,ap-dk01.1-c1", "qcom,ap-dk01.2-c1";
108
109 + memory {
110 + device_type = "memory";
111 + reg = <0x80000000 0x10000000>;
112 + };
113 +};
114 +
115 +&blsp1_spi1 {
116 + mx25l25635f@0 {
117 + compatible = "mx25l25635f", "jedec,spi-nor";
118 + #address-cells = <1>;
119 + #size-cells = <1>;
120 + reg = <0>;
121 + spi-max-frequency = <24000000>;
122 +
123 + SBL1@0 {
124 + label = "SBL1";
125 + reg = <0x0 0x40000>;
126 + read-only;
127 + };
128 + MIBIB@40000 {
129 + label = "MIBIB";
130 + reg = <0x40000 0x20000>;
131 + read-only;
132 + };
133 + QSEE@60000 {
134 + label = "QSEE";
135 + reg = <0x60000 0x60000>;
136 + read-only;
137 + };
138 + CDT@c0000 {
139 + label = "CDT";
140 + reg = <0xc0000 0x10000>;
141 + read-only;
142 + };
143 + DDRPARAMS@d0000 {
144 + label = "DDRPARAMS";
145 + reg = <0xd0000 0x10000>;
146 + read-only;
147 + };
148 + APPSBLENV@e0000 {
149 + label = "APPSBLENV";
150 + reg = <0xe0000 0x10000>;
151 + read-only;
152 + };
153 + APPSBL@f0000 {
154 + label = "APPSBL";
155 + reg = <0xf0000 0x80000>;
156 + read-only;
157 + };
158 + ART@170000 {
159 + label = "ART";
160 + reg = <0x170000 0x10000>;
161 + read-only;
162 + };
163 + kernel@180000 {
164 + label = "kernel";
165 + reg = <0x180000 0x400000>;
166 + };
167 + rootfs@580000 {
168 + label = "rootfs";
169 + reg = <0x580000 0x1600000>;
170 + };
171 + firmware@180000 {
172 + label = "firmware";
173 + reg = <0x180000 0x1a00000>;
174 + };
175 + };
176 };