riscv: dts: thead: change TH1520 mmc nodes to use clock controller

Change the clock property in the TH1520 mmc controller nodes to a clock
provided by AP_SYS clock controller.

Remove sdhci fixed clock reference from BeagleV Ahead and LPI4a dts.

Link: https://git.beagleboard.org/beaglev-ahead/beaglev-ahead/-/tree/main/docs
Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
This commit is contained in:
Drew Fustini
2024-08-01 11:38:07 -07:00
committed by Drew Fustini
parent c101b4a028
commit 03a20182e1
3 changed files with 3 additions and 18 deletions
@@ -49,10 +49,6 @@
clock-frequency = <62500000>;
};
&sdhci_clk {
clock-frequency = <198000000>;
};
&spi_clk {
clock-frequency = <396000000>;
};
@@ -29,10 +29,6 @@
clock-frequency = <62500000>;
};
&sdhci_clk {
clock-frequency = <198000000>;
};
&spi_clk {
clock-frequency = <396000000>;
};
+3 -10
View File
@@ -228,13 +228,6 @@
#clock-cells = <0>;
};
sdhci_clk: sdhci-clock {
compatible = "fixed-clock";
clock-frequency = <198000000>;
clock-output-names = "sdhci_clk";
#clock-cells = <0>;
};
soc {
compatible = "simple-bus";
interrupt-parent = <&plic>;
@@ -290,7 +283,7 @@
compatible = "thead,th1520-dwcmshc";
reg = <0xff 0xe7080000 0x0 0x10000>;
interrupts = <62 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&sdhci_clk>;
clocks = <&clk CLK_EMMC_SDIO>;
clock-names = "core";
status = "disabled";
};
@@ -299,7 +292,7 @@
compatible = "thead,th1520-dwcmshc";
reg = <0xff 0xe7090000 0x0 0x10000>;
interrupts = <64 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&sdhci_clk>;
clocks = <&clk CLK_EMMC_SDIO>;
clock-names = "core";
status = "disabled";
};
@@ -308,7 +301,7 @@
compatible = "thead,th1520-dwcmshc";
reg = <0xff 0xe70a0000 0x0 0x10000>;
interrupts = <71 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&sdhci_clk>;
clocks = <&clk CLK_EMMC_SDIO>;
clock-names = "core";
status = "disabled";
};