arm: dts: dra7-evm: add sd/eMMC node
PATCH 1/1 arm: dts: dra7-evm: add sd/eMMC node
Add micro SD card and eMMC support for dra7-evm
Signed-off-by Rajendra Nayak <[email protected]>
Signed-off-by Balaji T K <[email protected]>
--- arch/arm/boot/dts/dra7-evm.dts | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-)
arch/arm/boot/dts/dra7-evm.dts +18 -0
@@ -17,4 +17,22 @@ device_type = "memory"; reg = <0x80000000 0x60000000>; /* 1536 MB */ }; + + vmmc_fixed: fixedregulator-mmc { + compatible = "regulator-fixed"; + regulator-name = "vmmc_fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +&mmc1 { + vmmc-supply = <&vmmc_fixed>; + bus-width = <4>; +}; + +&mmc2 { + vmmc-supply = <&vmmc_fixed>; + bus-width = <8>; + ti,non-removable; };
Signature · 1 line
1.7.5.4
Quoted 18 lines · Balaji T K
Add micro SD card and eMMC support for dra7-evm
Signed-off-by Rajendra Nayak <[email protected]>Signed-off-by Balaji T K <[email protected]>--- arch/arm/boot/dts/dra7-evm.dts | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-)arch/arm/boot/dts/dra7-evm.dts +2
-0@@ -17,4 +17,22 @@ device_type = "memory"; reg = <0x80000000 0x60000000>; /* 1536 MB */ }; + + vmmc_fixed: fixedregulator-mmc {
arch/arm/boot/dts/dra7-evm.dts line 31
Quoted 10 lines
arch/arm/boot/dts/dra7-evm.dts +10
-0+ compatible = "regulator-fixed"; + regulator-name = "vmmc_fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +&mmc1 { + vmmc-supply = <&vmmc_fixed>; + bus-width = <4>;
is'nt this going to LDO1 of TPS659039? which allows us to switch it off when MMC card is not needed?
arch/arm/boot/dts/dra7-evm.dts line 35
Quoted 4 lines
arch/arm/boot/dts/dra7-evm.dts +4
-0+}; + +&mmc2 { + vmmc-supply = <&vmmc_fixed>;
this is fixes MMC2_3V3 (emmc supply) -> EVM_3V3
Quoted 4 lines
arch/arm/boot/dts/dra7-evm.dts +2
-0+ bus-width = <8>; + ti,non-removable; };
Signature · 2 lines
Regards, Nishanth Menon