[PATCH v3] arm64: dts: ti: k3-am62-main: Fix clocks for McSPI

From: Dhruva Gole
Date: Tue Jan 03 2023 - 00:49:18 EST


Fixes the clock Device ID's in the DT according to the tisci docs clock
identifiers for AM62x

Fixes: c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral nodes")
Reviewed-by: Bryan Brattlof <bb@xxxxxx>
Signed-off-by: Dhruva Gole <d-gole@xxxxxx>
---

For reference, TISCI Docs: clock id's for AM62
https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62x/clocks.html

v3: Rebase on top of linux-next master

v2:
https://lore.kernel.org/linux-devicetree/20230102125549.1106984-1-d-gole@xxxxxx/

v1:
https://lore.kernel.org/linux-devicetree/20221227051208.158894-1-d-gole@xxxxxx/

arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
index 072903649d6e..ae1ec58117c3 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
@@ -413,7 +413,7 @@ main_spi0: spi@20100000 {
#address-cells = <1>;
#size-cells = <0>;
power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>;
- clocks = <&k3_clks 172 0>;
+ clocks = <&k3_clks 141 0>;
status = "disabled";
};

@@ -424,7 +424,7 @@ main_spi1: spi@20110000 {
#address-cells = <1>;
#size-cells = <0>;
power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
- clocks = <&k3_clks 173 0>;
+ clocks = <&k3_clks 142 0>;
status = "disabled";
};

@@ -435,7 +435,7 @@ main_spi2: spi@20120000 {
#address-cells = <1>;
#size-cells = <0>;
power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
- clocks = <&k3_clks 174 0>;
+ clocks = <&k3_clks 143 0>;
status = "disabled";
};

--
2.25.1