[PATCH v4 3/7] arm: dts: k3-j7*-r5: Add MPU clock in clocks property
Nishanth Menon
nm at ti.com
Fri Oct 4 13:30:01 CEST 2024
On 11:54-20241004, Manorit Chawdhry wrote:
> MPU clock had been missing. Distinguish multiple clocks with clock-names
> and add MPU clock as well.
>
> Signed-off-by: Manorit Chawdhry <m-chawdhry at ti.com>
We have been a bit hacky with GTC - do we want to pull it out as a
separate IP?
> ---
> arch/arm/dts/k3-am69-r5-sk.dts | 3 ++-
> arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 3 ++-
> arch/arm/dts/k3-j721e-r5.dtsi | 3 ++-
> arch/arm/dts/k3-j721s2-r5.dtsi | 3 ++-
> arch/arm/dts/k3-j784s4-r5-evm.dts | 3 ++-
> 5 files changed, 10 insertions(+), 5 deletions(-)
What about other boards? I think it might be time we refactor r5 view as
a include file?
>
> diff --git a/arch/arm/dts/k3-am69-r5-sk.dts b/arch/arm/dts/k3-am69-r5-sk.dts
> index 4d6aab5ccc38..13809f82d99a 100644
> --- a/arch/arm/dts/k3-am69-r5-sk.dts
> +++ b/arch/arm/dts/k3-am69-r5-sk.dts
> @@ -26,7 +26,8 @@
> power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
> <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>;
> resets = <&k3_reset 202 0>;
> - clocks = <&k3_clks 61 0>;
> + clocks = <&k3_clks 61 0>, <&k3_clks 202 0>;
> + clock-names = "gtc", "core";
> assigned-clocks = <&k3_clks 61 0>, <&k3_clks 202 0>;
> assigned-clock-parents = <&k3_clks 61 2>;
> assigned-clock-rates = <200000000>, <2000000000>;
> diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
> index 94760c78dd35..f8df14935dbc 100644
> --- a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
> +++ b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
> @@ -23,7 +23,8 @@
> <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>,
> <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>;
> resets = <&k3_reset 202 0>;
> - clocks = <&k3_clks 61 1>;
> + clocks = <&k3_clks 61 1>, <&k3_clks 202 2>;
> + clock-names = "gtc", "core";
> assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>, <&k3_clks 323 0>;
> assigned-clock-parents= <0>, <0>, <&k3_clks 323 2>;
> assigned-clock-rates = <2000000000>, <200000000>;
> diff --git a/arch/arm/dts/k3-j721e-r5.dtsi b/arch/arm/dts/k3-j721e-r5.dtsi
> index fd0d921272c5..688a6cf40892 100644
> --- a/arch/arm/dts/k3-j721e-r5.dtsi
> +++ b/arch/arm/dts/k3-j721e-r5.dtsi
> @@ -20,7 +20,8 @@
> <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>,
> <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>;
> resets = <&k3_reset 202 0>;
> - clocks = <&k3_clks 61 1>;
> + clocks = <&k3_clks 61 1>, <&k3_clks 202 2>;
> + clock-names = "gtc", "core";
> assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>;
> assigned-clock-rates = <2000000000>, <200000000>;
> ti,sci = <&dmsc>;
> diff --git a/arch/arm/dts/k3-j721s2-r5.dtsi b/arch/arm/dts/k3-j721s2-r5.dtsi
> index caf696c2d960..634676c8491e 100644
> --- a/arch/arm/dts/k3-j721s2-r5.dtsi
> +++ b/arch/arm/dts/k3-j721s2-r5.dtsi
> @@ -20,7 +20,8 @@
> <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>,
> <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>;
> resets = <&k3_reset 202 0>;
> - clocks = <&k3_clks 61 1>;
> + clocks = <&k3_clks 61 1>, <&k3_clks 202 0>;
> + clock-names = "gtc", "core";
> assigned-clocks = <&k3_clks 61 1>, <&k3_clks 202 0>;
> assigned-clock-parents = <&k3_clks 61 3>;
> assigned-clock-rates = <200000000>, <2000000000>;
> diff --git a/arch/arm/dts/k3-j784s4-r5-evm.dts b/arch/arm/dts/k3-j784s4-r5-evm.dts
> index d2c752293630..8b8b0e70047e 100644
> --- a/arch/arm/dts/k3-j784s4-r5-evm.dts
> +++ b/arch/arm/dts/k3-j784s4-r5-evm.dts
> @@ -26,7 +26,8 @@
> power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
> <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>;
> resets = <&k3_reset 202 0>;
> - clocks = <&k3_clks 61 0>;
> + clocks = <&k3_clks 61 0>, <&k3_clks 202 0>;
> + clock-names = "gtc", "core";
> assigned-clocks = <&k3_clks 61 0>, <&k3_clks 202 0>;
> assigned-clock-parents = <&k3_clks 61 2>;
> assigned-clock-rates = <200000000>, <2000000000>;
>
> --
> 2.46.0
>
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
More information about the U-Boot
mailing list