]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
arm64: dts: renesas: r9a09g047: Add SDHI0-SDHI2 nodes
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 6 Feb 2025 13:40:28 +0000 (13:40 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 7 Apr 2025 08:53:46 +0000 (10:53 +0200)
Add SDHI0-SDHI2 nodes to RZ/G3E ("R9A09G047") SoC DTSI.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/20250206134047.67866-5-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g047.dtsi

index c93aa16d0a6ec3d50c3bd6070c4a5da50054424a..fe5eec87f2a522719eea4662a6ad69cbf467ff54 100644 (file)
                        interrupt-controller;
                        interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
                };
+
+               sdhi0: mmc@15c00000  {
+                       compatible = "renesas,sdhi-r9a09g047", "renesas,sdhi-r9a09g057";
+                       reg = <0x0 0x15c00000 0 0x10000>;
+                       interrupts = <GIC_SPI 735 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 736 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 0xa3>, <&cpg CPG_MOD 0xa5>,
+                                <&cpg CPG_MOD 0xa4>, <&cpg CPG_MOD 0xa6>;
+                       clock-names = "core", "clkh", "cd", "aclk";
+                       resets = <&cpg 0xa7>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
+
+                       sdhi0_vqmmc: vqmmc-regulator {
+                               regulator-name = "SDHI0-VQMMC";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <3300000>;
+                               status = "disabled";
+                       };
+               };
+
+               sdhi1: mmc@15c10000 {
+                       compatible = "renesas,sdhi-r9a09g047", "renesas,sdhi-r9a09g057";
+                       reg = <0x0 0x15c10000 0 0x10000>;
+                       interrupts = <GIC_SPI 737 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 738 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 0xa7>, <&cpg CPG_MOD 0xa9>,
+                                <&cpg CPG_MOD 0xa8>, <&cpg CPG_MOD 0xaa>;
+                       clock-names = "core", "clkh", "cd", "aclk";
+                       resets = <&cpg 0xa8>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
+
+                       sdhi1_vqmmc: vqmmc-regulator {
+                               regulator-name = "SDHI1-VQMMC";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <3300000>;
+                               status = "disabled";
+                       };
+               };
+
+               sdhi2: mmc@15c20000 {
+                       compatible = "renesas,sdhi-r9a09g047", "renesas,sdhi-r9a09g057";
+                       reg = <0x0 0x15c20000 0 0x10000>;
+                       interrupts = <GIC_SPI 739 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 740 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 0xab>, <&cpg CPG_MOD 0xad>,
+                                <&cpg CPG_MOD 0xac>, <&cpg CPG_MOD 0xae>;
+                       clock-names = "core", "clkh", "cd", "aclk";
+                       resets = <&cpg 0xa9>;
+                       power-domains = <&cpg>;
+                       status = "disabled";
+
+                       sdhi2_vqmmc: vqmmc-regulator {
+                               regulator-name = "SDHI2-VQMMC";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <3300000>;
+                               status = "disabled";
+                       };
+               };
        };
 
        timer {