1 From cc1d1d1b68d18a31aeb8a572ca6b3929b083855c Mon Sep 17 00:00:00 2001
2 From: Biwen Li <biwen.li@nxp.com>
3 Date: Wed, 17 Apr 2019 18:58:33 +0800
4 Subject: [PATCH] dts: support layerscape
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 This is an integrated patch of dts for layerscape
11 Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
12 Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
13 Signed-off-by: Alan Wang <alan.wang@nxp.com>
14 Signed-off-by: Alison Wang <alison.wang@nxp.com>
15 Signed-off-by: Amrita Kumari <amrita.kumari@nxp.com>
16 Signed-off-by: Anjaneyulu Jagarlmudi <anji.jagarlmudi@nxp.com>
17 Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
18 Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com>
19 Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
20 Signed-off-by: Bhupesh Sharma <bhupesh.sharma@freescale.com>
21 Signed-off-by: Biwen Li <biwen.li@nxp.com>
22 Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
23 Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
24 Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
25 Signed-off-by: Catalin Neacsu <valentin-catalin.neacsu@nxp.com>
26 Signed-off-by: Changming Huang <jerry.huang@nxp.com>
27 Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
28 Signed-off-by: Constantin Tudor <constantin.tudor@nxp.com>
29 Signed-off-by: David S. Miller <davem@davemloft.net>
30 Signed-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
31 Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
32 Signed-off-by: Guanhua Gao <guanhua.gao@nxp.com>
33 Signed-off-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
34 Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
35 Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
36 Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
37 Signed-off-by: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
38 Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
39 Signed-off-by: jiaheng.fan <jiaheng.fan@nxp.com>
40 Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
41 Signed-off-by: Li Yang <leoyang.li@nxp.com>
42 Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
43 Signed-off-by: Mathew McBride <matt@traverse.com.au>
44 Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
45 Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
46 Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>
47 Signed-off-by: Peng Ma <peng.ma@nxp.com>
48 Signed-off-by: Po Liu <po.liu@nxp.com>
49 Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
50 Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com>
51 Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
52 Signed-off-by: Raghav Dogra <raghav.dogra@nxp.com>
53 Signed-off-by: Rai Harninder <harninder.rai@nxp.com>
54 Signed-off-by: Ramneek Mehresh <ramneek.mehresh@nxp.com>
55 Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
56 Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
57 Signed-off-by: Sakar Arora <Sakar.Arora@freescale.com>
58 Signed-off-by: Santan Kumar <santan.kumar@nxp.com>
59 Signed-off-by: Scott Wood <oss@buserror.net>
60 Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com>
61 Signed-off-by: Shawn Guo <shawnguo@kernel.org>
62 Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
63 Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
64 Signed-off-by: Suresh Gupta <suresh.gupta@nxp.com>
65 Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
66 Signed-off-by: Tao Yang <b31903@freescale.com>
67 Signed-off-by: Vabhav Sharma <vabhav.sharma@nxp.com>
68 Signed-off-by: Vicentiu Galanopulo <vicentiu.galanopulo@nxp.com>
69 Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
70 Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
71 Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
72 Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
73 Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>
74 Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
75 Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
76 Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
77 Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
78 Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com>
79 Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
81 arch/arm/boot/dts/Makefile | 3 +-
82 arch/arm/boot/dts/imx25.dtsi | 4 +-
83 arch/arm/boot/dts/imx28.dtsi | 4 +-
84 arch/arm/boot/dts/imx35.dtsi | 4 +-
85 arch/arm/boot/dts/imx53.dtsi | 4 +-
86 arch/arm/boot/dts/ls1021a-iot.dts | 262 ++++
87 arch/arm/boot/dts/ls1021a-qds.dts | 32 +
88 arch/arm/boot/dts/ls1021a-twr.dts | 27 +
89 arch/arm/boot/dts/ls1021a.dtsi | 111 +-
90 arch/arm64/boot/dts/freescale/Makefile | 16 +-
91 .../boot/dts/freescale/fsl-ls1012a-2g5rdb.dts | 126 ++
92 .../boot/dts/freescale/fsl-ls1012a-frdm.dts | 97 +-
93 .../boot/dts/freescale/fsl-ls1012a-frwy.dts | 179 +++
94 .../boot/dts/freescale/fsl-ls1012a-qds.dts | 136 +-
95 .../boot/dts/freescale/fsl-ls1012a-rdb.dts | 100 +-
96 .../arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 210 ++-
97 .../boot/dts/freescale/fsl-ls1043-post.dtsi | 3 +-
98 .../dts/freescale/fsl-ls1043a-qds-sdk.dts | 263 ++++
99 .../boot/dts/freescale/fsl-ls1043a-qds.dts | 206 ++-
100 .../dts/freescale/fsl-ls1043a-rdb-sdk.dts | 262 ++++
101 .../dts/freescale/fsl-ls1043a-rdb-usdpaa.dts | 140 ++
102 .../boot/dts/freescale/fsl-ls1043a-rdb.dts | 76 +-
103 .../arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 382 +++--
104 .../boot/dts/freescale/fsl-ls1046-post.dtsi | 2 +-
105 .../dts/freescale/fsl-ls1046a-qds-sdk.dts | 268 ++++
106 .../boot/dts/freescale/fsl-ls1046a-qds.dts | 194 ++-
107 .../dts/freescale/fsl-ls1046a-rdb-sdk.dts | 307 ++++
108 .../dts/freescale/fsl-ls1046a-rdb-usdpaa.dts | 133 ++
109 .../boot/dts/freescale/fsl-ls1046a-rdb.dts | 48 +-
110 .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 386 +++--
111 .../boot/dts/freescale/fsl-ls1088a-qds.dts | 88 +-
112 .../boot/dts/freescale/fsl-ls1088a-rdb.dts | 150 +-
113 .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 546 ++++++-
114 .../boot/dts/freescale/fsl-ls2080a-qds.dts | 100 +-
115 .../boot/dts/freescale/fsl-ls2080a-rdb.dts | 118 +-
116 .../boot/dts/freescale/fsl-ls2080a-simu.dts | 38 +-
117 .../arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 50 +-
118 .../boot/dts/freescale/fsl-ls2081a-rdb.dts | 163 ++
119 .../boot/dts/freescale/fsl-ls2088a-qds.dts | 158 +-
120 .../boot/dts/freescale/fsl-ls2088a-rdb.dts | 118 +-
121 .../arm64/boot/dts/freescale/fsl-ls2088a.dtsi | 52 +-
122 .../boot/dts/freescale/fsl-ls208xa-qds.dtsi | 43 +-
123 .../boot/dts/freescale/fsl-ls208xa-rdb.dtsi | 60 +-
124 .../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 299 ++--
125 .../boot/dts/freescale/fsl-lx2160a-qds.dts | 353 +++++
126 .../boot/dts/freescale/fsl-lx2160a-rdb.dts | 241 +++
127 .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 1318 +++++++++++++++++
128 .../boot/dts/freescale/fsl-tmu-map1.dtsi | 99 ++
129 .../boot/dts/freescale/fsl-tmu-map2.dtsi | 99 ++
130 .../boot/dts/freescale/fsl-tmu-map3.dtsi | 99 ++
131 arch/arm64/boot/dts/freescale/fsl-tmu.dtsi | 251 ++++
132 .../dts/freescale/qoriq-bman-portals-sdk.dtsi | 55 +
133 .../dts/freescale/qoriq-bman-portals.dtsi | 8 +-
134 .../boot/dts/freescale/qoriq-dpaa-eth.dtsi | 97 ++
135 .../dts/freescale/qoriq-fman3-0-10g-0.dtsi | 11 +-
136 .../dts/freescale/qoriq-fman3-0-10g-1.dtsi | 11 +-
137 .../dts/freescale/qoriq-fman3-0-1g-0.dtsi | 7 +-
138 .../dts/freescale/qoriq-fman3-0-1g-1.dtsi | 7 +-
139 .../dts/freescale/qoriq-fman3-0-1g-2.dtsi | 7 +-
140 .../dts/freescale/qoriq-fman3-0-1g-3.dtsi | 7 +-
141 .../dts/freescale/qoriq-fman3-0-1g-4.dtsi | 7 +-
142 .../dts/freescale/qoriq-fman3-0-1g-5.dtsi | 7 +-
143 .../boot/dts/freescale/qoriq-fman3-0-6oh.dtsi | 47 +
144 .../boot/dts/freescale/qoriq-fman3-0.dtsi | 67 +-
145 .../dts/freescale/qoriq-qman-portals-sdk.dtsi | 38 +
146 .../dts/freescale/qoriq-qman-portals.dtsi | 9 +-
147 .../boot/dts/freescale/traverse-ls1043s.dts | 29 +
148 .../boot/dts/freescale/traverse-ls1043v.dts | 29 +
149 68 files changed, 7660 insertions(+), 1211 deletions(-)
150 create mode 100644 arch/arm/boot/dts/ls1021a-iot.dts
151 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts
152 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
153 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
154 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
155 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
156 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
157 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
158 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
159 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2081a-rdb.dts
160 create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
161 create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
162 create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
163 create mode 100644 arch/arm64/boot/dts/freescale/fsl-tmu-map1.dtsi
164 create mode 100644 arch/arm64/boot/dts/freescale/fsl-tmu-map2.dtsi
165 create mode 100644 arch/arm64/boot/dts/freescale/fsl-tmu-map3.dtsi
166 create mode 100644 arch/arm64/boot/dts/freescale/fsl-tmu.dtsi
167 create mode 100644 arch/arm64/boot/dts/freescale/qoriq-bman-portals-sdk.dtsi
168 create mode 100644 arch/arm64/boot/dts/freescale/qoriq-dpaa-eth.dtsi
169 create mode 100644 arch/arm64/boot/dts/freescale/qoriq-fman3-0-6oh.dtsi
170 create mode 100644 arch/arm64/boot/dts/freescale/qoriq-qman-portals-sdk.dtsi
172 --- a/arch/arm/boot/dts/Makefile
173 +++ b/arch/arm/boot/dts/Makefile
174 @@ -496,7 +496,8 @@ dtb-$(CONFIG_SOC_IMX7D) += \
176 dtb-$(CONFIG_SOC_LS1021A) += \
181 dtb-$(CONFIG_SOC_VF610) += \
182 vf500-colibri-eval-v3.dtb \
183 vf610-colibri-eval-v3.dtb \
184 --- a/arch/arm/boot/dts/imx25.dtsi
185 +++ b/arch/arm/boot/dts/imx25.dtsi
190 - compatible = "fsl,imx25-flexcan", "fsl,p1010-flexcan";
191 + compatible = "fsl,imx25-flexcan";
192 reg = <0x43f88000 0x4000>;
194 clocks = <&clks 75>, <&clks 75>;
199 - compatible = "fsl,imx25-flexcan", "fsl,p1010-flexcan";
200 + compatible = "fsl,imx25-flexcan";
201 reg = <0x43f8c000 0x4000>;
203 clocks = <&clks 76>, <&clks 76>;
204 --- a/arch/arm/boot/dts/imx28.dtsi
205 +++ b/arch/arm/boot/dts/imx28.dtsi
206 @@ -1038,7 +1038,7 @@
210 - compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan";
211 + compatible = "fsl,imx28-flexcan";
212 reg = <0x80032000 0x2000>;
214 clocks = <&clks 58>, <&clks 58>;
215 @@ -1047,7 +1047,7 @@
219 - compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan";
220 + compatible = "fsl,imx28-flexcan";
221 reg = <0x80034000 0x2000>;
223 clocks = <&clks 59>, <&clks 59>;
224 --- a/arch/arm/boot/dts/imx35.dtsi
225 +++ b/arch/arm/boot/dts/imx35.dtsi
230 - compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan";
231 + compatible = "fsl,imx35-flexcan";
232 reg = <0x53fe4000 0x1000>;
233 clocks = <&clks 33>, <&clks 33>;
234 clock-names = "ipg", "per";
239 - compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan";
240 + compatible = "fsl,imx35-flexcan";
241 reg = <0x53fe8000 0x1000>;
242 clocks = <&clks 34>, <&clks 34>;
243 clock-names = "ipg", "per";
244 --- a/arch/arm/boot/dts/imx53.dtsi
245 +++ b/arch/arm/boot/dts/imx53.dtsi
250 - compatible = "fsl,imx53-flexcan", "fsl,p1010-flexcan";
251 + compatible = "fsl,imx53-flexcan";
252 reg = <0x53fc8000 0x4000>;
254 clocks = <&clks IMX5_CLK_CAN1_IPG_GATE>,
259 - compatible = "fsl,imx53-flexcan", "fsl,p1010-flexcan";
260 + compatible = "fsl,imx53-flexcan";
261 reg = <0x53fcc000 0x4000>;
263 clocks = <&clks IMX5_CLK_CAN2_IPG_GATE>,
265 +++ b/arch/arm/boot/dts/ls1021a-iot.dts
268 + * Copyright 2013-2016 Freescale Semiconductor, Inc.
270 + * This program is free software; you can redistribute it and/or modify
271 + * it under the terms of the GNU General Public License as published by
272 + * the Free Software Foundation; either version 2 of the License, or
273 + * (at your option) any later version.
277 +#include "ls1021a.dtsi"
280 + model = "LS1021A IOT Board";
282 + sys_mclk: clock-mclk {
283 + compatible = "fixed-clock";
284 + #clock-cells = <0>;
285 + clock-frequency = <24576000>;
289 + compatible = "simple-bus";
290 + #address-cells = <1>;
293 + reg_3p3v: regulator@0 {
294 + compatible = "regulator-fixed";
296 + regulator-name = "3P3V";
297 + regulator-min-microvolt = <3300000>;
298 + regulator-max-microvolt = <3300000>;
299 + regulator-always-on;
302 + reg_2p5v: regulator@1 {
303 + compatible = "regulator-fixed";
305 + regulator-name = "2P5V";
306 + regulator-min-microvolt = <2500000>;
307 + regulator-max-microvolt = <2500000>;
308 + regulator-always-on;
313 + compatible = "simple-audio-card";
314 + simple-audio-card,format = "i2s";
315 + simple-audio-card,widgets =
316 + "Microphone", "Microphone Jack",
317 + "Headphone", "Headphone Jack",
318 + "Speaker", "Speaker Ext",
319 + "Line", "Line In Jack";
320 + simple-audio-card,routing =
321 + "MIC_IN", "Microphone Jack",
322 + "Microphone Jack", "Mic Bias",
323 + "LINE_IN", "Line In Jack",
324 + "Headphone Jack", "HP_OUT",
325 + "Speaker Ext", "LINE_OUT";
327 + simple-audio-card,cpu {
328 + sound-dai = <&sai2>;
333 + simple-audio-card,codec {
334 + sound-dai = <&codec>;
342 + compatible = "linaro,optee-tz";
349 + tbi-handle = <&tbi1>;
350 + phy-handle = <&phy1>;
351 + phy-connection-type = "sgmii";
356 + tbi-handle = <&tbi1>;
357 + phy-handle = <&phy3>;
358 + phy-connection-type = "sgmii";
363 + fixed-link = <0 1 1000 0 0>;
364 + phy-connection-type = "rgmii-id";
369 + status = "disabled";
373 + status = "disabled";
377 + status = "disabled";
392 + compatible = "maxim,max1239";
394 + #io-channel-cells = <1>;
397 + codec: sgtl5000@2a {
398 + #sound-dai-cells=<0x0>;
399 + compatible = "fsl,sgtl5000";
401 + VDDA-supply = <®_3p3v>;
402 + VDDIO-supply = <®_2p5v>;
403 + clocks = <&sys_mclk 1>;
406 + pca9555: pca9555@23 {
407 + compatible = "nxp,pca9555";
408 + /*pinctrl-names = "default";*/
409 + /*interrupt-parent = <&gpio2>;
410 + interrupts = <19 0x2>;*/
413 + interrupt-controller;
414 + #interrupt-cells = <2>;
419 + compatible = "ti,ina220";
421 + shunt-resistor = <1000>;
425 + compatible = "ti,ina220";
427 + shunt-resistor = <1000>;
431 + compatible = "nxp,lm75a";
436 + compatible = "adt7461a";
440 + hdmi: sii9022a@39 {
441 + compatible = "fsl,sii902x";
443 + interrupts = <GIC_SPI 163 IRQ_TYPE_EDGE_RISING>;
448 + status = "disabled";
452 + status = "disabled";
460 + phy0: ethernet-phy@0 {
463 + phy1: ethernet-phy@1 {
466 + phy2: ethernet-phy@2 {
469 + phy3: ethernet-phy@3 {
474 + device_type = "tbi-phy";
482 + qflash0: s25fl128s@0 {
483 + compatible = "spansion,s25fl129p1";
484 + #address-cells = <1>;
486 + spi-max-frequency = <20000000>;
504 + display = <&display>;
507 + display: display@0 {
508 + bits-per-pixel = <24>;
511 + native-mode = <&timing0>;
514 + clock-frequency = <25000000>;
517 + hback-porch = <80>;
518 + hfront-porch = <80>;
519 + vback-porch = <16>;
520 + vfront-porch = <16>;
523 + hsync-active = <1>;
524 + vsync-active = <1>;
529 --- a/arch/arm/boot/dts/ls1021a-qds.dts
530 +++ b/arch/arm/boot/dts/ls1021a-qds.dts
539 + qflash0: s25fl128s@0 {
540 + compatible = "spansion,m25p80";
541 + #address-cells = <1>;
543 + spi-max-frequency = <20000000>;
545 + spi-rx-bus-width = <4>;
546 + spi-tx-bus-width = <4>;
551 tbi-handle = <&tbi0>;
552 phy-handle = <&sgmii_phy1c>;
558 + compatible = "fsl,ifc-nand";
559 + reg = <0x2 0x0 0x10000>;
562 fpga: board-control@3,0 {
563 #address-cells = <1>;
588 --- a/arch/arm/boot/dts/ls1021a-twr.dts
589 +++ b/arch/arm/boot/dts/ls1021a-twr.dts
598 + qflash0: n25q128a13@0 {
599 + compatible = "n25q128a13", "jedec,spi-nor";
600 + #address-cells = <1>;
602 + spi-max-frequency = <20000000>;
604 + spi-rx-bus-width = <4>;
605 + spi-tx-bus-width = <4>;
610 tbi-handle = <&tbi1>;
611 phy-handle = <&sgmii_phy2>;
635 --- a/arch/arm/boot/dts/ls1021a.dtsi
636 +++ b/arch/arm/boot/dts/ls1021a.dtsi
637 @@ -146,12 +146,13 @@
639 compatible = "fsl,ifc", "simple-bus";
640 reg = <0x0 0x1530000 0x0 0x10000>;
642 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
646 compatible = "fsl,ls1021a-dcfg", "syscon";
647 - reg = <0x0 0x1ee0000 0x0 0x10000>;
648 + reg = <0x0 0x1ee0000 0x0 0x1000>;
652 @@ -334,25 +335,44 @@
656 + qspi: quadspi@1550000 {
657 + compatible = "fsl,ls1021a-qspi";
658 + #address-cells = <1>;
660 + reg = <0x0 0x1550000 0x0 0x10000>,
661 + <0x0 0x40000000 0x0 0x4000000>;
662 + reg-names = "QuadSPI", "QuadSPI-memory";
663 + interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
664 + clock-names = "qspi_en", "qspi";
665 + clocks = <&clockgen 4 1>, <&clockgen 4 1>;
667 + status = "disabled";
671 - compatible = "fsl,vf610-i2c";
672 + compatible = "fsl,vf610-i2c", "fsl,ls1021a-vf610-i2c";
673 #address-cells = <1>;
675 reg = <0x0 0x2180000 0x0 0x10000>;
676 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
678 clocks = <&clockgen 4 1>;
679 + dma-names = "tx", "rx";
680 + dmas = <&edma0 1 39>,
682 + fsl-scl-gpio = <&gpio3 23 0>;
687 - compatible = "fsl,vf610-i2c";
688 + compatible = "fsl,vf610-i2c", "fsl,ls1021a-vf610-i2c";
689 #address-cells = <1>;
691 reg = <0x0 0x2190000 0x0 0x10000>;
692 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
694 clocks = <&clockgen 4 1>;
695 + fsl-scl-gpio = <&gpio3 23 0>;
703 + ftm0: ftm0@29d0000 {
704 + compatible = "fsl,ls1021a-ftm-alarm";
705 + reg = <0x0 0x29d0000 0x0 0x10000>,
706 + <0x0 0x1ee2144 0x0 0x4>,
707 + <0x0 0x0157051c 0x0 0x4>;
708 + reg-names = "ftm", "pmctrl", "scrachpad";
709 + interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
714 wdog0: watchdog@2ad0000 {
715 compatible = "fsl,imx21-wdt";
716 reg = <0x0 0x2ad0000 0x0 0x10000>;
721 + qdma: qdma@8390000 {
722 + compatible = "fsl,ls1021a-qdma";
723 + reg = <0x0 0x8388000 0x0 0x1000>, /* Controller regs */
724 + <0x0 0x8389000 0x0 0x1000>, /* Status regs */
725 + <0x0 0x838a000 0x0 0x2000>; /* Block regs */
726 + interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
727 + <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
728 + <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
729 + interrupt-names = "qdma-error",
730 + "qdma-queue0", "qdma-queue1";
732 + block-number = <2>;
733 + block-offset = <0x1000>;
735 + status-sizes = <64>;
736 + queue-sizes = <64 64>;
741 compatible = "fsl,ls1021a-dcu";
742 reg = <0x0 0x2ce0000 0x0 0x10000>;
745 snps,quirk-frame-length-adjustment = <0x20>;
746 snps,dis_rxdet_inp3_quirk;
749 + snps,dis-u1u2-when-u3-quirk;
750 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
751 + snps,host-vbus-glitches;
756 reg = <0x00 0x03400000 0x0 0x00010000 /* controller registers */
757 0x40 0x00000000 0x0 0x00002000>; /* configuration space */
758 reg-names = "regs", "config";
759 - interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
760 + interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
761 + <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
762 + interrupt-names = "pme", "aer";
763 fsl,pcie-scfg = <&scfg 0>;
764 #address-cells = <3>;
767 <0000 0 0 2 &gic GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
768 <0000 0 0 3 &gic GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
769 <0000 0 0 4 &gic GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
770 + status = "disabled";
775 reg = <0x00 0x03500000 0x0 0x00010000 /* controller registers */
776 0x48 0x00000000 0x0 0x00002000>; /* configuration space */
777 reg-names = "regs", "config";
778 - interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
779 + interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
780 + <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
781 + interrupt-names = "pme", "aer";
782 fsl,pcie-scfg = <&scfg 1>;
783 #address-cells = <3>;
786 <0000 0 0 2 &gic GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
787 <0000 0 0 3 &gic GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
788 <0000 0 0 4 &gic GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
789 + status = "disabled";
792 + can0: can@2a70000 {
793 + compatible = "fsl,ls1021ar2-flexcan";
794 + reg = <0x0 0x2a70000 0x0 0x1000>;
795 + interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
796 + clocks = <&clockgen 4 1>, <&clockgen 4 1>;
797 + clock-names = "ipg", "per";
799 + status = "disabled";
802 + can1: can@2a80000 {
803 + compatible = "fsl,ls1021ar2-flexcan";
804 + reg = <0x0 0x2a80000 0x0 0x1000>;
805 + interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
806 + clocks = <&clockgen 4 1>, <&clockgen 4 1>;
807 + clock-names = "ipg", "per";
809 + status = "disabled";
812 + can2: can@2a90000 {
813 + compatible = "fsl,ls1021ar2-flexcan";
814 + reg = <0x0 0x2a90000 0x0 0x1000>;
815 + interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
816 + clocks = <&clockgen 4 1>, <&clockgen 4 1>;
817 + clock-names = "ipg", "per";
819 + status = "disabled";
822 + can3: can@2aa0000 {
823 + compatible = "fsl,ls1021ar2-flexcan";
824 + reg = <0x0 0x2aa0000 0x0 0x1000>;
825 + interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
826 + clocks = <&clockgen 4 1>, <&clockgen 4 1>;
827 + clock-names = "ipg", "per";
829 + status = "disabled";
833 --- a/arch/arm64/boot/dts/freescale/Makefile
834 +++ b/arch/arm64/boot/dts/freescale/Makefile
836 # SPDX-License-Identifier: GPL-2.0
837 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frdm.dtb
838 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frwy.dtb
839 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-qds.dtb
840 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-rdb.dtb
841 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-2g5rdb.dtb
842 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds.dtb
843 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-qds-sdk.dtb
844 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb
845 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb-sdk.dtb
846 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb-usdpaa.dtb
847 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds.dtb
848 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-qds-sdk.dtb
849 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb.dtb
850 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb-sdk.dtb
851 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1046a-rdb-usdpaa.dtb
852 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-qds.dtb
853 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1088a-rdb.dtb
854 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-qds.dtb
855 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb
856 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2081a-rdb.dtb
857 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb
858 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-qds.dtb
859 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2088a-rdb.dtb
861 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb
862 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb
864 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += traverse-ls1043v.dtb
865 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += traverse-ls1043s.dtb
868 subdir-y := $(dts-dirs)
871 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-2g5rdb.dts
874 + * Device Tree file for NXP LS1012A 2G5RDB Board.
876 + * Copyright 2017 NXP
878 + * Bhaskar Upadhaya <bhaskar.upadhaya@nxp.com>
880 + * This file is dual-licensed: you can use it either under the terms
881 + * of the GPLv2 or the X11 license, at your option. Note that this dual
882 + * licensing only applies to this file, and not this project as a
885 + * a) This library is free software; you can redistribute it and/or
886 + * modify it under the terms of the GNU General Public License as
887 + * published by the Free Software Foundation; either version 2 of the
888 + * License, or (at your option) any later version.
890 + * This library is distributed in the hope that it will be useful,
891 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
892 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
893 + * GNU General Public License for more details.
895 + * Or, alternatively,
897 + * b) Permission is hereby granted, free of charge, to any person
898 + * obtaining a copy of this software and associated documentation
899 + * files (the "Software"), to deal in the Software without
900 + * restriction, including without limitation the rights to use,
901 + * copy, modify, merge, publish, distribute, sublicense, and/or
902 + * sell copies of the Software, and to permit persons to whom the
903 + * Software is furnished to do so, subject to the following
906 + * The above copyright notice and this permission notice shall be
907 + * included in all copies or substantial portions of the Software.
909 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
910 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
911 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
912 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
913 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
914 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
915 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
916 + * OTHER DEALINGS IN THE SOFTWARE.
920 +#include "fsl-ls1012a.dtsi"
923 + model = "LS1012A 2G5RDB Board";
924 + compatible = "fsl,ls1012a-rdb", "fsl,ls1012a";
927 + ethernet0 = &pfe_mac0;
928 + ethernet1 = &pfe_mac1;
945 + qflash0: s25fs512s@0 {
946 + compatible = "spansion,m25p80";
947 + #address-cells = <1>;
949 + spi-max-frequency = <20000000>;
961 + #address-cells = <1>;
964 + pfe_mac0: ethernet@0 {
965 + compatible = "fsl,pfe-gemac-port";
966 + #address-cells = <1>;
968 + reg = <0x0>; /* GEM_ID */
969 + fsl,mdio-mux-val = <0x0>;
970 + phy-mode = "sgmii-2500";
971 + phy-handle = <&sgmii_phy1>;
974 + pfe_mac1: ethernet@1 {
975 + compatible = "fsl,pfe-gemac-port";
976 + #address-cells = <1>;
978 + reg = <0x1>; /* GEM_ID */
979 + fsl,mdio-mux-val = <0x0>;
980 + phy-mode = "sgmii-2500";
981 + phy-handle = <&sgmii_phy2>;
985 + #address-cells = <1>;
988 + sgmii_phy1: ethernet-phy@1 {
989 + compatible = "ethernet-phy-ieee802.3-c45";
993 + sgmii_phy2: ethernet-phy@2 {
994 + compatible = "ethernet-phy-ieee802.3-c45";
999 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
1000 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts
1002 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
1004 * Device Tree file for Freescale LS1012A Freedom Board.
1006 * Copyright 2016 Freescale Semiconductor, Inc.
1008 - * This file is dual-licensed: you can use it either under the terms
1009 - * of the GPLv2 or the X11 license, at your option. Note that this dual
1010 - * licensing only applies to this file, and not this project as a
1013 - * a) This library is free software; you can redistribute it and/or
1014 - * modify it under the terms of the GNU General Public License as
1015 - * published by the Free Software Foundation; either version 2 of the
1016 - * License, or (at your option) any later version.
1018 - * This library is distributed in the hope that it will be useful,
1019 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
1020 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1021 - * GNU General Public License for more details.
1023 - * Or, alternatively,
1025 - * b) Permission is hereby granted, free of charge, to any person
1026 - * obtaining a copy of this software and associated documentation
1027 - * files (the "Software"), to deal in the Software without
1028 - * restriction, including without limitation the rights to use,
1029 - * copy, modify, merge, publish, distribute, sublicense, and/or
1030 - * sell copies of the Software, and to permit persons to whom the
1031 - * Software is furnished to do so, subject to the following
1034 - * The above copyright notice and this permission notice shall be
1035 - * included in all copies or substantial portions of the Software.
1037 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1038 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
1039 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1040 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1041 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1042 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1043 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1044 - * OTHER DEALINGS IN THE SOFTWARE.
1049 model = "LS1012A Freedom Board";
1050 compatible = "fsl,ls1012a-frdm", "fsl,ls1012a";
1053 + ethernet0 = &pfe_mac0;
1054 + ethernet1 = &pfe_mac1;
1057 sys_mclk: clock-mclk {
1058 compatible = "fixed-clock";
1066 + #address-cells = <1>;
1067 + #size-cells = <0>;
1069 + pfe_mac0: ethernet@0 {
1070 + compatible = "fsl,pfe-gemac-port";
1071 + #address-cells = <1>;
1072 + #size-cells = <0>;
1073 + reg = <0x0>; /* GEM_ID */
1074 + fsl,mdio-mux-val = <0x0>;
1075 + phy-mode = "sgmii";
1076 + phy-handle = <&sgmii_phy1>;
1079 + pfe_mac1: ethernet@1 {
1080 + compatible = "fsl,pfe-gemac-port";
1081 + #address-cells = <1>;
1082 + #size-cells = <0>;
1083 + reg = <0x1>; /* GEM_ID */
1084 + fsl,mdio-mux-val = <0x0>;
1085 + phy-mode = "sgmii";
1086 + phy-handle = <&sgmii_phy2>;
1090 + #address-cells = <1>;
1091 + #size-cells = <0>;
1093 + sgmii_phy1: ethernet-phy@2 {
1097 + sgmii_phy2: ethernet-phy@1 {
1106 @@ -117,3 +125,18 @@
1113 + qflash0: s25fs512s@0 {
1114 + compatible = "spansion,m25p80";
1115 + #address-cells = <1>;
1116 + #size-cells = <1>;
1117 + spi-max-frequency = <20000000>;
1120 + spi-rx-bus-width = <2>;
1121 + spi-tx-bus-width = <2>;
1126 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
1129 + * Device Tree file for NXP LS1012A FRWY Board.
1131 + * Copyright 2018 NXP
1133 + * This file is dual-licensed: you can use it either under the terms
1134 + * of the GPLv2 or the X11 license, at your option. Note that this dual
1135 + * licensing only applies to this file, and not this project as a
1138 + * a) This library is free software; you can redistribute it and/or
1139 + * modify it under the terms of the GNU General Public License as
1140 + * published by the Free Software Foundation; either version 2 of the
1141 + * License, or (at your option) any later version.
1143 + * This library is distributed in the hope that it will be useful,
1144 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1145 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1146 + * GNU General Public License for more details.
1148 + * Or, alternatively,
1150 + * b) Permission is hereby granted, free of charge, to any person
1151 + * obtaining a copy of this software and associated documentation
1152 + * files (the "Software"), to deal in the Software without
1153 + * restriction, including without limitation the rights to use,
1154 + * copy, modify, merge, publish, distribute, sublicense, and/or
1155 + * sell copies of the Software, and to permit persons to whom the
1156 + * Software is furnished to do so, subject to the following
1159 + * The above copyright notice and this permission notice shall be
1160 + * included in all copies or substantial portions of the Software.
1162 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1163 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
1164 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1165 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1166 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1167 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1168 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1169 + * OTHER DEALINGS IN THE SOFTWARE.
1173 +#include "fsl-ls1012a.dtsi"
1176 + model = "LS1012A FRWY Board";
1177 + compatible = "fsl,ls1012a-frwy", "fsl,ls1012a";
1180 + ethernet0 = &pfe_mac0;
1181 + ethernet1 = &pfe_mac1;
1184 + sys_mclk: clock-mclk {
1185 + compatible = "fixed-clock";
1186 + #clock-cells = <0>;
1187 + clock-frequency = <25000000>;
1190 + reg_1p8v: regulator-1p8v {
1191 + compatible = "regulator-fixed";
1192 + regulator-name = "1P8V";
1193 + regulator-min-microvolt = <1800000>;
1194 + regulator-max-microvolt = <1800000>;
1195 + regulator-always-on;
1199 + compatible = "simple-audio-card";
1200 + simple-audio-card,format = "i2s";
1201 + simple-audio-card,widgets =
1202 + "Microphone", "Microphone Jack",
1203 + "Headphone", "Headphone Jack",
1204 + "Speaker", "Speaker Ext",
1205 + "Line", "Line In Jack";
1206 + simple-audio-card,routing =
1207 + "MIC_IN", "Microphone Jack",
1208 + "Microphone Jack", "Mic Bias",
1209 + "LINE_IN", "Line In Jack",
1210 + "Headphone Jack", "HP_OUT",
1211 + "Speaker Ext", "LINE_OUT";
1213 + simple-audio-card,cpu {
1214 + sound-dai = <&sai2>;
1219 + simple-audio-card,codec {
1220 + sound-dai = <&codec>;
1223 + system-clock-frequency = <25000000>;
1239 + codec: sgtl5000@a {
1240 + compatible = "fsl,sgtl5000";
1241 + #sound-dai-cells = <0>;
1243 + VDDA-supply = <®_1p8v>;
1244 + VDDIO-supply = <®_1p8v>;
1245 + clocks = <&sys_mclk>;
1254 + qflash0: w25q16dw@0 {
1255 + compatible = "spansion,m25p80";
1256 + #address-cells = <1>;
1257 + #size-cells = <1>;
1259 + spi-max-frequency = <20000000>;
1266 + #address-cells = <1>;
1267 + #size-cells = <0>;
1269 + pfe_mac0: ethernet@0 {
1270 + compatible = "fsl,pfe-gemac-port";
1271 + #address-cells = <1>;
1272 + #size-cells = <0>;
1273 + reg = <0x0>; /* GEM_ID */
1274 + fsl,gemac-bus-id = <0x0>; /* BUS_ID */
1275 + fsl,mdio-mux-val = <0x0>;
1276 + phy-mode = "sgmii";
1277 + phy-handle = <&sgmii_phy1>;
1280 + pfe_mac1: ethernet@1 {
1281 + compatible = "fsl,pfe-gemac-port";
1282 + #address-cells = <1>;
1283 + #size-cells = <0>;
1284 + reg = <0x1>; /* GEM_ID */
1285 + fsl,mdio-mux-val = <0x0>;
1286 + phy-mode = "sgmii";
1287 + phy-handle = <&sgmii_phy2>;
1291 + #address-cells = <1>;
1292 + #size-cells = <0>;
1294 + sgmii_phy1: ethernet-phy@2 {
1298 + sgmii_phy2: ethernet-phy@1 {
1307 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
1308 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts
1310 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
1312 * Device Tree file for Freescale LS1012A QDS Board.
1314 * Copyright 2016 Freescale Semiconductor, Inc.
1316 - * This file is dual-licensed: you can use it either under the terms
1317 - * of the GPLv2 or the X11 license, at your option. Note that this dual
1318 - * licensing only applies to this file, and not this project as a
1321 - * a) This library is free software; you can redistribute it and/or
1322 - * modify it under the terms of the GNU General Public License as
1323 - * published by the Free Software Foundation; either version 2 of the
1324 - * License, or (at your option) any later version.
1326 - * This library is distributed in the hope that it will be useful,
1327 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
1328 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1329 - * GNU General Public License for more details.
1331 - * Or, alternatively,
1333 - * b) Permission is hereby granted, free of charge, to any person
1334 - * obtaining a copy of this software and associated documentation
1335 - * files (the "Software"), to deal in the Software without
1336 - * restriction, including without limitation the rights to use,
1337 - * copy, modify, merge, publish, distribute, sublicense, and/or
1338 - * sell copies of the Software, and to permit persons to whom the
1339 - * Software is furnished to do so, subject to the following
1342 - * The above copyright notice and this permission notice shall be
1343 - * included in all copies or substantial portions of the Software.
1345 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1346 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
1347 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1348 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1349 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1350 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1351 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1352 - * OTHER DEALINGS IN THE SOFTWARE.
1357 model = "LS1012A QDS Board";
1358 compatible = "fsl,ls1012a-qds", "fsl,ls1012a";
1361 + ethernet0 = &pfe_mac0;
1362 + ethernet1 = &pfe_mac1;
1365 sys_mclk: clock-mclk {
1366 compatible = "fixed-clock";
1381 + #address-cells = <1>;
1382 + #size-cells = <1>;
1383 + compatible = "n25q128a11", "jedec,spi-nor";
1385 + spi-max-frequency = <10000000>;
1389 + #address-cells = <1>;
1390 + #size-cells = <1>;
1391 + compatible = "sst25wf040b", "jedec,spi-nor";
1395 + spi-max-frequency = <10000000>;
1399 + #address-cells = <1>;
1400 + #size-cells = <1>;
1401 + compatible = "en25s64", "jedec,spi-nor";
1405 + spi-max-frequency = <10000000>;
1412 @@ -131,6 +137,47 @@
1418 + #address-cells = <1>;
1419 + #size-cells = <0>;
1421 + pfe_mac0: ethernet@0 {
1422 + compatible = "fsl,pfe-gemac-port";
1423 + #address-cells = <1>;
1424 + #size-cells = <0>;
1425 + reg = <0x0>; /* GEM_ID */
1426 + fsl,mdio-mux-val = <0x2>;
1427 + phy-mode = "sgmii-2500";
1428 + phy-handle = <&sgmii_phy1>;
1431 + pfe_mac1: ethernet@1 {
1432 + compatible = "fsl,pfe-gemac-port";
1433 + #address-cells = <1>;
1434 + #size-cells = <0>;
1435 + reg = <0x1>; /* GEM_ID */
1436 + fsl,mdio-mux-val = <0x3>;
1437 + phy-mode = "sgmii-2500";
1438 + phy-handle = <&sgmii_phy2>;
1442 + #address-cells = <1>;
1443 + #size-cells = <0>;
1445 + sgmii_phy1: ethernet-phy@1 {
1446 + compatible = "ethernet-phy-ieee802.3-c45";
1450 + sgmii_phy2: ethernet-phy@2 {
1451 + compatible = "ethernet-phy-ieee802.3-c45";
1460 @@ -138,3 +185,18 @@
1467 + qflash0: s25fs512s@0 {
1468 + compatible = "spansion,m25p80";
1469 + #address-cells = <1>;
1470 + #size-cells = <1>;
1471 + spi-max-frequency = <20000000>;
1474 + spi-rx-bus-width = <2>;
1475 + spi-tx-bus-width = <2>;
1479 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
1480 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts
1482 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
1484 * Device Tree file for Freescale LS1012A RDB Board.
1486 * Copyright 2016 Freescale Semiconductor, Inc.
1488 - * This file is dual-licensed: you can use it either under the terms
1489 - * of the GPLv2 or the X11 license, at your option. Note that this dual
1490 - * licensing only applies to this file, and not this project as a
1493 - * a) This library is free software; you can redistribute it and/or
1494 - * modify it under the terms of the GNU General Public License as
1495 - * published by the Free Software Foundation; either version 2 of the
1496 - * License, or (at your option) any later version.
1498 - * This library is distributed in the hope that it will be useful,
1499 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
1500 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1501 - * GNU General Public License for more details.
1503 - * Or, alternatively,
1505 - * b) Permission is hereby granted, free of charge, to any person
1506 - * obtaining a copy of this software and associated documentation
1507 - * files (the "Software"), to deal in the Software without
1508 - * restriction, including without limitation the rights to use,
1509 - * copy, modify, merge, publish, distribute, sublicense, and/or
1510 - * sell copies of the Software, and to permit persons to whom the
1511 - * Software is furnished to do so, subject to the following
1514 - * The above copyright notice and this permission notice shall be
1515 - * included in all copies or substantial portions of the Software.
1517 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1518 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
1519 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1520 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1521 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1522 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1523 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1524 - * OTHER DEALINGS IN THE SOFTWARE.
1530 model = "LS1012A RDB Board";
1531 compatible = "fsl,ls1012a-rdb", "fsl,ls1012a";
1534 + ethernet0 = &pfe_mac0;
1535 + ethernet1 = &pfe_mac1;
1551 + #address-cells = <1>;
1552 + #size-cells = <0>;
1554 + pfe_mac0: ethernet@0 {
1555 + compatible = "fsl,pfe-gemac-port";
1556 + #address-cells = <1>;
1557 + #size-cells = <0>;
1558 + reg = <0x0>; /* GEM_ID */
1559 + fsl,mdio-mux-val = <0x0>;
1560 + phy-mode = "sgmii";
1561 + phy-handle = <&sgmii_phy>;
1564 + pfe_mac1: ethernet@1 {
1565 + compatible = "fsl,pfe-gemac-port";
1566 + #address-cells = <1>;
1567 + #size-cells = <0>;
1568 + reg = <0x1>; /* GEM_ID */
1569 + fsl,mdio-mux-val = <0x0>;
1570 + phy-mode = "rgmii-txid";
1571 + phy-handle = <&rgmii_phy>;
1574 + #address-cells = <1>;
1575 + #size-cells = <0>;
1577 + sgmii_phy: ethernet-phy@2 {
1581 + rgmii_phy: ethernet-phy@1 {
1589 + qflash0: s25fs512s@0 {
1590 + compatible = "spansion,m25p80";
1591 + #address-cells = <1>;
1592 + #size-cells = <1>;
1593 + spi-max-frequency = <20000000>;
1596 + spi-rx-bus-width = <2>;
1597 + spi-tx-bus-width = <2>;
1601 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
1602 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
1604 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
1606 * Device Tree Include file for Freescale Layerscape-1012A family SoC.
1608 * Copyright 2016 Freescale Semiconductor, Inc.
1610 - * This file is dual-licensed: you can use it either under the terms
1611 - * of the GPLv2 or the X11 license, at your option. Note that this dual
1612 - * licensing only applies to this file, and not this project as a
1615 - * a) This library is free software; you can redistribute it and/or
1616 - * modify it under the terms of the GNU General Public License as
1617 - * published by the Free Software Foundation; either version 2 of the
1618 - * License, or (at your option) any later version.
1620 - * This library is distributed in the hope that it will be useful,
1621 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
1622 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1623 - * GNU General Public License for more details.
1625 - * Or, alternatively,
1627 - * b) Permission is hereby granted, free of charge, to any person
1628 - * obtaining a copy of this software and associated documentation
1629 - * files (the "Software"), to deal in the Software without
1630 - * restriction, including without limitation the rights to use,
1631 - * copy, modify, merge, publish, distribute, sublicense, and/or
1632 - * sell copies of the Software, and to permit persons to whom the
1633 - * Software is furnished to do so, subject to the following
1636 - * The above copyright notice and this permission notice shall be
1637 - * included in all copies or substantial portions of the Software.
1639 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1640 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
1641 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1642 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1643 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1644 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1645 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1646 - * OTHER DEALINGS IN THE SOFTWARE.
1649 #include <dt-bindings/interrupt-controller/arm-gic.h>
1651 #address-cells = <1>;
1655 + cooling_map0: cpu0: cpu@0 {
1656 device_type = "cpu";
1657 compatible = "arm,cortex-a53";
1659 clocks = <&clockgen 1 0>;
1660 #cooling-cells = <2>;
1661 + cpu-idle-states = <&CPU_PH20>;
1667 + * PSCI node is not added default, U-boot will add missing
1668 + * parts if it determines to use PSCI.
1670 + entry-method = "arm,psci";
1672 + CPU_PH20: cpu-ph20 {
1673 + compatible = "arm,idle-state";
1674 + idle-state-name = "PH20";
1675 + arm,psci-suspend-param = <0x0>;
1676 + entry-latency-us = <1000>;
1677 + exit-latency-us = <1000>;
1678 + min-residency-us = <3000>;
1683 dcfg: dcfg@1ee0000 {
1684 compatible = "fsl,ls1012a-dcfg",
1686 - reg = <0x0 0x1ee0000 0x0 0x10000>;
1687 + reg = <0x0 0x1ee0000 0x0 0x1000>;
1691 @@ -304,44 +286,25 @@
1692 #thermal-sensor-cells = <1>;
1696 - cpu_thermal: cpu-thermal {
1697 - polling-delay-passive = <1000>;
1698 - polling-delay = <5000>;
1699 - thermal-sensors = <&tmu 0>;
1702 - cpu_alert: cpu-alert {
1703 - temperature = <85000>;
1704 - hysteresis = <2000>;
1708 - cpu_crit: cpu-crit {
1709 - temperature = <95000>;
1710 - hysteresis = <2000>;
1711 - type = "critical";
1714 + #include "fsl-tmu.dtsi"
1718 - trip = <&cpu_alert>;
1720 - <&cpu0 THERMAL_NO_LIMIT
1721 - THERMAL_NO_LIMIT>;
1725 + ftm0: ftm0@29d0000 {
1726 + compatible = "fsl,ls1012a-ftm-alarm";
1727 + reg = <0x0 0x29d0000 0x0 0x10000>,
1728 + <0x0 0x1ee2140 0x0 0x4>;
1729 + reg-names = "ftm", "pmctrl";
1730 + interrupts = <0 86 0x4>;
1735 - compatible = "fsl,vf610-i2c";
1736 + compatible = "fsl,vf610-i2c", "fsl,ls1012a-vf610-i2c";
1737 #address-cells = <1>;
1739 reg = <0x0 0x2180000 0x0 0x10000>;
1740 interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
1741 - clocks = <&clockgen 4 0>;
1742 + clocks = <&clockgen 4 3>;
1743 + scl-gpios = <&gpio0 13 0>;
1744 status = "disabled";
1747 @@ -351,7 +314,20 @@
1749 reg = <0x0 0x2190000 0x0 0x10000>;
1750 interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
1751 + clocks = <&clockgen 4 3>;
1752 + status = "disabled";
1755 + dspi: dspi@2100000 {
1756 + compatible = "fsl,ls1012a-dspi", "fsl,ls1021a-v1.0-dspi";
1757 + #address-cells = <1>;
1758 + #size-cells = <0>;
1759 + reg = <0x0 0x2100000 0x0 0x10000>;
1760 + interrupts = <0 64 IRQ_TYPE_LEVEL_HIGH>;
1761 + clock-names = "dspi";
1762 clocks = <&clockgen 4 0>;
1763 + spi-num-chipselects = <5>;
1765 status = "disabled";
1768 @@ -400,6 +376,20 @@
1772 + qspi: quadspi@1550000 {
1773 + compatible = "fsl,ls1012a-qspi", "fsl,ls1021a-qspi";
1774 + #address-cells = <1>;
1775 + #size-cells = <0>;
1776 + reg = <0x0 0x1550000 0x0 0x10000>,
1777 + <0x0 0x40000000 0x0 0x10000000>;
1778 + reg-names = "QuadSPI", "QuadSPI-memory";
1779 + interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>;
1780 + clock-names = "qspi_en", "qspi";
1781 + clocks = <&clockgen 4 0>, <&clockgen 4 0>;
1783 + status = "disabled";
1787 #sound-dai-cells = <0>;
1788 compatible = "fsl,vf610-sai";
1791 snps,quirk-frame-length-adjustment = <0x20>;
1792 snps,dis_rxdet_inp3_quirk;
1793 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
1794 + snps,host-vbus-glitches;
1797 sata: sata@3200000 {
1798 @@ -471,5 +463,85 @@
1803 + msi: msi-controller1@1572000 {
1804 + compatible = "fsl,ls1012a-msi";
1805 + reg = <0x0 0x1572000 0x0 0x8>;
1807 + interrupts = <0 126 IRQ_TYPE_LEVEL_HIGH>;
1810 + pcie: pcie@3400000 {
1811 + compatible = "fsl,ls1012a-pcie", "snps,dw-pcie";
1812 + reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
1813 + 0x40 0x00000000 0x0 0x00002000>; /* configuration space */
1814 + reg-names = "regs", "config";
1815 + interrupts = <0 118 0x4>, /* AER interrupt */
1816 + <0 117 0x4>; /* PME interrupt */
1817 + interrupt-names = "aer", "pme";
1818 + #address-cells = <3>;
1819 + #size-cells = <2>;
1820 + device_type = "pci";
1822 + bus-range = <0x0 0xff>;
1823 + ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
1824 + 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
1825 + msi-parent = <&msi>;
1826 + #interrupt-cells = <1>;
1827 + interrupt-map-mask = <0 0 0 7>;
1828 + interrupt-map = <0000 0 0 1 &gic 0 110 IRQ_TYPE_LEVEL_HIGH>,
1829 + <0000 0 0 2 &gic 0 111 IRQ_TYPE_LEVEL_HIGH>,
1830 + <0000 0 0 3 &gic 0 112 IRQ_TYPE_LEVEL_HIGH>,
1831 + <0000 0 0 4 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
1832 + status = "disabled";
1835 + rcpm: rcpm@1ee2000 {
1836 + compatible = "fsl,ls1012a-rcpm", "fsl,qoriq-rcpm-2.1";
1837 + reg = <0x0 0x1ee2000 0x0 0x1000>;
1838 + fsl,#rcpm-wakeup-cells = <1>;
1843 + #address-cells = <2>;
1844 + #size-cells = <2>;
1847 + pfe_reserved: packetbuffer@83400000 {
1848 + reg = <0 0x83400000 0 0xc00000>;
1852 + pfe: pfe@04000000 {
1853 + compatible = "fsl,pfe";
1854 + reg = <0x0 0x04000000 0x0 0xc00000>, /* AXI 16M */
1855 + <0x0 0x83400000 0x0 0xc00000>; /* PFE DDR 12M */
1856 + reg-names = "pfe", "pfe-ddr";
1857 + fsl,pfe-num-interfaces = <0x2>;
1858 + interrupts = <0 172 0x4>, /* HIF interrupt */
1859 + <0 173 0x4>, /*HIF_NOCPY interrupt */
1860 + <0 174 0x4>; /* WoL interrupt */
1861 + interrupt-names = "pfe_hif", "pfe_hif_nocpy", "pfe_wol";
1862 + memory-region = <&pfe_reserved>;
1863 + fsl,pfe-scfg = <&scfg 0>;
1864 + fsl,rcpm-wakeup = <&rcpm 0xf0000020>;
1865 + clocks = <&clockgen 4 0>;
1866 + clock-names = "pfe";
1873 + compatible = "linaro,optee-tz";
1884 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043-post.dtsi
1885 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043-post.dtsi
1887 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
1889 * QorIQ FMan v3 device tree nodes for ls1043
1891 * Copyright 2015-2016 Freescale Semiconductor Inc.
1893 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
1898 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds-sdk.dts
1901 + * Device Tree Include file for Freescale Layerscape-1043A family SoC.
1903 + * Copyright 2014-2015 Freescale Semiconductor, Inc.
1905 + * Mingkai Hu <Mingkai.hu@freescale.com>
1907 + * This file is dual-licensed: you can use it either under the terms
1908 + * of the GPLv2 or the X11 license, at your option. Note that this dual
1909 + * licensing only applies to this file, and not this project as a
1912 + * a) This library is free software; you can redistribute it and/or
1913 + * modify it under the terms of the GNU General Public License as
1914 + * published by the Free Software Foundation; either version 2 of the
1915 + * License, or (at your option) any later version.
1917 + * This library is distributed in the hope that it will be useful,
1918 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1919 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1920 + * GNU General Public License for more details.
1922 + * Or, alternatively,
1924 + * b) Permission is hereby granted, free of charge, to any person
1925 + * obtaining a copy of this software and associated documentation
1926 + * files (the "Software"), to deal in the Software without
1927 + * restriction, including without limitation the rights to use,
1928 + * copy, modify, merge, publish, distribute, sublicense, and/or
1929 + * sell copies of the Software, and to permit persons to whom the
1930 + * Software is furnished to do so, subject to the following
1933 + * The above copyright notice and this permission notice shall be
1934 + * included in all copies or substantial portions of the Software.
1936 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1937 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
1938 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1939 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1940 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
1941 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1942 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1943 + * OTHER DEALINGS IN THE SOFTWARE.
1946 +#include "fsl-ls1043a-qds.dts"
1947 +#include "qoriq-qman-portals-sdk.dtsi"
1948 +#include "qoriq-bman-portals-sdk.dtsi"
1951 + compatible = "fsl,bman-fbpr";
1952 + alloc-ranges = <0 0 0x10000 0>;
1955 + compatible = "fsl,qman-fqd";
1956 + alloc-ranges = <0 0 0x10000 0>;
1959 + compatible = "fsl,qman-pfdr";
1960 + alloc-ranges = <0 0 0x10000 0>;
1964 +/delete-property/ dma-coherent;
1966 +#include "qoriq-dpaa-eth.dtsi"
1967 +#include "qoriq-fman3-0-6oh.dtsi"
1970 + /delete-property/ iommu-map;
1975 + /delete-property/ iommu-map;
1980 + /delete-property/ iommu-map;
1984 +/delete-node/ iommu@9000000;
1988 + compatible = "fsl,fman", "simple-bus";
2163 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
2164 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
2166 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2168 * Device Tree Include file for Freescale Layerscape-1043A family SoC.
2170 * Copyright 2014-2015 Freescale Semiconductor, Inc.
2172 * Mingkai Hu <Mingkai.hu@freescale.com>
2174 - * This file is dual-licensed: you can use it either under the terms
2175 - * of the GPLv2 or the X11 license, at your option. Note that this dual
2176 - * licensing only applies to this file, and not this project as a
2179 - * a) This library is free software; you can redistribute it and/or
2180 - * modify it under the terms of the GNU General Public License as
2181 - * published by the Free Software Foundation; either version 2 of the
2182 - * License, or (at your option) any later version.
2184 - * This library is distributed in the hope that it will be useful,
2185 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
2186 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2187 - * GNU General Public License for more details.
2189 - * Or, alternatively,
2191 - * b) Permission is hereby granted, free of charge, to any person
2192 - * obtaining a copy of this software and associated documentation
2193 - * files (the "Software"), to deal in the Software without
2194 - * restriction, including without limitation the rights to use,
2195 - * copy, modify, merge, publish, distribute, sublicense, and/or
2196 - * sell copies of the Software, and to permit persons to whom the
2197 - * Software is furnished to do so, subject to the following
2200 - * The above copyright notice and this permission notice shall be
2201 - * included in all copies or substantial portions of the Software.
2203 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2204 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
2205 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
2206 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
2207 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
2208 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2209 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2210 - * OTHER DEALINGS IN THE SOFTWARE.
2218 + sgmii_riser_s1_p1 = &sgmii_phy_s1_p1;
2219 + sgmii_riser_s2_p1 = &sgmii_phy_s2_p1;
2220 + sgmii_riser_s3_p1 = &sgmii_phy_s3_p1;
2221 + sgmii_riser_s4_p1 = &sgmii_phy_s4_p1;
2222 + qsgmii_s1_p1 = &qsgmii_phy_s1_p1;
2223 + qsgmii_s1_p2 = &qsgmii_phy_s1_p2;
2224 + qsgmii_s1_p3 = &qsgmii_phy_s1_p3;
2225 + qsgmii_s1_p4 = &qsgmii_phy_s1_p4;
2226 + qsgmii_s2_p1 = &qsgmii_phy_s2_p1;
2227 + qsgmii_s2_p2 = &qsgmii_phy_s2_p2;
2228 + qsgmii_s2_p3 = &qsgmii_phy_s2_p3;
2229 + qsgmii_s2_p4 = &qsgmii_phy_s2_p4;
2230 + emi1_slot1 = &ls1043mdio_s1;
2231 + emi1_slot2 = &ls1043mdio_s2;
2232 + emi1_slot3 = &ls1043mdio_s3;
2233 + emi1_slot4 = &ls1043mdio_s4;
2240 fpga: board-control@2,0 {
2241 - compatible = "fsl,ls1043aqds-fpga", "fsl,fpga-qixis";
2242 + compatible = "fsl,ls1043aqds-fpga", "fsl,fpga-qixis", "simple-bus";
2243 reg = <0x2 0x0 0x0000100>;
2244 + #address-cells = <1>;
2245 + #size-cells = <1>;
2246 + ranges = <0 2 0 0x100>;
2250 @@ -179,7 +161,153 @@
2252 spi-max-frequency = <20000000>;
2254 + spi-rx-bus-width = <4>;
2255 + spi-tx-bus-width = <4>;
2259 #include "fsl-ls1043-post.dtsi"
2263 + phy-handle = <&qsgmii_phy_s2_p1>;
2264 + phy-connection-type = "sgmii";
2268 + phy-handle = <&qsgmii_phy_s2_p2>;
2269 + phy-connection-type = "sgmii";
2273 + phy-handle = <&rgmii_phy1>;
2274 + phy-connection-type = "rgmii";
2278 + phy-handle = <&rgmii_phy2>;
2279 + phy-connection-type = "rgmii";
2283 + phy-handle = <&qsgmii_phy_s2_p3>;
2284 + phy-connection-type = "sgmii";
2288 + phy-handle = <&qsgmii_phy_s2_p4>;
2289 + phy-connection-type = "sgmii";
2292 + ethernet@f0000 { /* DTSEC9/10GEC1 */
2293 + fixed-link = <1 1 10000 0 0>;
2294 + phy-connection-type = "xgmii";
2300 + compatible = "mdio-mux-mmioreg", "mdio-mux";
2301 + mdio-parent-bus = <&mdio0>;
2302 + #address-cells = <1>;
2303 + #size-cells = <0>;
2304 + reg = <0x54 1>; /* BRDCFG4 */
2305 + mux-mask = <0xe0>; /* EMI1 */
2307 + /* On-board RGMII1 PHY */
2308 + ls1043mdio0: mdio@0 {
2310 + #address-cells = <1>;
2311 + #size-cells = <0>;
2313 + rgmii_phy1: ethernet-phy@1 { /* MAC3 */
2318 + /* On-board RGMII2 PHY */
2319 + ls1043mdio1: mdio@1 {
2321 + #address-cells = <1>;
2322 + #size-cells = <0>;
2324 + rgmii_phy2: ethernet-phy@2 { /* MAC4 */
2330 + ls1043mdio_s1: mdio@2 {
2332 + #address-cells = <1>;
2333 + #size-cells = <0>;
2334 + status = "disabled";
2336 + qsgmii_phy_s1_p1: ethernet-phy@4 {
2339 + qsgmii_phy_s1_p2: ethernet-phy@5 {
2342 + qsgmii_phy_s1_p3: ethernet-phy@6 {
2345 + qsgmii_phy_s1_p4: ethernet-phy@7 {
2349 + sgmii_phy_s1_p1: ethernet-phy@1c {
2355 + ls1043mdio_s2: mdio@3 {
2357 + #address-cells = <1>;
2358 + #size-cells = <0>;
2359 + status = "disabled";
2361 + qsgmii_phy_s2_p1: ethernet-phy@8 {
2364 + qsgmii_phy_s2_p2: ethernet-phy@9 {
2367 + qsgmii_phy_s2_p3: ethernet-phy@a {
2370 + qsgmii_phy_s2_p4: ethernet-phy@b {
2374 + sgmii_phy_s2_p1: ethernet-phy@1c {
2380 + ls1043mdio_s3: mdio@4 {
2382 + #address-cells = <1>;
2383 + #size-cells = <0>;
2384 + status = "disabled";
2386 + sgmii_phy_s3_p1: ethernet-phy@1c {
2392 + ls1043mdio_s4: mdio@5 {
2394 + #address-cells = <1>;
2395 + #size-cells = <0>;
2396 + status = "disabled";
2398 + sgmii_phy_s4_p1: ethernet-phy@1c {
2405 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dts
2408 + * Device Tree Include file for Freescale Layerscape-1043A family SoC.
2410 + * Copyright 2014-2015 Freescale Semiconductor, Inc.
2412 + * Mingkai Hu <Mingkai.hu@freescale.com>
2414 + * This file is dual-licensed: you can use it either under the terms
2415 + * of the GPLv2 or the X11 license, at your option. Note that this dual
2416 + * licensing only applies to this file, and not this project as a
2419 + * a) This library is free software; you can redistribute it and/or
2420 + * modify it under the terms of the GNU General Public License as
2421 + * published by the Free Software Foundation; either version 2 of the
2422 + * License, or (at your option) any later version.
2424 + * This library is distributed in the hope that it will be useful,
2425 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
2426 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2427 + * GNU General Public License for more details.
2429 + * Or, alternatively,
2431 + * b) Permission is hereby granted, free of charge, to any person
2432 + * obtaining a copy of this software and associated documentation
2433 + * files (the "Software"), to deal in the Software without
2434 + * restriction, including without limitation the rights to use,
2435 + * copy, modify, merge, publish, distribute, sublicense, and/or
2436 + * sell copies of the Software, and to permit persons to whom the
2437 + * Software is furnished to do so, subject to the following
2440 + * The above copyright notice and this permission notice shall be
2441 + * included in all copies or substantial portions of the Software.
2443 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2444 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
2445 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
2446 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
2447 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
2448 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2449 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2450 + * OTHER DEALINGS IN THE SOFTWARE.
2453 +#include "fsl-ls1043a-rdb.dts"
2454 +#include "qoriq-qman-portals-sdk.dtsi"
2455 +#include "qoriq-bman-portals-sdk.dtsi"
2458 + compatible = "fsl,bman-fbpr";
2459 + alloc-ranges = <0 0 0x10000 0>;
2462 + compatible = "fsl,qman-fqd";
2463 + alloc-ranges = <0 0 0x10000 0>;
2466 + compatible = "fsl,qman-pfdr";
2467 + alloc-ranges = <0 0 0x10000 0>;
2471 +/delete-property/ dma-coherent;
2473 +#include "qoriq-dpaa-eth.dtsi"
2474 +#include "qoriq-fman3-0-6oh.dtsi"
2477 + /delete-property/ iommu-map;
2482 + /delete-property/ iommu-map;
2487 + /delete-property/ iommu-map;
2491 +/delete-node/ iommu@9000000;
2495 + compatible = "fsl,fman", "simple-bus";
2670 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
2673 + * Device Tree Include file for Freescale Layerscape-1043A family SoC.
2675 + * Copyright (C) 2014-2015, Freescale Semiconductor
2677 + * This file is licensed under the terms of the GNU General Public
2678 + * License version 2. This program is licensed "as is" without any
2679 + * warranty of any kind, whether express or implied.
2682 +#include "fsl-ls1043a-rdb-sdk.dts"
2685 + bp7: buffer-pool@7 {
2686 + compatible = "fsl,p4080-bpool", "fsl,bpool";
2688 + fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>;
2689 + fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>;
2693 + bp8: buffer-pool@8 {
2694 + compatible = "fsl,p4080-bpool", "fsl,bpool";
2696 + fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>;
2697 + fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
2701 + bp9: buffer-pool@9 {
2702 + compatible = "fsl,p4080-bpool", "fsl,bpool";
2704 + fsl,bpool-ethernet-cfg = <0 0 0 2048 0 0xfeedabba>;
2705 + fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
2710 + compatible = "fsl,ls1043a", "fsl,dpaa", "simple-bus";
2714 + compatible = "fsl,dpa-ethernet-init";
2715 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
2716 + fsl,qman-frame-queues-rx = <0x50 1 0x51 1>;
2717 + fsl,qman-frame-queues-tx = <0x70 1 0x71 1>;
2721 + compatible = "fsl,dpa-ethernet-init";
2722 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
2723 + fsl,qman-frame-queues-rx = <0x52 1 0x53 1>;
2724 + fsl,qman-frame-queues-tx = <0x72 1 0x73 1>;
2728 + compatible = "fsl,dpa-ethernet-init";
2729 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
2730 + fsl,qman-frame-queues-rx = <0x54 1 0x55 1>;
2731 + fsl,qman-frame-queues-tx = <0x74 1 0x75 1>;
2735 + compatible = "fsl,dpa-ethernet-init";
2736 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
2737 + fsl,qman-frame-queues-rx = <0x56 1 0x57 1>;
2738 + fsl,qman-frame-queues-tx = <0x76 1 0x77 1>;
2742 + compatible = "fsl,dpa-ethernet-init";
2743 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
2744 + fsl,qman-frame-queues-rx = <0x58 1 0x59 1>;
2745 + fsl,qman-frame-queues-tx = <0x78 1 0x79 1>;
2749 + compatible = "fsl,dpa-ethernet-init";
2750 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
2751 + fsl,qman-frame-queues-rx = <0x60 1 0x61 1>;
2752 + fsl,qman-frame-queues-tx = <0x80 1 0x81 1>;
2756 + compatible = "fsl,dpa-ethernet-init";
2757 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
2758 + fsl,qman-frame-queues-rx = <0x5c 1 0x5d 1>;
2759 + fsl,qman-frame-queues-tx = <0x7c 1 0x7d 1>;
2763 + compatible = "fsl,dpa-oh";
2764 + /* Define frame queues for the OH port*/
2765 + /* <OH Rx error, OH Rx default> */
2766 + fsl,qman-frame-queues-oh = <0x5a 1 0x5b 1>;
2767 + fsl,fman-oh-port = <&fman0_oh2>;
2772 + /delete-property/ iommu-map;
2776 + /delete-property/ iommu-map;
2780 + /delete-property/ iommu-map;
2783 + /delete-node/ iommu@9000000;
2787 + #address-cells = <2>;
2788 + #size-cells = <2>;
2791 + /* For legacy usdpaa based use-cases, update the size and
2792 + alignment parameters. e.g. to allocate 256 MB memory:
2793 + size = <0 0x10000000>;
2794 + alignment = <0 0x10000000>;
2796 + usdpaa_mem: usdpaa_mem {
2797 + compatible = "fsl,usdpaa-mem";
2798 + alloc-ranges = <0 0 0x10000 0>;
2799 + size = <0 0x1000>;
2800 + alignment = <0 0x1000>;
2806 + fman0_oh2: port@83000 {
2808 + compatible = "fsl,fman-port-oh";
2809 + reg = <0x83000 0x1000>;
2812 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
2813 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
2815 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2817 * Device Tree Include file for Freescale Layerscape-1043A family SoC.
2819 * Copyright 2014-2015 Freescale Semiconductor, Inc.
2821 * Mingkai Hu <Mingkai.hu@freescale.com>
2823 - * This file is dual-licensed: you can use it either under the terms
2824 - * of the GPLv2 or the X11 license, at your option. Note that this dual
2825 - * licensing only applies to this file, and not this project as a
2828 - * a) This library is free software; you can redistribute it and/or
2829 - * modify it under the terms of the GNU General Public License as
2830 - * published by the Free Software Foundation; either version 2 of the
2831 - * License, or (at your option) any later version.
2833 - * This library is distributed in the hope that it will be useful,
2834 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
2835 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2836 - * GNU General Public License for more details.
2838 - * Or, alternatively,
2840 - * b) Permission is hereby granted, free of charge, to any person
2841 - * obtaining a copy of this software and associated documentation
2842 - * files (the "Software"), to deal in the Software without
2843 - * restriction, including without limitation the rights to use,
2844 - * copy, modify, merge, publish, distribute, sublicense, and/or
2845 - * sell copies of the Software, and to permit persons to whom the
2846 - * Software is furnished to do so, subject to the following
2849 - * The above copyright notice and this permission notice shall be
2850 - * included in all copies or substantial portions of the Software.
2852 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2853 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
2854 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
2855 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
2856 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
2857 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2858 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2859 - * OTHER DEALINGS IN THE SOFTWARE.
2864 model = "LS1043A RDB Board";
2872 compatible = "pericom,pt7c4338";
2876 + compatible = "nxp,pcf85263";
2884 spi-max-frequency = <1000000>; /* input clock */
2888 + compatible = "maxim,ds26522";
2890 + spi-max-frequency = <2000000>;
2891 + fsl,spi-cs-sck-delay = <100>;
2892 + fsl,spi-sck-cs-delay = <50>;
2896 + compatible = "maxim,ds26522";
2898 + spi-max-frequency = <2000000>;
2899 + fsl,spi-cs-sck-delay = <100>;
2900 + fsl,spi-sck-cs-delay = <50>;
2905 + ucc_hdlc: ucc@2000 {
2906 + compatible = "fsl,ucc-hdlc";
2907 + rx-clock-name = "clk8";
2908 + tx-clock-name = "clk9";
2909 + fsl,rx-sync-clock = "rsync_pin";
2910 + fsl,tx-sync-clock = "tsync_pin";
2911 + fsl,tx-timeslot-mask = <0xfffffffe>;
2912 + fsl,rx-timeslot-mask = <0xfffffffe>;
2913 + fsl,tdm-framer-type = "e1";
2915 + fsl,siram-entry-id = <0>;
2916 + fsl,tdm-interface;
2921 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
2922 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
2924 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2926 * Device Tree Include file for Freescale Layerscape-1043A family SoC.
2928 * Copyright 2014-2015 Freescale Semiconductor, Inc.
2930 * Mingkai Hu <Mingkai.hu@freescale.com>
2932 - * This file is dual-licensed: you can use it either under the terms
2933 - * of the GPLv2 or the X11 license, at your option. Note that this dual
2934 - * licensing only applies to this file, and not this project as a
2937 - * a) This library is free software; you can redistribute it and/or
2938 - * modify it under the terms of the GNU General Public License as
2939 - * published by the Free Software Foundation; either version 2 of the
2940 - * License, or (at your option) any later version.
2942 - * This library is distributed in the hope that it will be useful,
2943 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
2944 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2945 - * GNU General Public License for more details.
2947 - * Or, alternatively,
2949 - * b) Permission is hereby granted, free of charge, to any person
2950 - * obtaining a copy of this software and associated documentation
2951 - * files (the "Software"), to deal in the Software without
2952 - * restriction, including without limitation the rights to use,
2953 - * copy, modify, merge, publish, distribute, sublicense, and/or
2954 - * sell copies of the Software, and to permit persons to whom the
2955 - * Software is furnished to do so, subject to the following
2958 - * The above copyright notice and this permission notice shall be
2959 - * included in all copies or substantial portions of the Software.
2961 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
2962 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
2963 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
2964 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
2965 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
2966 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2967 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2968 - * OTHER DEALINGS IN THE SOFTWARE.
2971 #include <dt-bindings/thermal/thermal.h>
2982 * Currently supported enable-method is psci v0.2
2985 + cooling_map0: cpu0: cpu@0 {
2986 device_type = "cpu";
2987 compatible = "arm,cortex-a53";
2989 clocks = <&clockgen 1 0>;
2990 next-level-cache = <&l2>;
2991 #cooling-cells = <2>;
2992 + cpu-idle-states = <&CPU_PH20>;
2998 clocks = <&clockgen 1 0>;
2999 next-level-cache = <&l2>;
3000 + cpu-idle-states = <&CPU_PH20>;
3006 clocks = <&clockgen 1 0>;
3007 next-level-cache = <&l2>;
3008 + cpu-idle-states = <&CPU_PH20>;
3014 clocks = <&clockgen 1 0>;
3015 next-level-cache = <&l2>;
3016 + cpu-idle-states = <&CPU_PH20>;
3026 + * PSCI node is not added default, U-boot will add missing
3027 + * parts if it determines to use PSCI.
3029 + entry-method = "arm,psci";
3031 + CPU_PH20: cpu-ph20 {
3032 + compatible = "arm,idle-state";
3033 + idle-state-name = "PH20";
3034 + arm,psci-suspend-param = <0x0>;
3035 + entry-latency-us = <1000>;
3036 + exit-latency-us = <1000>;
3037 + min-residency-us = <3000>;
3042 device_type = "memory";
3043 reg = <0x0 0x80000000 0 0x80000000>;
3045 #address-cells = <2>;
3048 + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
3051 clockgen: clocking@1ee1000 {
3052 compatible = "fsl,ls1043a-clockgen";
3053 @@ -204,6 +191,49 @@
3057 + smmu: iommu@9000000 {
3058 + compatible = "arm,mmu-500";
3059 + reg = <0 0x9000000 0 0x400000>;
3061 + stream-match-mask = <0x7f00>;
3062 + #global-interrupts = <2>;
3063 + #iommu-cells = <1>;
3064 + interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3065 + <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
3066 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3067 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3068 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3069 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3070 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3071 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3072 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3073 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3074 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3075 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3076 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3077 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3078 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3079 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3080 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3081 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3082 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3083 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3084 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3085 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3086 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3087 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3088 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3089 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3090 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3091 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3092 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3093 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3094 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3095 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3096 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
3097 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
3100 scfg: scfg@1570000 {
3101 compatible = "fsl,ls1043a-scfg", "syscon";
3102 reg = <0x0 0x1570000 0x0 0x10000>;
3105 dcfg: dcfg@1ee0000 {
3106 compatible = "fsl,ls1043a-dcfg", "syscon";
3107 - reg = <0x0 0x1ee0000 0x0 0x10000>;
3108 + reg = <0x0 0x1ee0000 0x0 0x1000>;
3112 @@ -342,36 +372,7 @@
3113 #thermal-sensor-cells = <1>;
3117 - cpu_thermal: cpu-thermal {
3118 - polling-delay-passive = <1000>;
3119 - polling-delay = <5000>;
3121 - thermal-sensors = <&tmu 3>;
3124 - cpu_alert: cpu-alert {
3125 - temperature = <85000>;
3126 - hysteresis = <2000>;
3129 - cpu_crit: cpu-crit {
3130 - temperature = <95000>;
3131 - hysteresis = <2000>;
3132 - type = "critical";
3138 - trip = <&cpu_alert>;
3140 - <&cpu0 THERMAL_NO_LIMIT
3141 - THERMAL_NO_LIMIT>;
3146 + #include "fsl-tmu.dtsi"
3148 qman: qman@1880000 {
3149 compatible = "fsl,qman";
3154 - compatible = "fsl,vf610-i2c";
3155 + compatible = "fsl,vf610-i2c", "fsl,ls1043a-vf610-i2c";
3156 #address-cells = <1>;
3158 reg = <0x0 0x2180000 0x0 0x10000>;
3160 dmas = <&edma0 1 39>,
3162 dma-names = "tx", "rx";
3163 + scl-gpios = <&gpio4 12 0>;
3164 status = "disabled";
3167 @@ -536,6 +538,72 @@
3168 #interrupt-cells = <2>;
3171 + uqe: uqe@2400000 {
3172 + #address-cells = <1>;
3173 + #size-cells = <1>;
3174 + device_type = "qe";
3175 + compatible = "fsl,qe", "simple-bus";
3176 + ranges = <0x0 0x0 0x2400000 0x40000>;
3177 + reg = <0x0 0x2400000 0x0 0x480>;
3178 + brg-frequency = <100000000>;
3179 + bus-frequency = <200000000>;
3181 + fsl,qe-num-riscs = <1>;
3182 + fsl,qe-num-snums = <28>;
3185 + compatible = "fsl,qe-ic";
3186 + reg = <0x80 0x80>;
3187 + #address-cells = <0>;
3188 + interrupt-controller;
3189 + #interrupt-cells = <1>;
3190 + interrupts = <0 77 0x04 0 77 0x04>;
3194 + #address-cells = <1>;
3195 + #size-cells = <0>;
3196 + compatible = "fsl,ls1043-qe-si",
3197 + "fsl,t1040-qe-si";
3198 + reg = <0x700 0x80>;
3201 + siram1: siram@1000 {
3202 + #address-cells = <1>;
3203 + #size-cells = <1>;
3204 + compatible = "fsl,ls1043-qe-siram",
3205 + "fsl,t1040-qe-siram";
3206 + reg = <0x1000 0x800>;
3211 + reg = <0x2000 0x200>;
3212 + interrupts = <32>;
3213 + interrupt-parent = <&qeic>;
3218 + reg = <0x2200 0x200>;
3219 + interrupts = <34>;
3220 + interrupt-parent = <&qeic>;
3224 + #address-cells = <1>;
3225 + #size-cells = <1>;
3226 + compatible = "fsl,qe-muram", "fsl,cpm-muram";
3227 + ranges = <0x0 0x10000 0x6000>;
3230 + compatible = "fsl,qe-muram-data",
3231 + "fsl,cpm-muram-data";
3232 + reg = <0x0 0x6000>;
3237 lpuart0: serial@2950000 {
3238 compatible = "fsl,ls1021a-lpuart";
3239 reg = <0x0 0x2950000 0x0 0x1000>;
3240 @@ -590,6 +658,16 @@
3241 status = "disabled";
3244 + ftm0: ftm0@29d0000 {
3245 + compatible = "fsl,ls1043a-ftm-alarm";
3246 + reg = <0x0 0x29d0000 0x0 0x10000>,
3247 + <0x0 0x1ee2140 0x0 0x4>;
3248 + reg-names = "ftm", "pmctrl";
3249 + interrupts = <0 86 0x4>;
3254 wdog0: wdog@2ad0000 {
3255 compatible = "fsl,ls1043a-wdt", "fsl,imx21-wdt";
3256 reg = <0x0 0x2ad0000 0x0 0x10000>;
3257 @@ -615,41 +693,81 @@
3261 - usb0: usb3@2f00000 {
3262 - compatible = "snps,dwc3";
3263 - reg = <0x0 0x2f00000 0x0 0x10000>;
3264 - interrupts = <0 60 0x4>;
3266 - snps,quirk-frame-length-adjustment = <0x20>;
3267 - snps,dis_rxdet_inp3_quirk;
3270 - usb1: usb3@3000000 {
3271 - compatible = "snps,dwc3";
3272 - reg = <0x0 0x3000000 0x0 0x10000>;
3273 - interrupts = <0 61 0x4>;
3275 - snps,quirk-frame-length-adjustment = <0x20>;
3276 - snps,dis_rxdet_inp3_quirk;
3279 - usb2: usb3@3100000 {
3280 - compatible = "snps,dwc3";
3281 - reg = <0x0 0x3100000 0x0 0x10000>;
3282 - interrupts = <0 63 0x4>;
3284 - snps,quirk-frame-length-adjustment = <0x20>;
3285 - snps,dis_rxdet_inp3_quirk;
3288 - sata: sata@3200000 {
3289 - compatible = "fsl,ls1043a-ahci";
3290 - reg = <0x0 0x3200000 0x0 0x10000>,
3291 - <0x0 0x20140520 0x0 0x4>;
3292 - reg-names = "ahci", "sata-ecc";
3293 - interrupts = <0 69 0x4>;
3294 - clocks = <&clockgen 4 0>;
3296 + aux_bus: aux_bus {
3297 + #address-cells = <2>;
3298 + #size-cells = <2>;
3299 + compatible = "simple-bus";
3301 + dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x00000000>;
3303 + usb0: usb3@2f00000 {
3304 + compatible = "snps,dwc3";
3305 + reg = <0x0 0x2f00000 0x0 0x10000>;
3306 + interrupts = <0 60 0x4>;
3308 + snps,quirk-frame-length-adjustment = <0x20>;
3309 + snps,dis_rxdet_inp3_quirk;
3311 + snps,dis-u1u2-when-u3-quirk;
3312 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
3313 + snps,host-vbus-glitches;
3316 + usb1: usb3@3000000 {
3317 + compatible = "snps,dwc3";
3318 + reg = <0x0 0x3000000 0x0 0x10000>;
3319 + interrupts = <0 61 0x4>;
3321 + snps,quirk-frame-length-adjustment = <0x20>;
3322 + snps,dis_rxdet_inp3_quirk;
3324 + snps,dis-u1u2-when-u3-quirk;
3325 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
3326 + snps,host-vbus-glitches;
3329 + usb2: usb3@3100000 {
3330 + compatible = "snps,dwc3";
3331 + reg = <0x0 0x3100000 0x0 0x10000>;
3332 + interrupts = <0 63 0x4>;
3334 + snps,quirk-frame-length-adjustment = <0x20>;
3335 + snps,dis_rxdet_inp3_quirk;
3337 + snps,dis-u1u2-when-u3-quirk;
3338 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
3339 + snps,host-vbus-glitches;
3342 + sata: sata@3200000 {
3343 + compatible = "fsl,ls1043a-ahci";
3344 + reg = <0x0 0x3200000 0x0 0x10000>,
3345 + <0x0 0x20140520 0x0 0x4>;
3346 + reg-names = "ahci", "sata-ecc";
3347 + interrupts = <0 69 0x4>;
3348 + clocks = <&clockgen 4 0>;
3352 + qdma: qdma@8380000 {
3353 + compatible = "fsl,ls1021a-qdma", "fsl,ls1043a-qdma";
3354 + reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */
3355 + <0x0 0x8390000 0x0 0x10000>, /* Status regs */
3356 + <0x0 0x83a0000 0x0 0x40000>; /* Block regs */
3357 + interrupts = <0 152 0x4>,
3362 + interrupt-names = "qdma-error", "qdma-queue0",
3363 + "qdma-queue1", "qdma-queue2", "qdma-queue3";
3365 + block-number = <1>;
3366 + block-offset = <0x10000>;
3368 + status-sizes = <64>;
3369 + queue-sizes = <64 64>;
3373 msi1: msi-controller1@1571000 {
3374 @@ -678,13 +796,13 @@
3375 reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
3376 0x40 0x00000000 0x0 0x00002000>; /* configuration space */
3377 reg-names = "regs", "config";
3378 - interrupts = <0 118 0x4>, /* controller interrupt */
3379 - <0 117 0x4>; /* PME interrupt */
3380 - interrupt-names = "intr", "pme";
3381 + interrupts = <0 117 0x4>, /* PME interrupt */
3382 + <0 118 0x4>; /* aer interrupt */
3383 + interrupt-names = "pme", "aer";
3384 #address-cells = <3>;
3386 device_type = "pci";
3388 + iommu-map = <0 &smmu 0 1>;
3390 bus-range = <0x0 0xff>;
3391 ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
3393 <0000 0 0 2 &gic 0 111 0x4>,
3394 <0000 0 0 3 &gic 0 112 0x4>,
3395 <0000 0 0 4 &gic 0 113 0x4>;
3396 + status = "disabled";
3400 @@ -703,13 +822,13 @@
3401 reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
3402 0x48 0x00000000 0x0 0x00002000>; /* configuration space */
3403 reg-names = "regs", "config";
3404 - interrupts = <0 128 0x4>,
3406 - interrupt-names = "intr", "pme";
3407 + interrupts = <0 127 0x4>,
3409 + interrupt-names = "pme", "aer";
3410 #address-cells = <3>;
3412 device_type = "pci";
3414 + iommu-map = <0 &smmu 0 1>;
3416 bus-range = <0x0 0xff>;
3417 ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
3419 <0000 0 0 2 &gic 0 121 0x4>,
3420 <0000 0 0 3 &gic 0 122 0x4>,
3421 <0000 0 0 4 &gic 0 123 0x4>;
3422 + status = "disabled";
3426 @@ -728,13 +848,13 @@
3427 reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
3428 0x50 0x00000000 0x0 0x00002000>; /* configuration space */
3429 reg-names = "regs", "config";
3430 - interrupts = <0 162 0x4>,
3432 - interrupt-names = "intr", "pme";
3433 + interrupts = <0 161 0x4>,
3435 + interrupt-names = "pme", "aer";
3436 #address-cells = <3>;
3438 device_type = "pci";
3440 + iommu-map = <0 &smmu 0 1>;
3442 bus-range = <0x0 0xff>;
3443 ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */
3444 @@ -746,6 +866,14 @@
3445 <0000 0 0 2 &gic 0 155 0x4>,
3446 <0000 0 0 3 &gic 0 156 0x4>,
3447 <0000 0 0 4 &gic 0 157 0x4>;
3448 + status = "disabled";
3454 + compatible = "linaro,optee-tz";
3459 @@ -753,3 +881,29 @@
3461 #include "qoriq-qman-portals.dtsi"
3462 #include "qoriq-bman-portals.dtsi"
3489 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi
3490 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi
3492 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3494 * QorIQ FMan v3 device tree nodes for ls1046
3496 * Copyright 2015-2016 Freescale Semiconductor Inc.
3498 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3503 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds-sdk.dts
3506 + * Device Tree Include file for Freescale Layerscape-1046A family SoC.
3508 + * Copyright 2014-2015 Freescale Semiconductor, Inc.
3510 + * Mingkai Hu <Mingkai.hu@freescale.com>
3512 + * This file is dual-licensed: you can use it either under the terms
3513 + * of the GPLv2 or the X11 license, at your option. Note that this dual
3514 + * licensing only applies to this file, and not this project as a
3517 + * a) This library is free software; you can redistribute it and/or
3518 + * modify it under the terms of the GNU General Public License as
3519 + * published by the Free Software Foundation; either version 2 of the
3520 + * License, or (at your option) any later version.
3522 + * This library is distributed in the hope that it will be useful,
3523 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
3524 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3525 + * GNU General Public License for more details.
3527 + * Or, alternatively,
3529 + * b) Permission is hereby granted, free of charge, to any person
3530 + * obtaining a copy of this software and associated documentation
3531 + * files (the "Software"), to deal in the Software without
3532 + * restriction, including without limitation the rights to use,
3533 + * copy, modify, merge, publish, distribute, sublicense, and/or
3534 + * sell copies of the Software, and to permit persons to whom the
3535 + * Software is furnished to do so, subject to the following
3538 + * The above copyright notice and this permission notice shall be
3539 + * included in all copies or substantial portions of the Software.
3541 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
3542 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
3543 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
3544 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
3545 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
3546 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3547 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
3548 + * OTHER DEALINGS IN THE SOFTWARE.
3551 +#include "fsl-ls1046a-qds.dts"
3552 +#include "qoriq-qman-portals-sdk.dtsi"
3553 +#include "qoriq-bman-portals-sdk.dtsi"
3556 + compatible = "fsl,bman-fbpr";
3557 + alloc-ranges = <0 0 0x10000 0>;
3560 + compatible = "fsl,qman-fqd";
3561 + alloc-ranges = <0 0 0x10000 0>;
3564 + compatible = "fsl,qman-pfdr";
3565 + alloc-ranges = <0 0 0x10000 0>;
3569 +/delete-property/ dma-coherent;
3571 +#include "qoriq-dpaa-eth.dtsi"
3572 +#include "qoriq-fman3-0-6oh.dtsi"
3575 + /delete-property/ iommu-map;
3579 + /delete-property/ iommu-map;
3583 + /delete-property/ iommu-map;
3586 +/delete-node/ iommu@9000000;
3591 + compatible = "fsl,dpa-ethernet";
3592 + fsl,fman-mac = <&enet7>;
3598 + compatible = "fsl,fman", "simple-bus";
3773 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
3774 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
3776 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3778 * Device Tree Include file for Freescale Layerscape-1046A family SoC.
3780 * Copyright 2016 Freescale Semiconductor, Inc.
3782 * Shaohui Xie <Shaohui.Xie@nxp.com>
3784 - * This file is dual-licensed: you can use it either under the terms
3785 - * of the GPLv2 or the X11 license, at your option. Note that this dual
3786 - * licensing only applies to this file, and not this project as a
3789 - * a) This library is free software; you can redistribute it and/or
3790 - * modify it under the terms of the GNU General Public License as
3791 - * published by the Free Software Foundation; either version 2 of the
3792 - * License, or (at your option) any later version.
3794 - * This library is distributed in the hope that it will be useful,
3795 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
3796 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3797 - * GNU General Public License for more details.
3799 - * Or, alternatively,
3801 - * b) Permission is hereby granted, free of charge, to any person
3802 - * obtaining a copy of this software and associated documentation
3803 - * files (the "Software"), to deal in the Software without
3804 - * restriction, including without limitation the rights to use,
3805 - * copy, modify, merge, publish, distribute, sublicense, and/or
3806 - * sell copies of the Software, and to permit persons to whom the
3807 - * Software is furnished to do so, subject to the following
3810 - * The above copyright notice and this permission notice shall be
3811 - * included in all copies or substantial portions of the Software.
3813 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
3814 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
3815 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
3816 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
3817 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
3818 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
3819 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
3820 - * OTHER DEALINGS IN THE SOFTWARE.
3829 + emi1_slot1 = &ls1046mdio_s1;
3830 + emi1_slot2 = &ls1046mdio_s2;
3831 + emi1_slot4 = &ls1046mdio_s4;
3833 + sgmii_s1_p1 = &sgmii_phy_s1_p1;
3834 + sgmii_s1_p2 = &sgmii_phy_s1_p2;
3835 + sgmii_s1_p3 = &sgmii_phy_s1_p3;
3836 + sgmii_s1_p4 = &sgmii_phy_s1_p4;
3837 + sgmii_s4_p1 = &sgmii_phy_s4_p1;
3838 + qsgmii_s2_p1 = &qsgmii_phy_s2_p1;
3839 + qsgmii_s2_p2 = &qsgmii_phy_s2_p2;
3840 + qsgmii_s2_p3 = &qsgmii_phy_s2_p3;
3841 + qsgmii_s2_p4 = &qsgmii_phy_s2_p4;
3848 fpga: board-control@2,0 {
3849 - compatible = "fsl,ls1046aqds-fpga", "fsl,fpga-qixis";
3850 + compatible = "fsl,ls1046aqds-fpga", "fsl,fpga-qixis", "simple-bus";
3851 reg = <0x2 0x0 0x0000100>;
3852 + ranges = <0 2 0 0x100>;
3856 @@ -206,9 +184,145 @@
3857 compatible = "spansion,m25p80";
3858 #address-cells = <1>;
3860 - spi-max-frequency = <20000000>;
3861 + spi-max-frequency = <50000000>;
3863 + spi-rx-bus-width = <4>;
3864 + spi-tx-bus-width = <4>;
3868 #include "fsl-ls1046-post.dtsi"
3872 + phy-handle = <&qsgmii_phy_s2_p1>;
3873 + phy-connection-type = "sgmii";
3877 + phy-handle = <&sgmii_phy_s4_p1>;
3878 + phy-connection-type = "sgmii";
3882 + phy-handle = <&rgmii_phy1>;
3883 + phy-connection-type = "rgmii";
3887 + phy-handle = <&rgmii_phy2>;
3888 + phy-connection-type = "rgmii";
3892 + phy-handle = <&sgmii_phy_s1_p3>;
3893 + phy-connection-type = "sgmii";
3897 + phy-handle = <&sgmii_phy_s1_p4>;
3898 + phy-connection-type = "sgmii";
3901 + ethernet@f0000 { /* DTSEC9/10GEC1 */
3902 + phy-handle = <&sgmii_phy_s1_p1>;
3903 + phy-connection-type = "xgmii";
3906 + ethernet@f2000 { /* DTSEC10/10GEC2 */
3907 + phy-handle = <&sgmii_phy_s1_p2>;
3908 + phy-connection-type = "xgmii";
3913 + #address-cells = <1>;
3914 + #size-cells = <1>;
3916 + compatible = "mdio-mux-mmioreg", "mdio-mux";
3917 + mdio-parent-bus = <&mdio0>;
3918 + #address-cells = <1>;
3919 + #size-cells = <0>;
3920 + reg = <0x54 1>; /* BRDCFG4 */
3921 + mux-mask = <0xe0>; /* EMI1 */
3923 + /* On-board RGMII1 PHY */
3924 + ls1046mdio0: mdio@0 {
3926 + #address-cells = <1>;
3927 + #size-cells = <0>;
3929 + rgmii_phy1: ethernet-phy@1 { /* MAC3 */
3934 + /* On-board RGMII2 PHY */
3935 + ls1046mdio1: mdio@1 {
3937 + #address-cells = <1>;
3938 + #size-cells = <0>;
3940 + rgmii_phy2: ethernet-phy@2 { /* MAC4 */
3946 + ls1046mdio_s1: mdio@2 {
3948 + #address-cells = <1>;
3949 + #size-cells = <0>;
3950 + status = "disabled";
3952 + sgmii_phy_s1_p1: ethernet-phy@1c {
3956 + sgmii_phy_s1_p2: ethernet-phy@1d {
3960 + sgmii_phy_s1_p3: ethernet-phy@1e {
3964 + sgmii_phy_s1_p4: ethernet-phy@1f {
3970 + ls1046mdio_s2: mdio@3 {
3972 + #address-cells = <1>;
3973 + #size-cells = <0>;
3974 + status = "disabled";
3976 + qsgmii_phy_s2_p1: ethernet-phy@8 {
3979 + qsgmii_phy_s2_p2: ethernet-phy@9 {
3982 + qsgmii_phy_s2_p3: ethernet-phy@a {
3985 + qsgmii_phy_s2_p4: ethernet-phy@b {
3991 + ls1046mdio_s4: mdio@5 {
3993 + #address-cells = <1>;
3994 + #size-cells = <0>;
3995 + status = "disabled";
3997 + sgmii_phy_s4_p1: ethernet-phy@1c {
4004 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-sdk.dts
4007 + * Device Tree Include file for Freescale Layerscape-1046A family SoC.
4009 + * Copyright 2014-2015 Freescale Semiconductor, Inc.
4011 + * Mingkai Hu <Mingkai.hu@freescale.com>
4013 + * This file is dual-licensed: you can use it either under the terms
4014 + * of the GPLv2 or the X11 license, at your option. Note that this dual
4015 + * licensing only applies to this file, and not this project as a
4018 + * a) This library is free software; you can redistribute it and/or
4019 + * modify it under the terms of the GNU General Public License as
4020 + * published by the Free Software Foundation; either version 2 of the
4021 + * License, or (at your option) any later version.
4023 + * This library is distributed in the hope that it will be useful,
4024 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
4025 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4026 + * GNU General Public License for more details.
4028 + * Or, alternatively,
4030 + * b) Permission is hereby granted, free of charge, to any person
4031 + * obtaining a copy of this software and associated documentation
4032 + * files (the "Software"), to deal in the Software without
4033 + * restriction, including without limitation the rights to use,
4034 + * copy, modify, merge, publish, distribute, sublicense, and/or
4035 + * sell copies of the Software, and to permit persons to whom the
4036 + * Software is furnished to do so, subject to the following
4039 + * The above copyright notice and this permission notice shall be
4040 + * included in all copies or substantial portions of the Software.
4042 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
4043 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
4044 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
4045 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
4046 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
4047 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
4048 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
4049 + * OTHER DEALINGS IN THE SOFTWARE.
4052 +#include "fsl-ls1046a-rdb.dts"
4053 +#include "qoriq-qman-portals-sdk.dtsi"
4054 +#include "qoriq-bman-portals-sdk.dtsi"
4057 + compatible = "fsl,bman-fbpr";
4058 + alloc-ranges = <0 0 0x10000 0>;
4061 + compatible = "fsl,qman-fqd";
4062 + alloc-ranges = <0 0 0x10000 0>;
4065 + compatible = "fsl,qman-pfdr";
4066 + alloc-ranges = <0 0 0x10000 0>;
4070 +/delete-property/ dma-coherent;
4072 +#include "qoriq-dpaa-eth.dtsi"
4073 +#include "qoriq-fman3-0-6oh.dtsi"
4076 + /delete-property/ iommu-map;
4080 + /delete-property/ iommu-map;
4084 + /delete-property/ iommu-map;
4087 +/delete-node/ iommu@9000000;
4092 + status = "disabled";
4095 + status = "disabled";
4098 + compatible = "fsl,dpa-ethernet";
4099 + fsl,fman-mac = <&enet7>;
4105 + compatible = "fsl,fman", "simple-bus";
4109 + pcsphy6: ethernet-phy@0 {
4110 + backplane-mode = "10gbase-kr";
4111 + compatible = "ethernet-phy-ieee802.3-c45";
4113 + fsl,lane-handle = <&serdes1>;
4114 + fsl,lane-reg = <0x8C0 0x40>; /* lane D */
4119 + pcsphy7: ethernet-phy@0 {
4120 + backplane-mode = "10gbase-kr";
4121 + compatible = "ethernet-phy-ieee802.3-c45";
4123 + fsl,lane-handle = <&serdes1>;
4124 + fsl,lane-reg = <0x880 0x40>; /* lane C */
4128 +/* Update MAC connections to backplane PHYs
4130 + * phy-handle = <&pcsphy6>;
4134 + * phy-handle = <&pcsphy7>;
4314 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
4317 + * Device Tree Include file for Freescale Layerscape-1046A family SoC.
4319 + * Copyright (C) 2016, Freescale Semiconductor
4321 + * This file is licensed under the terms of the GNU General Public
4322 + * License version 2. This program is licensed "as is" without any
4323 + * warranty of any kind, whether express or implied.
4326 +#include "fsl-ls1046a-rdb-sdk.dts"
4329 + bp7: buffer-pool@7 {
4330 + compatible = "fsl,ls1046a-bpool", "fsl,bpool";
4332 + fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>;
4333 + fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>;
4337 + bp8: buffer-pool@8 {
4338 + compatible = "fsl,ls1046a-bpool", "fsl,bpool";
4340 + fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>;
4341 + fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
4345 + bp9: buffer-pool@9 {
4346 + compatible = "fsl,ls1046a-bpool", "fsl,bpool";
4348 + fsl,bpool-ethernet-cfg = <0 0 0 2048 0 0xfeedabba>;
4349 + fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
4354 + compatible = "fsl,ls1046a", "fsl,dpaa", "simple-bus";
4358 + compatible = "fsl,dpa-ethernet-init";
4359 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
4360 + fsl,qman-frame-queues-rx = <0x54 1 0x55 1>;
4361 + fsl,qman-frame-queues-tx = <0x74 1 0x75 1>;
4365 + compatible = "fsl,dpa-ethernet-init";
4366 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
4367 + fsl,qman-frame-queues-rx = <0x56 1 0x57 1>;
4368 + fsl,qman-frame-queues-tx = <0x76 1 0x77 1>;
4372 + compatible = "fsl,dpa-ethernet-init";
4373 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
4374 + fsl,qman-frame-queues-rx = <0x58 1 0x59 1>;
4375 + fsl,qman-frame-queues-tx = <0x78 1 0x79 1>;
4379 + compatible = "fsl,dpa-ethernet-init";
4380 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
4381 + fsl,qman-frame-queues-rx = <0x5a 1 0x5b 1>;
4382 + fsl,qman-frame-queues-tx = <0x7a 1 0x7b 1>;
4386 + compatible = "fsl,dpa-ethernet-init";
4387 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
4388 + fsl,qman-frame-queues-rx = <0x5c 1 0x5d 1>;
4389 + fsl,qman-frame-queues-tx = <0x7c 1 0x7d 1>;
4393 + compatible = "fsl,dpa-ethernet-init";
4394 + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
4395 + fsl,qman-frame-queues-rx = <0x5e 1 0x5f 1>;
4396 + fsl,qman-frame-queues-tx = <0x7e 1 0x7f 1>;
4400 + compatible = "fsl,dpa-oh";
4401 + /* Define frame queues for the OH port*/
4402 + /* <OH Rx error, OH Rx default> */
4403 + fsl,qman-frame-queues-oh = <0x60 1 0x61 1>;
4404 + fsl,fman-oh-port = <&fman0_oh2>;
4409 + /delete-property/ iommu-map;
4413 + /delete-property/ iommu-map;
4417 + /delete-property/ iommu-map;
4420 + /delete-node/ iommu@9000000;
4424 + #address-cells = <2>;
4425 + #size-cells = <2>;
4428 + /* For legacy usdpaa based use-cases, update the size and
4429 + alignment parameters. e.g. to allocate 256 MB memory:
4430 + size = <0 0x10000000>;
4431 + alignment = <0 0x10000000>;
4433 + usdpaa_mem: usdpaa_mem {
4434 + compatible = "fsl,usdpaa-mem";
4435 + alloc-ranges = <0 0 0x10000 0>;
4436 + size = <0 0x1000>;
4437 + alignment = <0 0x1000>;
4443 + fman0_oh2: port@83000 {
4445 + compatible = "fsl,fman-port-oh";
4446 + reg = <0x83000 0x1000>;
4449 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
4450 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
4452 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4454 * Device Tree Include file for Freescale Layerscape-1046A family SoC.
4456 * Copyright 2016 Freescale Semiconductor, Inc.
4458 * Mingkai Hu <mingkai.hu@nxp.com>
4460 - * This file is dual-licensed: you can use it either under the terms
4461 - * of the GPLv2 or the X11 license, at your option. Note that this dual
4462 - * licensing only applies to this file, and not this project as a
4465 - * a) This library is free software; you can redistribute it and/or
4466 - * modify it under the terms of the GNU General Public License as
4467 - * published by the Free Software Foundation; either version 2 of the
4468 - * License, or (at your option) any later version.
4470 - * This library is distributed in the hope that it will be useful,
4471 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
4472 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4473 - * GNU General Public License for more details.
4475 - * Or, alternatively,
4477 - * b) Permission is hereby granted, free of charge, to any person
4478 - * obtaining a copy of this software and associated documentation
4479 - * files (the "Software"), to deal in the Software without
4480 - * restriction, including without limitation the rights to use,
4481 - * copy, modify, merge, publish, distribute, sublicense, and/or
4482 - * sell copies of the Software, and to permit persons to whom the
4483 - * Software is furnished to do so, subject to the following
4486 - * The above copyright notice and this permission notice shall be
4487 - * included in all copies or substantial portions of the Software.
4489 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
4490 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
4491 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
4492 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
4493 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
4494 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
4495 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
4496 - * OTHER DEALINGS IN THE SOFTWARE.
4500 @@ -139,21 +102,26 @@
4504 + fsl,qspi-has-second-chip;
4506 qflash0: s25fs512s@0 {
4507 compatible = "spansion,m25p80";
4508 #address-cells = <1>;
4510 - spi-max-frequency = <20000000>;
4511 + spi-max-frequency = <50000000>;
4513 + spi-rx-bus-width = <4>;
4514 + spi-tx-bus-width = <4>;
4517 qflash1: s25fs512s@1 {
4518 compatible = "spansion,m25p80";
4519 #address-cells = <1>;
4521 - spi-max-frequency = <20000000>;
4522 + spi-max-frequency = <50000000>;
4524 + spi-rx-bus-width = <4>;
4525 + spi-tx-bus-width = <4>;
4529 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
4530 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
4532 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4534 * Device Tree Include file for Freescale Layerscape-1046A family SoC.
4536 * Copyright 2016 Freescale Semiconductor, Inc.
4538 * Mingkai Hu <mingkai.hu@nxp.com>
4540 - * This file is dual-licensed: you can use it either under the terms
4541 - * of the GPLv2 or the X11 license, at your option. Note that this dual
4542 - * licensing only applies to this file, and not this project as a
4545 - * a) This library is free software; you can redistribute it and/or
4546 - * modify it under the terms of the GNU General Public License as
4547 - * published by the Free Software Foundation; either version 2 of the
4548 - * License, or (at your option) any later version.
4550 - * This library is distributed in the hope that it will be useful,
4551 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
4552 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4553 - * GNU General Public License for more details.
4555 - * Or, alternatively,
4557 - * b) Permission is hereby granted, free of charge, to any person
4558 - * obtaining a copy of this software and associated documentation
4559 - * files (the "Software"), to deal in the Software without
4560 - * restriction, including without limitation the rights to use,
4561 - * copy, modify, merge, publish, distribute, sublicense, and/or
4562 - * sell copies of the Software, and to permit persons to whom the
4563 - * Software is furnished to do so, subject to the following
4566 - * The above copyright notice and this permission notice shall be
4567 - * included in all copies or substantial portions of the Software.
4569 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
4570 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
4571 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
4572 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
4573 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
4574 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
4575 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
4576 - * OTHER DEALINGS IN THE SOFTWARE.
4579 #include <dt-bindings/interrupt-controller/arm-gic.h>
4581 #address-cells = <1>;
4585 + cooling_map0: cpu0: cpu@0 {
4586 device_type = "cpu";
4587 compatible = "arm,cortex-a72";
4590 CPU_PH20: cpu-ph20 {
4591 compatible = "arm,idle-state";
4592 idle-state-name = "PH20";
4593 - arm,psci-suspend-param = <0x00010000>;
4594 + arm,psci-suspend-param = <0x0>;
4595 entry-latency-us = <1000>;
4596 exit-latency-us = <1000>;
4597 min-residency-us = <3000>;
4599 #address-cells = <2>;
4602 + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
4605 ddr: memory-controller@1080000 {
4606 compatible = "fsl,qoriq-memory-controller";
4608 clock-names = "qspi_en", "qspi";
4609 clocks = <&clockgen 4 1>, <&clockgen 4 1>;
4611 - fsl,qspi-has-second-chip;
4612 status = "disabled";
4615 @@ -229,6 +193,49 @@
4619 + smmu: iommu@9000000 {
4620 + compatible = "arm,mmu-500";
4621 + reg = <0 0x9000000 0 0x400000>;
4623 + stream-match-mask = <0x7f00>;
4624 + #global-interrupts = <2>;
4625 + #iommu-cells = <1>;
4626 + interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4627 + <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
4628 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4629 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4630 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4631 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4632 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4633 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4634 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4635 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4636 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4637 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4638 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4639 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4640 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4641 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4642 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4643 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4644 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4645 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4646 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4647 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4648 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4649 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4650 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4651 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4652 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4653 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4654 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4655 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4656 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4657 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4658 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
4659 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
4662 scfg: scfg@1570000 {
4663 compatible = "fsl,ls1046a-scfg", "syscon";
4664 reg = <0x0 0x1570000 0x0 0x10000>;
4667 dcfg: dcfg@1ee0000 {
4668 compatible = "fsl,ls1046a-dcfg", "syscon";
4669 - reg = <0x0 0x1ee0000 0x0 0x10000>;
4670 + reg = <0x0 0x1ee0000 0x0 0x1000>;
4674 @@ -362,36 +369,7 @@
4675 #thermal-sensor-cells = <1>;
4679 - cpu_thermal: cpu-thermal {
4680 - polling-delay-passive = <1000>;
4681 - polling-delay = <5000>;
4682 - thermal-sensors = <&tmu 3>;
4685 - cpu_alert: cpu-alert {
4686 - temperature = <85000>;
4687 - hysteresis = <2000>;
4691 - cpu_crit: cpu-crit {
4692 - temperature = <95000>;
4693 - hysteresis = <2000>;
4694 - type = "critical";
4700 - trip = <&cpu_alert>;
4702 - <&cpu0 THERMAL_NO_LIMIT
4703 - THERMAL_NO_LIMIT>;
4708 + #include "fsl-tmu.dtsi"
4710 dspi: dspi@2100000 {
4711 compatible = "fsl,ls1021a-v1.0-dspi";
4716 - compatible = "fsl,vf610-i2c";
4717 + compatible = "fsl,vf610-i2c", "fsl,ls1046a-vf610-i2c";
4718 #address-cells = <1>;
4720 reg = <0x0 0x2180000 0x0 0x10000>;
4722 dmas = <&edma0 1 39>,
4724 dma-names = "tx", "rx";
4725 + scl-gpios = <&gpio3 12 0>;
4726 status = "disabled";
4729 @@ -440,12 +419,13 @@
4733 - compatible = "fsl,vf610-i2c";
4734 + compatible = "fsl,vf610-i2c", "fsl,ls1046a-vf610-i2c";
4735 #address-cells = <1>;
4737 reg = <0x0 0x21b0000 0x0 0x10000>;
4738 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
4739 clocks = <&clockgen 4 1>;
4740 + scl-gpios = <&gpio3 12 0>;
4741 status = "disabled";
4744 @@ -571,6 +551,15 @@
4745 status = "disabled";
4748 + ftm0: ftm0@29d0000 {
4749 + compatible = "fsl,ls1046a-ftm-alarm";
4750 + reg = <0x0 0x29d0000 0x0 0x10000>,
4751 + <0x0 0x1ee2140 0x0 0x4>;
4752 + reg-names = "ftm", "pmctrl";
4753 + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
4757 wdog0: watchdog@2ad0000 {
4758 compatible = "fsl,imx21-wdt";
4759 reg = <0x0 0x2ad0000 0x0 0x10000>;
4760 @@ -595,40 +584,81 @@
4764 - usb0: usb@2f00000 {
4765 - compatible = "snps,dwc3";
4766 - reg = <0x0 0x2f00000 0x0 0x10000>;
4767 - interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
4769 - snps,quirk-frame-length-adjustment = <0x20>;
4770 - snps,dis_rxdet_inp3_quirk;
4773 - usb1: usb@3000000 {
4774 - compatible = "snps,dwc3";
4775 - reg = <0x0 0x3000000 0x0 0x10000>;
4776 - interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
4778 - snps,quirk-frame-length-adjustment = <0x20>;
4779 - snps,dis_rxdet_inp3_quirk;
4782 - usb2: usb@3100000 {
4783 - compatible = "snps,dwc3";
4784 - reg = <0x0 0x3100000 0x0 0x10000>;
4785 - interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
4787 - snps,quirk-frame-length-adjustment = <0x20>;
4788 - snps,dis_rxdet_inp3_quirk;
4791 - sata: sata@3200000 {
4792 - compatible = "fsl,ls1046a-ahci";
4793 - reg = <0x0 0x3200000 0x0 0x10000>,
4794 - <0x0 0x20140520 0x0 0x4>;
4795 - reg-names = "ahci", "sata-ecc";
4796 - interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
4797 - clocks = <&clockgen 4 1>;
4798 + aux_bus: aux_bus {
4799 + #address-cells = <2>;
4800 + #size-cells = <2>;
4801 + compatible = "simple-bus";
4803 + dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x00000000>;
4805 + usb0: usb@2f00000 {
4806 + compatible = "snps,dwc3";
4807 + reg = <0x0 0x2f00000 0x0 0x10000>;
4808 + interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
4810 + snps,quirk-frame-length-adjustment = <0x20>;
4811 + snps,dis_rxdet_inp3_quirk;
4813 + snps,dis-u1u2-when-u3-quirk;
4814 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
4815 + snps,host-vbus-glitches;
4818 + usb1: usb@3000000 {
4819 + compatible = "snps,dwc3";
4820 + reg = <0x0 0x3000000 0x0 0x10000>;
4821 + interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
4823 + snps,quirk-frame-length-adjustment = <0x20>;
4824 + snps,dis_rxdet_inp3_quirk;
4826 + snps,dis-u1u2-when-u3-quirk;
4827 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
4828 + snps,host-vbus-glitches;
4831 + usb2: usb@3100000 {
4832 + compatible = "snps,dwc3";
4833 + reg = <0x0 0x3100000 0x0 0x10000>;
4834 + interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
4836 + snps,quirk-frame-length-adjustment = <0x20>;
4837 + snps,dis_rxdet_inp3_quirk;
4839 + snps,dis-u1u2-when-u3-quirk;
4840 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
4841 + snps,host-vbus-glitches;
4844 + sata: sata@3200000 {
4845 + compatible = "fsl,ls1046a-ahci";
4846 + reg = <0x0 0x3200000 0x0 0x10000>,
4847 + <0x0 0x20140520 0x0 0x4>;
4848 + reg-names = "ahci", "sata-ecc";
4849 + interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
4850 + clocks = <&clockgen 4 1>;
4854 + qdma: qdma@8380000 {
4855 + compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma";
4856 + reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */
4857 + <0x0 0x8390000 0x0 0x10000>, /* Status regs */
4858 + <0x0 0x83a0000 0x0 0x40000>; /* Block regs */
4859 + interrupts = <0 153 0x4>,
4864 + interrupt-names = "qdma-error", "qdma-queue0",
4865 + "qdma-queue1", "qdma-queue2", "qdma-queue3";
4867 + block-number = <1>;
4868 + block-offset = <0x10000>;
4870 + status-sizes = <64>;
4871 + queue-sizes = <64 64>;
4875 msi1: msi-controller@1580000 {
4876 @@ -661,6 +691,125 @@
4877 <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
4881 + compatible = "fsl,ls1046a-pcie", "snps,dw-pcie";
4882 + reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
4883 + 0x40 0x00000000 0x0 0x00002000>; /* configuration space */
4884 + reg-names = "regs", "config";
4885 + interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
4886 + <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
4887 + interrupt-names = "pme", "aer";
4888 + #address-cells = <3>;
4889 + #size-cells = <2>;
4890 + device_type = "pci";
4892 + iommu-map = <0 &smmu 0 1>;
4894 + bus-range = <0x0 0xff>;
4895 + ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
4896 + 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
4897 + msi-parent = <&msi1>, <&msi2>, <&msi3>;
4898 + #interrupt-cells = <1>;
4899 + interrupt-map-mask = <0 0 0 7>;
4900 + interrupt-map = <0000 0 0 1 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
4901 + <0000 0 0 2 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
4902 + <0000 0 0 3 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
4903 + <0000 0 0 4 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
4904 + status = "disabled";
4908 + compatible = "fsl,ls1046a-pcie-ep","fsl,ls-pcie-ep";
4909 + reg = <0x00 0x03400000 0x0 0x00100000
4910 + 0x40 0x00000000 0x8 0x00000000>;
4911 + reg-names = "regs", "addr_space";
4912 + num-ib-windows = <6>;
4913 + num-ob-windows = <8>;
4915 + status = "disabled";
4919 + compatible = "fsl,ls1046a-pcie", "snps,dw-pcie";
4920 + reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
4921 + 0x48 0x00000000 0x0 0x00002000>; /* configuration space */
4922 + reg-names = "regs", "config";
4923 + interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>,
4924 + <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
4925 + interrupt-names = "pme", "aer";
4926 + #address-cells = <3>;
4927 + #size-cells = <2>;
4928 + device_type = "pci";
4930 + iommu-map = <0 &smmu 0 1>;
4932 + bus-range = <0x0 0xff>;
4933 + ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
4934 + 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
4935 + msi-parent = <&msi1>, <&msi2>, <&msi3>;
4936 + #interrupt-cells = <1>;
4937 + interrupt-map-mask = <0 0 0 7>;
4938 + interrupt-map = <0000 0 0 1 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
4939 + <0000 0 0 2 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
4940 + <0000 0 0 3 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
4941 + <0000 0 0 4 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
4942 + status = "disabled";
4946 + compatible = "fsl,ls1046a-pcie-ep","fsl,ls-pcie-ep";
4947 + reg = <0x00 0x03500000 0x0 0x00100000
4948 + 0x48 0x00000000 0x8 0x00000000>;
4949 + reg-names = "regs", "addr_space";
4950 + num-ib-windows = <6>;
4951 + num-ob-windows = <8>;
4953 + status = "disabled";
4957 + compatible = "fsl,ls1046a-pcie", "snps,dw-pcie";
4958 + reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
4959 + 0x50 0x00000000 0x0 0x00002000>; /* configuration space */
4960 + reg-names = "regs", "config";
4961 + interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
4962 + <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
4963 + interrupt-names = "pme", "aer";
4964 + #address-cells = <3>;
4965 + #size-cells = <2>;
4966 + device_type = "pci";
4968 + iommu-map = <0 &smmu 0 1>;
4970 + bus-range = <0x0 0xff>;
4971 + ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */
4972 + 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
4973 + msi-parent = <&msi1>, <&msi2>, <&msi3>;
4974 + #interrupt-cells = <1>;
4975 + interrupt-map-mask = <0 0 0 7>;
4976 + interrupt-map = <0000 0 0 1 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
4977 + <0000 0 0 2 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
4978 + <0000 0 0 3 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
4979 + <0000 0 0 4 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
4980 + status = "disabled";
4984 + compatible = "fsl,ls1046a-pcie-ep", "fsl,ls-pcie-ep";
4985 + reg = <0x00 0x03600000 0x0 0x00100000
4986 + 0x50 0x00000000 0x8 0x00000000>;
4987 + reg-names = "regs", "addr_space";
4988 + num-ib-windows = <6>;
4989 + num-ob-windows = <8>;
4991 + status = "disabled";
4994 + serdes1: serdes@1ea0000 {
4995 + reg = <0x0 0x1ea0000 0 0x00002000>;
4996 + compatible = "fsl,serdes-10g";
5002 @@ -689,7 +838,36 @@
5009 + compatible = "linaro,optee-tz";
5015 #include "qoriq-qman-portals.dtsi"
5016 #include "qoriq-bman-portals.dtsi"
5039 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts
5040 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts
5042 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5044 * Device Tree file for NXP LS1088A QDS Board.
5048 * Harninder Rai <harninder.rai@nxp.com>
5050 - * This file is dual-licensed: you can use it either under the terms
5051 - * of the GPLv2 or the X11 license, at your option. Note that this dual
5052 - * licensing only applies to this file, and not this project as a
5055 - * a) This library is free software; you can redistribute it and/or
5056 - * modify it under the terms of the GNU General Public License as
5057 - * published by the Free Software Foundation; either version 2 of the
5058 - * License, or (at your option) any later version.
5060 - * This library is distributed in the hope that it will be useful,
5061 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
5062 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5063 - * GNU General Public License for more details.
5065 - * Or, alternatively,
5067 - * b) Permission is hereby granted, free of charge, to any person
5068 - * obtaining a copy of this software and associated documentation
5069 - * files (the "Software"), to deal in the Software without
5070 - * restriction, including without limitation the rights to use,
5071 - * copy, modify, merge, publish, distribute, sublicense, and/or
5072 - * sell copies of the Software, and to permit persons to whom the
5073 - * Software is furnished to do so, subject to the following
5076 - * The above copyright notice and this permission notice shall be
5077 - * included in all copies or substantial portions of the Software.
5079 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
5080 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
5081 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
5082 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
5083 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
5084 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
5085 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
5086 - * OTHER DEALINGS IN THE SOFTWARE.
5096 + fsl,qspi-has-second-chip;
5097 + qflash0: s25fs512s@0 {
5098 + compatible = "spansion,m25p80";
5099 + #address-cells = <1>;
5100 + #size-cells = <1>;
5101 + spi-max-frequency = <20000000>;
5103 + spi-rx-bus-width = <4>;
5104 + spi-tx-bus-width = <4>;
5107 + qflash1: s25fs512s@1 {
5108 + compatible = "spansion,m25p80";
5109 + #address-cells = <1>;
5110 + #size-cells = <1>;
5111 + spi-max-frequency = <20000000>;
5113 + spi-rx-bus-width = <4>;
5114 + spi-tx-bus-width = <4>;
5121 @@ -149,3 +137,29 @@
5127 + pcs_phy1: ethernet-phy@0 {
5128 + backplane-mode = "10gbase-kr";
5129 + compatible = "ethernet-phy-ieee802.3-c45";
5131 + fsl,lane-handle = <&serdes1>;
5132 + fsl,lane-reg = <0x840 0x40>;/* lane B */
5137 + pcs_phy2: ethernet-phy@0 {
5138 + backplane-mode = "10gbase-kr";
5139 + compatible = "ethernet-phy-ieee802.3-c45";
5141 + fsl,lane-handle = <&serdes1>;
5142 + fsl,lane-reg = <0x800 0x40>;/* lane A */
5146 +/* Update DPMAC connections to backplane PHYs, under SerDes 0x1D_0xXX.
5148 + * phy-handle = <&pcs_phy1>;
5151 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
5152 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
5154 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5156 * Device Tree file for NXP LS1088A RDB Board.
5160 * Harninder Rai <harninder.rai@nxp.com>
5162 - * This file is dual-licensed: you can use it either under the terms
5163 - * of the GPLv2 or the X11 license, at your option. Note that this dual
5164 - * licensing only applies to this file, and not this project as a
5167 - * a) This library is free software; you can redistribute it and/or
5168 - * modify it under the terms of the GNU General Public License as
5169 - * published by the Free Software Foundation; either version 2 of the
5170 - * License, or (at your option) any later version.
5172 - * This library is distributed in the hope that it will be useful,
5173 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
5174 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5175 - * GNU General Public License for more details.
5177 - * Or, alternatively,
5179 - * b) Permission is hereby granted, free of charge, to any person
5180 - * obtaining a copy of this software and associated documentation
5181 - * files (the "Software"), to deal in the Software without
5182 - * restriction, including without limitation the rights to use,
5183 - * copy, modify, merge, publish, distribute, sublicense, and/or
5184 - * sell copies of the Software, and to permit persons to whom the
5185 - * Software is furnished to do so, subject to the following
5188 - * The above copyright notice and this permission notice shall be
5189 - * included in all copies or substantial portions of the Software.
5191 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
5192 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
5193 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
5194 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
5195 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
5196 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
5197 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
5198 - * OTHER DEALINGS IN THE SOFTWARE.
5208 + fsl,qspi-has-second-chip;
5209 + qflash0: s25fs512s@0 {
5210 + compatible = "spansion,m25p80";
5211 + #address-cells = <1>;
5212 + #size-cells = <1>;
5213 + spi-max-frequency = <20000000>;
5215 + spi-rx-bus-width = <4>;
5216 + spi-tx-bus-width = <4>;
5219 + qflash1: s25fs512s@1 {
5220 + compatible = "spansion,m25p80";
5221 + #address-cells = <1>;
5222 + #size-cells = <1>;
5223 + spi-max-frequency = <20000000>;
5225 + spi-rx-bus-width = <4>;
5226 + spi-tx-bus-width = <4>;
5234 @@ -118,6 +107,14 @@
5249 @@ -125,3 +122,82 @@
5255 + /* Freescale F104 PHY1 */
5256 + mdio1_phy1: emdio1_phy@1 {
5258 + phy-connection-type = "qsgmii";
5260 + mdio1_phy2: emdio1_phy@2 {
5262 + phy-connection-type = "qsgmii";
5264 + mdio1_phy3: emdio1_phy@3 {
5266 + phy-connection-type = "qsgmii";
5268 + mdio1_phy4: emdio1_phy@4 {
5270 + phy-connection-type = "qsgmii";
5273 + mdio1_phy5: emdio1_phy@5 {
5275 + phy-connection-type = "qsgmii";
5277 + mdio1_phy6: emdio1_phy@6 {
5279 + phy-connection-type = "qsgmii";
5281 + mdio1_phy7: emdio1_phy@7 {
5283 + phy-connection-type = "qsgmii";
5285 + mdio1_phy8: emdio1_phy@8 {
5287 + phy-connection-type = "qsgmii";
5292 + /* Aquantia AQR105 10G PHY */
5293 + mdio2_phy1: emdio2_phy@1 {
5294 + compatible = "ethernet-phy-ieee802.3-c45";
5295 + interrupts = <0 2 0x4>;
5297 + phy-connection-type = "xfi";
5301 +/* DPMAC connections to external PHYs
5302 + * based on LS1088A RM RevC - $24.1.2 SerDes Options
5304 +/* DPMAC1 is 10G SFP+, fixed link */
5306 + phy-handle = <&mdio2_phy1>;
5309 + phy-handle = <&mdio1_phy5>;
5312 + phy-handle = <&mdio1_phy6>;
5315 + phy-handle = <&mdio1_phy7>;
5318 + phy-handle = <&mdio1_phy8>;
5321 + phy-handle = <&mdio1_phy1>;
5324 + phy-handle = <&mdio1_phy2>;
5327 + phy-handle = <&mdio1_phy3>;
5330 + phy-handle = <&mdio1_phy4>;
5332 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
5333 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
5335 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5337 * Device Tree Include file for NXP Layerscape-1088A family SoC.
5341 * Harninder Rai <harninder.rai@nxp.com>
5343 - * This file is dual-licensed: you can use it either under the terms
5344 - * of the GPLv2 or the X11 license, at your option. Note that this dual
5345 - * licensing only applies to this file, and not this project as a
5348 - * a) This library is free software; you can redistribute it and/or
5349 - * modify it under the terms of the GNU General Public License as
5350 - * published by the Free Software Foundation; either version 2 of the
5351 - * License, or (at your option) any later version.
5353 - * This library is distributed in the hope that it will be useful,
5354 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
5355 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5356 - * GNU General Public License for more details.
5358 - * Or, alternatively,
5360 - * b) Permission is hereby granted, free of charge, to any person
5361 - * obtaining a copy of this software and associated documentation
5362 - * files (the "Software"), to deal in the Software without
5363 - * restriction, including without limitation the rights to use,
5364 - * copy, modify, merge, publish, distribute, sublicense, and/or
5365 - * sell copies of the Software, and to permit persons to whom the
5366 - * Software is furnished to do so, subject to the following
5369 - * The above copyright notice and this permission notice shall be
5370 - * included in all copies or substantial portions of the Software.
5372 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
5373 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
5374 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
5375 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
5376 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
5377 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
5378 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
5379 - * OTHER DEALINGS IN THE SOFTWARE.
5381 #include <dt-bindings/interrupt-controller/arm-gic.h>
5382 #include <dt-bindings/thermal/thermal.h>
5386 /* We have 2 clusters having 4 Cortex-A53 cores each */
5388 + cooling_map0: cpu0: cpu@0 {
5389 device_type = "cpu";
5390 compatible = "arm,cortex-a53";
5393 cpu-idle-states = <&CPU_PH20>;
5397 + cooling_map1: cpu4: cpu@100 {
5398 device_type = "cpu";
5399 compatible = "arm,cortex-a53";
5402 CPU_PH20: cpu-ph20 {
5403 compatible = "arm,idle-state";
5404 idle-state-name = "PH20";
5405 - arm,psci-suspend-param = <0x00010000>;
5406 + arm,psci-suspend-param = <0x0>;
5407 entry-latency-us = <1000>;
5408 exit-latency-us = <1000>;
5409 min-residency-us = <3000>;
5410 @@ -147,6 +111,15 @@
5411 <0x0 0x0c0d0000 0 0x1000>, /* GICH */
5412 <0x0 0x0c0e0000 0 0x20000>; /* GICV */
5413 interrupts = <1 9 IRQ_TYPE_LEVEL_HIGH>;
5414 + #address-cells = <2>;
5415 + #size-cells = <2>;
5418 + its: gic-its@6020000 {
5419 + compatible = "arm,gic-v3-its";
5421 + reg = <0x0 0x6020000 0 0x20000>;
5426 @@ -169,11 +142,31 @@
5427 clock-output-names = "sysclk";
5430 + dcfg: dcfg@1e00000 {
5431 + compatible = "fsl,ls1088a-dcfg", "syscon";
5432 + reg = <0x0 0x1e00000 0x0 0x10000>;
5436 + rstcr: syscon@1e60000 {
5437 + compatible = "fsl,ls1088a-rstcr", "syscon";
5438 + reg = <0x0 0x1e60000 0x0 0x4>;
5442 + compatible = "syscon-reboot";
5443 + regmap = <&rstcr>;
5450 compatible = "simple-bus";
5451 #address-cells = <2>;
5454 + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
5456 clockgen: clocking@1300000 {
5457 compatible = "fsl,ls1088a-clockgen";
5458 @@ -229,43 +222,7 @@
5459 #thermal-sensor-cells = <1>;
5463 - cpu_thermal: cpu-thermal {
5464 - polling-delay-passive = <1000>;
5465 - polling-delay = <5000>;
5466 - thermal-sensors = <&tmu 0>;
5469 - cpu_alert: cpu-alert {
5470 - temperature = <85000>;
5471 - hysteresis = <2000>;
5475 - cpu_crit: cpu-crit {
5476 - temperature = <95000>;
5477 - hysteresis = <2000>;
5478 - type = "critical";
5484 - trip = <&cpu_alert>;
5486 - <&cpu0 THERMAL_NO_LIMIT
5487 - THERMAL_NO_LIMIT>;
5491 - trip = <&cpu_alert>;
5493 - <&cpu4 THERMAL_NO_LIMIT
5494 - THERMAL_NO_LIMIT>;
5499 + #include "fsl-tmu.dtsi"
5501 duart0: serial@21c0500 {
5502 compatible = "fsl,ns16550", "ns16550a";
5503 @@ -283,6 +240,62 @@
5504 status = "disabled";
5507 + cluster1_core0_watchdog: wdt@c000000 {
5508 + compatible = "arm,sp805-wdt", "arm,primecell";
5509 + reg = <0x0 0xc000000 0x0 0x1000>;
5510 + clocks = <&clockgen 4 3>, <&clockgen 4 3>;
5511 + clock-names = "apb_pclk", "wdog_clk";
5514 + cluster1_core1_watchdog: wdt@c010000 {
5515 + compatible = "arm,sp805-wdt", "arm,primecell";
5516 + reg = <0x0 0xc010000 0x0 0x1000>;
5517 + clocks = <&clockgen 4 3>, <&clockgen 4 3>;
5518 + clock-names = "apb_pclk", "wdog_clk";
5521 + cluster1_core2_watchdog: wdt@c020000 {
5522 + compatible = "arm,sp805-wdt", "arm,primecell";
5523 + reg = <0x0 0xc020000 0x0 0x1000>;
5524 + clocks = <&clockgen 4 3>, <&clockgen 4 3>;
5525 + clock-names = "apb_pclk", "wdog_clk";
5528 + cluster1_core3_watchdog: wdt@c030000 {
5529 + compatible = "arm,sp805-wdt", "arm,primecell";
5530 + reg = <0x0 0xc030000 0x0 0x1000>;
5531 + clocks = <&clockgen 4 3>, <&clockgen 4 3>;
5532 + clock-names = "apb_pclk", "wdog_clk";
5535 + cluster2_core0_watchdog: wdt@c100000 {
5536 + compatible = "arm,sp805-wdt", "arm,primecell";
5537 + reg = <0x0 0xc100000 0x0 0x1000>;
5538 + clocks = <&clockgen 4 3>, <&clockgen 4 3>;
5539 + clock-names = "apb_pclk", "wdog_clk";
5542 + cluster2_core1_watchdog: wdt@c110000 {
5543 + compatible = "arm,sp805-wdt", "arm,primecell";
5544 + reg = <0x0 0xc110000 0x0 0x1000>;
5545 + clocks = <&clockgen 4 3>, <&clockgen 4 3>;
5546 + clock-names = "apb_pclk", "wdog_clk";
5549 + cluster2_core2_watchdog: wdt@c120000 {
5550 + compatible = "arm,sp805-wdt", "arm,primecell";
5551 + reg = <0x0 0xc120000 0x0 0x1000>;
5552 + clocks = <&clockgen 4 3>, <&clockgen 4 3>;
5553 + clock-names = "apb_pclk", "wdog_clk";
5556 + cluster2_core3_watchdog: wdt@c130000 {
5557 + compatible = "arm,sp805-wdt", "arm,primecell";
5558 + reg = <0x0 0xc130000 0x0 0x1000>;
5559 + clocks = <&clockgen 4 3>, <&clockgen 4 3>;
5560 + clock-names = "apb_pclk", "wdog_clk";
5563 gpio0: gpio@2300000 {
5564 compatible = "fsl,qoriq-gpio";
5565 reg = <0x0 0x2300000 0x0 0x10000>;
5566 @@ -323,6 +336,72 @@
5567 #interrupt-cells = <2>;
5570 + /* TODO: WRIOP (CCSR?) */
5571 + emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000,
5572 + * E-MDIO1: 0x1_6000
5574 + compatible = "fsl,fman-memac-mdio";
5575 + reg = <0x0 0x8B96000 0x0 0x1000>;
5576 + device_type = "mdio";
5577 + little-endian; /* force the driver in LE mode */
5579 + /* Not necessary on the QDS, but needed on the RDB */
5580 + #address-cells = <1>;
5581 + #size-cells = <0>;
5584 + emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000,
5585 + * E-MDIO2: 0x1_7000
5587 + compatible = "fsl,fman-memac-mdio";
5588 + reg = <0x0 0x8B97000 0x0 0x1000>;
5589 + device_type = "mdio";
5590 + little-endian; /* force the driver in LE mode */
5592 + #address-cells = <1>;
5593 + #size-cells = <0>;
5596 + pcs_mdio1: mdio@0x8c07000 {
5597 + compatible = "fsl,fman-memac-mdio";
5598 + reg = <0x0 0x8c07000 0x0 0x1000>;
5599 + device_type = "mdio";
5602 + #address-cells = <1>;
5603 + #size-cells = <0>;
5606 + pcs_mdio2: mdio@0x8c0b000 {
5607 + compatible = "fsl,fman-memac-mdio";
5608 + reg = <0x0 0x8c0b000 0x0 0x1000>;
5609 + device_type = "mdio";
5612 + #address-cells = <1>;
5613 + #size-cells = <0>;
5616 + pcs_mdio3: mdio@0x8c0f000 {
5617 + compatible = "fsl,fman-memac-mdio";
5618 + reg = <0x0 0x8c0f000 0x0 0x1000>;
5619 + device_type = "mdio";
5622 + #address-cells = <1>;
5623 + #size-cells = <0>;
5626 + pcs_mdio4: mdio@0x8c13000 {
5627 + compatible = "fsl,fman-memac-mdio";
5628 + reg = <0x0 0x8c13000 0x0 0x1000>;
5629 + device_type = "mdio";
5632 + #address-cells = <1>;
5633 + #size-cells = <0>;
5637 compatible = "fsl,ifc", "simple-bus";
5638 reg = <0x0 0x2240000 0x0 0x20000>;
5639 @@ -333,13 +412,22 @@
5640 status = "disabled";
5643 + ftm0: ftm0@2800000 {
5644 + compatible = "fsl,ls1088a-ftm-alarm";
5645 + reg = <0x0 0x2800000 0x0 0x10000>,
5646 + <0x0 0x1e34050 0x0 0x4>;
5647 + reg-names = "ftm", "pmctrl";
5648 + interrupts = <0 44 4>;
5652 - compatible = "fsl,vf610-i2c";
5653 + compatible = "fsl,vf610-i2c", "fsl,ls1088a-vf610-i2c";
5654 #address-cells = <1>;
5656 reg = <0x0 0x2000000 0x0 0x10000>;
5657 interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
5658 - clocks = <&clockgen 4 3>;
5659 + clocks = <&clockgen 4 7>;
5660 + scl-gpios = <&gpio3 30 0>;
5661 status = "disabled";
5666 reg = <0x0 0x2010000 0x0 0x10000>;
5667 interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
5668 - clocks = <&clockgen 4 3>;
5669 + clocks = <&clockgen 4 7>;
5670 status = "disabled";
5675 reg = <0x0 0x2020000 0x0 0x10000>;
5676 interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>;
5677 - clocks = <&clockgen 4 3>;
5678 + clocks = <&clockgen 4 7>;
5679 status = "disabled";
5684 reg = <0x0 0x2030000 0x0 0x10000>;
5685 interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>;
5686 - clocks = <&clockgen 4 3>;
5687 + clocks = <&clockgen 4 7>;
5688 status = "disabled";
5691 @@ -385,6 +473,28 @@
5692 status = "disabled";
5695 + usb0: usb3@3100000 {
5696 + compatible = "snps,dwc3";
5697 + reg = <0x0 0x3100000 0x0 0x10000>;
5698 + interrupts = <0 80 0x4>; /* Level high type */
5701 + snps,dis_rxdet_inp3_quirk;
5702 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
5703 + snps,host-vbus-glitches;
5706 + usb1: usb3@3110000 {
5707 + compatible = "snps,dwc3";
5708 + reg = <0x0 0x3110000 0x0 0x10000>;
5709 + interrupts = <0 81 0x4>; /* Level high type */
5712 + snps,dis_rxdet_inp3_quirk;
5713 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
5714 + snps,host-vbus-glitches;
5717 sata: sata@3200000 {
5718 compatible = "fsl,ls1088a-ahci";
5719 reg = <0x0 0x3200000 0x0 0x10000>,
5720 @@ -395,6 +505,17 @@
5722 status = "disabled";
5724 + qspi: quadspi@20c0000 {
5725 + compatible = "fsl,ls2080a-qspi", "fsl,ls1088a-qspi";
5726 + #address-cells = <1>;
5727 + #size-cells = <0>;
5728 + reg = <0x0 0x20c0000 0x0 0x10000>,
5729 + <0x0 0x20000000 0x0 0x10000000>;
5730 + reg-names = "QuadSPI", "QuadSPI-memory";
5731 + interrupts = <0 25 0x4>; /* Level high type */
5732 + clocks = <&clockgen 4 3>, <&clockgen 4 3>;
5733 + clock-names = "qspi_en", "qspi";
5736 crypto: crypto@8000000 {
5737 compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
5738 @@ -434,6 +555,267 @@
5739 interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
5744 + compatible = "fsl,ls1088a-pcie", "snps,dw-pcie";
5745 + reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
5746 + 0x20 0x00000000 0x0 0x00002000>; /* configuration space */
5747 + reg-names = "regs", "config";
5748 + interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
5749 + interrupt-names = "aer";
5750 + #address-cells = <3>;
5751 + #size-cells = <2>;
5752 + device_type = "pci";
5755 + bus-range = <0x0 0xff>;
5756 + ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000 /* downstream I/O */
5757 + 0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
5758 + msi-parent = <&its>;
5759 + iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
5760 + #interrupt-cells = <1>;
5761 + interrupt-map-mask = <0 0 0 7>;
5762 + interrupt-map = <0000 0 0 1 &gic 0 0 0 109 IRQ_TYPE_LEVEL_HIGH>,
5763 + <0000 0 0 2 &gic 0 0 0 110 IRQ_TYPE_LEVEL_HIGH>,
5764 + <0000 0 0 3 &gic 0 0 0 111 IRQ_TYPE_LEVEL_HIGH>,
5765 + <0000 0 0 4 &gic 0 0 0 112 IRQ_TYPE_LEVEL_HIGH>;
5766 + status = "disabled";
5770 + compatible = "fsl,ls1088a-pcie", "snps,dw-pcie";
5771 + reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
5772 + 0x28 0x00000000 0x0 0x00002000>; /* configuration space */
5773 + reg-names = "regs", "config";
5774 + interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
5775 + interrupt-names = "aer";
5776 + #address-cells = <3>;
5777 + #size-cells = <2>;
5778 + device_type = "pci";
5781 + bus-range = <0x0 0xff>;
5782 + ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000 /* downstream I/O */
5783 + 0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
5784 + msi-parent = <&its>;
5785 + iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
5786 + #interrupt-cells = <1>;
5787 + interrupt-map-mask = <0 0 0 7>;
5788 + interrupt-map = <0000 0 0 1 &gic 0 0 0 114 IRQ_TYPE_LEVEL_HIGH>,
5789 + <0000 0 0 2 &gic 0 0 0 115 IRQ_TYPE_LEVEL_HIGH>,
5790 + <0000 0 0 3 &gic 0 0 0 116 IRQ_TYPE_LEVEL_HIGH>,
5791 + <0000 0 0 4 &gic 0 0 0 117 IRQ_TYPE_LEVEL_HIGH>;
5792 + status = "disabled";
5796 + compatible = "fsl,ls1088a-pcie", "snps,dw-pcie";
5797 + reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
5798 + 0x30 0x00000000 0x0 0x00002000>; /* configuration space */
5799 + reg-names = "regs", "config";
5800 + interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
5801 + interrupt-names = "aer";
5802 + #address-cells = <3>;
5803 + #size-cells = <2>;
5804 + device_type = "pci";
5807 + bus-range = <0x0 0xff>;
5808 + ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000 /* downstream I/O */
5809 + 0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
5810 + msi-parent = <&its>;
5811 + iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
5812 + #interrupt-cells = <1>;
5813 + interrupt-map-mask = <0 0 0 7>;
5814 + interrupt-map = <0000 0 0 1 &gic 0 0 0 119 IRQ_TYPE_LEVEL_HIGH>,
5815 + <0000 0 0 2 &gic 0 0 0 120 IRQ_TYPE_LEVEL_HIGH>,
5816 + <0000 0 0 3 &gic 0 0 0 121 IRQ_TYPE_LEVEL_HIGH>,
5817 + <0000 0 0 4 &gic 0 0 0 122 IRQ_TYPE_LEVEL_HIGH>;
5818 + status = "disabled";
5821 + fsl_mc: fsl-mc@80c000000 {
5822 + compatible = "fsl,qoriq-mc";
5823 + reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */
5824 + <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
5825 + msi-parent = <&its>;
5826 + iommu-map = <0 &smmu 0 0>; /* This is fixed-up by u-boot */
5828 + #address-cells = <3>;
5829 + #size-cells = <1>;
5832 + * Region type 0x0 - MC portals
5833 + * Region type 0x1 - QBMAN portals
5835 + ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
5836 + 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
5839 + #address-cells = <1>;
5840 + #size-cells = <0>;
5843 + compatible = "fsl,qoriq-mc-dpmac";
5848 + compatible = "fsl,qoriq-mc-dpmac";
5853 + compatible = "fsl,qoriq-mc-dpmac";
5858 + compatible = "fsl,qoriq-mc-dpmac";
5863 + compatible = "fsl,qoriq-mc-dpmac";
5868 + compatible = "fsl,qoriq-mc-dpmac";
5873 + compatible = "fsl,qoriq-mc-dpmac";
5878 + compatible = "fsl,qoriq-mc-dpmac";
5883 + compatible = "fsl,qoriq-mc-dpmac";
5887 + dpmac10: dpmac@a {
5888 + compatible = "fsl,qoriq-mc-dpmac";
5894 + smmu: iommu@5000000 {
5895 + compatible = "arm,mmu-500";
5896 + reg = <0 0x5000000 0 0x800000>;
5897 + #global-interrupts = <12>;
5898 + #iommu-cells = <1>;
5899 + stream-match-mask = <0x7C00>;
5900 + interrupts = <0 13 4>, /* global secure fault */
5901 + <0 14 4>, /* combined secure interrupt */
5902 + <0 15 4>, /* global non-secure fault */
5903 + <0 16 4>, /* combined non-secure interrupt */
5904 + /* performance counter interrupts 0-7 */
5913 + /* per context interrupt, 64 interrupts */
5980 + serdes1: serdes@1ea0000 {
5981 + compatible = "fsl,serdes-10g";
5982 + reg = <0x0 0x1ea0000 0 0x00002000>;
5989 + compatible = "linaro,optee-tz";
5995 +#include "fsl-tmu-map1.dtsi"
6006 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
6007 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts
6009 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6011 * Device Tree file for Freescale LS2080a QDS Board.
6014 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
6015 * Bhupesh Sharma <bhupesh.sharma@freescale.com>
6017 - * This file is dual-licensed: you can use it either under the terms
6018 - * of the GPLv2 or the X11 license, at your option. Note that this dual
6019 - * licensing only applies to this file, and not this project as a
6022 - * a) This library is free software; you can redistribute it and/or
6023 - * modify it under the terms of the GNU General Public License as
6024 - * published by the Free Software Foundation; either version 2 of the
6025 - * License, or (at your option) any later version.
6027 - * This library is distributed in the hope that it will be useful,
6028 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
6029 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6030 - * GNU General Public License for more details.
6032 - * Or, alternatively,
6034 - * b) Permission is hereby granted, free of charge, to any person
6035 - * obtaining a copy of this software and associated documentation
6036 - * files (the "Software"), to deal in the Software without
6037 - * restriction, including without limitation the rights to use,
6038 - * copy, modify, merge, publish, distribute, sublicense, and/or
6039 - * sell copies of the Software, and to permit persons to whom the
6040 - * Software is furnished to do so, subject to the following
6043 - * The above copyright notice and this permission notice shall be
6044 - * included in all copies or substantial portions of the Software.
6046 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
6047 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
6048 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
6049 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
6050 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
6051 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
6052 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
6053 - * OTHER DEALINGS IN THE SOFTWARE.
6058 stdout-path = "serial0:115200n8";
6063 + boardctrl: board-control@3,0 {
6064 + #address-cells = <1>;
6065 + #size-cells = <1>;
6066 + compatible = "fsl,tetra-fpga", "fsl,fpga-qixis", "simple-bus";
6067 + reg = <3 0 0x300>; /* TODO check address */
6068 + ranges = <0 3 0 0x300>;
6071 + compatible = "mdio-mux-mmioreg", "mdio-mux";
6072 + mdio-parent-bus = <&emdio1>;
6073 + reg = <0x54 1>; /* BRDCFG4 */
6074 + mux-mask = <0xe0>; /* EMI1_MDIO */
6076 + #address-cells=<1>;
6077 + #size-cells = <0>;
6079 + /* Child MDIO buses, one for each riser card:
6080 + * reg = 0x0, 0x20, 0x40, 0x60, 0x80, 0xa0.
6081 + * VSC8234 PHYs on the riser cards.
6084 + mdio_mux3: mdio@60 {
6086 + #address-cells = <1>;
6087 + #size-cells = <0>;
6089 + mdio0_phy12: mdio_phy0@1c {
6091 + phy-connection-type = "sgmii";
6093 + mdio0_phy13: mdio_phy1@1d {
6095 + phy-connection-type = "sgmii";
6097 + mdio0_phy14: mdio_phy2@1e {
6099 + phy-connection-type = "sgmii";
6101 + mdio0_phy15: mdio_phy3@1f {
6103 + phy-connection-type = "sgmii";
6110 +/* Update DPMAC connections to external PHYs, under SerDes 0x2a_0x49. */
6112 + phy-handle = <&mdio0_phy12>;
6115 + phy-handle = <&mdio0_phy13>;
6118 + phy-handle = <&mdio0_phy14>;
6121 + phy-handle = <&mdio0_phy15>;
6123 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts
6124 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts
6126 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6128 * Device Tree file for Freescale LS2080a RDB Board.
6131 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
6132 * Bhupesh Sharma <bhupesh.sharma@freescale.com>
6134 - * This file is dual-licensed: you can use it either under the terms
6135 - * of the GPLv2 or the X11 license, at your option. Note that this dual
6136 - * licensing only applies to this file, and not this project as a
6139 - * a) This library is free software; you can redistribute it and/or
6140 - * modify it under the terms of the GNU General Public License as
6141 - * published by the Free Software Foundation; either version 2 of the
6142 - * License, or (at your option) any later version.
6144 - * This library is distributed in the hope that it will be useful,
6145 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
6146 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6147 - * GNU General Public License for more details.
6149 - * Or, alternatively,
6151 - * b) Permission is hereby granted, free of charge, to any person
6152 - * obtaining a copy of this software and associated documentation
6153 - * files (the "Software"), to deal in the Software without
6154 - * restriction, including without limitation the rights to use,
6155 - * copy, modify, merge, publish, distribute, sublicense, and/or
6156 - * sell copies of the Software, and to permit persons to whom the
6157 - * Software is furnished to do so, subject to the following
6160 - * The above copyright notice and this permission notice shall be
6161 - * included in all copies or substantial portions of the Software.
6163 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
6164 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
6165 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
6166 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
6167 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
6168 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
6169 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
6170 - * OTHER DEALINGS IN THE SOFTWARE.
6175 stdout-path = "serial1:115200n8";
6180 + status = "disabled";
6182 + mdio1_phy1: emdio1_phy@1 {
6184 + phy-connection-type = "xfi";
6186 + mdio1_phy2: emdio1_phy@2 {
6188 + phy-connection-type = "xfi";
6190 + mdio1_phy3: emdio1_phy@3 {
6192 + phy-connection-type = "xfi";
6194 + mdio1_phy4: emdio1_phy@4 {
6196 + phy-connection-type = "xfi";
6202 + mdio2_phy1: emdio2_phy@1 {
6203 + compatible = "ethernet-phy-ieee802.3-c45";
6204 + interrupts = <0 1 0x4>; /* Level high type */
6206 + phy-connection-type = "xfi";
6208 + mdio2_phy2: emdio2_phy@2 {
6209 + compatible = "ethernet-phy-ieee802.3-c45";
6210 + interrupts = <0 2 0x4>; /* Level high type */
6212 + phy-connection-type = "xfi";
6214 + mdio2_phy3: emdio2_phy@3 {
6215 + compatible = "ethernet-phy-ieee802.3-c45";
6216 + interrupts = <0 4 0x4>; /* Level high type */
6218 + phy-connection-type = "xfi";
6220 + mdio2_phy4: emdio2_phy@4 {
6221 + compatible = "ethernet-phy-ieee802.3-c45";
6222 + interrupts = <0 5 0x4>; /* Level high type */
6224 + phy-connection-type = "xfi";
6228 +/* Update DPMAC connections to external PHYs, under the assumption of
6229 + * SerDes 0x2a_0x41. This is currently the only SerDes supported on the board.
6231 +/* Leave Cortina nodes commented out until driver is integrated
6233 + * phy-handle = <&mdio1_phy1>;
6236 + * phy-handle = <&mdio1_phy2>;
6239 + * phy-handle = <&mdio1_phy3>;
6242 + * phy-handle = <&mdio1_phy4>;
6247 + phy-handle = <&mdio2_phy1>;
6250 + phy-handle = <&mdio2_phy2>;
6253 + phy-handle = <&mdio2_phy3>;
6256 + phy-handle = <&mdio2_phy4>;
6258 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts
6259 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts
6261 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6263 * Device Tree file for Freescale LS2080a software Simulator model
6267 * Bhupesh Sharma <bhupesh.sharma@freescale.com>
6269 - * This file is dual-licensed: you can use it either under the terms
6270 - * of the GPL or the X11 license, at your option. Note that this dual
6271 - * licensing only applies to this file, and not this project as a
6274 - * a) This library is free software; you can redistribute it and/or
6275 - * modify it under the terms of the GNU General Public License as
6276 - * published by the Free Software Foundation; either version 2 of the
6277 - * License, or (at your option) any later version.
6279 - * This library is distributed in the hope that it will be useful,
6280 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
6281 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6282 - * GNU General Public License for more details.
6284 - * Or, alternatively,
6286 - * b) Permission is hereby granted, free of charge, to any person
6287 - * obtaining a copy of this software and associated documentation
6288 - * files (the "Software"), to deal in the Software without
6289 - * restriction, including without limitation the rights to use,
6290 - * copy, modify, merge, publish, distribute, sublicense, and/or
6291 - * sell copies of the Software, and to permit persons to whom the
6292 - * Software is furnished to do so, subject to the following
6295 - * The above copyright notice and this permission notice shall be
6296 - * included in all copies or substantial portions of the Software.
6298 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
6299 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
6300 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
6301 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
6302 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
6303 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
6304 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
6305 - * OTHER DEALINGS IN THE SOFTWARE.
6309 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
6310 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
6312 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6314 * Device Tree Include file for Freescale Layerscape-2080A family SoC.
6317 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
6318 * Bhupesh Sharma <bhupesh.sharma@freescale.com>
6320 - * This file is dual-licensed: you can use it either under the terms
6321 - * of the GPLv2 or the X11 license, at your option. Note that this dual
6322 - * licensing only applies to this file, and not this project as a
6325 - * a) This library is free software; you can redistribute it and/or
6326 - * modify it under the terms of the GNU General Public License as
6327 - * published by the Free Software Foundation; either version 2 of the
6328 - * License, or (at your option) any later version.
6330 - * This library is distributed in the hope that it will be useful,
6331 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
6332 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6333 - * GNU General Public License for more details.
6335 - * Or, alternatively,
6337 - * b) Permission is hereby granted, free of charge, to any person
6338 - * obtaining a copy of this software and associated documentation
6339 - * files (the "Software"), to deal in the Software without
6340 - * restriction, including without limitation the rights to use,
6341 - * copy, modify, merge, publish, distribute, sublicense, and/or
6342 - * sell copies of the Software, and to permit persons to whom the
6343 - * Software is furnished to do so, subject to the following
6346 - * The above copyright notice and this permission notice shall be
6347 - * included in all copies or substantial portions of the Software.
6349 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
6350 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
6351 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
6352 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
6353 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
6354 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
6355 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
6356 - * OTHER DEALINGS IN THE SOFTWARE.
6359 #include "fsl-ls208xa.dtsi"
6363 + cooling_map0: cpu0: cpu@0 {
6364 device_type = "cpu";
6365 compatible = "arm,cortex-a57";
6368 next-level-cache = <&cluster0_l2>;
6372 + cooling_map1: cpu2: cpu@100 {
6373 device_type = "cpu";
6374 compatible = "arm,cortex-a57";
6377 next-level-cache = <&cluster1_l2>;
6381 + cooling_map2: cpu4: cpu@200 {
6382 device_type = "cpu";
6383 compatible = "arm,cortex-a57";
6386 next-level-cache = <&cluster2_l2>;
6390 + cooling_map3: cpu6: cpu@300 {
6391 device_type = "cpu";
6392 compatible = "arm,cortex-a57";
6394 @@ -150,6 +114,10 @@
6399 + fsl,erratum-a008585;
6403 reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
6404 0x10 0x00000000 0x0 0x00002000>; /* configuration space */
6406 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2081a-rdb.dts
6409 + * Device Tree file for NXP LS2081A RDB Board.
6411 + * Copyright 2017 NXP
6413 + * Priyanka Jain <priyanka.jain@nxp.com>
6415 + * This file is dual-licensed: you can use it either under the terms
6416 + * of the GPLv2 or the X11 license, at your option. Note that this dual
6417 + * licensing only applies to this file, and not this project as a
6420 + * a) This library is free software; you can redistribute it and/or
6421 + * modify it under the terms of the GNU General Public License as
6422 + * published by the Free Software Foundation; either version 2 of the
6423 + * License, or (at your option) any later version.
6425 + * This library is distributed in the hope that it will be useful,
6426 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
6427 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6428 + * GNU General Public License for more details.
6430 + * Or, alternatively,
6432 + * b) Permission is hereby granted, free of charge, to any person
6433 + * obtaining a copy of this software and associated documentation
6434 + * files (the "Software"), to deal in the Software without
6435 + * restriction, including without limitation the rights to use,
6436 + * copy, modify, merge, publish, distribute, sublicense, and/or
6437 + * sell copies of the Software, and to permit persons to whom the
6438 + * Software is furnished to do so, subject to the following
6441 + * The above copyright notice and this permission notice shall be
6442 + * included in all copies or substantial portions of the Software.
6444 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
6445 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
6446 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
6447 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
6448 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
6449 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
6450 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
6451 + * OTHER DEALINGS IN THE SOFTWARE.
6456 +#include "fsl-ls2088a.dtsi"
6459 + model = "NXP Layerscape 2081A RDB Board";
6460 + compatible = "fsl,ls2081a-rdb", "fsl,ls2081a";
6463 + serial0 = &serial0;
6464 + serial1 = &serial1;
6468 + stdout-path = "serial1:115200n8";
6477 + status = "disabled";
6483 + compatible = "nxp,pca9547";
6485 + #address-cells = <1>;
6486 + #size-cells = <0>;
6488 + #address-cells = <1>;
6489 + #size-cells = <0>;
6492 + compatible = "nxp,pcf2129";
6498 + #address-cells = <1>;
6499 + #size-cells = <0>;
6503 + compatible = "ti,ina220";
6505 + shunt-resistor = <500>;
6510 + #address-cells = <1>;
6511 + #size-cells = <0>;
6515 + compatible = "adi,adt7461";
6524 + dflash0: n25q512a {
6525 + #address-cells = <1>;
6526 + #size-cells = <1>;
6527 + compatible = "st,m25p80";
6528 + spi-max-frequency = <3000000>;
6535 + fsl,qspi-has-second-chip;
6536 + flash0: s25fs512s@0 {
6537 + #address-cells = <1>;
6538 + #size-cells = <1>;
6539 + compatible = "spansion,m25p80";
6540 + spi-rx-bus-width = <4>;
6541 + spi-tx-bus-width = <4>;
6542 + spi-max-frequency = <20000000>;
6545 + flash1: s25fs512s@1 {
6546 + #address-cells = <1>;
6547 + #size-cells = <1>;
6548 + spi-rx-bus-width = <4>;
6549 + spi-tx-bus-width = <4>;
6550 + compatible = "spansion,m25p80";
6551 + spi-max-frequency = <20000000>;
6571 --- a/arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts
6572 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts
6574 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6576 * Device Tree file for Freescale LS2088A QDS Board.
6580 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
6582 - * This file is dual-licensed: you can use it either under the terms
6583 - * of the GPLv2 or the X11 license, at your option. Note that this dual
6584 - * licensing only applies to this file, and not this project as a
6587 - * a) This library is free software; you can redistribute it and/or
6588 - * modify it under the terms of the GNU General Public License as
6589 - * published by the Free Software Foundation; either version 2 of the
6590 - * License, or (at your option) any later version.
6592 - * This library is distributed in the hope that it will be useful,
6593 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
6594 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6595 - * GNU General Public License for more details.
6597 - * Or, alternatively,
6599 - * b) Permission is hereby granted, free of charge, to any person
6600 - * obtaining a copy of this software and associated documentation
6601 - * files (the "Software"), to deal in the Software without
6602 - * restriction, including without limitation the rights to use,
6603 - * copy, modify, merge, publish, distribute, sublicense, and/or
6604 - * sell copies of the Software, and to permit persons to whom the
6605 - * Software is furnished to do so, subject to the following
6608 - * The above copyright notice and this permission notice shall be
6609 - * included in all copies or substantial portions of the Software.
6611 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
6612 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
6613 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
6614 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
6615 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
6616 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
6617 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
6618 - * OTHER DEALINGS IN THE SOFTWARE.
6623 stdout-path = "serial0:115200n8";
6628 + boardctrl: board-control@3,0 {
6629 + #address-cells = <1>;
6630 + #size-cells = <1>;
6631 + compatible = "fsl,tetra-fpga", "fsl,fpga-qixis", "simple-bus";
6632 + reg = <3 0 0x300>; /* TODO check address */
6633 + ranges = <0 3 0 0x300>;
6636 + compatible = "mdio-mux-mmioreg", "mdio-mux";
6637 + mdio-parent-bus = <&emdio1>;
6638 + reg = <0x54 1>; /* BRDCFG4 */
6639 + mux-mask = <0xe0>; /* EMI1_MDIO */
6641 + #address-cells=<1>;
6642 + #size-cells = <0>;
6644 + /* Child MDIO buses, one for each riser card:
6645 + * reg = 0x0, 0x20, 0x40, 0x60, 0x80, 0xa0.
6646 + * VSC8234 PHYs on the riser cards.
6649 + mdio_mux3: mdio@60 {
6651 + #address-cells = <1>;
6652 + #size-cells = <0>;
6654 + mdio0_phy12: mdio_phy0@1c {
6656 + phy-connection-type = "sgmii";
6658 + mdio0_phy13: mdio_phy1@1d {
6660 + phy-connection-type = "sgmii";
6662 + mdio0_phy14: mdio_phy2@1e {
6664 + phy-connection-type = "sgmii";
6666 + mdio0_phy15: mdio_phy3@1f {
6668 + phy-connection-type = "sgmii";
6676 + pcs_phy1: ethernet-phy@0 {
6677 + backplane-mode = "10gbase-kr";
6678 + compatible = "ethernet-phy-ieee802.3-c45";
6680 + fsl,lane-handle = <&serdes1>;
6681 + fsl,lane-reg = <0x9C0 0x40>;/* lane H */
6686 + pcs_phy2: ethernet-phy@0 {
6687 + backplane-mode = "10gbase-kr";
6688 + compatible = "ethernet-phy-ieee802.3-c45";
6690 + fsl,lane-handle = <&serdes1>;
6691 + fsl,lane-reg = <0x980 0x40>;/* lane G */
6696 + pcs_phy3: ethernet-phy@0 {
6697 + backplane-mode = "10gbase-kr";
6698 + compatible = "ethernet-phy-ieee802.3-c45";
6700 + fsl,lane-handle = <&serdes1>;
6701 + fsl,lane-reg = <0x940 0x40>;/* lane F */
6706 + pcs_phy4: ethernet-phy@0 {
6707 + backplane-mode = "10gbase-kr";
6708 + compatible = "ethernet-phy-ieee802.3-c45";
6710 + fsl,lane-handle = <&serdes1>;
6711 + fsl,lane-reg = <0x900 0x40>;/* lane E */
6715 +/* Update DPMAC connections to backplane PHYs, under SerDes 0x2a_0xXX.
6717 + * phy-handle = <&pcs_phy1>;
6721 + * phy-handle = <&pcs_phy2>;
6725 + * phy-handle = <&pcs_phy3>;
6729 + * phy-handle = <&pcs_phy4>;
6733 +/* Update DPMAC connections to external PHYs, under SerDes 0x2a_0x49. */
6735 + phy-handle = <&mdio0_phy12>;
6738 + phy-handle = <&mdio0_phy13>;
6741 + phy-handle = <&mdio0_phy14>;
6744 + phy-handle = <&mdio0_phy15>;
6746 --- a/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts
6747 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts
6749 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6751 * Device Tree file for Freescale LS2088A RDB Board.
6755 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
6757 - * This file is dual-licensed: you can use it either under the terms
6758 - * of the GPLv2 or the X11 license, at your option. Note that this dual
6759 - * licensing only applies to this file, and not this project as a
6762 - * a) This library is free software; you can redistribute it and/or
6763 - * modify it under the terms of the GNU General Public License as
6764 - * published by the Free Software Foundation; either version 2 of the
6765 - * License, or (at your option) any later version.
6767 - * This library is distributed in the hope that it will be useful,
6768 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
6769 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6770 - * GNU General Public License for more details.
6772 - * Or, alternatively,
6774 - * b) Permission is hereby granted, free of charge, to any person
6775 - * obtaining a copy of this software and associated documentation
6776 - * files (the "Software"), to deal in the Software without
6777 - * restriction, including without limitation the rights to use,
6778 - * copy, modify, merge, publish, distribute, sublicense, and/or
6779 - * sell copies of the Software, and to permit persons to whom the
6780 - * Software is furnished to do so, subject to the following
6783 - * The above copyright notice and this permission notice shall be
6784 - * included in all copies or substantial portions of the Software.
6786 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
6787 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
6788 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
6789 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
6790 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
6791 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
6792 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
6793 - * OTHER DEALINGS IN THE SOFTWARE.
6798 stdout-path = "serial1:115200n8";
6803 + status = "disabled";
6805 + mdio1_phy1: emdio1_phy@1 {
6807 + phy-connection-type = "xfi";
6809 + mdio1_phy2: emdio1_phy@2 {
6811 + phy-connection-type = "xfi";
6813 + mdio1_phy3: emdio1_phy@3 {
6815 + phy-connection-type = "xfi";
6817 + mdio1_phy4: emdio1_phy@4 {
6819 + phy-connection-type = "xfi";
6825 + mdio2_phy1: emdio2_phy@1 {
6826 + compatible = "ethernet-phy-ieee802.3-c45";
6827 + interrupts = <0 1 0x4>; /* Level high type */
6829 + phy-connection-type = "xfi";
6831 + mdio2_phy2: emdio2_phy@2 {
6832 + compatible = "ethernet-phy-ieee802.3-c45";
6833 + interrupts = <0 2 0x4>; /* Level high type */
6835 + phy-connection-type = "xfi";
6837 + mdio2_phy3: emdio2_phy@3 {
6838 + compatible = "ethernet-phy-ieee802.3-c45";
6839 + interrupts = <0 4 0x4>; /* Level high type */
6841 + phy-connection-type = "xfi";
6843 + mdio2_phy4: emdio2_phy@4 {
6844 + compatible = "ethernet-phy-ieee802.3-c45";
6845 + interrupts = <0 5 0x4>; /* Level high type */
6847 + phy-connection-type = "xfi";
6851 +/* Update DPMAC connections to external PHYs, under the assumption of
6852 + * SerDes 0x2a_0x41. This is currently the only SerDes supported on the board.
6854 +/* Leave Cortina PHYs commented out until proper driver is integrated
6856 + * phy-handle = <&mdio1_phy1>;
6859 + * phy-handle = <&mdio1_phy2>;
6862 + * phy-handle = <&mdio1_phy3>;
6865 + * phy-handle = <&mdio1_phy4>;
6870 + phy-handle = <&mdio2_phy1>;
6873 + phy-handle = <&mdio2_phy2>;
6876 + phy-handle = <&mdio2_phy3>;
6879 + phy-handle = <&mdio2_phy4>;
6881 --- a/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
6882 +++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
6884 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6886 * Device Tree Include file for Freescale Layerscape-2088A family SoC.
6890 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
6892 - * This file is dual-licensed: you can use it either under the terms
6893 - * of the GPLv2 or the X11 license, at your option. Note that this dual
6894 - * licensing only applies to this file, and not this project as a
6897 - * a) This library is free software; you can redistribute it and/or
6898 - * modify it under the terms of the GNU General Public License as
6899 - * published by the Free Software Foundation; either version 2 of the
6900 - * License, or (at your option) any later version.
6902 - * This library is distributed in the hope that it will be useful,
6903 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
6904 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6905 - * GNU General Public License for more details.
6907 - * Or, alternatively,
6909 - * b) Permission is hereby granted, free of charge, to any person
6910 - * obtaining a copy of this software and associated documentation
6911 - * files (the "Software"), to deal in the Software without
6912 - * restriction, including without limitation the rights to use,
6913 - * copy, modify, merge, publish, distribute, sublicense, and/or
6914 - * sell copies of the Software, and to permit persons to whom the
6915 - * Software is furnished to do so, subject to the following
6918 - * The above copyright notice and this permission notice shall be
6919 - * included in all copies or substantial portions of the Software.
6921 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
6922 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
6923 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
6924 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
6925 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
6926 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
6927 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
6928 - * OTHER DEALINGS IN THE SOFTWARE.
6931 #include "fsl-ls208xa.dtsi"
6935 + cooling_map0: cpu0: cpu@0 {
6936 device_type = "cpu";
6937 compatible = "arm,cortex-a72";
6940 next-level-cache = <&cluster0_l2>;
6944 + cooling_map1: cpu2: cpu@100 {
6945 device_type = "cpu";
6946 compatible = "arm,cortex-a72";
6949 next-level-cache = <&cluster1_l2>;
6953 + cooling_map2: cpu4: cpu@200 {
6954 device_type = "cpu";
6955 compatible = "arm,cortex-a72";
6958 next-level-cache = <&cluster2_l2>;
6962 + cooling_map3: cpu6: cpu@300 {
6963 device_type = "cpu";
6964 compatible = "arm,cortex-a72";
6967 CPU_PW20: cpu-pw20 {
6968 compatible = "arm,idle-state";
6969 idle-state-name = "PW20";
6970 - arm,psci-suspend-param = <0x00010000>;
6971 + arm,psci-suspend-param = <0x0>;
6972 entry-latency-us = <2000>;
6973 exit-latency-us = <2000>;
6974 min-residency-us = <6000>;
6979 + compatible = "fsl,ls2088a-pcie", "snps,dw-pcie";
6980 reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
6981 0x20 0x00000000 0x0 0x00002000>; /* configuration space */
6987 + compatible = "fsl,ls2088a-pcie", "snps,dw-pcie";
6988 reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
6989 0x28 0x00000000 0x0 0x00002000>; /* configuration space */
6995 + compatible = "fsl,ls2088a-pcie", "snps,dw-pcie";
6996 reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
6997 0x30 0x00000000 0x0 0x00002000>; /* configuration space */
7003 + compatible = "fsl,ls2088a-pcie", "snps,dw-pcie";
7004 reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */
7005 0x38 0x00000000 0x0 0x00002000>; /* configuration space */
7007 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi
7008 +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi
7010 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7012 * Device Tree file for Freescale LS2080A QDS Board.
7016 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
7018 - * This file is dual-licensed: you can use it either under the terms
7019 - * of the GPLv2 or the X11 license, at your option. Note that this dual
7020 - * licensing only applies to this file, and not this project as a
7023 - * a) This library is free software; you can redistribute it and/or
7024 - * modify it under the terms of the GNU General Public License as
7025 - * published by the Free Software Foundation; either version 2 of the
7026 - * License, or (at your option) any later version.
7028 - * This library is distributed in the hope that it will be useful,
7029 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
7030 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7031 - * GNU General Public License for more details.
7033 - * Or, alternatively,
7035 - * b) Permission is hereby granted, free of charge, to any person
7036 - * obtaining a copy of this software and associated documentation
7037 - * files (the "Software"), to deal in the Software without
7038 - * restriction, including without limitation the rights to use,
7039 - * copy, modify, merge, publish, distribute, sublicense, and/or
7040 - * sell copies of the Software, and to permit persons to whom the
7041 - * Software is furnished to do so, subject to the following
7044 - * The above copyright notice and this permission notice shall be
7045 - * included in all copies or substantial portions of the Software.
7047 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
7048 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
7049 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
7050 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
7051 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
7052 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
7053 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
7054 - * OTHER DEALINGS IN THE SOFTWARE.
7058 @@ -165,16 +129,21 @@
7062 + fsl,qspi-has-second-chip;
7063 flash0: s25fl256s1@0 {
7064 #address-cells = <1>;
7066 compatible = "st,m25p80";
7067 + spi-rx-bus-width = <4>;
7068 + spi-tx-bus-width = <4>;
7069 spi-max-frequency = <20000000>;
7072 flash2: s25fl256s1@2 {
7073 #address-cells = <1>;
7075 + spi-rx-bus-width = <4>;
7076 + spi-tx-bus-width = <4>;
7077 compatible = "st,m25p80";
7078 spi-max-frequency = <20000000>;
7080 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi
7081 +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi
7083 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7085 * Device Tree file for Freescale LS2080A RDB Board.
7089 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
7091 - * This file is dual-licensed: you can use it either under the terms
7092 - * of the GPLv2 or the X11 license, at your option. Note that this dual
7093 - * licensing only applies to this file, and not this project as a
7096 - * a) This library is free software; you can redistribute it and/or
7097 - * modify it under the terms of the GNU General Public License as
7098 - * published by the Free Software Foundation; either version 2 of the
7099 - * License, or (at your option) any later version.
7101 - * This library is distributed in the hope that it will be useful,
7102 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
7103 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7104 - * GNU General Public License for more details.
7106 - * Or, alternatively,
7108 - * b) Permission is hereby granted, free of charge, to any person
7109 - * obtaining a copy of this software and associated documentation
7110 - * files (the "Software"), to deal in the Software without
7111 - * restriction, including without limitation the rights to use,
7112 - * copy, modify, merge, publish, distribute, sublicense, and/or
7113 - * sell copies of the Software, and to permit persons to whom the
7114 - * Software is furnished to do so, subject to the following
7117 - * The above copyright notice and this permission notice shall be
7118 - * included in all copies or substantial portions of the Software.
7120 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
7121 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
7122 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
7123 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
7124 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
7125 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
7126 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
7127 - * OTHER DEALINGS IN THE SOFTWARE.
7133 #address-cells = <1>;
7135 + i2c-mux-never-disable;
7137 #address-cells = <1>;
7144 + #address-cells = <1>;
7145 + #size-cells = <0>;
7148 + compatible = "ti,ina220";
7150 + shunt-resistor = <500>;
7155 #address-cells = <1>;
7157 @@ -132,7 +108,15 @@
7161 - status = "disabled";
7163 + flash0: s25fs512s@0 {
7164 + #address-cells = <1>;
7165 + #size-cells = <1>;
7166 + compatible = "spansion,m25p80";
7168 + spi-max-frequency = <20000000>;
7174 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
7175 +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
7177 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7179 * Device Tree Include file for Freescale Layerscape-2080A family SoC.
7183 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
7185 - * This file is dual-licensed: you can use it either under the terms
7186 - * of the GPLv2 or the X11 license, at your option. Note that this dual
7187 - * licensing only applies to this file, and not this project as a
7190 - * a) This library is free software; you can redistribute it and/or
7191 - * modify it under the terms of the GNU General Public License as
7192 - * published by the Free Software Foundation; either version 2 of the
7193 - * License, or (at your option) any later version.
7195 - * This library is distributed in the hope that it will be useful,
7196 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
7197 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7198 - * GNU General Public License for more details.
7200 - * Or, alternatively,
7202 - * b) Permission is hereby granted, free of charge, to any person
7203 - * obtaining a copy of this software and associated documentation
7204 - * files (the "Software"), to deal in the Software without
7205 - * restriction, including without limitation the rights to use,
7206 - * copy, modify, merge, publish, distribute, sublicense, and/or
7207 - * sell copies of the Software, and to permit persons to whom the
7208 - * Software is furnished to do so, subject to the following
7211 - * The above copyright notice and this permission notice shall be
7212 - * included in all copies or substantial portions of the Software.
7214 - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
7215 - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
7216 - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
7217 - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
7218 - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
7219 - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
7220 - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
7221 - * OTHER DEALINGS IN THE SOFTWARE.
7224 #include <dt-bindings/thermal/thermal.h>
7225 @@ -111,13 +75,12 @@
7231 compatible = "arm,armv8-timer";
7232 interrupts = <1 13 4>, /* Physical Secure PPI, active-low */
7233 <1 14 4>, /* Physical Non-Secure PPI, active-low */
7234 <1 11 4>, /* Virtual PPI, active-low */
7235 <1 10 4>; /* Hypervisor PPI, active-low */
7236 - fsl,erratum-a008585;
7241 #address-cells = <2>;
7244 + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
7246 clockgen: clocking@1300000 {
7247 compatible = "fsl,ls2080a-clockgen";
7248 @@ -194,54 +158,7 @@
7249 #thermal-sensor-cells = <1>;
7253 - cpu_thermal: cpu-thermal {
7254 - polling-delay-passive = <1000>;
7255 - polling-delay = <5000>;
7257 - thermal-sensors = <&tmu 4>;
7260 - cpu_alert: cpu-alert {
7261 - temperature = <75000>;
7262 - hysteresis = <2000>;
7265 - cpu_crit: cpu-crit {
7266 - temperature = <85000>;
7267 - hysteresis = <2000>;
7268 - type = "critical";
7274 - trip = <&cpu_alert>;
7276 - <&cpu0 THERMAL_NO_LIMIT
7277 - THERMAL_NO_LIMIT>;
7280 - trip = <&cpu_alert>;
7282 - <&cpu2 THERMAL_NO_LIMIT
7283 - THERMAL_NO_LIMIT>;
7286 - trip = <&cpu_alert>;
7288 - <&cpu4 THERMAL_NO_LIMIT
7289 - THERMAL_NO_LIMIT>;
7292 - trip = <&cpu_alert>;
7294 - <&cpu6 THERMAL_NO_LIMIT
7295 - THERMAL_NO_LIMIT>;
7300 + #include "fsl-tmu.dtsi"
7302 serial0: serial@21c0500 {
7303 compatible = "fsl,ns16550", "ns16550a";
7305 reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */
7306 <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
7307 msi-parent = <&its>;
7308 + iommu-map = <0 &smmu 0 0>; /* This is fixed-up by u-boot */
7310 #address-cells = <3>;
7314 compatible = "arm,mmu-500";
7315 reg = <0 0x5000000 0 0x800000>;
7316 #global-interrupts = <12>;
7317 + #iommu-cells = <1>;
7318 + stream-match-mask = <0x7C00>;
7319 interrupts = <0 13 4>, /* global secure fault */
7320 <0 14 4>, /* combined secure interrupt */
7321 <0 15 4>, /* global non-secure fault */
7323 <0 204 4>, <0 205 4>,
7324 <0 206 4>, <0 207 4>,
7325 <0 208 4>, <0 209 4>;
7326 - mmu-masters = <&fsl_mc 0x300 0>;
7329 dspi: dspi@2100000 {
7330 @@ -574,15 +494,126 @@
7331 #interrupt-cells = <2>;
7334 + /* TODO: WRIOP (CCSR?) */
7335 + emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000,
7336 + * E-MDIO1: 0x1_6000
7338 + compatible = "fsl,fman-memac-mdio";
7339 + reg = <0x0 0x8B96000 0x0 0x1000>;
7340 + device_type = "mdio"; /* TODO: is this necessary? */
7341 + little-endian; /* force the driver in LE mode */
7343 + /* Not necessary on the QDS, but needed on the RDB */
7344 + #address-cells = <1>;
7345 + #size-cells = <0>;
7348 + emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000,
7349 + * E-MDIO2: 0x1_7000
7351 + compatible = "fsl,fman-memac-mdio";
7352 + reg = <0x0 0x8B97000 0x0 0x1000>;
7353 + device_type = "mdio"; /* TODO: is this necessary? */
7354 + little-endian; /* force the driver in LE mode */
7356 + #address-cells = <1>;
7357 + #size-cells = <0>;
7360 + pcs_mdio1: mdio@0x8c07000 {
7361 + compatible = "fsl,fman-memac-mdio";
7362 + reg = <0x0 0x8c07000 0x0 0x1000>;
7363 + device_type = "mdio";
7366 + #address-cells = <1>;
7367 + #size-cells = <0>;
7370 + pcs_mdio2: mdio@0x8c0b000 {
7371 + compatible = "fsl,fman-memac-mdio";
7372 + reg = <0x0 0x8c0b000 0x0 0x1000>;
7373 + device_type = "mdio";
7376 + #address-cells = <1>;
7377 + #size-cells = <0>;
7380 + pcs_mdio3: mdio@0x8c0f000 {
7381 + compatible = "fsl,fman-memac-mdio";
7382 + reg = <0x0 0x8c0f000 0x0 0x1000>;
7383 + device_type = "mdio";
7386 + #address-cells = <1>;
7387 + #size-cells = <0>;
7390 + pcs_mdio4: mdio@0x8c13000 {
7391 + compatible = "fsl,fman-memac-mdio";
7392 + reg = <0x0 0x8c13000 0x0 0x1000>;
7393 + device_type = "mdio";
7396 + #address-cells = <1>;
7397 + #size-cells = <0>;
7400 + pcs_mdio5: mdio@0x8c17000 {
7401 + status = "disabled";
7402 + compatible = "fsl,fman-memac-mdio";
7403 + reg = <0x0 0x8c17000 0x0 0x1000>;
7404 + device_type = "mdio";
7407 + #address-cells = <1>;
7408 + #size-cells = <0>;
7411 + pcs_mdio6: mdio@0x8c1b000 {
7412 + status = "disabled";
7413 + compatible = "fsl,fman-memac-mdio";
7414 + reg = <0x0 0x8c1b000 0x0 0x1000>;
7415 + device_type = "mdio";
7418 + #address-cells = <1>;
7419 + #size-cells = <0>;
7422 + pcs_mdio7: mdio@0x8c1f000 {
7423 + status = "disabled";
7424 + compatible = "fsl,fman-memac-mdio";
7425 + reg = <0x0 0x8c1f000 0x0 0x1000>;
7426 + device_type = "mdio";
7429 + #address-cells = <1>;
7430 + #size-cells = <0>;
7433 + pcs_mdio8: mdio@0x8c23000 {
7434 + status = "disabled";
7435 + compatible = "fsl,fman-memac-mdio";
7436 + reg = <0x0 0x8c23000 0x0 0x1000>;
7437 + device_type = "mdio";
7440 + #address-cells = <1>;
7441 + #size-cells = <0>;
7445 status = "disabled";
7446 - compatible = "fsl,vf610-i2c";
7447 + compatible = "fsl,vf610-i2c", "fsl,ls208xa-vf610-i2c";
7448 #address-cells = <1>;
7450 reg = <0x0 0x2000000 0x0 0x10000>;
7451 interrupts = <0 34 0x4>; /* Level high type */
7452 clock-names = "i2c";
7453 - clocks = <&clockgen 4 3>;
7454 + clocks = <&clockgen 4 1>;
7455 + scl-gpios = <&gpio3 10 0>;
7460 reg = <0x0 0x2010000 0x0 0x10000>;
7461 interrupts = <0 34 0x4>; /* Level high type */
7462 clock-names = "i2c";
7463 - clocks = <&clockgen 4 3>;
7464 + clocks = <&clockgen 4 1>;
7469 reg = <0x0 0x2020000 0x0 0x10000>;
7470 interrupts = <0 35 0x4>; /* Level high type */
7471 clock-names = "i2c";
7472 - clocks = <&clockgen 4 3>;
7473 + clocks = <&clockgen 4 1>;
7478 reg = <0x0 0x2030000 0x0 0x10000>;
7479 interrupts = <0 35 0x4>; /* Level high type */
7480 clock-names = "i2c";
7481 - clocks = <&clockgen 4 3>;
7482 + clocks = <&clockgen 4 1>;
7487 compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
7489 reg-names = "regs", "config";
7490 - interrupts = <0 108 0x4>; /* Level high type */
7491 - interrupt-names = "intr";
7492 + interrupts = <0 108 0x4>; /* aer interrupt */
7493 + interrupt-names = "aer";
7494 #address-cells = <3>;
7496 device_type = "pci";
7497 @@ -657,20 +688,22 @@
7499 bus-range = <0x0 0xff>;
7500 msi-parent = <&its>;
7501 + iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
7502 #interrupt-cells = <1>;
7503 interrupt-map-mask = <0 0 0 7>;
7504 interrupt-map = <0000 0 0 1 &gic 0 0 0 109 4>,
7505 <0000 0 0 2 &gic 0 0 0 110 4>,
7506 <0000 0 0 3 &gic 0 0 0 111 4>,
7507 <0000 0 0 4 &gic 0 0 0 112 4>;
7508 + status = "disabled";
7511 pcie2: pcie@3500000 {
7512 compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
7514 reg-names = "regs", "config";
7515 - interrupts = <0 113 0x4>; /* Level high type */
7516 - interrupt-names = "intr";
7517 + interrupts = <0 113 0x4>; /* aer interrupt */
7518 + interrupt-names = "aer";
7519 #address-cells = <3>;
7521 device_type = "pci";
7522 @@ -678,20 +711,22 @@
7524 bus-range = <0x0 0xff>;
7525 msi-parent = <&its>;
7526 + iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
7527 #interrupt-cells = <1>;
7528 interrupt-map-mask = <0 0 0 7>;
7529 interrupt-map = <0000 0 0 1 &gic 0 0 0 114 4>,
7530 <0000 0 0 2 &gic 0 0 0 115 4>,
7531 <0000 0 0 3 &gic 0 0 0 116 4>,
7532 <0000 0 0 4 &gic 0 0 0 117 4>;
7533 + status = "disabled";
7536 pcie3: pcie@3600000 {
7537 compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
7539 reg-names = "regs", "config";
7540 - interrupts = <0 118 0x4>; /* Level high type */
7541 - interrupt-names = "intr";
7542 + interrupts = <0 118 0x4>; /* aer interrupt */
7543 + interrupt-names = "aer";
7544 #address-cells = <3>;
7546 device_type = "pci";
7547 @@ -699,20 +734,22 @@
7549 bus-range = <0x0 0xff>;
7550 msi-parent = <&its>;
7551 + iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
7552 #interrupt-cells = <1>;
7553 interrupt-map-mask = <0 0 0 7>;
7554 interrupt-map = <0000 0 0 1 &gic 0 0 0 119 4>,
7555 <0000 0 0 2 &gic 0 0 0 120 4>,
7556 <0000 0 0 3 &gic 0 0 0 121 4>,
7557 <0000 0 0 4 &gic 0 0 0 122 4>;
7558 + status = "disabled";
7561 pcie4: pcie@3700000 {
7562 compatible = "fsl,ls2080a-pcie", "fsl,ls2085a-pcie",
7564 reg-names = "regs", "config";
7565 - interrupts = <0 123 0x4>; /* Level high type */
7566 - interrupt-names = "intr";
7567 + interrupts = <0 123 0x4>; /* aer interrupt */
7568 + interrupt-names = "aer";
7569 #address-cells = <3>;
7571 device_type = "pci";
7572 @@ -720,12 +757,14 @@
7574 bus-range = <0x0 0xff>;
7575 msi-parent = <&its>;
7576 + iommu-map = <0 &smmu 0 1>; /* This is fixed-up by u-boot */
7577 #interrupt-cells = <1>;
7578 interrupt-map-mask = <0 0 0 7>;
7579 interrupt-map = <0000 0 0 1 &gic 0 0 0 124 4>,
7580 <0000 0 0 2 &gic 0 0 0 125 4>,
7581 <0000 0 0 3 &gic 0 0 0 126 4>,
7582 <0000 0 0 4 &gic 0 0 0 127 4>;
7583 + status = "disabled";
7586 sata0: sata@3200000 {
7589 snps,quirk-frame-length-adjustment = <0x20>;
7590 snps,dis_rxdet_inp3_quirk;
7591 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
7592 + snps,host-vbus-glitches;
7595 usb1: usb3@3110000 {
7596 @@ -764,6 +805,14 @@
7598 snps,quirk-frame-length-adjustment = <0x20>;
7599 snps,dis_rxdet_inp3_quirk;
7600 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
7601 + snps,host-vbus-glitches;
7604 + serdes1: serdes@1ea0000 {
7605 + compatible = "fsl,serdes-10g";
7606 + reg = <0x0 0x1ea0000 0 0x00002000>;
7611 @@ -771,6 +820,14 @@
7612 reg = <0x0 0x04000000 0x0 0x01000000>;
7613 interrupts = <0 12 4>;
7616 + ftm0: ftm0@2800000 {
7617 + compatible = "fsl,ls208xa-ftm-alarm";
7618 + reg = <0x0 0x2800000 0x0 0x10000>,
7619 + <0x0 0x1e34050 0x0 0x4>;
7620 + reg-names = "ftm", "pmctrl";
7621 + interrupts = <0 44 4>;
7625 ddr1: memory-controller@1080000 {
7626 @@ -786,4 +843,44 @@
7627 interrupts = <0 18 0x4>;
7633 + compatible = "linaro,optee-tz";
7639 +#include "fsl-tmu-map1.dtsi"
7640 +#include "fsl-tmu-map2.dtsi"
7641 +#include "fsl-tmu-map3.dtsi"
7672 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts
7674 +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
7676 +// Device Tree file for LX2160AQDS
7678 +// Copyright 2018 NXP
7682 +#include "fsl-lx2160a.dtsi"
7685 + model = "NXP Layerscape LX2160AQDS";
7686 + compatible = "fsl,lx2160a-qds", "fsl,lx2160a";
7694 + stdout-path = "serial0:115200n8";
7697 + sb_3v3: regulator-sb3v3 {
7698 + compatible = "regulator-fixed";
7699 + regulator-name = "MC34717-3.3VSB";
7700 + regulator-min-microvolt = <3300000>;
7701 + regulator-max-microvolt = <3300000>;
7702 + regulator-boot-on;
7703 + regulator-always-on;
7707 + compatible = "mdio-mux-multiplexer";
7708 + mux-controls = <&mux 0>;
7709 + mdio-parent-bus = <&emdio1>;
7710 + #address-cells=<1>;
7711 + #size-cells = <0>;
7713 + mdio@0 { /* On-board PHY #1 RGMI1*/
7715 + #address-cells = <1>;
7716 + #size-cells = <0>;
7719 + mdio@8 { /* On-board PHY #2 RGMI2*/
7721 + #address-cells = <1>;
7722 + #size-cells = <0>;
7725 + mdio@18 { /* Slot #1 */
7727 + #address-cells = <1>;
7728 + #size-cells = <0>;
7731 + mdio@19 { /* Slot #2 */
7733 + #address-cells = <1>;
7734 + #size-cells = <0>;
7737 + mdio@1a { /* Slot #3 */
7739 + #address-cells = <1>;
7740 + #size-cells = <0>;
7743 + mdio@1b { /* Slot #4 */
7745 + #address-cells = <1>;
7746 + #size-cells = <0>;
7749 + mdio@1c { /* Slot #5 */
7751 + #address-cells = <1>;
7752 + #size-cells = <0>;
7755 + mdio@1d { /* Slot #6 */
7757 + #address-cells = <1>;
7758 + #size-cells = <0>;
7761 + mdio@1e { /* Slot #7 */
7763 + #address-cells = <1>;
7764 + #size-cells = <0>;
7767 + mdio@1f { /* Slot #8 */
7769 + #address-cells = <1>;
7770 + #size-cells = <0>;
7775 + compatible = "mdio-mux-multiplexer";
7776 + mux-controls = <&mux 1>;
7777 + mdio-parent-bus = <&emdio2>;
7778 + #address-cells=<1>;
7779 + #size-cells = <0>;
7781 + mdio@0 { /* Slot #1 (secondary EMI) */
7783 + #address-cells = <1>;
7784 + #size-cells = <0>;
7787 + mdio@1 { /* Slot #2 (secondary EMI) */
7789 + #address-cells = <1>;
7790 + #size-cells = <0>;
7793 + mdio@2 { /* Slot #3 (secondary EMI) */
7795 + #address-cells = <1>;
7796 + #size-cells = <0>;
7799 + mdio@3 { /* Slot #4 (secondary EMI) */
7801 + #address-cells = <1>;
7802 + #size-cells = <0>;
7805 + mdio@4 { /* Slot #5 (secondary EMI) */
7807 + #address-cells = <1>;
7808 + #size-cells = <0>;
7811 + mdio@5 { /* Slot #6 (secondary EMI) */
7813 + #address-cells = <1>;
7814 + #size-cells = <0>;
7817 + mdio@6 { /* Slot #7 (secondary EMI) */
7819 + #address-cells = <1>;
7820 + #size-cells = <0>;
7823 + mdio@7 { /* Slot #8 (secondary EMI) */
7825 + #address-cells = <1>;
7826 + #size-cells = <0>;
7838 + dflash0: flash@0 {
7839 + #address-cells = <1>;
7840 + #size-cells = <1>;
7841 + compatible = "jedec,spi-nor";
7843 + spi-max-frequency = <1000000>;
7850 + dflash1: flash@0 {
7851 + #address-cells = <1>;
7852 + #size-cells = <1>;
7853 + compatible = "jedec,spi-nor";
7855 + spi-max-frequency = <1000000>;
7862 + dflash2: flash@0 {
7863 + #address-cells = <1>;
7864 + #size-cells = <1>;
7865 + compatible = "jedec,spi-nor";
7867 + spi-max-frequency = <1000000>;
7891 + compatible = "fsl,lx2160aqds-fpga", "fsl,fpga-qixis-i2c",
7895 + mux: mux-controller {
7896 + compatible = "reg-mux";
7897 + #mux-control-cells = <1>;
7898 + mux-reg-masks = <0x54 0xf8>, /* 0: reg 0x54, bits 7:3 */
7899 + <0x54 0x07>; /* 1: reg 0x54, bit 2:0 */
7904 + compatible = "nxp,pca9547";
7906 + #address-cells = <1>;
7907 + #size-cells = <0>;
7910 + #address-cells = <1>;
7911 + #size-cells = <0>;
7914 + power-monitor@40 {
7915 + compatible = "ti,ina220";
7917 + shunt-resistor = <500>;
7920 + power-monitor@41 {
7921 + compatible = "ti,ina220";
7923 + shunt-resistor = <1000>;
7928 + #address-cells = <1>;
7929 + #size-cells = <0>;
7932 + temperature-sensor@4c {
7933 + compatible = "nxp,sa56004";
7935 + vcc-supply = <&sb_3v3>;
7938 + temperature-sensor@4d {
7939 + compatible = "nxp,sa56004";
7941 + vcc-supply = <&sb_3v3>;
7945 + compatible = "nxp,pcf2129";
7969 + pcs_phy1: ethernet-phy@0 {
7970 + compatible = "ethernet-phy-ieee802.3-c45";
7971 + backplane-mode = "40gbase-kr";
7973 + fsl,lane-handle = <&serdes1>;
7974 + fsl,lane-reg = <0xF00 0xE00 0xD00 0xC00>; /* lanes H, G, F, E */
7979 + pcs_phy2: ethernet-phy@0 {
7980 + compatible = "ethernet-phy-ieee802.3-c45";
7981 + backplane-mode = "40gbase-kr";
7983 + fsl,lane-handle = <&serdes1>;
7984 + fsl,lane-reg = <0xB00 0xA00 0x900 0x800>; /* lanes D, C, B, A */
7989 + pcs_phy3: ethernet-phy@0 {
7990 + compatible = "ethernet-phy-ieee802.3-c45";
7991 + backplane-mode = "10gbase-kr";
7993 + fsl,lane-handle = <&serdes1>;
7994 + fsl,lane-reg = <0xF00 0x100>; /* lane H */
7999 + pcs_phy4: ethernet-phy@0 {
8000 + compatible = "ethernet-phy-ieee802.3-c45";
8001 + backplane-mode = "10gbase-kr";
8003 + fsl,lane-handle = <&serdes1>;
8004 + fsl,lane-reg = <0xE00 0x100>; /* lane G */
8008 +/* Update DPMAC connections to 40G backplane PHYs
8010 + * phy-handle = <&pcs_phy1>;
8014 + * phy-handle = <&pcs_phy2>;
8018 +/* Update DPMAC connections to 10G backplane PHYs
8020 + * phy-handle = <&pcs_phy3>;
8024 + * phy-handle = <&pcs_phy4>;
8028 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
8030 +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
8032 +// Device Tree file for LX2160ARDB
8034 +// Copyright 2018 NXP
8038 +#include "fsl-lx2160a.dtsi"
8041 + model = "NXP Layerscape LX2160ARDB";
8042 + compatible = "fsl,lx2160a-rdb", "fsl,lx2160a";
8050 + stdout-path = "serial0:115200n8";
8053 + sb_3v3: regulator-sb3v3 {
8054 + compatible = "regulator-fixed";
8055 + regulator-name = "MC34717-3.3VSB";
8056 + regulator-min-microvolt = <3300000>;
8057 + regulator-max-microvolt = <3300000>;
8058 + regulator-boot-on;
8059 + regulator-always-on;
8094 + compatible = "nxp,pca9547";
8096 + #address-cells = <1>;
8097 + #size-cells = <0>;
8100 + #address-cells = <1>;
8101 + #size-cells = <0>;
8104 + power-monitor@40 {
8105 + compatible = "ti,ina220";
8107 + shunt-resistor = <1000>;
8112 + #address-cells = <1>;
8113 + #size-cells = <0>;
8116 + temperature-sensor@4c {
8117 + compatible = "nxp,sa56004";
8119 + vcc-supply = <&sb_3v3>;
8122 + temperature-sensor@4d {
8123 + compatible = "nxp,sa56004";
8125 + vcc-supply = <&sb_3v3>;
8135 + compatible = "nxp,pcf2129";
8138 + interrupts = <0 150 0x4>;
8144 + nxp,fspi-has-second-chip;
8145 + flash0: mt35xu512aba@0 {
8146 + #address-cells = <1>;
8147 + #size-cells = <1>;
8148 + compatible = "micron,m25p80";
8150 + spi-max-frequency = <50000000>;
8152 + /* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
8153 + spi-rx-bus-width = <8>;
8154 + spi-tx-bus-width = <1>;
8157 + flash1: mt35xu512aba@1 {
8158 + #address-cells = <1>;
8159 + #size-cells = <1>;
8160 + compatible = "micron,m25p80";
8162 + spi-max-frequency = <50000000>;
8164 + /* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */
8165 + spi-rx-bus-width = <8>;
8166 + spi-tx-bus-width = <1>;
8187 + rgmii_phy1: ethernet-phy@1 {
8188 + /* AR8035 PHY - "compatible" property not strictly needed */
8189 + compatible = "ethernet-phy-id004d.d072";
8191 + /* Poll mode - no "interrupts" property defined */
8193 + rgmii_phy2: ethernet-phy@2 {
8194 + /* AR8035 PHY - "compatible" property not strictly needed */
8195 + compatible = "ethernet-phy-id004d.d072";
8197 + /* Poll mode - no "interrupts" property defined */
8199 + aquantia_phy1: ethernet-phy@4 {
8200 + /* AQR107 PHY - "compatible" property not strictly needed */
8201 + compatible = "ethernet-phy-ieee802.3-c45";
8203 + /* Poll mode - no "interrupts" property defined */
8205 + aquantia_phy2: ethernet-phy@5 {
8206 + /* AQR107 PHY - "compatible" property not strictly needed */
8207 + compatible = "ethernet-phy-ieee802.3-c45";
8209 + /* Poll mode - no "interrupts" property defined */
8214 + inphi_phy: ethernet-phy@0 {
8215 + compatible = "ethernet-phy-id0210.7440";
8221 + phy-handle = <&aquantia_phy1>;
8222 + phy-connection-type = "xgmii";
8226 + phy-handle = <&aquantia_phy2>;
8227 + phy-connection-type = "xgmii";
8231 + phy-handle = <&inphi_phy>;
8235 + phy-handle = <&inphi_phy>;
8239 + phy-handle = <&rgmii_phy1>;
8240 + phy-connection-type = "rgmii-id";
8244 + phy-handle = <&rgmii_phy2>;
8245 + phy-connection-type = "rgmii-id";
8264 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
8266 +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
8268 +// Device Tree Include file for Layerscape-LX2160A family SoC.
8270 +// Copyright 2018 NXP
8272 +#include <dt-bindings/gpio/gpio.h>
8273 +#include <dt-bindings/interrupt-controller/arm-gic.h>
8275 +/memreserve/ 0x80000000 0x00010000;
8278 + compatible = "fsl,lx2160a";
8279 + interrupt-parent = <&gic>;
8280 + #address-cells = <2>;
8281 + #size-cells = <2>;
8284 + #address-cells = <1>;
8285 + #size-cells = <0>;
8287 + // 8 clusters having 2 Cortex-A72 cores each
8289 + device_type = "cpu";
8290 + compatible = "arm,cortex-a72";
8291 + enable-method = "psci";
8293 + clocks = <&clockgen 1 0>;
8294 + d-cache-size = <0x8000>;
8295 + d-cache-line-size = <64>;
8296 + d-cache-sets = <128>;
8297 + i-cache-size = <0xC000>;
8298 + i-cache-line-size = <64>;
8299 + i-cache-sets = <192>;
8300 + next-level-cache = <&cluster0_l2>;
8304 + device_type = "cpu";
8305 + compatible = "arm,cortex-a72";
8306 + enable-method = "psci";
8308 + clocks = <&clockgen 1 0>;
8309 + d-cache-size = <0x8000>;
8310 + d-cache-line-size = <64>;
8311 + d-cache-sets = <128>;
8312 + i-cache-size = <0xC000>;
8313 + i-cache-line-size = <64>;
8314 + i-cache-sets = <192>;
8315 + next-level-cache = <&cluster0_l2>;
8319 + device_type = "cpu";
8320 + compatible = "arm,cortex-a72";
8321 + enable-method = "psci";
8323 + clocks = <&clockgen 1 1>;
8324 + d-cache-size = <0x8000>;
8325 + d-cache-line-size = <64>;
8326 + d-cache-sets = <128>;
8327 + i-cache-size = <0xC000>;
8328 + i-cache-line-size = <64>;
8329 + i-cache-sets = <192>;
8330 + next-level-cache = <&cluster1_l2>;
8334 + device_type = "cpu";
8335 + compatible = "arm,cortex-a72";
8336 + enable-method = "psci";
8338 + clocks = <&clockgen 1 1>;
8339 + d-cache-size = <0x8000>;
8340 + d-cache-line-size = <64>;
8341 + d-cache-sets = <128>;
8342 + i-cache-size = <0xC000>;
8343 + i-cache-line-size = <64>;
8344 + i-cache-sets = <192>;
8345 + next-level-cache = <&cluster1_l2>;
8349 + device_type = "cpu";
8350 + compatible = "arm,cortex-a72";
8351 + enable-method = "psci";
8353 + clocks = <&clockgen 1 2>;
8354 + d-cache-size = <0x8000>;
8355 + d-cache-line-size = <64>;
8356 + d-cache-sets = <128>;
8357 + i-cache-size = <0xC000>;
8358 + i-cache-line-size = <64>;
8359 + i-cache-sets = <192>;
8360 + next-level-cache = <&cluster2_l2>;
8364 + device_type = "cpu";
8365 + compatible = "arm,cortex-a72";
8366 + enable-method = "psci";
8368 + clocks = <&clockgen 1 2>;
8369 + d-cache-size = <0x8000>;
8370 + d-cache-line-size = <64>;
8371 + d-cache-sets = <128>;
8372 + i-cache-size = <0xC000>;
8373 + i-cache-line-size = <64>;
8374 + i-cache-sets = <192>;
8375 + next-level-cache = <&cluster2_l2>;
8379 + device_type = "cpu";
8380 + compatible = "arm,cortex-a72";
8381 + enable-method = "psci";
8383 + clocks = <&clockgen 1 3>;
8384 + d-cache-size = <0x8000>;
8385 + d-cache-line-size = <64>;
8386 + d-cache-sets = <128>;
8387 + i-cache-size = <0xC000>;
8388 + i-cache-line-size = <64>;
8389 + i-cache-sets = <192>;
8390 + next-level-cache = <&cluster3_l2>;
8394 + device_type = "cpu";
8395 + compatible = "arm,cortex-a72";
8396 + enable-method = "psci";
8398 + clocks = <&clockgen 1 3>;
8399 + d-cache-size = <0x8000>;
8400 + d-cache-line-size = <64>;
8401 + d-cache-sets = <128>;
8402 + i-cache-size = <0xC000>;
8403 + i-cache-line-size = <64>;
8404 + i-cache-sets = <192>;
8405 + next-level-cache = <&cluster3_l2>;
8409 + device_type = "cpu";
8410 + compatible = "arm,cortex-a72";
8411 + enable-method = "psci";
8413 + clocks = <&clockgen 1 4>;
8414 + d-cache-size = <0x8000>;
8415 + d-cache-line-size = <64>;
8416 + d-cache-sets = <128>;
8417 + i-cache-size = <0xC000>;
8418 + i-cache-line-size = <64>;
8419 + i-cache-sets = <192>;
8420 + next-level-cache = <&cluster4_l2>;
8424 + device_type = "cpu";
8425 + compatible = "arm,cortex-a72";
8426 + enable-method = "psci";
8428 + clocks = <&clockgen 1 4>;
8429 + d-cache-size = <0x8000>;
8430 + d-cache-line-size = <64>;
8431 + d-cache-sets = <128>;
8432 + i-cache-size = <0xC000>;
8433 + i-cache-line-size = <64>;
8434 + i-cache-sets = <192>;
8435 + next-level-cache = <&cluster4_l2>;
8439 + device_type = "cpu";
8440 + compatible = "arm,cortex-a72";
8441 + enable-method = "psci";
8443 + clocks = <&clockgen 1 5>;
8444 + d-cache-size = <0x8000>;
8445 + d-cache-line-size = <64>;
8446 + d-cache-sets = <128>;
8447 + i-cache-size = <0xC000>;
8448 + i-cache-line-size = <64>;
8449 + i-cache-sets = <192>;
8450 + next-level-cache = <&cluster5_l2>;
8454 + device_type = "cpu";
8455 + compatible = "arm,cortex-a72";
8456 + enable-method = "psci";
8458 + clocks = <&clockgen 1 5>;
8459 + d-cache-size = <0x8000>;
8460 + d-cache-line-size = <64>;
8461 + d-cache-sets = <128>;
8462 + i-cache-size = <0xC000>;
8463 + i-cache-line-size = <64>;
8464 + i-cache-sets = <192>;
8465 + next-level-cache = <&cluster5_l2>;
8469 + device_type = "cpu";
8470 + compatible = "arm,cortex-a72";
8471 + enable-method = "psci";
8473 + clocks = <&clockgen 1 6>;
8474 + d-cache-size = <0x8000>;
8475 + d-cache-line-size = <64>;
8476 + d-cache-sets = <128>;
8477 + i-cache-size = <0xC000>;
8478 + i-cache-line-size = <64>;
8479 + i-cache-sets = <192>;
8480 + next-level-cache = <&cluster6_l2>;
8484 + device_type = "cpu";
8485 + compatible = "arm,cortex-a72";
8486 + enable-method = "psci";
8488 + clocks = <&clockgen 1 6>;
8489 + d-cache-size = <0x8000>;
8490 + d-cache-line-size = <64>;
8491 + d-cache-sets = <128>;
8492 + i-cache-size = <0xC000>;
8493 + i-cache-line-size = <64>;
8494 + i-cache-sets = <192>;
8495 + next-level-cache = <&cluster6_l2>;
8499 + device_type = "cpu";
8500 + compatible = "arm,cortex-a72";
8501 + enable-method = "psci";
8503 + clocks = <&clockgen 1 7>;
8504 + d-cache-size = <0x8000>;
8505 + d-cache-line-size = <64>;
8506 + d-cache-sets = <128>;
8507 + i-cache-size = <0xC000>;
8508 + i-cache-line-size = <64>;
8509 + i-cache-sets = <192>;
8510 + next-level-cache = <&cluster7_l2>;
8514 + device_type = "cpu";
8515 + compatible = "arm,cortex-a72";
8516 + enable-method = "psci";
8518 + clocks = <&clockgen 1 7>;
8519 + d-cache-size = <0x8000>;
8520 + d-cache-line-size = <64>;
8521 + d-cache-sets = <128>;
8522 + i-cache-size = <0xC000>;
8523 + i-cache-line-size = <64>;
8524 + i-cache-sets = <192>;
8525 + next-level-cache = <&cluster7_l2>;
8528 + cluster0_l2: l2-cache0 {
8529 + compatible = "cache";
8530 + cache-size = <0x100000>;
8531 + cache-line-size = <64>;
8532 + cache-sets = <1024>;
8533 + cache-level = <2>;
8536 + cluster1_l2: l2-cache1 {
8537 + compatible = "cache";
8538 + cache-size = <0x100000>;
8539 + cache-line-size = <64>;
8540 + cache-sets = <1024>;
8541 + cache-level = <2>;
8544 + cluster2_l2: l2-cache2 {
8545 + compatible = "cache";
8546 + cache-size = <0x100000>;
8547 + cache-line-size = <64>;
8548 + cache-sets = <1024>;
8549 + cache-level = <2>;
8552 + cluster3_l2: l2-cache3 {
8553 + compatible = "cache";
8554 + cache-size = <0x100000>;
8555 + cache-line-size = <64>;
8556 + cache-sets = <1024>;
8557 + cache-level = <2>;
8560 + cluster4_l2: l2-cache4 {
8561 + compatible = "cache";
8562 + cache-size = <0x100000>;
8563 + cache-line-size = <64>;
8564 + cache-sets = <1024>;
8565 + cache-level = <2>;
8568 + cluster5_l2: l2-cache5 {
8569 + compatible = "cache";
8570 + cache-size = <0x100000>;
8571 + cache-line-size = <64>;
8572 + cache-sets = <1024>;
8573 + cache-level = <2>;
8576 + cluster6_l2: l2-cache6 {
8577 + compatible = "cache";
8578 + cache-size = <0x100000>;
8579 + cache-line-size = <64>;
8580 + cache-sets = <1024>;
8581 + cache-level = <2>;
8584 + cluster7_l2: l2-cache7 {
8585 + compatible = "cache";
8586 + cache-size = <0x100000>;
8587 + cache-line-size = <64>;
8588 + cache-sets = <1024>;
8589 + cache-level = <2>;
8593 + gic: interrupt-controller@6000000 {
8594 + compatible = "arm,gic-v3";
8595 + reg = <0x0 0x06000000 0 0x10000>, // GIC Dist
8596 + <0x0 0x06200000 0 0x200000>, // GICR (RD_base +
8598 + <0x0 0x0c0c0000 0 0x2000>, // GICC
8599 + <0x0 0x0c0d0000 0 0x1000>, // GICH
8600 + <0x0 0x0c0e0000 0 0x20000>; // GICV
8601 + #interrupt-cells = <3>;
8602 + #address-cells = <2>;
8603 + #size-cells = <2>;
8605 + interrupt-controller;
8606 + interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
8608 + its: gic-its@6020000 {
8609 + compatible = "arm,gic-v3-its";
8611 + reg = <0x0 0x6020000 0 0x20000>;
8616 + compatible = "arm,armv8-timer";
8617 + interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>,
8618 + <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH>,
8619 + <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>,
8620 + <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>;
8624 + compatible = "arm,cortex-a72-pmu";
8625 + interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
8629 + compatible = "arm,psci-0.2";
8634 + // DRAM space - 1, size : 2 GB DRAM
8635 + device_type = "memory";
8636 + reg = <0x00000000 0x80000000 0 0x80000000>;
8639 + ddr1: memory-controller@1080000 {
8640 + compatible = "fsl,qoriq-memory-controller";
8641 + reg = <0x0 0x1080000 0x0 0x1000>;
8642 + interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
8646 + ddr2: memory-controller@1090000 {
8647 + compatible = "fsl,qoriq-memory-controller";
8648 + reg = <0x0 0x1090000 0x0 0x1000>;
8649 + interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
8654 + compatible = "fixed-clock";
8655 + #clock-cells = <0>;
8656 + clock-frequency = <100000000>;
8657 + clock-output-names = "sysclk";
8661 + compatible = "simple-bus";
8662 + #address-cells = <2>;
8663 + #size-cells = <2>;
8665 + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
8667 + crypto: crypto@8000000 {
8668 + compatible = "fsl,sec-v5.0", "fsl,sec-v4.0";
8669 + fsl,sec-era = <10>;
8670 + #address-cells = <1>;
8671 + #size-cells = <1>;
8672 + ranges = <0x0 0x00 0x8000000 0x100000>;
8673 + reg = <0x00 0x8000000 0x0 0x100000>;
8674 + interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
8676 + status = "disabled";
8678 + sec_jr0: jr@10000 {
8679 + compatible = "fsl,sec-v5.0-job-ring",
8680 + "fsl,sec-v4.0-job-ring";
8681 + reg = <0x10000 0x10000>;
8682 + interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
8685 + sec_jr1: jr@20000 {
8686 + compatible = "fsl,sec-v5.0-job-ring",
8687 + "fsl,sec-v4.0-job-ring";
8688 + reg = <0x20000 0x10000>;
8689 + interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
8692 + sec_jr2: jr@30000 {
8693 + compatible = "fsl,sec-v5.0-job-ring",
8694 + "fsl,sec-v4.0-job-ring";
8695 + reg = <0x30000 0x10000>;
8696 + interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
8699 + sec_jr3: jr@40000 {
8700 + compatible = "fsl,sec-v5.0-job-ring",
8701 + "fsl,sec-v4.0-job-ring";
8702 + reg = <0x40000 0x10000>;
8703 + interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
8707 + clockgen: clock-controller@1300000 {
8708 + compatible = "fsl,lx2160a-clockgen";
8709 + reg = <0 0x1300000 0 0xa0000>;
8710 + #clock-cells = <2>;
8711 + clocks = <&sysclk>;
8714 + dcfg: syscon@1e00000 {
8715 + compatible = "fsl,lx2160a-dcfg", "syscon";
8716 + reg = <0x0 0x1e00000 0x0 0x10000>;
8720 + /* WRIOP0: 0x8b8_0000, E-MDIO1: 0x1_6000 */
8721 + emdio1: mdio@8b96000 {
8722 + compatible = "fsl,fman-memac-mdio";
8723 + reg = <0x0 0x8b96000 0x0 0x1000>;
8724 + interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
8725 + #address-cells = <1>;
8726 + #size-cells = <0>;
8727 + little-endian; /* force the driver in LE mode */
8728 + status = "disabled";
8731 + /* WRIOP0: 0x8b8_0000, E-MDIO2: 0x1_7000 */
8732 + emdio2: mdio@8b97000 {
8733 + compatible = "fsl,fman-memac-mdio";
8734 + reg = <0x0 0x8b97000 0x0 0x1000>;
8735 + interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
8736 + #address-cells = <1>;
8737 + #size-cells = <0>;
8738 + little-endian; /* force the driver in LE mode */
8739 + status = "disabled";
8742 + pcs_mdio1: mdio@0x8c07000 {
8743 + compatible = "fsl,fman-memac-mdio";
8744 + reg = <0x0 0x8c07000 0x0 0x1000>;
8745 + device_type = "mdio";
8748 + #address-cells = <1>;
8749 + #size-cells = <0>;
8752 + pcs_mdio2: mdio@0x8c0b000 {
8753 + compatible = "fsl,fman-memac-mdio";
8754 + reg = <0x0 0x8c0b000 0x0 0x1000>;
8755 + device_type = "mdio";
8758 + #address-cells = <1>;
8759 + #size-cells = <0>;
8762 + pcs_mdio3: mdio@0x8c0f000 {
8763 + compatible = "fsl,fman-memac-mdio";
8764 + reg = <0x0 0x8c0f000 0x0 0x1000>;
8765 + device_type = "mdio";
8768 + #address-cells = <1>;
8769 + #size-cells = <0>;
8772 + pcs_mdio4: mdio@0x8c13000 {
8773 + compatible = "fsl,fman-memac-mdio";
8774 + reg = <0x0 0x8c13000 0x0 0x1000>;
8775 + device_type = "mdio";
8778 + #address-cells = <1>;
8779 + #size-cells = <0>;
8782 + pcs_mdio5: mdio@0x8c17000 {
8783 + compatible = "fsl,fman-memac-mdio";
8784 + reg = <0x0 0x8c17000 0x0 0x1000>;
8785 + device_type = "mdio";
8788 + #address-cells = <1>;
8789 + #size-cells = <0>;
8792 + pcs_mdio6: mdio@0x8c1b000 {
8793 + compatible = "fsl,fman-memac-mdio";
8794 + reg = <0x0 0x8c1b000 0x0 0x1000>;
8795 + device_type = "mdio";
8798 + #address-cells = <1>;
8799 + #size-cells = <0>;
8802 + pcs_mdio7: mdio@0x8c1f000 {
8803 + compatible = "fsl,fman-memac-mdio";
8804 + reg = <0x0 0x8c1f000 0x0 0x1000>;
8805 + device_type = "mdio";
8808 + #address-cells = <1>;
8809 + #size-cells = <0>;
8812 + pcs_mdio8: mdio@0x8c23000 {
8813 + compatible = "fsl,fman-memac-mdio";
8814 + reg = <0x0 0x8c23000 0x0 0x1000>;
8815 + device_type = "mdio";
8818 + #address-cells = <1>;
8819 + #size-cells = <0>;
8822 + serdes1: serdes@1ea0000 {
8823 + compatible = "fsl,serdes-28g";
8824 + reg = <0x0 0x1ea0000 0 0x00002000>;
8828 + i2c0: i2c@2000000 {
8829 + compatible = "fsl,vf610-i2c";
8830 + #address-cells = <1>;
8831 + #size-cells = <0>;
8832 + reg = <0x0 0x2000000 0x0 0x10000>;
8833 + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
8834 + clock-names = "i2c";
8835 + clocks = <&clockgen 4 7>;
8836 + scl-gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
8837 + status = "disabled";
8840 + i2c1: i2c@2010000 {
8841 + compatible = "fsl,vf610-i2c";
8842 + #address-cells = <1>;
8843 + #size-cells = <0>;
8844 + reg = <0x0 0x2010000 0x0 0x10000>;
8845 + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
8846 + clock-names = "i2c";
8847 + clocks = <&clockgen 4 7>;
8848 + status = "disabled";
8851 + i2c2: i2c@2020000 {
8852 + compatible = "fsl,vf610-i2c";
8853 + #address-cells = <1>;
8854 + #size-cells = <0>;
8855 + reg = <0x0 0x2020000 0x0 0x10000>;
8856 + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
8857 + clock-names = "i2c";
8858 + clocks = <&clockgen 4 7>;
8859 + status = "disabled";
8862 + i2c3: i2c@2030000 {
8863 + compatible = "fsl,vf610-i2c";
8864 + #address-cells = <1>;
8865 + #size-cells = <0>;
8866 + reg = <0x0 0x2030000 0x0 0x10000>;
8867 + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
8868 + clock-names = "i2c";
8869 + clocks = <&clockgen 4 7>;
8870 + status = "disabled";
8873 + i2c4: i2c@2040000 {
8874 + compatible = "fsl,vf610-i2c";
8875 + #address-cells = <1>;
8876 + #size-cells = <0>;
8877 + reg = <0x0 0x2040000 0x0 0x10000>;
8878 + interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
8879 + clock-names = "i2c";
8880 + clocks = <&clockgen 4 7>;
8881 + scl-gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
8882 + status = "disabled";
8885 + i2c5: i2c@2050000 {
8886 + compatible = "fsl,vf610-i2c";
8887 + #address-cells = <1>;
8888 + #size-cells = <0>;
8889 + reg = <0x0 0x2050000 0x0 0x10000>;
8890 + interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
8891 + clock-names = "i2c";
8892 + clocks = <&clockgen 4 7>;
8893 + status = "disabled";
8896 + i2c6: i2c@2060000 {
8897 + compatible = "fsl,vf610-i2c";
8898 + #address-cells = <1>;
8899 + #size-cells = <0>;
8900 + reg = <0x0 0x2060000 0x0 0x10000>;
8901 + interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
8902 + clock-names = "i2c";
8903 + clocks = <&clockgen 4 7>;
8904 + status = "disabled";
8907 + i2c7: i2c@2070000 {
8908 + compatible = "fsl,vf610-i2c";
8909 + #address-cells = <1>;
8910 + #size-cells = <0>;
8911 + reg = <0x0 0x2070000 0x0 0x10000>;
8912 + interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
8913 + clock-names = "i2c";
8914 + clocks = <&clockgen 4 7>;
8915 + status = "disabled";
8918 + dspi0: spi@2100000 {
8919 + compatible = "fsl,lx2160a-dspi", "fsl,ls2085a-dspi";
8920 + #address-cells = <1>;
8921 + #size-cells = <0>;
8922 + reg = <0x0 0x2100000 0x0 0x10000>;
8923 + interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
8924 + clocks = <&clockgen 4 7>;
8925 + clock-names = "dspi";
8926 + spi-num-chipselects = <5>;
8928 + status = "disabled";
8931 + dspi1: spi@2110000 {
8932 + compatible = "fsl,lx2160a-dspi", "fsl,ls2085a-dspi";
8933 + #address-cells = <1>;
8934 + #size-cells = <0>;
8935 + reg = <0x0 0x2110000 0x0 0x10000>;
8936 + interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
8937 + clocks = <&clockgen 4 7>;
8938 + clock-names = "dspi";
8939 + spi-num-chipselects = <5>;
8941 + status = "disabled";
8944 + dspi2: spi@2120000 {
8945 + compatible = "fsl,lx2160a-dspi", "fsl,ls2085a-dspi";
8946 + #address-cells = <1>;
8947 + #size-cells = <0>;
8948 + reg = <0x0 0x2120000 0x0 0x10000>;
8949 + interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
8950 + clocks = <&clockgen 4 7>;
8951 + clock-names = "dspi";
8952 + spi-num-chipselects = <5>;
8954 + status = "disabled";
8957 + esdhc0: esdhc@2140000 {
8958 + compatible = "fsl,esdhc";
8959 + reg = <0x0 0x2140000 0x0 0x10000>;
8960 + interrupts = <0 28 0x4>; /* Level high type */
8961 + clocks = <&clockgen 4 1>;
8962 + voltage-ranges = <1800 1800 3300 3300>;
8966 + status = "disabled";
8969 + esdhc1: esdhc@2150000 {
8970 + compatible = "fsl,esdhc";
8971 + reg = <0x0 0x2150000 0x0 0x10000>;
8972 + interrupts = <0 63 0x4>; /* Level high type */
8973 + clocks = <&clockgen 4 1>;
8974 + voltage-ranges = <1800 1800 3300 3300>;
8979 + status = "disabled";
8982 + uart0: serial@21c0000 {
8983 + compatible = "arm,sbsa-uart","arm,pl011";
8984 + reg = <0x0 0x21c0000 0x0 0x1000>;
8985 + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
8986 + current-speed = <115200>;
8987 + status = "disabled";
8990 + uart1: serial@21d0000 {
8991 + compatible = "arm,sbsa-uart","arm,pl011";
8992 + reg = <0x0 0x21d0000 0x0 0x1000>;
8993 + interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
8994 + current-speed = <115200>;
8995 + status = "disabled";
8998 + uart2: serial@21e0000 {
8999 + compatible = "arm,sbsa-uart","arm,pl011";
9000 + reg = <0x0 0x21e0000 0x0 0x1000>;
9001 + interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
9002 + current-speed = <115200>;
9003 + status = "disabled";
9006 + uart3: serial@21f0000 {
9007 + compatible = "arm,sbsa-uart","arm,pl011";
9008 + reg = <0x0 0x21f0000 0x0 0x1000>;
9009 + interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
9010 + current-speed = <115200>;
9011 + status = "disabled";
9014 + gpio0: gpio@2300000 {
9015 + compatible = "fsl,qoriq-gpio";
9016 + reg = <0x0 0x2300000 0x0 0x10000>;
9017 + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
9020 + #gpio-cells = <2>;
9021 + interrupt-controller;
9022 + #interrupt-cells = <2>;
9025 + gpio1: gpio@2310000 {
9026 + compatible = "fsl,qoriq-gpio";
9027 + reg = <0x0 0x2310000 0x0 0x10000>;
9028 + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
9031 + #gpio-cells = <2>;
9032 + interrupt-controller;
9033 + #interrupt-cells = <2>;
9036 + gpio2: gpio@2320000 {
9037 + compatible = "fsl,qoriq-gpio";
9038 + reg = <0x0 0x2320000 0x0 0x10000>;
9039 + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
9042 + #gpio-cells = <2>;
9043 + interrupt-controller;
9044 + #interrupt-cells = <2>;
9047 + gpio3: gpio@2330000 {
9048 + compatible = "fsl,qoriq-gpio";
9049 + reg = <0x0 0x2330000 0x0 0x10000>;
9050 + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
9053 + #gpio-cells = <2>;
9054 + interrupt-controller;
9055 + #interrupt-cells = <2>;
9058 + watchdog@23a0000 {
9059 + compatible = "arm,sbsa-gwdt";
9060 + reg = <0x0 0x23a0000 0 0x1000>,
9061 + <0x0 0x2390000 0 0x1000>;
9062 + interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
9063 + timeout-sec = <30>;
9066 + ftm0: ftm0@2800000 {
9067 + compatible = "fsl,ftm-alarm", "fsl,lx2160a-ftm-alarm";
9068 + reg = <0x0 0x2800000 0x0 0x10000>,
9069 + <0x0 0x1e34050 0x0 0x4>;
9070 + reg-names = "ftm", "FlexTimer1";
9071 + interrupts = <0 44 0x4>;
9075 + usb0: usb@3100000 {
9076 + compatible = "snps,dwc3";
9077 + reg = <0x0 0x3100000 0x0 0x10000>;
9078 + interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
9080 + snps,quirk-frame-length-adjustment = <0x20>;
9081 + snps,dis_rxdet_inp3_quirk;
9082 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
9083 + snps,host-vbus-glitches;
9084 + status = "disabled";
9087 + usb1: usb@3110000 {
9088 + compatible = "snps,dwc3";
9089 + reg = <0x0 0x3110000 0x0 0x10000>;
9090 + interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
9092 + snps,quirk-frame-length-adjustment = <0x20>;
9093 + snps,dis_rxdet_inp3_quirk;
9094 + snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
9095 + snps,host-vbus-glitches;
9096 + status = "disabled";
9099 + smmu: iommu@5000000 {
9100 + compatible = "arm,mmu-500";
9101 + reg = <0 0x5000000 0 0x800000>;
9102 + #iommu-cells = <1>;
9103 + #global-interrupts = <14>;
9104 + // global secure fault
9105 + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
9106 + // combined secure
9107 + <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
9108 + // global non-secure fault
9109 + <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
9110 + // combined non-secure
9111 + <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
9112 + // performance counter interrupts 0-9
9113 + <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
9114 + <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
9115 + <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
9116 + <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
9117 + <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>,
9118 + <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
9119 + <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
9120 + <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
9121 + <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
9122 + <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
9123 + // per context interrupt, 64 interrupts
9124 + <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
9125 + <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
9126 + <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
9127 + <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
9128 + <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
9129 + <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>,
9130 + <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
9131 + <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
9132 + <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
9133 + <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
9134 + <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>,
9135 + <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
9136 + <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
9137 + <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
9138 + <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
9139 + <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
9140 + <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
9141 + <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
9142 + <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
9143 + <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
9144 + <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>,
9145 + <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
9146 + <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
9147 + <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>,
9148 + <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>,
9149 + <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>,
9150 + <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>,
9151 + <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>,
9152 + <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
9153 + <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>,
9154 + <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>,
9155 + <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
9156 + <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
9157 + <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>,
9158 + <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>,
9159 + <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
9160 + <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
9161 + <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
9162 + <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
9163 + <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
9164 + <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
9165 + <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
9166 + <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
9167 + <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
9168 + <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
9169 + <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
9170 + <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
9171 + <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>,
9172 + <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>,
9173 + <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
9174 + <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
9175 + <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
9176 + <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
9177 + <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
9178 + <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
9179 + <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
9180 + <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
9181 + <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
9182 + <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
9183 + <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
9184 + <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
9185 + <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
9186 + <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
9187 + <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
9191 + fsl_mc: fsl-mc@80c000000 {
9192 + compatible = "fsl,qoriq-mc";
9193 + reg = <0x00000008 0x0c000000 0 0x40>,
9194 + <0x00000000 0x08340000 0 0x40000>;
9195 + msi-parent = <&its>;
9196 + /* iommu-map property is fixed up by u-boot */
9197 + iommu-map = <0 &smmu 0 0>;
9199 + #address-cells = <3>;
9200 + #size-cells = <1>;
9203 + * Region type 0x0 - MC portals
9204 + * Region type 0x1 - QBMAN portals
9206 + ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
9207 + 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
9210 + * Define the maximum number of MACs present on the SoC.
9213 + #address-cells = <1>;
9214 + #size-cells = <0>;
9217 + compatible = "fsl,qoriq-mc-dpmac";
9222 + compatible = "fsl,qoriq-mc-dpmac";
9227 + compatible = "fsl,qoriq-mc-dpmac";
9232 + compatible = "fsl,qoriq-mc-dpmac";
9237 + compatible = "fsl,qoriq-mc-dpmac";
9242 + compatible = "fsl,qoriq-mc-dpmac";
9247 + compatible = "fsl,qoriq-mc-dpmac";
9252 + compatible = "fsl,qoriq-mc-dpmac";
9257 + compatible = "fsl,qoriq-mc-dpmac";
9261 + dpmac10: dpmac@a {
9262 + compatible = "fsl,qoriq-mc-dpmac";
9266 + dpmac11: dpmac@b {
9267 + compatible = "fsl,qoriq-mc-dpmac";
9271 + dpmac12: dpmac@c {
9272 + compatible = "fsl,qoriq-mc-dpmac";
9276 + dpmac13: dpmac@d {
9277 + compatible = "fsl,qoriq-mc-dpmac";
9281 + dpmac14: dpmac@e {
9282 + compatible = "fsl,qoriq-mc-dpmac";
9286 + dpmac15: dpmac@f {
9287 + compatible = "fsl,qoriq-mc-dpmac";
9291 + dpmac16: dpmac@10 {
9292 + compatible = "fsl,qoriq-mc-dpmac";
9296 + dpmac17: dpmac@11 {
9297 + compatible = "fsl,qoriq-mc-dpmac";
9301 + dpmac18: dpmac@12 {
9302 + compatible = "fsl,qoriq-mc-dpmac";
9308 + fspi: flexspi@20c0000 {
9309 + status = "disabled";
9310 + compatible = "nxp,lx2160a-fspi";
9311 + #address-cells = <1>;
9312 + #size-cells = <0>;
9313 + reg = <0x0 0x20c0000 0x0 0x10000>,
9314 + <0x0 0x20000000 0x0 0x10000000>;
9315 + reg-names = "FSPI", "FSPI-memory";
9316 + interrupts = <0 25 0x4>; /* Level high type */
9317 + clocks = <&clockgen 4 3>, <&clockgen 4 3>;
9318 + clock-names = "fspi_en", "fspi";
9321 + sata0: sata@3200000 {
9322 + status = "disabled";
9323 + compatible = "fsl,lx2160a-ahci";
9324 + reg = <0x0 0x3200000 0x0 0x10000>;
9325 + interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
9326 + clocks = <&clockgen 4 3>;
9330 + sata1: sata@3210000 {
9331 + status = "disabled";
9332 + compatible = "fsl,lx2160a-ahci";
9333 + reg = <0x0 0x3210000 0x0 0x10000>;
9334 + interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
9335 + clocks = <&clockgen 4 3>;
9339 + sata2: sata@3220000 {
9340 + status = "disabled";
9341 + compatible = "fsl,lx2160a-ahci";
9342 + reg = <0x0 0x3220000 0x0 0x10000>;
9343 + interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
9344 + clocks = <&clockgen 4 3>;
9348 + sata3: sata@3230000 {
9349 + status = "disabled";
9350 + compatible = "fsl,lx2160a-ahci";
9351 + reg = <0x0 0x3230000 0x0 0x10000>;
9352 + interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
9353 + clocks = <&clockgen 4 3>;
9358 + compatible = "fsl,lx2160a-pcie";
9359 + reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
9360 + 0x80 0x00000000 0x0 0x00001000>; /* configuration space */
9361 + reg-names = "csr_axi_slave", "config_axi_slave";
9362 + interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
9363 + <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
9364 + <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
9365 + interrupt-names = "aer", "pme", "intr";
9366 + #address-cells = <3>;
9367 + #size-cells = <2>;
9368 + device_type = "pci";
9372 + bus-range = <0x0 0xff>;
9373 + ranges = <0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
9374 + msi-parent = <&its>;
9375 + #interrupt-cells = <1>;
9376 + interrupt-map-mask = <0 0 0 7>;
9377 + interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
9378 + <0000 0 0 2 &gic 0 0 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
9379 + <0000 0 0 3 &gic 0 0 GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
9380 + <0000 0 0 4 &gic 0 0 GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
9381 + status = "disabled";
9385 + compatible = "fsl,lx2160a-pcie-ep";
9386 + reg = <0x00 0x03400000 0x0 0x00100000
9387 + 0x80 0x00000000 0x8 0x00000000>;
9388 + reg-names = "regs", "addr_space";
9389 + num-ob-windows = <256>;
9390 + status = "disabled";
9394 + compatible = "fsl,lx2160a-pcie";
9395 + reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
9396 + 0x88 0x00000000 0x0 0x00001000>; /* configuration space */
9397 + reg-names = "csr_axi_slave", "config_axi_slave";
9398 + interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
9399 + <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
9400 + <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
9401 + interrupt-names = "aer", "pme", "intr";
9402 + #address-cells = <3>;
9403 + #size-cells = <2>;
9404 + device_type = "pci";
9408 + bus-range = <0x0 0xff>;
9409 + ranges = <0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
9410 + msi-parent = <&its>;
9411 + #interrupt-cells = <1>;
9412 + interrupt-map-mask = <0 0 0 7>;
9413 + interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
9414 + <0000 0 0 2 &gic 0 0 GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
9415 + <0000 0 0 3 &gic 0 0 GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
9416 + <0000 0 0 4 &gic 0 0 GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
9417 + status = "disabled";
9421 + compatible = "fsl,lx2160a-pcie-ep";
9422 + reg = <0x00 0x03500000 0x0 0x00100000
9423 + 0x88 0x00000000 0x8 0x00000000>;
9424 + reg-names = "regs", "addr_space";
9425 + num-ob-windows = <256>;
9426 + status = "disabled";
9430 + compatible = "fsl,lx2160a-pcie";
9431 + reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
9432 + 0x90 0x00000000 0x0 0x00001000>; /* configuration space */
9433 + reg-names = "csr_axi_slave", "config_axi_slave";
9434 + interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
9435 + <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
9436 + <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
9437 + interrupt-names = "aer", "pme", "intr";
9438 + #address-cells = <3>;
9439 + #size-cells = <2>;
9440 + device_type = "pci";
9444 + bus-range = <0x0 0xff>;
9445 + ranges = <0x82000000 0x0 0x40000000 0x90 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
9446 + msi-parent = <&its>;
9447 + #interrupt-cells = <1>;
9448 + interrupt-map-mask = <0 0 0 7>;
9449 + interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
9450 + <0000 0 0 2 &gic 0 0 GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
9451 + <0000 0 0 3 &gic 0 0 GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
9452 + <0000 0 0 4 &gic 0 0 GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
9453 + status = "disabled";
9457 + compatible = "fsl,lx2160a-pcie-ep";
9458 + reg = <0x00 0x03600000 0x0 0x00100000
9459 + 0x90 0x00000000 0x8 0x00000000>;
9460 + reg-names = "regs", "addr_space";
9461 + num-ob-windows = <256>;
9462 + max-functions = <2>;
9463 + status = "disabled";
9467 + compatible = "fsl,lx2160a-pcie";
9468 + reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */
9469 + 0x98 0x00000000 0x0 0x00001000>; /* configuration space */
9470 + reg-names = "csr_axi_slave", "config_axi_slave";
9471 + interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
9472 + <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
9473 + <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
9474 + interrupt-names = "aer", "pme", "intr";
9475 + #address-cells = <3>;
9476 + #size-cells = <2>;
9477 + device_type = "pci";
9481 + bus-range = <0x0 0xff>;
9482 + ranges = <0x82000000 0x0 0x40000000 0x98 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
9483 + msi-parent = <&its>;
9484 + #interrupt-cells = <1>;
9485 + interrupt-map-mask = <0 0 0 7>;
9486 + interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
9487 + <0000 0 0 2 &gic 0 0 GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
9488 + <0000 0 0 3 &gic 0 0 GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
9489 + <0000 0 0 4 &gic 0 0 GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
9490 + status = "disabled";
9494 + compatible = "fsl,lx2160a-pcie-ep";
9495 + reg = <0x00 0x03700000 0x0 0x00100000
9496 + 0x98 0x00000000 0x8 0x00000000>;
9497 + reg-names = "regs", "addr_space";
9498 + num-ob-windows = <256>;
9499 + status = "disabled";
9503 + compatible = "fsl,lx2160a-pcie";
9504 + reg = <0x00 0x03800000 0x0 0x00100000 /* controller registers */
9505 + 0xa0 0x00000000 0x0 0x00001000>; /* configuration space */
9506 + reg-names = "csr_axi_slave", "config_axi_slave";
9507 + interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
9508 + <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
9509 + <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
9510 + interrupt-names = "aer", "pme", "intr";
9511 + #address-cells = <3>;
9512 + #size-cells = <2>;
9513 + device_type = "pci";
9517 + bus-range = <0x0 0xff>;
9518 + ranges = <0x82000000 0x0 0x40000000 0xa0 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
9519 + msi-parent = <&its>;
9520 + #interrupt-cells = <1>;
9521 + interrupt-map-mask = <0 0 0 7>;
9522 + interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
9523 + <0000 0 0 2 &gic 0 0 GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
9524 + <0000 0 0 3 &gic 0 0 GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
9525 + <0000 0 0 4 &gic 0 0 GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
9526 + status = "disabled";
9530 + compatible = "fsl,lx2160a-pcie-ep";
9531 + reg = <0x00 0x03800000 0x0 0x00100000
9532 + 0xa0 0x00000000 0x8 0x00000000>;
9533 + reg-names = "regs", "addr_space";
9534 + num-ob-windows = <256>;
9535 + max-functions = <2>;
9536 + status = "disabled";
9540 + compatible = "fsl,lx2160a-pcie";
9541 + reg = <0x00 0x03900000 0x0 0x00100000 /* controller registers */
9542 + 0xa8 0x00000000 0x0 0x00001000>; /* configuration space */
9543 + reg-names = "csr_axi_slave", "config_axi_slave";
9544 + interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
9545 + <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
9546 + <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; /* controller interrupt */
9547 + interrupt-names = "aer", "pme", "intr";
9548 + #address-cells = <3>;
9549 + #size-cells = <2>;
9550 + device_type = "pci";
9554 + bus-range = <0x0 0xff>;
9555 + ranges = <0x82000000 0x0 0x40000000 0xa8 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
9556 + msi-parent = <&its>;
9557 + #interrupt-cells = <1>;
9558 + interrupt-map-mask = <0 0 0 7>;
9559 + interrupt-map = <0000 0 0 1 &gic 0 0 GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
9560 + <0000 0 0 2 &gic 0 0 GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
9561 + <0000 0 0 3 &gic 0 0 GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
9562 + <0000 0 0 4 &gic 0 0 GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
9563 + status = "disabled";
9567 + compatible = "fsl,lx2160a-pcie-ep";
9568 + reg = <0x00 0x03900000 0x0 0x00100000
9569 + 0xa8 0x00000000 0x8 0x00000000>;
9570 + reg-names = "regs", "addr_space";
9571 + num-ob-windows = <256>;
9572 + status = "disabled";
9579 + compatible = "linaro,optee-tz";
9585 +++ b/arch/arm64/boot/dts/freescale/fsl-tmu-map1.dtsi
9587 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9589 + * Device Tree Include file for Thermal Monitor Unit.
9591 + * Copyright 2018 NXP
9593 + * Tang Yuantian <andy.tang@nxp.com>
9603 + <&cooling_map1 THERMAL_NO_LIMIT
9604 + THERMAL_NO_LIMIT>;
9614 + <&cooling_map1 THERMAL_NO_LIMIT
9615 + THERMAL_NO_LIMIT>;
9625 + <&cooling_map1 THERMAL_NO_LIMIT
9626 + THERMAL_NO_LIMIT>;
9636 + <&cooling_map1 THERMAL_NO_LIMIT
9637 + THERMAL_NO_LIMIT>;
9647 + <&cooling_map1 THERMAL_NO_LIMIT
9648 + THERMAL_NO_LIMIT>;
9658 + <&cooling_map1 THERMAL_NO_LIMIT
9659 + THERMAL_NO_LIMIT>;
9669 + <&cooling_map1 THERMAL_NO_LIMIT
9670 + THERMAL_NO_LIMIT>;
9680 + <&cooling_map1 THERMAL_NO_LIMIT
9681 + THERMAL_NO_LIMIT>;
9687 +++ b/arch/arm64/boot/dts/freescale/fsl-tmu-map2.dtsi
9689 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9691 + * Device Tree Include file for Thermal Monitor Unit.
9693 + * Copyright 2018 NXP
9695 + * Tang Yuantian <andy.tang@nxp.com>
9705 + <&cooling_map2 THERMAL_NO_LIMIT
9706 + THERMAL_NO_LIMIT>;
9716 + <&cooling_map2 THERMAL_NO_LIMIT
9717 + THERMAL_NO_LIMIT>;
9727 + <&cooling_map2 THERMAL_NO_LIMIT
9728 + THERMAL_NO_LIMIT>;
9738 + <&cooling_map2 THERMAL_NO_LIMIT
9739 + THERMAL_NO_LIMIT>;
9749 + <&cooling_map2 THERMAL_NO_LIMIT
9750 + THERMAL_NO_LIMIT>;
9760 + <&cooling_map2 THERMAL_NO_LIMIT
9761 + THERMAL_NO_LIMIT>;
9771 + <&cooling_map2 THERMAL_NO_LIMIT
9772 + THERMAL_NO_LIMIT>;
9782 + <&cooling_map2 THERMAL_NO_LIMIT
9783 + THERMAL_NO_LIMIT>;
9789 +++ b/arch/arm64/boot/dts/freescale/fsl-tmu-map3.dtsi
9791 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9793 + * Device Tree Include file for Thermal Monitor Unit.
9795 + * Copyright 2018 NXP
9797 + * Tang Yuantian <andy.tang@nxp.com>
9807 + <&cooling_map3 THERMAL_NO_LIMIT
9808 + THERMAL_NO_LIMIT>;
9818 + <&cooling_map3 THERMAL_NO_LIMIT
9819 + THERMAL_NO_LIMIT>;
9829 + <&cooling_map3 THERMAL_NO_LIMIT
9830 + THERMAL_NO_LIMIT>;
9840 + <&cooling_map3 THERMAL_NO_LIMIT
9841 + THERMAL_NO_LIMIT>;
9851 + <&cooling_map3 THERMAL_NO_LIMIT
9852 + THERMAL_NO_LIMIT>;
9862 + <&cooling_map3 THERMAL_NO_LIMIT
9863 + THERMAL_NO_LIMIT>;
9873 + <&cooling_map3 THERMAL_NO_LIMIT
9874 + THERMAL_NO_LIMIT>;
9884 + <&cooling_map3 THERMAL_NO_LIMIT
9885 + THERMAL_NO_LIMIT>;
9891 +++ b/arch/arm64/boot/dts/freescale/fsl-tmu.dtsi
9893 +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9895 + * Device Tree Include file for Thermal Monitor Unit.
9897 + * Copyright 2018 NXP
9899 + * Tang Yuantian <andy.tang@nxp.com>
9903 +thermal_zones: thermal-zones {
9904 + thermal_zone0: thermal-zone0 {
9905 + polling-delay-passive = <1000>;
9906 + polling-delay = <5000>;
9907 + thermal-sensors = <&tmu 0>;
9908 + status = "disabled";
9912 + temperature = <75000>;
9913 + hysteresis = <2000>;
9918 + temperature = <85000>;
9919 + hysteresis = <2000>;
9920 + type = "critical";
9928 + <&cooling_map0 THERMAL_NO_LIMIT
9929 + THERMAL_NO_LIMIT>;
9935 + polling-delay-passive = <1000>;
9936 + polling-delay = <5000>;
9937 + thermal-sensors = <&tmu 1>;
9938 + status = "disabled";
9942 + temperature = <75000>;
9943 + hysteresis = <2000>;
9948 + temperature = <85000>;
9949 + hysteresis = <2000>;
9950 + type = "critical";
9958 + <&cooling_map0 THERMAL_NO_LIMIT
9959 + THERMAL_NO_LIMIT>;
9965 + polling-delay-passive = <1000>;
9966 + polling-delay = <5000>;
9967 + thermal-sensors = <&tmu 2>;
9968 + status = "disabled";
9972 + temperature = <75000>;
9973 + hysteresis = <2000>;
9978 + temperature = <85000>;
9979 + hysteresis = <2000>;
9980 + type = "critical";
9988 + <&cooling_map0 THERMAL_NO_LIMIT
9989 + THERMAL_NO_LIMIT>;
9995 + polling-delay-passive = <1000>;
9996 + polling-delay = <5000>;
9997 + thermal-sensors = <&tmu 3>;
9998 + status = "disabled";
10002 + temperature = <75000>;
10003 + hysteresis = <2000>;
10004 + type = "passive";
10008 + temperature = <85000>;
10009 + hysteresis = <2000>;
10010 + type = "critical";
10016 + trip = <&alert3>;
10018 + <&cooling_map0 THERMAL_NO_LIMIT
10019 + THERMAL_NO_LIMIT>;
10025 + polling-delay-passive = <1000>;
10026 + polling-delay = <5000>;
10027 + thermal-sensors = <&tmu 4>;
10028 + status = "disabled";
10032 + temperature = <75000>;
10033 + hysteresis = <2000>;
10034 + type = "passive";
10038 + temperature = <85000>;
10039 + hysteresis = <2000>;
10040 + type = "critical";
10046 + trip = <&alert4>;
10048 + <&cooling_map0 THERMAL_NO_LIMIT
10049 + THERMAL_NO_LIMIT>;
10055 + polling-delay-passive = <1000>;
10056 + polling-delay = <5000>;
10057 + thermal-sensors = <&tmu 5>;
10058 + status = "disabled";
10062 + temperature = <75000>;
10063 + hysteresis = <2000>;
10064 + type = "passive";
10068 + temperature = <85000>;
10069 + hysteresis = <2000>;
10070 + type = "critical";
10076 + trip = <&alert5>;
10078 + <&cooling_map0 THERMAL_NO_LIMIT
10079 + THERMAL_NO_LIMIT>;
10085 + polling-delay-passive = <1000>;
10086 + polling-delay = <5000>;
10087 + thermal-sensors = <&tmu 6>;
10088 + status = "disabled";
10092 + temperature = <75000>;
10093 + hysteresis = <2000>;
10094 + type = "passive";
10098 + temperature = <85000>;
10099 + hysteresis = <2000>;
10100 + type = "critical";
10106 + trip = <&alert6>;
10108 + <&cooling_map0 THERMAL_NO_LIMIT
10109 + THERMAL_NO_LIMIT>;
10115 + polling-delay-passive = <1000>;
10116 + polling-delay = <5000>;
10117 + thermal-sensors = <&tmu 7>;
10118 + status = "disabled";
10122 + temperature = <75000>;
10123 + hysteresis = <2000>;
10124 + type = "passive";
10128 + temperature = <85000>;
10129 + hysteresis = <2000>;
10130 + type = "critical";
10136 + trip = <&alert7>;
10138 + <&cooling_map0 THERMAL_NO_LIMIT
10139 + THERMAL_NO_LIMIT>;
10145 +++ b/arch/arm64/boot/dts/freescale/qoriq-bman-portals-sdk.dtsi
10148 + * QorIQ BMan SDK Portals device tree nodes
10150 + * Copyright 2011-2016 Freescale Semiconductor Inc.
10151 + * Copyright 2017 NXP
10153 + * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10158 + cell-index = <0>;
10161 + bman-portal@10000 {
10162 + cell-index = <1>;
10165 + bman-portal@20000 {
10166 + cell-index = <2>;
10169 + bman-portal@30000 {
10170 + cell-index = <3>;
10173 + bman-portal@40000 {
10174 + cell-index = <4>;
10177 + bman-portal@50000 {
10178 + cell-index = <5>;
10181 + bman-portal@60000 {
10182 + cell-index = <6>;
10185 + bman-portal@70000 {
10186 + cell-index = <7>;
10189 + bman-portal@80000 {
10190 + cell-index = <8>;
10193 + bman-portal@90000 {
10194 + cell-index = <9>;
10198 + compatible = "fsl,bpid-range";
10199 + fsl,bpid-range = <32 32>;
10202 --- a/arch/arm64/boot/dts/freescale/qoriq-bman-portals.dtsi
10203 +++ b/arch/arm64/boot/dts/freescale/qoriq-bman-portals.dtsi
10205 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10207 * QorIQ BMan Portals device tree
10209 * Copyright 2011-2016 Freescale Semiconductor Inc.
10211 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10216 reg = <0x80000 0x4000>, <0x4080000 0x4000>;
10217 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
10220 + bman-portal@90000 {
10221 + compatible = "fsl,bman-portal";
10222 + reg = <0x90000 0x4000>, <0x4090000 0x4000>;
10223 + interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
10227 +++ b/arch/arm64/boot/dts/freescale/qoriq-dpaa-eth.dtsi
10230 + * QorIQ FMan v3 10g port #1 device tree stub [ controller @ offset 0x400000 ]
10232 + * Copyright 2012 - 2015 Freescale Semiconductor Inc.
10234 + * Redistribution and use in source and binary forms, with or without
10235 + * modification, are permitted provided that the following conditions are met:
10236 + * * Redistributions of source code must retain the above copyright
10237 + * notice, this list of conditions and the following disclaimer.
10238 + * * Redistributions in binary form must reproduce the above copyright
10239 + * notice, this list of conditions and the following disclaimer in the
10240 + * documentation and/or other materials provided with the distribution.
10241 + * * Neither the name of Freescale Semiconductor nor the
10242 + * names of its contributors may be used to endorse or promote products
10243 + * derived from this software without specific prior written permission.
10246 + * ALTERNATIVELY, this software may be distributed under the terms of the
10247 + * GNU General Public License ("GPL") as published by the Free Software
10248 + * Foundation, either version 2 of that License or (at your option) any
10251 + * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
10252 + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
10253 + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
10254 + * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
10255 + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
10256 + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
10257 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
10258 + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
10259 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
10260 + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10263 +fsldpaa: fsl,dpaa {
10264 + compatible = "fsl,ls1043a-dpaa", "simple-bus", "fsl,dpaa";
10266 + compatible = "fsl,dpa-ethernet";
10267 + fsl,fman-mac = <&enet0>;
10271 + compatible = "fsl,dpa-ethernet";
10272 + fsl,fman-mac = <&enet1>;
10276 + compatible = "fsl,dpa-ethernet";
10277 + fsl,fman-mac = <&enet2>;
10281 + compatible = "fsl,dpa-ethernet";
10282 + fsl,fman-mac = <&enet3>;
10286 + compatible = "fsl,dpa-ethernet";
10287 + fsl,fman-mac = <&enet4>;
10291 + compatible = "fsl,dpa-ethernet";
10292 + fsl,fman-mac = <&enet5>;
10296 + compatible = "fsl,dpa-ethernet";
10297 + fsl,fman-mac = <&enet6>;
10301 + compatible = "fsl,im-ethernet";
10302 + fsl,fman-mac = <&enet2>;
10304 + fpmevt-sel = <0>;
10307 + compatible = "fsl,im-ethernet";
10308 + fsl,fman-mac = <&enet3>;
10310 + fpmevt-sel = <1>;
10313 + compatible = "fsl,im-ethernet";
10314 + fsl,fman-mac = <&enet4>;
10316 + fpmevt-sel = <2>;
10319 + compatible = "fsl,im-ethernet";
10320 + fsl,fman-mac = <&enet5>;
10322 + fpmevt-sel = <3>;
10326 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi
10327 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi
10329 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10331 * QorIQ FMan v3 10g port #0 device tree
10333 * Copyright 2012-2015 Freescale Semiconductor Inc.
10335 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10339 fman0_rx_0x10: port@90000 {
10340 cell-index = <0x10>;
10341 - compatible = "fsl,fman-v3-port-rx";
10342 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-10g-rx";
10343 reg = <0x90000 0x1000>;
10347 fman0_tx_0x30: port@b0000 {
10348 cell-index = <0x30>;
10349 - compatible = "fsl,fman-v3-port-tx";
10350 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-10g-tx";
10351 reg = <0xb0000 0x1000>;
10353 + fsl,qman-channel-id = <0x800>;
10357 + mac9: ethernet@f0000 {
10358 cell-index = <0x8>;
10359 compatible = "fsl,fman-memac";
10360 reg = <0xf0000 0x1000>;
10361 @@ -29,7 +30,7 @@ fman@1a00000 {
10362 pcsphy-handle = <&pcsphy6>;
10366 + mdio9: mdio@f1000 {
10367 #address-cells = <1>;
10369 compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
10370 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi
10371 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-10g-1.dtsi
10373 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10375 * QorIQ FMan v3 10g port #1 device tree
10377 * Copyright 2012-2015 Freescale Semiconductor Inc.
10379 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10383 fman0_rx_0x11: port@91000 {
10384 cell-index = <0x11>;
10385 - compatible = "fsl,fman-v3-port-rx";
10386 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-10g-rx";
10387 reg = <0x91000 0x1000>;
10391 fman0_tx_0x31: port@b1000 {
10392 cell-index = <0x31>;
10393 - compatible = "fsl,fman-v3-port-tx";
10394 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-10g-tx";
10395 reg = <0xb1000 0x1000>;
10397 + fsl,qman-channel-id = <0x801>;
10401 + mac10: ethernet@f2000 {
10402 cell-index = <0x9>;
10403 compatible = "fsl,fman-memac";
10404 reg = <0xf2000 0x1000>;
10405 @@ -29,7 +30,7 @@ fman@1a00000 {
10406 pcsphy-handle = <&pcsphy7>;
10410 + mdio10: mdio@f3000 {
10411 #address-cells = <1>;
10413 compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
10414 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi
10415 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-0.dtsi
10417 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10419 * QorIQ FMan v3 1g port #0 device tree
10421 * Copyright 2012-2015 Freescale Semiconductor Inc.
10423 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10427 fman0_rx_0x08: port@88000 {
10428 cell-index = <0x8>;
10429 - compatible = "fsl,fman-v3-port-rx";
10430 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
10431 reg = <0x88000 0x1000>;
10434 fman0_tx_0x28: port@a8000 {
10435 cell-index = <0x28>;
10436 - compatible = "fsl,fman-v3-port-tx";
10437 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
10438 reg = <0xa8000 0x1000>;
10439 + fsl,qman-channel-id = <0x802>;
10443 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi
10444 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-1.dtsi
10446 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10448 * QorIQ FMan v3 1g port #1 device tree
10450 * Copyright 2012-2015 Freescale Semiconductor Inc.
10452 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10456 fman0_rx_0x09: port@89000 {
10457 cell-index = <0x9>;
10458 - compatible = "fsl,fman-v3-port-rx";
10459 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
10460 reg = <0x89000 0x1000>;
10463 fman0_tx_0x29: port@a9000 {
10464 cell-index = <0x29>;
10465 - compatible = "fsl,fman-v3-port-tx";
10466 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
10467 reg = <0xa9000 0x1000>;
10468 + fsl,qman-channel-id = <0x803>;
10472 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi
10473 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-2.dtsi
10475 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10477 * QorIQ FMan v3 1g port #2 device tree
10479 * Copyright 2012-2015 Freescale Semiconductor Inc.
10481 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10485 fman0_rx_0x0a: port@8a000 {
10486 cell-index = <0xa>;
10487 - compatible = "fsl,fman-v3-port-rx";
10488 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
10489 reg = <0x8a000 0x1000>;
10492 fman0_tx_0x2a: port@aa000 {
10493 cell-index = <0x2a>;
10494 - compatible = "fsl,fman-v3-port-tx";
10495 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
10496 reg = <0xaa000 0x1000>;
10497 + fsl,qman-channel-id = <0x804>;
10501 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi
10502 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-3.dtsi
10504 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10506 * QorIQ FMan v3 1g port #3 device tree
10508 * Copyright 2012-2015 Freescale Semiconductor Inc.
10510 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10514 fman0_rx_0x0b: port@8b000 {
10515 cell-index = <0xb>;
10516 - compatible = "fsl,fman-v3-port-rx";
10517 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
10518 reg = <0x8b000 0x1000>;
10521 fman0_tx_0x2b: port@ab000 {
10522 cell-index = <0x2b>;
10523 - compatible = "fsl,fman-v3-port-tx";
10524 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
10525 reg = <0xab000 0x1000>;
10526 + fsl,qman-channel-id = <0x805>;
10530 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi
10531 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-4.dtsi
10533 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10535 * QorIQ FMan v3 1g port #4 device tree
10537 * Copyright 2012-2015 Freescale Semiconductor Inc.
10539 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10543 fman0_rx_0x0c: port@8c000 {
10544 cell-index = <0xc>;
10545 - compatible = "fsl,fman-v3-port-rx";
10546 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
10547 reg = <0x8c000 0x1000>;
10550 fman0_tx_0x2c: port@ac000 {
10551 cell-index = <0x2c>;
10552 - compatible = "fsl,fman-v3-port-tx";
10553 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
10554 reg = <0xac000 0x1000>;
10555 + fsl,qman-channel-id = <0x806>;
10559 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi
10560 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-1g-5.dtsi
10562 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10564 * QorIQ FMan v3 1g port #5 device tree
10566 * Copyright 2012-2015 Freescale Semiconductor Inc.
10568 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10572 fman0_rx_0x0d: port@8d000 {
10573 cell-index = <0xd>;
10574 - compatible = "fsl,fman-v3-port-rx";
10575 + compatible = "fsl,fman-v3-port-rx", "fsl,fman-port-1g-rx";
10576 reg = <0x8d000 0x1000>;
10579 fman0_tx_0x2d: port@ad000 {
10580 cell-index = <0x2d>;
10581 - compatible = "fsl,fman-v3-port-tx";
10582 + compatible = "fsl,fman-v3-port-tx", "fsl,fman-port-1g-tx";
10583 reg = <0xad000 0x1000>;
10584 + fsl,qman-channel-id = <0x807>;
10589 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0-6oh.dtsi
10592 + * QorIQ FMan v3 OH ports device tree
10594 + * Copyright 2012-2015 Freescale Semiconductor Inc.
10596 + * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10601 + fman0_oh1: port@82000 {
10602 + cell-index = <0>;
10603 + compatible = "fsl,fman-port-oh";
10604 + reg = <0x82000 0x1000>;
10607 + fman0_oh2: port@83000 {
10608 + cell-index = <1>;
10609 + compatible = "fsl,fman-port-oh";
10610 + reg = <0x83000 0x1000>;
10613 + fman0_oh3: port@84000 {
10614 + cell-index = <2>;
10615 + compatible = "fsl,fman-port-oh";
10616 + reg = <0x84000 0x1000>;
10619 + fman0_oh4: port@85000 {
10620 + cell-index = <3>;
10621 + compatible = "fsl,fman-port-oh";
10622 + reg = <0x85000 0x1000>;
10625 + fman0_oh5: port@86000 {
10626 + cell-index = <4>;
10627 + compatible = "fsl,fman-port-oh";
10628 + reg = <0x86000 0x1000>;
10631 + fman0_oh6: port@87000 {
10632 + cell-index = <5>;
10633 + compatible = "fsl,fman-port-oh";
10634 + reg = <0x87000 0x1000>;
10638 --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
10639 +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
10641 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10643 * QorIQ FMan v3 device tree
10645 * Copyright 2012-2015 Freescale Semiconductor Inc.
10647 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10650 fman0: fman@1a00000 {
10651 @@ -11,53 +11,104 @@ fman0: fman@1a00000 {
10654 compatible = "fsl,fman";
10655 - ranges = <0x0 0x0 0x1a00000 0x100000>;
10656 - reg = <0x0 0x1a00000 0x0 0x100000>;
10657 + ranges = <0x0 0x0 0x1a00000 0xfe000>;
10658 + reg = <0x0 0x1a00000 0x0 0xfe000>;
10659 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
10660 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
10661 clocks = <&clockgen 3 0>;
10662 clock-names = "fmanclk";
10663 fsl,qman-channel-range = <0x800 0x10>;
10664 + ptimer-handle = <&ptp_timer0>;
10667 + compatible = "fsl,fman-cc";
10671 compatible = "fsl,fman-muram";
10672 reg = <0x0 0x60000>;
10676 + compatible = "fsl,fman-bmi";
10677 + reg = <0x80000 0x400>;
10681 + compatible = "fsl,fman-qmi";
10682 + reg = <0x80400 0x400>;
10685 fman0_oh_0x2: port@82000 {
10686 cell-index = <0x2>;
10687 compatible = "fsl,fman-v3-port-oh";
10688 reg = <0x82000 0x1000>;
10689 + fsl,qman-channel-id = <0x809>;
10692 fman0_oh_0x3: port@83000 {
10693 cell-index = <0x3>;
10694 compatible = "fsl,fman-v3-port-oh";
10695 reg = <0x83000 0x1000>;
10696 + fsl,qman-channel-id = <0x80a>;
10699 fman0_oh_0x4: port@84000 {
10700 cell-index = <0x4>;
10701 compatible = "fsl,fman-v3-port-oh";
10702 reg = <0x84000 0x1000>;
10703 + fsl,qman-channel-id = <0x80b>;
10706 fman0_oh_0x5: port@85000 {
10707 cell-index = <0x5>;
10708 compatible = "fsl,fman-v3-port-oh";
10709 reg = <0x85000 0x1000>;
10710 + fsl,qman-channel-id = <0x80c>;
10713 fman0_oh_0x6: port@86000 {
10714 cell-index = <0x6>;
10715 compatible = "fsl,fman-v3-port-oh";
10716 reg = <0x86000 0x1000>;
10717 + fsl,qman-channel-id = <0x80d>;
10720 fman0_oh_0x7: port@87000 {
10721 cell-index = <0x7>;
10722 compatible = "fsl,fman-v3-port-oh";
10723 reg = <0x87000 0x1000>;
10724 + fsl,qman-channel-id = <0x80e>;
10728 + compatible = "fsl,fman-policer";
10729 + reg = <0xc0000 0x1000>;
10733 + compatible = "fsl,fman-keygen";
10734 + reg = <0xc1000 0x1000>;
10738 + compatible = "fsl,fman-dma";
10739 + reg = <0xc2000 0x1000>;
10743 + compatible = "fsl,fman-fpm";
10744 + reg = <0xc3000 0x1000>;
10748 + compatible = "fsl,fman-parser";
10749 + reg = <0xc7000 0x1000>;
10753 + compatible = "fsl,fman-vsps";
10754 + reg = <0xdc000 0x1000>;
10757 mdio0: mdio@fc000 {
10758 @@ -73,9 +124,11 @@ fman0: fman@1a00000 {
10759 compatible = "fsl,fman-memac-mdio", "fsl,fman-xmdio";
10760 reg = <0xfd000 0x1000>;
10764 - ptp_timer0: ptp-timer@fe000 {
10765 - compatible = "fsl,fman-ptp-timer";
10766 - reg = <0xfe000 0x1000>;
10768 +ptp_timer0: ptp-timer@1afe000 {
10769 + compatible = "fsl,fman-ptp-timer";
10770 + reg = <0x0 0x1afe000 0x0 0x1000>;
10771 + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
10772 + clocks = <&clockgen 3 0>;
10775 +++ b/arch/arm64/boot/dts/freescale/qoriq-qman-portals-sdk.dtsi
10778 + * QorIQ QMan SDK Portals device tree nodes
10780 + * Copyright 2011-2016 Freescale Semiconductor Inc.
10781 + * Copyright 2017 NXP
10783 + * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10788 + compatible = "fsl,fqid-range";
10789 + fsl,fqid-range = <256 256>;
10793 + compatible = "fsl,fqid-range";
10794 + fsl,fqid-range = <32768 32768>;
10798 + compatible = "fsl,pool-channel-range";
10799 + fsl,pool-channel-range = <0x401 0xf>;
10803 + compatible = "fsl,cgrid-range";
10804 + fsl,cgrid-range = <0 256>;
10808 + compatible = "fsl,qman-ceetm";
10809 + fsl,ceetm-lfqid-range = <0xf00000 0x1000>;
10810 + fsl,ceetm-sp-range = <0 16>;
10811 + fsl,ceetm-lni-range = <0 8>;
10812 + fsl,ceetm-channel-range = <0 32>;
10815 --- a/arch/arm64/boot/dts/freescale/qoriq-qman-portals.dtsi
10816 +++ b/arch/arm64/boot/dts/freescale/qoriq-qman-portals.dtsi
10818 +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10820 * QorIQ QMan Portals device tree
10822 * Copyright 2011-2016 Freescale Semiconductor Inc.
10824 - * SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
10829 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
10833 + qportal9: qman-portal@90000 {
10834 + compatible = "fsl,qman-portal";
10835 + reg = <0x90000 0x4000>, <0x4090000 0x4000>;
10836 + interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
10837 + cell-index = <9>;
10840 --- a/arch/arm64/boot/dts/freescale/traverse-ls1043s.dts
10841 +++ b/arch/arm64/boot/dts/freescale/traverse-ls1043s.dts
10842 @@ -330,3 +330,32 @@
10844 status = "disabled";
10847 +/* Additions for Layerscape SDK (4.4/4.9) Kernel only
10848 + * These kernels need additional setup for FMan/QMan DMA shared memory
10851 +#include "qoriq-qman-portals-sdk.dtsi"
10852 +#include "qoriq-bman-portals-sdk.dtsi"
10855 + compatible = "fsl,bman-fbpr";
10856 + alloc-ranges = <0 0 0x10000 0>;
10859 + compatible = "fsl,qman-fqd";
10860 + alloc-ranges = <0 0 0x10000 0>;
10863 + compatible = "fsl,qman-pfdr";
10864 + alloc-ranges = <0 0 0x10000 0>;
10868 +#include "qoriq-dpaa-eth.dtsi"
10869 +#include "qoriq-fman3-0-6oh.dtsi"
10873 + compatible = "fsl,fman", "simple-bus";
10875 --- a/arch/arm64/boot/dts/freescale/traverse-ls1043v.dts
10876 +++ b/arch/arm64/boot/dts/freescale/traverse-ls1043v.dts
10877 @@ -251,3 +251,32 @@
10879 status = "disabled";
10882 +/* Additions for Layerscape SDK (4.4/4.9) Kernel only
10883 + * These kernels need additional setup for FMan/QMan DMA shared memory
10886 +#include "qoriq-qman-portals-sdk.dtsi"
10887 +#include "qoriq-bman-portals-sdk.dtsi"
10890 + compatible = "fsl,bman-fbpr";
10891 + alloc-ranges = <0 0 0x10000 0>;
10894 + compatible = "fsl,qman-fqd";
10895 + alloc-ranges = <0 0 0x10000 0>;
10898 + compatible = "fsl,qman-pfdr";
10899 + alloc-ranges = <0 0 0x10000 0>;
10903 +#include "qoriq-dpaa-eth.dtsi"
10904 +#include "qoriq-fman3-0-6oh.dtsi"
10908 + compatible = "fsl,fman", "simple-bus";