riscv: dts: thead: change TH1520 SPI node to use clock controller

Change the clock property in the TH1520 SPI controller node to a clock
provided by AP_SYS clock controller.

Remove spi_clk 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:10 -07:00 committed by Drew Fustini
parent 7f5b28218c
commit 2d98fea749
3 changed files with 1 additions and 15 deletions

View file

@ -45,10 +45,6 @@
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
&spi_clk {
clock-frequency = <396000000>;
};
&dmac0 { &dmac0 {
status = "okay"; status = "okay";
}; };

View file

@ -25,10 +25,6 @@
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
&spi_clk {
clock-frequency = <396000000>;
};
&dmac0 { &dmac0 {
status = "okay"; status = "okay";
}; };

View file

@ -216,12 +216,6 @@
#clock-cells = <0>; #clock-cells = <0>;
}; };
spi_clk: spi-clock {
compatible = "fixed-clock";
clock-output-names = "spi_clk";
#clock-cells = <0>;
};
soc { soc {
compatible = "simple-bus"; compatible = "simple-bus";
interrupt-parent = <&plic>; interrupt-parent = <&plic>;
@ -256,7 +250,7 @@
compatible = "thead,th1520-spi", "snps,dw-apb-ssi"; compatible = "thead,th1520-spi", "snps,dw-apb-ssi";
reg = <0xff 0xe700c000 0x0 0x1000>; reg = <0xff 0xe700c000 0x0 0x1000>;
interrupts = <54 IRQ_TYPE_LEVEL_HIGH>; interrupts = <54 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&spi_clk>; clocks = <&clk CLK_SPI>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";