aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-05 11:11:29 -0500
committerArnd Bergmann <arnd@arndb.de>2018-01-05 11:11:29 -0500
commitc503f594d63c221db619c901d36d1139f9ce354f (patch)
treea19280eed0f2525f2575db23faf551712fbad595
parent7c179f9dff18423b18490dfc6b301301d223b16d (diff)
parent1e33300782235ae6fdc891d9c3ba04ba59da6f3d (diff)
Merge tag 'imx-dt64-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/dt
Pull "Freescale arm64 device tree updates for 4.16" from Shawn Guo: - LS1088A updates: add device support for DCFG, qoriq-mc, and USB. - Add power monitor device INA220 for ls208xa-rdb board. * tag 'imx-dt64-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: arm64: dts: ls208xa: add power monitor chip node arm64: dts: ls1088a: Add USB support arm64: dts: ls1088a: add fsl-mc hardware resource manager node arm64: dts: ls1088a: Added dcfg node in ls1088a dtsi
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts8
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi97
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi12
3 files changed, 117 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
index 0f6fcda36b9e..4f17601b919c 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
@@ -125,3 +125,11 @@
125&sata { 125&sata {
126 status = "okay"; 126 status = "okay";
127}; 127};
128
129&usb0 {
130 status = "okay";
131};
132
133&usb1 {
134 status = "okay";
135};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
index bd80e9a2e67c..4fc150cd4ca5 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -166,6 +166,77 @@
166 <1 10 IRQ_TYPE_LEVEL_LOW>;/* Hypervisor PPI */ 166 <1 10 IRQ_TYPE_LEVEL_LOW>;/* Hypervisor PPI */
167 }; 167 };
168 168
169 fsl_mc: fsl-mc@80c000000 {
170 compatible = "fsl,qoriq-mc";
171 reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */
172 <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
173 msi-parent = <&its>;
174 #address-cells = <3>;
175 #size-cells = <1>;
176
177 /*
178 * Region type 0x0 - MC portals
179 * Region type 0x1 - QBMAN portals
180 */
181 ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
182 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
183
184 dpmacs {
185 #address-cells = <1>;
186 #size-cells = <0>;
187
188 dpmac1: dpmac@1 {
189 compatible = "fsl,qoriq-mc-dpmac";
190 reg = <1>;
191 };
192
193 dpmac2: dpmac@2 {
194 compatible = "fsl,qoriq-mc-dpmac";
195 reg = <2>;
196 };
197
198 dpmac3: dpmac@3 {
199 compatible = "fsl,qoriq-mc-dpmac";
200 reg = <3>;
201 };
202
203 dpmac4: dpmac@4 {
204 compatible = "fsl,qoriq-mc-dpmac";
205 reg = <4>;
206 };
207
208 dpmac5: dpmac@5 {
209 compatible = "fsl,qoriq-mc-dpmac";
210 reg = <5>;
211 };
212
213 dpmac6: dpmac@6 {
214 compatible = "fsl,qoriq-mc-dpmac";
215 reg = <6>;
216 };
217
218 dpmac7: dpmac@7 {
219 compatible = "fsl,qoriq-mc-dpmac";
220 reg = <7>;
221 };
222
223 dpmac8: dpmac@8 {
224 compatible = "fsl,qoriq-mc-dpmac";
225 reg = <8>;
226 };
227
228 dpmac9: dpmac@9 {
229 compatible = "fsl,qoriq-mc-dpmac";
230 reg = <9>;
231 };
232
233 dpmac10: dpmac@a {
234 compatible = "fsl,qoriq-mc-dpmac";
235 reg = <0xa>;
236 };
237 };
238 };
239
169 psci { 240 psci {
170 compatible = "arm,psci-0.2"; 241 compatible = "arm,psci-0.2";
171 method = "smc"; 242 method = "smc";
@@ -191,6 +262,12 @@
191 clocks = <&sysclk>; 262 clocks = <&sysclk>;
192 }; 263 };
193 264
265 dcfg: dcfg@1e00000 {
266 compatible = "fsl,ls1088a-dcfg", "syscon";
267 reg = <0x0 0x1e00000 0x0 0x10000>;
268 little-endian;
269 };
270
194 tmu: tmu@1f80000 { 271 tmu: tmu@1f80000 {
195 compatible = "fsl,qoriq-tmu"; 272 compatible = "fsl,qoriq-tmu";
196 reg = <0x0 0x1f80000 0x0 0x10000>; 273 reg = <0x0 0x1f80000 0x0 0x10000>;
@@ -394,6 +471,26 @@
394 status = "disabled"; 471 status = "disabled";
395 }; 472 };
396 473
474 usb0: usb3@3100000 {
475 compatible = "snps,dwc3";
476 reg = <0x0 0x3100000 0x0 0x10000>;
477 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
478 dr_mode = "host";
479 snps,quirk-frame-length-adjustment = <0x20>;
480 snps,dis_rxdet_inp3_quirk;
481 status = "disabled";
482 };
483
484 usb1: usb3@3110000 {
485 compatible = "snps,dwc3";
486 reg = <0x0 0x3110000 0x0 0x10000>;
487 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
488 dr_mode = "host";
489 snps,quirk-frame-length-adjustment = <0x20>;
490 snps,dis_rxdet_inp3_quirk;
491 status = "disabled";
492 };
493
397 sata: sata@3200000 { 494 sata: sata@3200000 {
398 compatible = "fsl,ls1088a-ahci"; 495 compatible = "fsl,ls1088a-ahci";
399 reg = <0x0 0x3200000 0x0 0x10000>, 496 reg = <0x0 0x3200000 0x0 0x10000>,
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi
index 9a1d0d2ab1c3..5498c705ae6a 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi
@@ -95,6 +95,18 @@
95 }; 95 };
96 }; 96 };
97 97
98 i2c@2 {
99 #address-cells = <1>;
100 #size-cells = <0>;
101 reg = <0x02>;
102
103 ina220@40 {
104 compatible = "ti,ina220";
105 reg = <0x40>;
106 shunt-resistor = <500>;
107 };
108 };
109
98 i2c@3 { 110 i2c@3 {
99 #address-cells = <1>; 111 #address-cells = <1>;
100 #size-cells = <0>; 112 #size-cells = <0>;