Skip to content

Commit fe6a73e

Browse files
ggiordano32r-vignesh
authored andcommitted
arm64: dts: ti: k3-am62a: Enable AUDIO_REFCLKx
On AM62a SoCs the AUDIO_REFCLKx clocks can be used as an input to external peripherals when configured through CTRL_MMR, so add the clock nodes. Based on: Link: https://lore.kernel.org/lkml/20230807202159.13095-2-francesco@dolcini.it/ Signed-off-by: Garrett Giordano <ggiordano@phytec.com> Link: https://lore.kernel.org/r/20240626155244.3311436-1-ggiordano@phytec.com Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
1 parent 479112c commit fe6a73e

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

arch/arm64/boot/dts/ti/k3-am62a-main.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,24 @@
5959
reg = <0x4130 0x4>;
6060
#clock-cells = <1>;
6161
};
62+
63+
audio_refclk0: clock-controller@82e0 {
64+
compatible = "ti,am62-audio-refclk";
65+
reg = <0x82e0 0x4>;
66+
clocks = <&k3_clks 157 0>;
67+
assigned-clocks = <&k3_clks 157 0>;
68+
assigned-clock-parents = <&k3_clks 157 8>;
69+
#clock-cells = <0>;
70+
};
71+
72+
audio_refclk1: clock-controller@82e4 {
73+
compatible = "ti,am62-audio-refclk";
74+
reg = <0x82e4 0x4>;
75+
clocks = <&k3_clks 157 10>;
76+
assigned-clocks = <&k3_clks 157 10>;
77+
assigned-clock-parents = <&k3_clks 157 18>;
78+
#clock-cells = <0>;
79+
};
6280
};
6381

6482
dmss: bus@48000000 {

0 commit comments

Comments
 (0)