1 From 229d32330c7d941b8e04501ad75bc527f6cf1b1c Mon Sep 17 00:00:00 2001
2 From: Li Yang <leoyang.li@nxp.com>
3 Date: Thu, 2 May 2019 16:06:42 -0500
4 Subject: [PATCH] arm64: dts: ls1046a: accumulated change to ls1046a 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 commit 46123df3a174f0d76c8b954a0386e64841453836
21 Author: Florinel Iordache <florinel.iordache@nxp.com>
22 Date: Thu Aug 9 12:29:18 2018 +0300
24 arm64: dts: updates for Unified Backplane driver
26 Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
28 commit c08136017e8b18eb58b153129487c5dc760afd20
29 Author: Florinel Iordache <florinel.iordache@nxp.com>
30 Date: Thu Aug 9 12:23:42 2018 +0300
32 arm64: dts: ls1046: add support for 10GBase-KR
34 Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
36 commit 8473f478783f6f601e1c6d7e6afba49a13f3a6a3
37 Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
38 Date: Mon Apr 2 16:24:33 2018 +0800
40 arm64: dts: ls1046a: add dts entry for A-010650
42 Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
44 commit 3159fe9263fb145601ccb07fcb9336a68fba4e08
45 Author: Bao Xiaowei <xiaowei.bao@nxp.com>
46 Date: Fri Oct 13 11:04:39 2017 +0800
48 arm64: dts: ls1046a: add the property of IB and OB
50 Add the property of inbound and outbound windows number for ep
53 Signed-off-by: Bao Xiaowei <xiaowei.bao@nxp.com>
55 Acked-by: Minghuan Lian <minghuan.Lian@nxp.com>
56 Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
58 commit c8fed58f3c9a0219fda0467791f61abd86eb97f3
59 Author: Abhimanyu Saini <abhimanyu.saini@nxp.com>
60 Date: Wed Jan 24 22:56:48 2018 +0530
62 arm64: dts: freescale: ls1046a: Modify DT nodes for qspi
64 Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com>
66 commit 96558859ea3a4af44c0b25441f7574ae6222509a
67 Author: Ran Wang <ran.wang_1@nxp.com>
68 Date: Fri Jan 5 15:17:23 2018 +0800
70 arm64: dts: ls1046a: Enable usb3-lpm-capable for usb3 node
72 Enable USB3 HW LPM feature for ls1046a and active patch for
73 snps erratum A-010131. It will disable U1/U2 temperary when
76 Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
78 commit 9b17a5fcf8da5656ff99ebef3d63ba040e9f676d
79 Author: Zhang Ying-22455 <ying.zhang22455@nxp.com>
80 Date: Tue Jun 13 13:14:26 2017 +0800
82 arm64: dts: correct the register range of dcfg
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
92 Signed-off-by: jiaheng.fan <jiaheng.fan@nxp.com>
94 commit 4a6cef0c83748ee4f6641489fc324bd64095485d
95 Author: Chenhui Zhao <chenhui.zhao@nxp.com>
96 Date: Fri May 5 17:53:27 2017 +0800
98 arm64: dts: ls1046a: add ftm0 node
100 Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
102 arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 148 ++++++++++++++++++++++
103 arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 1 +
104 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 28 +++-
105 3 files changed, 174 insertions(+), 3 deletions(-)
107 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
108 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
114 + emi1_slot1 = &ls1046mdio_s1;
115 + emi1_slot2 = &ls1046mdio_s2;
116 + emi1_slot4 = &ls1046mdio_s4;
118 + sgmii_s1_p1 = &sgmii_phy_s1_p1;
119 + sgmii_s1_p2 = &sgmii_phy_s1_p2;
120 + sgmii_s1_p3 = &sgmii_phy_s1_p3;
121 + sgmii_s1_p4 = &sgmii_phy_s1_p4;
122 + sgmii_s4_p1 = &sgmii_phy_s4_p1;
123 + qsgmii_s2_p1 = &qsgmii_phy_s2_p1;
124 + qsgmii_s2_p2 = &qsgmii_phy_s2_p2;
125 + qsgmii_s2_p3 = &qsgmii_phy_s2_p3;
126 + qsgmii_s2_p4 = &qsgmii_phy_s2_p4;
130 @@ -177,3 +191,137 @@
133 #include "fsl-ls1046-post.dtsi"
137 + phy-handle = <&qsgmii_phy_s2_p1>;
138 + phy-connection-type = "sgmii";
142 + phy-handle = <&sgmii_phy_s4_p1>;
143 + phy-connection-type = "sgmii";
147 + phy-handle = <&rgmii_phy1>;
148 + phy-connection-type = "rgmii";
152 + phy-handle = <&rgmii_phy2>;
153 + phy-connection-type = "rgmii";
157 + phy-handle = <&sgmii_phy_s1_p3>;
158 + phy-connection-type = "sgmii";
162 + phy-handle = <&sgmii_phy_s1_p4>;
163 + phy-connection-type = "sgmii";
166 + ethernet@f0000 { /* DTSEC9/10GEC1 */
167 + phy-handle = <&sgmii_phy_s1_p1>;
168 + phy-connection-type = "xgmii";
171 + ethernet@f2000 { /* DTSEC10/10GEC2 */
172 + phy-handle = <&sgmii_phy_s1_p2>;
173 + phy-connection-type = "xgmii";
178 + #address-cells = <1>;
181 + compatible = "mdio-mux-mmioreg", "mdio-mux";
182 + mdio-parent-bus = <&mdio0>;
183 + #address-cells = <1>;
185 + reg = <0x54 1>; /* BRDCFG4 */
186 + mux-mask = <0xe0>; /* EMI1 */
188 + /* On-board RGMII1 PHY */
189 + ls1046mdio0: mdio@0 {
191 + #address-cells = <1>;
194 + rgmii_phy1: ethernet-phy@1 { /* MAC3 */
199 + /* On-board RGMII2 PHY */
200 + ls1046mdio1: mdio@1 {
202 + #address-cells = <1>;
205 + rgmii_phy2: ethernet-phy@2 { /* MAC4 */
211 + ls1046mdio_s1: mdio@2 {
213 + #address-cells = <1>;
215 + status = "disabled";
217 + sgmii_phy_s1_p1: ethernet-phy@1c {
221 + sgmii_phy_s1_p2: ethernet-phy@1d {
225 + sgmii_phy_s1_p3: ethernet-phy@1e {
229 + sgmii_phy_s1_p4: ethernet-phy@1f {
235 + ls1046mdio_s2: mdio@3 {
237 + #address-cells = <1>;
239 + status = "disabled";
241 + qsgmii_phy_s2_p1: ethernet-phy@8 {
244 + qsgmii_phy_s2_p2: ethernet-phy@9 {
247 + qsgmii_phy_s2_p3: ethernet-phy@a {
250 + qsgmii_phy_s2_p4: ethernet-phy@b {
256 + ls1046mdio_s4: mdio@5 {
258 + #address-cells = <1>;
260 + status = "disabled";
262 + sgmii_phy_s4_p1: ethernet-phy@1c {
268 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
269 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
274 + fsl,qspi-has-second-chip;
277 compatible = "spansion,m25p80";
278 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
279 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
283 compatible = "fsl,ls1046a-dcfg", "syscon";
284 - reg = <0x0 0x1ee0000 0x0 0x10000>;
285 + reg = <0x0 0x1ee0000 0x0 0x1000>;
293 - compatible = "fsl,vf610-i2c";
294 + compatible = "fsl,vf610-i2c", "fsl,ls1046a-vf610-i2c";
295 #address-cells = <1>;
297 reg = <0x0 0x2180000 0x0 0x10000>;
299 dmas = <&edma0 1 39>,
301 dma-names = "tx", "rx";
302 + scl-gpios = <&gpio3 12 0>;
306 @@ -409,12 +410,13 @@
310 - compatible = "fsl,vf610-i2c";
311 + compatible = "fsl,vf610-i2c", "fsl,ls1046a-vf610-i2c";
312 #address-cells = <1>;
314 reg = <0x0 0x21b0000 0x0 0x10000>;
315 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
316 clocks = <&clockgen 4 1>;
317 + scl-gpios = <&gpio3 12 0>;
325 + ftm0: ftm0@29d0000 {
326 + compatible = "fsl,ftm-alarm";
327 + reg = <0x0 0x29d0000 0x0 0x10000>,
328 + <0x0 0x1ee2140 0x0 0x4>;
329 + reg-names = "ftm", "FlexTimer1";
330 + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
334 wdog0: watchdog@2ad0000 {
335 compatible = "fsl,imx21-wdt";
336 reg = <0x0 0x2ad0000 0x0 0x10000>;
338 snps,quirk-frame-length-adjustment = <0x20>;
339 snps,dis_rxdet_inp3_quirk;
340 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
342 + snps,dis-u1u2-when-u3-quirk;
347 snps,quirk-frame-length-adjustment = <0x20>;
348 snps,dis_rxdet_inp3_quirk;
349 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
351 + snps,dis-u1u2-when-u3-quirk;
356 snps,quirk-frame-length-adjustment = <0x20>;
357 snps,dis_rxdet_inp3_quirk;
358 snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
360 + snps,dis-u1u2-when-u3-quirk;
365 <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
368 + serdes1: serdes@1ea0000 {
369 + reg = <0x0 0x1ea0000 0 0x00002000>;
370 + compatible = "fsl,serdes-10g";
374 compatible = "fsl,ls1046a-pcie";
375 reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */