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-SDK-AM62 SOM:了解设备树

Guru**** 2465890 points
Other Parts Discussed in Thread: AM625

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1475777/var-3p-som-am62-understanding-device-trees

器件型号:VAR-3P-AM62-AM62-AM62-AM62-AM62 SOM
主题中讨论的其他器件:AM625

工具与软件:

大家好!

我使用的是 AM625、想知道如何  在 DTS 中创建节点的属性。

我知道有一些绑定文件描述硬件组件如何在 DTS 中表示。

但不是  节点中的所有属性都可以在任何位置找到它。 例如、 k3-am62-main.dtsi 中 CPT 中的时钟:

		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>;
		};

在 DTS 中、时钟=<&K3_CLKS 13 3>。 K3_CLKS 在哪里是寄存器?什么是13 3?

例如在属性中查找所有这些信息的位置。

BR

Zain