Skip to content

Commit a29bb65

Browse files
esmilConchuOD
authored andcommitted
riscv: dts: starfive: Add JH7100 MMC nodes
Add device tree nodes for the Synopsis MMC controllers on the StarFive JH7100 SoC. Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent 0a99b56 commit a29bb65

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

arch/riscv/boot/dts/starfive/jh7100.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,32 @@
178178
riscv,ndev = <133>;
179179
};
180180

181+
sdio0: mmc@10000000 {
182+
compatible = "snps,dw-mshc";
183+
reg = <0x0 0x10000000 0x0 0x10000>;
184+
clocks = <&clkgen JH7100_CLK_SDIO0_AHB>,
185+
<&clkgen JH7100_CLK_SDIO0_CCLKINT_INV>;
186+
clock-names = "biu", "ciu";
187+
interrupts = <4>;
188+
data-addr = <0>;
189+
fifo-depth = <32>;
190+
fifo-watermark-aligned;
191+
status = "disabled";
192+
};
193+
194+
sdio1: mmc@10010000 {
195+
compatible = "snps,dw-mshc";
196+
reg = <0x0 0x10010000 0x0 0x10000>;
197+
clocks = <&clkgen JH7100_CLK_SDIO1_AHB>,
198+
<&clkgen JH7100_CLK_SDIO1_CCLKINT_INV>;
199+
clock-names = "biu", "ciu";
200+
interrupts = <5>;
201+
data-addr = <0>;
202+
fifo-depth = <32>;
203+
fifo-watermark-aligned;
204+
status = "disabled";
205+
};
206+
181207
clkgen: clock-controller@11800000 {
182208
compatible = "starfive,jh7100-clkgen";
183209
reg = <0x0 0x11800000 0x0 0x10000>;

0 commit comments

Comments
 (0)