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