From 99e0071df52183ff3b78cb686fe27cdfe530d823 Mon Sep 17 00:00:00 2001 From: Yinbo Zhu Date: Tue, 25 Sep 2018 14:47:08 +0800 Subject: armv8: ls2088a: add eSDHC node This patch is to add eSDHC node for ls2088a. Signed-off-by: Yinbo Zhu Reviewed-by: York Sun --- arch/arm/dts/fsl-ls2080a.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/arm/dts') diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index b0f85170b0c..2d537ae6060 100644 --- a/arch/arm/dts/fsl-ls2080a.dtsi +++ b/arch/arm/dts/fsl-ls2080a.dtsi @@ -75,6 +75,14 @@ num-cs = <4>; }; + esdhc: esdhc@0 { + compatible = "fsl,esdhc"; + reg = <0x0 0x2140000 0x0 0x10000>; + interrupts = <0 28 0x4>; /* Level high type */ + little-endian; + bus-width = <4>; + }; + usb0: usb3@3100000 { compatible = "fsl,layerscape-dwc3"; reg = <0x0 0x3100000 0x0 0x10000>; -- cgit v1.2.3 From 585d3575221b8eac35edef3944d76e02576c2379 Mon Sep 17 00:00:00 2001 From: Yinbo Zhu Date: Tue, 25 Sep 2018 14:47:09 +0800 Subject: armv8: ls1088a: add eSDHC node This patch is to add eSDHC node for ls1088a. Signed-off-by: Yinbo Zhu Reviewed-by: York Sun --- arch/arm/dts/fsl-ls1088a.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'arch/arm/dts') diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi index 077caf3cc21..72d755a18ce 100644 --- a/arch/arm/dts/fsl-ls1088a.dtsi +++ b/arch/arm/dts/fsl-ls1088a.dtsi @@ -74,6 +74,15 @@ reg-names = "QuadSPI", "QuadSPI-memory"; num-cs = <4>; }; + + esdhc: esdhc@2140000 { + compatible = "fsl,esdhc"; + reg = <0x0 0x2140000 0x0 0x10000>; + interrupts = <0 28 0x4>; /* Level high type */ + little-endian; + bus-width = <4>; + }; + ifc: ifc@1530000 { compatible = "fsl,ifc", "simple-bus"; reg = <0x0 0x2240000 0x0 0x20000>; -- cgit v1.2.3 From bdccf12839c00cd67f08df13116cf610e3ded1b4 Mon Sep 17 00:00:00 2001 From: Yinbo Zhu Date: Tue, 25 Sep 2018 14:47:10 +0800 Subject: armv8: ls1043a: add eSDHC node This patch is to add eSDHC node for ls1043a. Signed-off-by: Yinbo Zhu Reviewed-by: York Sun --- arch/arm/dts/fsl-ls1043a.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/arm/dts') diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi index ff401222ff2..a804f5123cb 100644 --- a/arch/arm/dts/fsl-ls1043a.dtsi +++ b/arch/arm/dts/fsl-ls1043a.dtsi @@ -70,6 +70,14 @@ status = "disabled"; }; + esdhc: esdhc@1560000 { + compatible = "fsl,esdhc"; + reg = <0x0 0x1560000 0x0 0x10000>; + interrupts = <0 62 0x4>; + big-endian; + bus-width = <4>; + }; + ifc: ifc@1530000 { compatible = "fsl,ifc", "simple-bus"; reg = <0x0 0x1530000 0x0 0x10000>; -- cgit v1.2.3 From 2fd425f8e32800ec01a6bcc2954c241625677be6 Mon Sep 17 00:00:00 2001 From: Yinbo Zhu Date: Tue, 25 Sep 2018 14:47:11 +0800 Subject: armv8: ls1046a: add eSDHC node This patch is to add eSDHC node for ls1046a. Signed-off-by: Yinbo Zhu Reviewed-by: York Sun --- arch/arm/dts/fsl-ls1046a.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/arm/dts') diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi index 4acbaf78e80..7687d12091b 100644 --- a/arch/arm/dts/fsl-ls1046a.dtsi +++ b/arch/arm/dts/fsl-ls1046a.dtsi @@ -70,6 +70,14 @@ status = "disabled"; }; + esdhc: esdhc@1560000 { + compatible = "fsl,esdhc"; + reg = <0x0 0x1560000 0x0 0x10000>; + interrupts = <0 62 0x4>; + big-endian; + bus-width = <4>; + }; + ifc: ifc@1530000 { compatible = "fsl,ifc", "simple-bus"; reg = <0x0 0x1530000 0x0 0x10000>; -- cgit v1.2.3 From 46d471f5b83335f5e0c7d09dfffb3e0911998b3f Mon Sep 17 00:00:00 2001 From: Yinbo Zhu Date: Tue, 25 Sep 2018 14:47:12 +0800 Subject: armv7: ls1021a: enable esdhc This patch is to enable eSDHC for ls1021a. Signed-off-by: Yinbo Zhu Reviewed-by: York Sun --- arch/arm/dts/ls1021a.dtsi | 1 - 1 file changed, 1 deletion(-) (limited to 'arch/arm/dts') diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi index 5b3fc6ad44d..59c97d5080a 100644 --- a/arch/arm/dts/ls1021a.dtsi +++ b/arch/arm/dts/ls1021a.dtsi @@ -96,7 +96,6 @@ sdhci,auto-cmd12; big-endian; bus-width = <4>; - status = "disabled"; }; scfg: scfg@1570000 { -- cgit v1.2.3 From d92116566bd2230bd0e3daf254a1f6e4f9afac34 Mon Sep 17 00:00:00 2001 From: Peng Ma Date: Wed, 1 Aug 2018 11:35:14 +0800 Subject: armv8: dts: fsl-ls1043a: add sata node support Add sata node to support ls1043a. Signed-off-by: Peng Ma Reviewed-by: York Sun --- arch/arm/dts/fsl-ls1043a-qds.dtsi | 4 ++++ arch/arm/dts/fsl-ls1043a.dtsi | 8 ++++++++ 2 files changed, 12 insertions(+) (limited to 'arch/arm/dts') diff --git a/arch/arm/dts/fsl-ls1043a-qds.dtsi b/arch/arm/dts/fsl-ls1043a-qds.dtsi index addb9abfb93..3841aee11e4 100644 --- a/arch/arm/dts/fsl-ls1043a-qds.dtsi +++ b/arch/arm/dts/fsl-ls1043a-qds.dtsi @@ -174,3 +174,7 @@ &lpuart0 { status = "okay"; }; + +&sata { + status = "okay"; +}; diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi index a804f5123cb..bb70992f9e7 100644 --- a/arch/arm/dts/fsl-ls1043a.dtsi +++ b/arch/arm/dts/fsl-ls1043a.dtsi @@ -287,5 +287,13 @@ ranges = <0x81000000 0x0 0x00000000 0x50 0x00020000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ }; + + sata: sata@3200000 { + compatible = "fsl,ls1043a-ahci"; + reg = <0x0 0x3200000 0x0 0x10000>; + interrupts = <0 69 4>; + clocks = <&clockgen 4 0>; + status = "disabled"; + }; }; }; -- cgit v1.2.3 From 9ed5ec9b53622fd4866ee606348044a26bf2a9bf Mon Sep 17 00:00:00 2001 From: Peng Ma Date: Wed, 1 Aug 2018 14:15:41 +0800 Subject: armv7: dts: fsl-ls1021a: add sata node support enable sata for ls1021a-qds and ls1021a-twr Add sata node to support this feature. Signed-off-by: Peng Ma Reviewed-by: York Sun --- arch/arm/dts/ls1021a-qds.dtsi | 4 ++++ arch/arm/dts/ls1021a-twr.dtsi | 4 ++++ arch/arm/dts/ls1021a.dtsi | 7 +++++++ 3 files changed, 15 insertions(+) (limited to 'arch/arm/dts') diff --git a/arch/arm/dts/ls1021a-qds.dtsi b/arch/arm/dts/ls1021a-qds.dtsi index fb1af1568bc..47c128f16ff 100644 --- a/arch/arm/dts/ls1021a-qds.dtsi +++ b/arch/arm/dts/ls1021a-qds.dtsi @@ -212,3 +212,7 @@ &uart1 { status = "okay"; }; + +&sata { + status = "okay"; +}; diff --git a/arch/arm/dts/ls1021a-twr.dtsi b/arch/arm/dts/ls1021a-twr.dtsi index 63f2079ed35..14e0ceafe78 100644 --- a/arch/arm/dts/ls1021a-twr.dtsi +++ b/arch/arm/dts/ls1021a-twr.dtsi @@ -103,3 +103,7 @@ &uart1 { status = "okay"; }; + +&sata { + status = "okay"; +}; diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi index 59c97d5080a..7670a39617c 100644 --- a/arch/arm/dts/ls1021a.dtsi +++ b/arch/arm/dts/ls1021a.dtsi @@ -403,5 +403,12 @@ ranges = <0x81000000 0x0 0x00000000 0x34020000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x38000000 0x38000000 0x0 0x08000000>; /* non-prefetchable memory */ }; + + sata: sata@3200000 { + compatible = "fsl,ls1021a-ahci"; + reg = <0x3200000 0x10000>; + interrupts = <0 101 4>; + status = "disabled"; + }; }; }; -- cgit v1.2.3