Skip to content

Commit bd3454d

Browse files
rclaveau-techsuperna9999
authored andcommitted
arm64: dts: amlogic: t7: Add MMC controller nodes
Add device tree nodes for the three MMC controllers available on the Amlogic T7 SoC, using amlogic,meson-axg-mmc as fallback compatible. All nodes are disabled by default and should be enabled in the board-specific DTS file. Signed-off-by: Ronald Claveau <linux-kernel-dev@aliel.fr> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260326-add-emmc-t7-vim4-v5-3-d3f182b48e9d@aliel.fr Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
1 parent 68de995 commit bd3454d

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,45 @@
645645
reg = <0x0 0x10220 0x0 0x140>;
646646
amlogic,has-chip-id;
647647
};
648+
649+
sd_emmc_a: mmc@88000 {
650+
compatible = "amlogic,t7-mmc", "amlogic,meson-axg-mmc";
651+
reg = <0x0 0x88000 0x0 0x800>;
652+
interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
653+
clocks = <&clkc_periphs CLKID_SYS_SD_EMMC_A>,
654+
<&clkc_periphs CLKID_SD_EMMC_A>,
655+
<&scmi_clk CLKID_FCLK_DIV2>;
656+
clock-names = "core", "clkin0", "clkin1";
657+
assigned-clocks = <&clkc_periphs CLKID_SD_EMMC_A_SEL>;
658+
assigned-clock-parents = <&xtal>;
659+
status = "disabled";
660+
};
661+
662+
sd_emmc_b: mmc@8a000 {
663+
compatible = "amlogic,t7-mmc", "amlogic,meson-axg-mmc";
664+
reg = <0x0 0x8a000 0x0 0x800>;
665+
interrupts = <GIC_SPI 177 IRQ_TYPE_EDGE_RISING>;
666+
clocks = <&clkc_periphs CLKID_SYS_SD_EMMC_B>,
667+
<&clkc_periphs CLKID_SD_EMMC_B>,
668+
<&scmi_clk CLKID_FCLK_DIV2>;
669+
clock-names = "core", "clkin0", "clkin1";
670+
assigned-clocks = <&clkc_periphs CLKID_SD_EMMC_B_SEL>;
671+
assigned-clock-parents = <&xtal>;
672+
status = "disabled";
673+
};
674+
675+
sd_emmc_c: mmc@8c000 {
676+
compatible = "amlogic,t7-mmc", "amlogic,meson-axg-mmc";
677+
reg = <0x0 0x8c000 0x0 0x800>;
678+
interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
679+
clocks = <&clkc_periphs CLKID_SYS_SD_EMMC_C>,
680+
<&clkc_periphs CLKID_SD_EMMC_C>,
681+
<&scmi_clk CLKID_FCLK_DIV2>;
682+
clock-names = "core", "clkin0", "clkin1";
683+
assigned-clocks = <&clkc_periphs CLKID_SD_EMMC_C_SEL>;
684+
assigned-clock-parents = <&xtal>;
685+
status = "disabled";
686+
};
648687
};
649688

650689
};

0 commit comments

Comments
 (0)