基于 TI 的 SoC 的 ARM DTS 查询
ARM DTS query for TI based SoC
我正在查看基于 TI 的 evm dts 文件。
http://elixir.free-electrons.com/linux/latest/source/arch/arm/boot/dts/dra7-evm.dts#L686
&atl {
assigned-clocks = <&abe_dpll_sys_clk_mux>,
<&atl_gfclk_mux>,
<&dpll_abe_ck>,
<&dpll_abe_m2x2_ck>,
<&atl_clkin2_ck>;
assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;
status = "okay";
atl2 {
bws = <DRA7_ATL_WS_MCASP2_FSX>;
aws = <DRA7_ATL_WS_MCASP3_FSX>;
};
};
&mcasp3 {
#sound-dai-cells = <0>;
assigned-clocks = <&mcasp3_ahclkx_mux>;
assigned-clock-parents = <&atl_clkin2_ck>;
status = "okay";
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;
/* 4 serializer */
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1 2 0 0
>;
tx-num-evt = <32>;
rx-num-evt = <32>;
};
assigned-clocks 包含 <&mcasp3_ahclkx_mux> 的句柄,此时钟“&mcasp3_ahclkx_mux>”在 "dra7xx-clocks.dtsi"
中定义
http://elixir.free-electrons.com/linux/latest/source/arch/arm/boot/dts/dra7xx-clocks.dtsi#L1814
但是找不到这个“dra7xx-clocks.dtsi”是如何包含到 "dra7-evm.dtsi" 中的?
能否指出 mcasp3_ahclkx_mux 的定义是如何提供给 dra7-evm.dts 的?
But could not find how this" dra7xx-clocks.dtsi" has included into "dra7-evm.dtsi" ?
dra7-evm.dts has included dra74x.dtsi which includes dra7.dtsi, and dra7xx-clocks.dtsi is included in dra7.dtsi最后。
我正在查看基于 TI 的 evm dts 文件。
http://elixir.free-electrons.com/linux/latest/source/arch/arm/boot/dts/dra7-evm.dts#L686
&atl {
assigned-clocks = <&abe_dpll_sys_clk_mux>,
<&atl_gfclk_mux>,
<&dpll_abe_ck>,
<&dpll_abe_m2x2_ck>,
<&atl_clkin2_ck>;
assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>;
assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>;
status = "okay";
atl2 {
bws = <DRA7_ATL_WS_MCASP2_FSX>;
aws = <DRA7_ATL_WS_MCASP3_FSX>;
};
};
&mcasp3 {
#sound-dai-cells = <0>;
assigned-clocks = <&mcasp3_ahclkx_mux>;
assigned-clock-parents = <&atl_clkin2_ck>;
status = "okay";
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;
/* 4 serializer */
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1 2 0 0
>;
tx-num-evt = <32>;
rx-num-evt = <32>;
};
assigned-clocks 包含 <&mcasp3_ahclkx_mux> 的句柄,此时钟“&mcasp3_ahclkx_mux>”在 "dra7xx-clocks.dtsi"
中定义http://elixir.free-electrons.com/linux/latest/source/arch/arm/boot/dts/dra7xx-clocks.dtsi#L1814
但是找不到这个“dra7xx-clocks.dtsi”是如何包含到 "dra7-evm.dtsi" 中的?
能否指出 mcasp3_ahclkx_mux 的定义是如何提供给 dra7-evm.dts 的?
But could not find how this" dra7xx-clocks.dtsi" has included into "dra7-evm.dtsi" ?
dra7-evm.dts has included dra74x.dtsi which includes dra7.dtsi, and dra7xx-clocks.dtsi is included in dra7.dtsi最后。