Skip to content

Commit b3f7e95

Browse files
grygoriySdavem330
authored andcommitted
arm64: dts: ti: k3-am65-main: add main navss cpts node
Add DT node for Main NAVSS CPTS module. Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 885a26b commit b3f7e95

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,28 @@
570570
<0x5>; /* RX_CHAN */
571571
ti,sci-rm-range-rflow = <0x6>; /* GP RFLOW */
572572
};
573+
574+
cpts@310d0000 {
575+
compatible = "ti,am65-cpts";
576+
reg = <0x0 0x310d0000 0x0 0x400>;
577+
reg-names = "cpts";
578+
clocks = <&main_cpts_mux>;
579+
clock-names = "cpts";
580+
interrupts-extended = <&intr_main_navss 163 0>;
581+
interrupt-names = "cpts";
582+
ti,cpts-periodic-outputs = <6>;
583+
ti,cpts-ext-ts-inputs = <8>;
584+
585+
main_cpts_mux: refclk-mux {
586+
#clock-cells = <0>;
587+
clocks = <&k3_clks 118 5>, <&k3_clks 118 11>,
588+
<&k3_clks 118 6>, <&k3_clks 118 3>,
589+
<&k3_clks 118 8>, <&k3_clks 118 14>,
590+
<&k3_clks 120 3>, <&k3_clks 121 3>;
591+
assigned-clocks = <&main_cpts_mux>;
592+
assigned-clock-parents = <&k3_clks 118 5>;
593+
};
594+
};
573595
};
574596

575597
main_gpio0: main_gpio0@600000 {

0 commit comments

Comments
 (0)