Commit 885a26ba authored by Grygorii Strashko's avatar Grygorii Strashko Committed by David S. Miller
Browse files

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: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b1f66a5b
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -247,5 +247,24 @@
			clock-names = "fck";
			bus_freq = <1000000>;
		};

		cpts {
			clocks = <&mcu_cpsw_cpts_mux>;
			clock-names = "cpts";
			interrupts-extended = <&gic500 GIC_SPI 570 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "cpts";
			ti,cpts-ext-ts-inputs = <4>;
			ti,cpts-periodic-outputs = <2>;

			mcu_cpsw_cpts_mux: refclk-mux {
				#clock-cells = <0>;
				clocks = <&k3_clks 118 5>, <&k3_clks 118 11>,
					<&k3_clks 118 6>, <&k3_clks 118 3>,
					<&k3_clks 118 8>, <&k3_clks 118 14>,
					<&k3_clks 120 3>, <&k3_clks 121 3>;
				assigned-clocks = <&mcu_cpsw_cpts_mux>;
				assigned-clock-parents = <&k3_clks 118 5>;
			};
		};
	};
};