Skip to content

Commit 885a26b

Browse files
grygoriySdavem330
authored andcommitted
arm64: dts: ti: k3-am65-mcu: add cpsw cpts node
Add DT node for the TI AM65x SoC Common Platform Time Sync (CPTS). Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent b1f66a5 commit 885a26b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,5 +247,24 @@
247247
clock-names = "fck";
248248
bus_freq = <1000000>;
249249
};
250+
251+
cpts {
252+
clocks = <&mcu_cpsw_cpts_mux>;
253+
clock-names = "cpts";
254+
interrupts-extended = <&gic500 GIC_SPI 570 IRQ_TYPE_LEVEL_HIGH>;
255+
interrupt-names = "cpts";
256+
ti,cpts-ext-ts-inputs = <4>;
257+
ti,cpts-periodic-outputs = <2>;
258+
259+
mcu_cpsw_cpts_mux: refclk-mux {
260+
#clock-cells = <0>;
261+
clocks = <&k3_clks 118 5>, <&k3_clks 118 11>,
262+
<&k3_clks 118 6>, <&k3_clks 118 3>,
263+
<&k3_clks 118 8>, <&k3_clks 118 14>,
264+
<&k3_clks 120 3>, <&k3_clks 121 3>;
265+
assigned-clocks = <&mcu_cpsw_cpts_mux>;
266+
assigned-clock-parents = <&k3_clks 118 5>;
267+
};
268+
};
250269
};
251270
};

0 commit comments

Comments
 (0)