1 From 794b9e55c77bf0ef34dfdb3b151a845c004b3ce3 Mon Sep 17 00:00:00 2001
2 From: Li Yang <leoyang.li@nxp.com>
3 Date: Thu, 2 May 2019 16:01:01 -0500
4 Subject: [PATCH] arm64: dts: ls1043a: accumulated change for ls1043a boards
6 commit 118e2f48ee8da3f5547c24888bd6fdb78f03b7ce
7 Author: Peng Ma <peng.ma@nxp.com>
8 Date: Wed Jul 25 08:53:07 2018 +0000
10 dts: fsl-ls1021a, fsl-ls1043a, fsl-ls1046a: add multi block node
13 add block-offset to support different virtual block offset for qdma
15 the interrupt named "qdma-queueN(N:0,1,2,3)" correspond to a virtual
16 block,N based on block number of qdma;
18 Signed-off-by: Peng Ma <peng.ma@nxp.com>
20 Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
21 Date: Mon Apr 2 16:22:40 2018 +0800
23 arm64: dts: ls1043a: add dts entry for A-010650
25 Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
27 commit a47e4bd0b5d076feb6d81601c16d5b79e53a92c8
28 Author: Rajesh Bhagat <rajesh.bhagat@freescale.com>
29 Date: Wed Jan 27 11:37:25 2016 +0530
31 arm64: dts: ls1043a: Add configure-gfladj property to USB3 node
33 Add "configure-gfladj" boolean property to USB3 node. This property
34 is used to determine whether frame length adjustent is required
37 Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
38 Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
40 commit 38566bbd5ca6747b30d2f0c251bbcfe0723df8c6
41 Author: Changming Huang <jerry.huang@nxp.com>
42 Date: Wed Apr 19 12:49:50 2017 +0800
44 arm/arm64: dts: Add property snps incr burst type adjustment for
45 INCR burst type for dwc3
47 Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com>
48 Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
50 commit 8632d84e0fe187aa023a24f0dad0040c53e12450
51 Author: Abhimanyu Saini <abhimanyu.saini@nxp.com>
52 Date: Thu Jan 25 11:31:13 2018 +0530
54 arm64: dts: freescale: ls1043a: Modify DT nodes for qspi
56 Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
58 commit b1dc1ebed79e9aaab75fd06837d794ec2f1b624d
59 Author: Ran Wang <ran.wang_1@nxp.com>
60 Date: Fri Jan 5 15:14:48 2018 +0800
62 arm64: dts: ls1043a: Enable usb3-lpm-capable for usb3 node
64 Enable USB3 HW LPM feature for ls1043a and active patch for
65 snps erratum A-010131. It will disable U1/U2 temperary when
68 Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
70 commit 9b17a5fcf8da5656ff99ebef3d63ba040e9f676d
71 Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
72 Date: Tue Jun 13 13:14:26 2017 +0800
74 arm64: dts: correct the register range of dcfg
76 Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
78 commit f60e39fd51ad702e3a2613faaca40871a4763735
79 Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
80 Date: Tue Aug 22 18:04:02 2017 +0800
82 arm64: dts: ls1043a: add pcf85263 rtc nodes
84 Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
86 commit 67c82e3c7b376139d7cee624589bedbc311f8868
87 Author: jiaheng.fan <jiaheng.fan@nxp.com>
88 Date: Thu May 11 17:36:33 2017 +0800
90 arm64: dts: ls1021/ls1043/ls1046: add qdma nodes
91 Signed-off-by: jiaheng.fan <jiaheng.fan@nxp.com>
93 commit c6d9c2498ee83669f9853100301edff9a5905caf
94 Author: Wang Dongsheng <dongsheng.wang@nxp.com>
95 Date: Fri Apr 21 13:26:07 2017 +0800
97 arm64: dts: ls1043a: add ftm0 nodes
99 Add rcpm and ftm0 nodes. The Power Management related features
102 Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
104 commit 3bcdc4de0a1c9e6f4a4ddc916e8efe8044d8bbfd
105 Author: Po Liu <po.liu@nxp.com>
106 Date: Fri Sep 30 17:11:36 2016 +0800
108 arm64: dts: ls1043/ls2080: add pcie aer/pme interrupt-name property
110 Some platforms(NXP Layerscape for example) aer/pme interrupts was
112 MSI/MSI-X/INTx but using interrupt line independently. This patch
113 add "aer", "pme" interrupt-names for aer/pme interrupt.
115 With the interrupt-names "aer", "pme" code could probe aer/pme
117 line for pcie root port, replace the aer/pme interrupt service irqs.
119 This is intend to fixup the Layerscape platforms which aer/pmes
121 was not MSI/MSI-X/INTx, but using interrupt line independently.
123 Since the interrupt-names "intr" never been used. Remove it.
125 Signed-off-by: Po Liu <po.liu@nxp.com>
126 Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
128 commit 4d20ecf029f1255520b30c103e1724c618b981c7
129 Author: Zhao Qiang <qiang.zhao@nxp.com>
130 Date: Sun Jun 12 15:51:44 2016 +0800
132 arm64: dts: ls1043ardb: add ds26522 node
134 add ds26522 node to fsl-ls1043a-rdb.dts
136 Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
138 commit ca470562646ab058814fc4a1195016fb3266cdf5
139 Author: Zhao Qiang <qiang.zhao@nxp.com>
140 Date: Sun Jun 12 15:44:11 2016 +0800
142 arm64: dts: ls1043ardb: add qe node
144 Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
146 arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 162 ++++++++++++++++++++++
147 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 36 +++++
148 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 108 +++++++++++++--
149 3 files changed, 295 insertions(+), 11 deletions(-)
151 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
152 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
157 + sgmii_riser_s1_p1 = &sgmii_phy_s1_p1;
158 + sgmii_riser_s2_p1 = &sgmii_phy_s2_p1;
159 + sgmii_riser_s3_p1 = &sgmii_phy_s3_p1;
160 + sgmii_riser_s4_p1 = &sgmii_phy_s4_p1;
161 + qsgmii_s1_p1 = &qsgmii_phy_s1_p1;
162 + qsgmii_s1_p2 = &qsgmii_phy_s1_p2;
163 + qsgmii_s1_p3 = &qsgmii_phy_s1_p3;
164 + qsgmii_s1_p4 = &qsgmii_phy_s1_p4;
165 + qsgmii_s2_p1 = &qsgmii_phy_s2_p1;
166 + qsgmii_s2_p2 = &qsgmii_phy_s2_p2;
167 + qsgmii_s2_p3 = &qsgmii_phy_s2_p3;
168 + qsgmii_s2_p4 = &qsgmii_phy_s2_p4;
169 + emi1_slot1 = &ls1043mdio_s1;
170 + emi1_slot2 = &ls1043mdio_s2;
171 + emi1_slot3 = &ls1043mdio_s3;
172 + emi1_slot4 = &ls1043mdio_s4;
177 fpga: board-control@2,0 {
178 compatible = "fsl,ls1043aqds-fpga", "fsl,fpga-qixis";
179 reg = <0x2 0x0 0x0000100>;
180 + #address-cells = <1>;
185 @@ -149,3 +167,147 @@
188 #include "fsl-ls1043-post.dtsi"
192 + phy-handle = <&qsgmii_phy_s2_p1>;
193 + phy-connection-type = "sgmii";
197 + phy-handle = <&qsgmii_phy_s2_p2>;
198 + phy-connection-type = "sgmii";
202 + phy-handle = <&rgmii_phy1>;
203 + phy-connection-type = "rgmii";
207 + phy-handle = <&rgmii_phy2>;
208 + phy-connection-type = "rgmii";
212 + phy-handle = <&qsgmii_phy_s2_p3>;
213 + phy-connection-type = "sgmii";
217 + phy-handle = <&qsgmii_phy_s2_p4>;
218 + phy-connection-type = "sgmii";
221 + ethernet@f0000 { /* DTSEC9/10GEC1 */
222 + fixed-link = <1 1 10000 0 0>;
223 + phy-connection-type = "xgmii";
229 + compatible = "mdio-mux-mmioreg", "mdio-mux";
230 + mdio-parent-bus = <&mdio0>;
231 + #address-cells = <1>;
233 + reg = <0x54 1>; /* BRDCFG4 */
234 + mux-mask = <0xe0>; /* EMI1 */
236 + /* On-board RGMII1 PHY */
237 + ls1043mdio0: mdio@0 {
239 + #address-cells = <1>;
242 + rgmii_phy1: ethernet-phy@1 { /* MAC3 */
247 + /* On-board RGMII2 PHY */
248 + ls1043mdio1: mdio@1 {
250 + #address-cells = <1>;
253 + rgmii_phy2: ethernet-phy@2 { /* MAC4 */
259 + ls1043mdio_s1: mdio@2 {
261 + #address-cells = <1>;
263 + status = "disabled";
265 + qsgmii_phy_s1_p1: ethernet-phy@4 {
268 + qsgmii_phy_s1_p2: ethernet-phy@5 {
271 + qsgmii_phy_s1_p3: ethernet-phy@6 {
274 + qsgmii_phy_s1_p4: ethernet-phy@7 {
278 + sgmii_phy_s1_p1: ethernet-phy@1c {
284 + ls1043mdio_s2: mdio@3 {
286 + #address-cells = <1>;
288 + status = "disabled";
290 + qsgmii_phy_s2_p1: ethernet-phy@8 {
293 + qsgmii_phy_s2_p2: ethernet-phy@9 {
296 + qsgmii_phy_s2_p3: ethernet-phy@a {
299 + qsgmii_phy_s2_p4: ethernet-phy@b {
303 + sgmii_phy_s2_p1: ethernet-phy@1c {
309 + ls1043mdio_s3: mdio@4 {
311 + #address-cells = <1>;
313 + status = "disabled";
315 + sgmii_phy_s3_p1: ethernet-phy@1c {
321 + ls1043mdio_s4: mdio@5 {
323 + #address-cells = <1>;
325 + status = "disabled";
327 + sgmii_phy_s4_p1: ethernet-phy@1c {
333 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
334 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
336 compatible = "pericom,pt7c4338";
340 + compatible = "nxp,pcf85263";
348 spi-max-frequency = <1000000>; /* input clock */
352 + compatible = "maxim,ds26522";
354 + spi-max-frequency = <2000000>;
355 + fsl,spi-cs-sck-delay = <100>;
356 + fsl,spi-sck-cs-delay = <50>;
360 + compatible = "maxim,ds26522";
362 + spi-max-frequency = <2000000>;
363 + fsl,spi-cs-sck-delay = <100>;
364 + fsl,spi-sck-cs-delay = <50>;
369 + ucc_hdlc: ucc@2000 {
370 + compatible = "fsl,ucc-hdlc";
371 + rx-clock-name = "clk8";
372 + tx-clock-name = "clk9";
373 + fsl,rx-sync-clock = "rsync_pin";
374 + fsl,tx-sync-clock = "tsync_pin";
375 + fsl,tx-timeslot-mask = <0xfffffffe>;
376 + fsl,rx-timeslot-mask = <0xfffffffe>;
377 + fsl,tdm-framer-type = "e1";
379 + fsl,siram-entry-id = <0>;
385 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
386 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
390 compatible = "fsl,ls1043a-dcfg", "syscon";
391 - reg = <0x0 0x1ee0000 0x0 0x10000>;
392 + reg = <0x0 0x1ee0000 0x0 0x1000>;
400 - compatible = "fsl,vf610-i2c";
401 + compatible = "fsl,vf610-i2c", "fsl,ls1043a-vf610-i2c";
402 #address-cells = <1>;
404 reg = <0x0 0x2180000 0x0 0x10000>;
406 dmas = <&edma0 1 39>,
408 dma-names = "tx", "rx";
409 + scl-gpios = <&gpio4 12 0>;
414 #interrupt-cells = <2>;
418 + #address-cells = <1>;
420 + device_type = "qe";
421 + compatible = "fsl,qe", "simple-bus";
422 + ranges = <0x0 0x0 0x2400000 0x40000>;
423 + reg = <0x0 0x2400000 0x0 0x480>;
424 + brg-frequency = <100000000>;
425 + bus-frequency = <200000000>;
427 + fsl,qe-num-riscs = <1>;
428 + fsl,qe-num-snums = <28>;
431 + compatible = "fsl,qe-ic";
433 + #address-cells = <0>;
434 + interrupt-controller;
435 + #interrupt-cells = <1>;
436 + interrupts = <0 77 0x04 0 77 0x04>;
440 + #address-cells = <1>;
442 + compatible = "fsl,ls1043-qe-si",
444 + reg = <0x700 0x80>;
447 + siram1: siram@1000 {
448 + #address-cells = <1>;
450 + compatible = "fsl,ls1043-qe-siram",
451 + "fsl,t1040-qe-siram";
452 + reg = <0x1000 0x800>;
457 + reg = <0x2000 0x200>;
459 + interrupt-parent = <&qeic>;
464 + reg = <0x2200 0x200>;
466 + interrupt-parent = <&qeic>;
470 + #address-cells = <1>;
472 + compatible = "fsl,qe-muram", "fsl,cpm-muram";
473 + ranges = <0x0 0x10000 0x6000>;
476 + compatible = "fsl,qe-muram-data",
477 + "fsl,cpm-muram-data";
478 + reg = <0x0 0x6000>;
483 lpuart0: serial@2950000 {
484 compatible = "fsl,ls1021a-lpuart";
485 reg = <0x0 0x2950000 0x0 0x1000>;
490 + ftm0: ftm0@29d0000 {
491 + compatible = "fsl,ftm-alarm";
492 + reg = <0x0 0x29d0000 0x0 0x10000>,
493 + <0x0 0x1ee2140 0x0 0x4>;
494 + reg-names = "ftm", "FlexTimer1";
495 + interrupts = <0 86 0x4>;
500 wdog0: wdog@2ad0000 {
501 compatible = "fsl,ls1043a-wdt", "fsl,imx21-wdt";
502 reg = <0x0 0x2ad0000 0x0 0x10000>;
505 snps,quirk-frame-length-adjustment = <0x20>;
506 snps,dis_rxdet_inp3_quirk;
508 + snps,dis-u1u2-when-u3-quirk;
509 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
516 snps,quirk-frame-length-adjustment = <0x20>;
517 snps,dis_rxdet_inp3_quirk;
519 + snps,dis-u1u2-when-u3-quirk;
520 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
527 snps,quirk-frame-length-adjustment = <0x20>;
528 snps,dis_rxdet_inp3_quirk;
530 + snps,dis-u1u2-when-u3-quirk;
531 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
537 reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
538 0x40 0x00000000 0x0 0x00002000>; /* configuration space */
539 reg-names = "regs", "config";
540 - interrupts = <0 118 0x4>, /* controller interrupt */
541 - <0 117 0x4>; /* PME interrupt */
542 - interrupt-names = "intr", "pme";
543 + interrupts = <0 117 0x4>, /* PME interrupt */
544 + <0 118 0x4>; /* aer interrupt */
545 + interrupt-names = "pme", "aer";
546 #address-cells = <3>;
550 reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
551 0x48 0x00000000 0x0 0x00002000>; /* configuration space */
552 reg-names = "regs", "config";
553 - interrupts = <0 128 0x4>,
555 - interrupt-names = "intr", "pme";
556 + interrupts = <0 127 0x4>,
558 + interrupt-names = "pme", "aer";
559 #address-cells = <3>;
563 reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
564 0x50 0x00000000 0x0 0x00002000>; /* configuration space */
565 reg-names = "regs", "config";
566 - interrupts = <0 162 0x4>,
568 - interrupt-names = "intr", "pme";
569 + interrupts = <0 161 0x4>,
571 + interrupt-names = "pme", "aer";
572 #address-cells = <3>;