diff mbox

[2/2] ARM: mvebu: add CPU config registers in the Armada 370/XP Device Tree

Message ID 1436364561-20958-3-git-send-email-thomas.petazzoni@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Petazzoni July 8, 2015, 2:09 p.m. UTC
This commit adds the description of the CPU config registers in the
Armada 370 and Armada XP Device Tree. Since the registers are in fact
different between the two SoCs, a different compatible string is used.

Note that the Armada 370 node is currently unused, but it is
nonetheless added for consistency with the addition on the Armada XP
side.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 arch/arm/boot/dts/armada-370.dtsi | 5 +++++
 arch/arm/boot/dts/armada-xp.dtsi  | 5 +++++
 2 files changed, 10 insertions(+)

Comments

Gregory CLEMENT Sept. 29, 2015, 1:43 p.m. UTC | #1
Hi Thomas,
 
 On mer., juil. 08 2015, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:

> This commit adds the description of the CPU config registers in the
> Armada 370 and Armada XP Device Tree. Since the registers are in fact
> different between the two SoCs, a different compatible string is used.
>
> Note that the Armada 370 node is currently unused, but it is
> nonetheless added for consistency with the addition on the Armada XP
> side.

Applied on mvebu/dt

Thanks,

Gregory

>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  arch/arm/boot/dts/armada-370.dtsi | 5 +++++
>  arch/arm/boot/dts/armada-xp.dtsi  | 5 +++++
>  2 files changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
> index 53a1a5a..45eff24 100644
> --- a/arch/arm/boot/dts/armada-370.dtsi
> +++ b/arch/arm/boot/dts/armada-370.dtsi
> @@ -256,6 +256,11 @@
>  				reg = <0x20800 0x8>;
>  			};
>  
> +			cpu-config@21000 {
> +				compatible = "marvell,armada-370-cpu-config";
> +				reg = <0x21000 0x8>;
> +			};
> +
>  			audio_controller: audio-controller@30000 {
>  				#sound-dai-cells = <1>;
>  				compatible = "marvell,armada370-audio";
> diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
> index 3de9b76..1c64ac3 100644
> --- a/arch/arm/boot/dts/armada-xp.dtsi
> +++ b/arch/arm/boot/dts/armada-xp.dtsi
> @@ -184,6 +184,11 @@
>  				reg = <0x20800 0x20>;
>  			};
>  
> +			cpu-config@21000 {
> +				compatible = "marvell,armada-xp-cpu-config";
> +				reg = <0x21000 0x8>;
> +			};
> +
>  			eth2: ethernet@30000 {
>  				compatible = "marvell,armada-xp-neta";
>  				reg = <0x30000 0x4000>;
diff mbox

Patch

diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index 53a1a5a..45eff24 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -256,6 +256,11 @@ 
 				reg = <0x20800 0x8>;
 			};
 
+			cpu-config@21000 {
+				compatible = "marvell,armada-370-cpu-config";
+				reg = <0x21000 0x8>;
+			};
+
 			audio_controller: audio-controller@30000 {
 				#sound-dai-cells = <1>;
 				compatible = "marvell,armada370-audio";
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
index 3de9b76..1c64ac3 100644
--- a/arch/arm/boot/dts/armada-xp.dtsi
+++ b/arch/arm/boot/dts/armada-xp.dtsi
@@ -184,6 +184,11 @@ 
 				reg = <0x20800 0x20>;
 			};
 
+			cpu-config@21000 {
+				compatible = "marvell,armada-xp-cpu-config";
+				reg = <0x21000 0x8>;
+			};
+
 			eth2: ethernet@30000 {
 				compatible = "marvell,armada-xp-neta";
 				reg = <0x30000 0x4000>;