[PATCH v2 4/9] ARM: dts: omap: dm816x: refactor and align MMC node
Ettore Chimenti
ettore.chimenti at linaro.org
Wed Oct 28 09:06:05 PDT 2026
From: Andrew Goodbody <andrew.goodbody at linaro.org>
Update the MMC node in the TI Sitara DM816x device tree to align with
the structure used in other similar SoCs. The changes include
refactoring the node to better describe the target module and its
sub-nodes.
Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
Signed-off-by: Ettore Chimenti <ettore.chimenti at linaro.org>
---
arch/arm/boot/dts/ti/omap/dm816x.dtsi | 33 +++++++++++++++++++++++++++------
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/ti/omap/dm816x.dtsi b/arch/arm/boot/dts/ti/omap/dm816x.dtsi
index fc124f9ecfa1..e3d49651b44e 100644
--- a/arch/arm/boot/dts/ti/omap/dm816x.dtsi
+++ b/arch/arm/boot/dts/ti/omap/dm816x.dtsi
@@ -423,13 +423,34 @@ &edma 20 0 &edma 21 0
"tx2", "rx2", "tx3", "rx3";
};
- mmc1: mmc at 48060000 {
- compatible = "ti,omap4-hsmmc";
- reg = <0x48060000 0x11000>;
+ mmc1_target: target-module at 48060000 {
+ compatible = "ti,sysc-omap2", "ti,sysc";
ti,hwmods = "mmc1";
- interrupts = <64>;
- dmas = <&edma 24 0 &edma 25 0>;
- dma-names = "tx", "rx";
+ reg = <0x48060000 0x4>,
+ <0x48060110 0x4>,
+ <0x48060114 0x4>;
+ reg-names = "rev", "sysc", "syss";
+ ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
+ SYSC_OMAP2_ENAWAKEUP |
+ SYSC_OMAP2_SOFTRESET |
+ SYSC_OMAP2_AUTOIDLE)>;
+ ti,sysc-sidle = <SYSC_IDLE_FORCE>,
+ <SYSC_IDLE_NO>,
+ <SYSC_IDLE_SMART>;
+ ti,syss-mask = <1>;
+ clocks = <&alwon_clkctrl DM816_MMC1_CLKCTRL 0>;
+ clock-names = "fck";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0x0 0x48060000 0x11000>;
+
+ mmc1: mmc at 0 {
+ compatible = "ti,omap4-hsmmc";
+ reg = <0x0 0x11000>;
+ interrupts = <64>;
+ dmas = <&edma 24 0 &edma 25 0>;
+ dma-names = "tx", "rx";
+ };
};
timer1_target: target-module at 4802e000 {
--
2.56.0
More information about the linux-arm-kernel
mailing list