25652bb2c91b54390f2044361b982da2073a7986
[openwrt/staging/jogo.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 @@ -66,14 +93,6 @@
44 pinctrl-names = "default";
45 status = "ok";
46 cs-gpios = <&tlmm 54 0>;
47 -
48 - mx25l25635e@0 {
49 - #address-cells = <1>;
50 - #size-cells = <1>;
51 - reg = <0>;
52 - compatible = "mx25l25635e";
53 - spi-max-frequency = <24000000>;
54 - };
55 };
56
57 serial@78af000 {
58 @@ -102,6 +121,22 @@
59 status = "ok";
60 };
61
62 + mdio@90000 {
63 + status = "okay";
64 + };
65 +
66 + ess-switch@c000000 {
67 + status = "okay";
68 + };
69 +
70 + ess-psgmii@98000 {
71 + status = "okay";
72 + };
73 +
74 + edma@c080000 {
75 + status = "okay";
76 + };
77 +
78 usb3_ss_phy: ssphy@9a000 {
79 status = "ok";
80 };
81 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1-c1.dts
82 +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1-c1.dts
83 @@ -18,5 +18,73 @@
84
85 / {
86 model = "Qualcomm Technologies, Inc. IPQ40xx/AP-DK01.1-C1";
87 + compatible = "qcom,ap-dk01.1-c1", "qcom,ap-dk01.2-c1", "qcom,ipq4019";
88
89 + memory {
90 + device_type = "memory";
91 + reg = <0x80000000 0x10000000>;
92 + };
93 +};
94 +
95 +&blsp1_spi1 {
96 + mx25l25635f@0 {
97 + compatible = "mx25l25635f", "jedec,spi-nor";
98 + #address-cells = <1>;
99 + #size-cells = <1>;
100 + reg = <0>;
101 + spi-max-frequency = <24000000>;
102 +
103 + SBL1@0 {
104 + label = "SBL1";
105 + reg = <0x0 0x40000>;
106 + read-only;
107 + };
108 + MIBIB@40000 {
109 + label = "MIBIB";
110 + reg = <0x40000 0x20000>;
111 + read-only;
112 + };
113 + QSEE@60000 {
114 + label = "QSEE";
115 + reg = <0x60000 0x60000>;
116 + read-only;
117 + };
118 + CDT@c0000 {
119 + label = "CDT";
120 + reg = <0xc0000 0x10000>;
121 + read-only;
122 + };
123 + DDRPARAMS@d0000 {
124 + label = "DDRPARAMS";
125 + reg = <0xd0000 0x10000>;
126 + read-only;
127 + };
128 + APPSBLENV@e0000 {
129 + label = "APPSBLENV";
130 + reg = <0xe0000 0x10000>;
131 + read-only;
132 + };
133 + APPSBL@f0000 {
134 + label = "APPSBL";
135 + reg = <0xf0000 0x80000>;
136 + read-only;
137 + };
138 + ART@170000 {
139 + label = "ART";
140 + reg = <0x170000 0x10000>;
141 + read-only;
142 + };
143 + kernel@180000 {
144 + label = "kernel";
145 + reg = <0x180000 0x400000>;
146 + };
147 + rootfs@580000 {
148 + label = "rootfs";
149 + reg = <0x580000 0x1600000>;
150 + };
151 + firmware@180000 {
152 + label = "firmware";
153 + reg = <0x180000 0x1a00000>;
154 + };
155 + };
156 };