* [PATCH] ARM: dts: stm32: add cpu clock-frequency property on stm32mp15x
@ 2020-02-24 17:20 Ahmad Fatoum
2020-03-13 13:12 ` Alexandre Torgue
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2020-02-24 17:20 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland
Cc: kernel, Ahmad Fatoum, linux-stm32, linux-arm-kernel, devicetree,
linux-kernel
All of the STM32MP151[1], STM32MP153[2] and STM32MP157[3] have their
Cortex-A7 cores running at 650 MHz.
Add the clock-frequency property to CPU nodes to avoid warnings about
them missing.
[1]: https://www.st.com/en/microcontrollers-microprocessors/stm32mp151.html
[2]: https://www.st.com/en/microcontrollers-microprocessors/stm32mp153.html
[3]: https://www.st.com/en/microcontrollers-microprocessors/stm32mp157.html
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
arch/arm/boot/dts/stm32mp151.dtsi | 1 +
arch/arm/boot/dts/stm32mp153.dtsi | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index fb41d0778b00..fd46a8e11126 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -17,6 +17,7 @@ cpus {
cpu0: cpu@0 {
compatible = "arm,cortex-a7";
+ clock-frequency = <650000000>;
device_type = "cpu";
reg = <0>;
};
diff --git a/arch/arm/boot/dts/stm32mp153.dtsi b/arch/arm/boot/dts/stm32mp153.dtsi
index 2d759fc6015c..6d9ab08667fc 100644
--- a/arch/arm/boot/dts/stm32mp153.dtsi
+++ b/arch/arm/boot/dts/stm32mp153.dtsi
@@ -10,6 +10,7 @@ / {
cpus {
cpu1: cpu@1 {
compatible = "arm,cortex-a7";
+ clock-frequency = <650000000>;
device_type = "cpu";
reg = <1>;
};
--
2.25.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: stm32: add cpu clock-frequency property on stm32mp15x
2020-02-24 17:20 [PATCH] ARM: dts: stm32: add cpu clock-frequency property on stm32mp15x Ahmad Fatoum
@ 2020-03-13 13:12 ` Alexandre Torgue
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Torgue @ 2020-03-13 13:12 UTC (permalink / raw)
To: Ahmad Fatoum, Maxime Coquelin, Rob Herring, Mark Rutland
Cc: kernel, linux-stm32, linux-arm-kernel, devicetree, linux-kernel
Hi Ahmad
On 2/24/20 6:20 PM, Ahmad Fatoum wrote:
> All of the STM32MP151[1], STM32MP153[2] and STM32MP157[3] have their
> Cortex-A7 cores running at 650 MHz.
>
> Add the clock-frequency property to CPU nodes to avoid warnings about
> them missing.
>
> [1]: https://www.st.com/en/microcontrollers-microprocessors/stm32mp151.html
> [2]: https://www.st.com/en/microcontrollers-microprocessors/stm32mp153.html
> [3]: https://www.st.com/en/microcontrollers-microprocessors/stm32mp157.html
>
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Applied on stm32-next.
Thanks.
Alex
> ---
> arch/arm/boot/dts/stm32mp151.dtsi | 1 +
> arch/arm/boot/dts/stm32mp153.dtsi | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
> index fb41d0778b00..fd46a8e11126 100644
> --- a/arch/arm/boot/dts/stm32mp151.dtsi
> +++ b/arch/arm/boot/dts/stm32mp151.dtsi
> @@ -17,6 +17,7 @@ cpus {
>
> cpu0: cpu@0 {
> compatible = "arm,cortex-a7";
> + clock-frequency = <650000000>;
> device_type = "cpu";
> reg = <0>;
> };
> diff --git a/arch/arm/boot/dts/stm32mp153.dtsi b/arch/arm/boot/dts/stm32mp153.dtsi
> index 2d759fc6015c..6d9ab08667fc 100644
> --- a/arch/arm/boot/dts/stm32mp153.dtsi
> +++ b/arch/arm/boot/dts/stm32mp153.dtsi
> @@ -10,6 +10,7 @@ / {
> cpus {
> cpu1: cpu@1 {
> compatible = "arm,cortex-a7";
> + clock-frequency = <650000000>;
> device_type = "cpu";
> reg = <1>;
> };
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-13 13:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-24 17:20 [PATCH] ARM: dts: stm32: add cpu clock-frequency property on stm32mp15x Ahmad Fatoum
2020-03-13 13:12 ` Alexandre Torgue
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).