This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VAR-3P-SOM-AM62: Understanding Device Trees

Part Number: VAR-3P-SOM-AM62
Other Parts Discussed in Thread: AM625

Tool/software:

Hello everyone,

I am working with AM625 and want to know, how the properties for the nodes are created in the DTS.

I know that there are bindings files that describe how hardware components are represented in a DTS.

But not all this property in the node can i find it anywhere. For example the clock in the cpts in k3-am62-main.dtsi:

		cpts@3d000 {
			compatible = "ti,j721e-cpts";
			reg = <0x00 0x3d000 0x00 0x400>;
			clocks = <&k3_clks 13 3>;
			clock-names = "cpts";
			interrupts-extended = <&gic500 GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "cpts";
			ti,cpts-ext-ts-inputs = <4>;
			ti,cpts-periodic-outputs = <2>;
		};

In the dts the clocks = <&k3_clks 13 3>. Where is k3_clks is registerd and what is 13 3?

Like where to find all this info in the properties.

BR

Zain