[PATCH 3/3] ARM: at91/dt: sama5d2: add chipid node

2016-03-19 Thread Ludovic Desroches
Add node for chipid device in order to have access to the CIDR and EXID
values.

Signed-off-by: Ludovic Desroches 
---
 arch/arm/boot/dts/sama5d2.dtsi | 5 +
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 78996bd..173e3d7 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -1193,6 +1193,11 @@
clock-names = "tdes_clk";
status = "okay";
};
+
+   chipid@fc069000 {
+   compatible = "atmel,sama5d2-chipid";
+   reg = <0xfc069000 0x8>;
+   };
};
};
 };
-- 
2.5.0



[PATCH 3/3] ARM: at91/dt: sama5d2: add chipid node

2016-03-19 Thread Ludovic Desroches
Add node for chipid device in order to have access to the CIDR and EXID
values.

Signed-off-by: Ludovic Desroches 
---
 arch/arm/boot/dts/sama5d2.dtsi | 5 +
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 78996bd..173e3d7 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -1193,6 +1193,11 @@
clock-names = "tdes_clk";
status = "okay";
};
+
+   chipid@fc069000 {
+   compatible = "atmel,sama5d2-chipid";
+   reg = <0xfc069000 0x8>;
+   };
};
};
 };
-- 
2.5.0



Re: [PATCH 3/3] ARM: at91/dt: sama5d2: add chipid node

2016-03-19 Thread Alexandre Belloni
On 18/03/2016 at 08:21:21 +0100, Ludovic Desroches wrote :
> Add node for chipid device in order to have access to the CIDR and EXID
> values.
> 
> Signed-off-by: Ludovic Desroches 
Acked-by: Alexandre Belloni 

> ---
>  arch/arm/boot/dts/sama5d2.dtsi | 5 +
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> index 78996bd..173e3d7 100644
> --- a/arch/arm/boot/dts/sama5d2.dtsi
> +++ b/arch/arm/boot/dts/sama5d2.dtsi
> @@ -1193,6 +1193,11 @@
>   clock-names = "tdes_clk";
>   status = "okay";
>   };
> +
> + chipid@fc069000 {
> + compatible = "atmel,sama5d2-chipid";
> + reg = <0xfc069000 0x8>;
> + };
>   };
>   };
>  };
> -- 
> 2.5.0
> 

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


Re: [PATCH 3/3] ARM: at91/dt: sama5d2: add chipid node

2016-03-19 Thread Alexandre Belloni
On 18/03/2016 at 08:21:21 +0100, Ludovic Desroches wrote :
> Add node for chipid device in order to have access to the CIDR and EXID
> values.
> 
> Signed-off-by: Ludovic Desroches 
Acked-by: Alexandre Belloni 

> ---
>  arch/arm/boot/dts/sama5d2.dtsi | 5 +
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> index 78996bd..173e3d7 100644
> --- a/arch/arm/boot/dts/sama5d2.dtsi
> +++ b/arch/arm/boot/dts/sama5d2.dtsi
> @@ -1193,6 +1193,11 @@
>   clock-names = "tdes_clk";
>   status = "okay";
>   };
> +
> + chipid@fc069000 {
> + compatible = "atmel,sama5d2-chipid";
> + reg = <0xfc069000 0x8>;
> + };
>   };
>   };
>  };
> -- 
> 2.5.0
> 

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com