armv8: lx2160a: add eSDHC nodes
PATCH 1/1 armv8: lx2160a: add eSDHC nodes
This patch is to add eSDHC nodes for lx2160a.
--- arch/arm/dts/fsl-lx2160a-rdb.dts | 8 ++++++++ arch/arm/dts/fsl-lx2160a.dtsi | 24 ++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 0 deletions(-)
arch/arm/dts/fsl-lx2160a-rdb.dts +8 -0
@@ -38,3 +38,11 @@ reg = <0>; }; }; + +&esdhc0 { + status = "okay"; +}; + +&esdhc1 { + status = "okay"; +};
arch/arm/dts/fsl-lx2160a.dtsi +24 -0
@@ -76,6 +76,30 @@ status = "disabled"; }; + esdhc0: esdhc at 2140000 { + status = "disabled"; + compatible = "fsl,ls2080a-esdhc", "fsl,esdhc"; + reg = <0x0 0x2140000 0x0 0x10000>; + interrupts = <0 28 0x4>; /* Level high type */ + clocks = <&clockgen 4 1>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + little-endian; + bus-width = <4>; + }; + + esdhc1: esdhc at 2150000 { + status = "disabled"; + compatible = "fsl,ls2080a-esdhc", "fsl,esdhc"; + reg = <0x0 0x2150000 0x0 0x10000>; + interrupts = <0 28 0x4>; /* Level high type */ + clocks = <&clockgen 4 1>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + little-endian; + bus-width = <4>; + }; + fspi: flexspi at 20c0000 { compatible = "nxp,lx2160a-fspi"; #address-cells = <1>;
Signature · 1 line
1.7.1
PATCH 1/1 armv8: lx2160a: add some minor fixes on esdhc node
The esdhc node has some minor fixes according to the RM document.
--- arch/arm/dts/fsl-lx2160a.dtsi | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-)
arch/arm/dts/fsl-lx2160a.dtsi +6 -5
@@ -77,8 +77,7 @@ }; esdhc0: esdhc at 2140000 { - status = "disabled"; - compatible = "fsl,ls2080a-esdhc", "fsl,esdhc"; + compatible = "fsl,esdhc"; reg = <0x0 0x2140000 0x0 0x10000>; interrupts = <0 28 0x4>; /* Level high type */ clocks = <&clockgen 4 1>;
@@ -86,18 +85,20 @@ sdhci,auto-cmd12; little-endian; bus-width = <4>; + status = "disabled"; }; esdhc1: esdhc at 2150000 { - status = "disabled"; - compatible = "fsl,ls2080a-esdhc", "fsl,esdhc"; + compatible = "fsl,esdhc"; reg = <0x0 0x2150000 0x0 0x10000>; - interrupts = <0 28 0x4>; /* Level high type */ + interrupts = <0 63 0x4>; /* Level high type */ clocks = <&clockgen 4 1>; voltage-ranges = <1800 1800 3300 3300>; sdhci,auto-cmd12; + non-removable; little-endian; bus-width = <4>; + status = "disabled"; }; dspi0: dspi at 2100000 {
Signature · 1 line
1.7.1
PATCH 1/1 configs: lx2160a: enable driver model for eSDHC
In reply to Yinbo ZhuEnable driver model for eSDHC on lx2160a rdb board.
--- configs/lx2160ardb_defconfig | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
configs/lx2160ardb_defconfig +3 -0
@@ -35,6 +35,9 @@ CONFIG_NXP_FSPI=y CONFIG_PHYLIB=y CONFIG_NETDEVICES=y CONFIG_PHY_GIGE=y +CONFIG_DM_MMC=y +CONFIG_DM_MMC_OPS=n +CONFIG_BLK=n CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_XHCI_HCD=y
Signature · 1 line
1.7.1
PATCH 1/1 configs: lx2160a: enable driver model for eSDHC
Quoted 10 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Yinbo Zhu
Sent: Wednesday, October 10, 2018 8:45 AM
To: Yinbo Zhu <[email protected]>; Y.b. Lu <[email protected]>; open list <[email protected]>; yorksun at freescale.com
Cc: Xiaobo Xie <[email protected]>
Subject: [U-Boot] [PATCH v1] configs: lx2160a: enable driver model for eSDHC
Quoted 4 lines
Enable driver model for eSDHC on lx2160a rdb board.
Signed-off-by Yinbo Zhu <[email protected]>---
Squashed lx2rdb platform patches and applied to fsl-qoriq master, awaiting upstream.
--pk
PATCH 1/1 armv8: lx2160a: add eSDHC nodes
In reply to Yinbo ZhuQuoted 9 lines
-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Yinbo Zhu
Sent: Wednesday, October 10, 2018 8:45 AM
To: Yinbo Zhu <[email protected]>; Y.b. Lu <[email protected]>; open list <[email protected]>; yorksun at freescale.com
Cc: Xiaobo Xie <[email protected]>
Subject: [U-Boot] [PATCH v1] armv8: lx2160a: add eSDHC nodes
Quoted 4 lines
This patch is to add eSDHC nodes for lx2160a.
Signed-off-by Yinbo Zhu <[email protected]>---
Squashed with armv8: lx2160ardb : Add support for LX2160ARDB platform And
applied to fsl-qoriq master, awaiting upstream.
--pk