On Wed, Apr 24, 2013 at 06:28:12PM +0100, Lorenzo Pieralisi wrote:
> This patch updates the in-kernel dts files according to the latest cpus
> and cpu bindings updates for ARM.
> 
> Signed-off-by: Lorenzo Pieralisi <[email protected]>
> ---
>  arch/arm/boot/dts/imx23.dtsi  | 8 ++++++--
>  arch/arm/boot/dts/imx28.dtsi  | 8 ++++++--
>  arch/arm/boot/dts/imx6dl.dtsi | 2 ++
>  arch/arm/boot/dts/imx6q.dtsi  | 1 +
>  4 files changed, 15 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi
> index 56afcf4..0aae18b 100644
> --- a/arch/arm/boot/dts/imx23.dtsi
> +++ b/arch/arm/boot/dts/imx23.dtsi
> @@ -23,8 +23,12 @@
>       };
>  
>       cpus {
> -             cpu@0 {
> -                     compatible = "arm,arm926ejs";
> +             #address-cells = <0>;
> +             #size-cells = <0>;
> +
> +             cpu {
> +                     compatible = "arm,arm926ej-s";
> +                     device_type = "cpu";
>               };
>       };
>  
> diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
> index 7ba4966..07f131fc 100644
> --- a/arch/arm/boot/dts/imx28.dtsi
> +++ b/arch/arm/boot/dts/imx28.dtsi
> @@ -32,8 +32,12 @@
>       };
>  
>       cpus {
> -             cpu@0 {
> -                     compatible = "arm,arm926ejs";
> +             #address-cells = <0>;
> +             #size-cells = <0>;
> +
> +             cpu {
> +                     compatible = "arm,arm926ej-s";
> +                     device_type = "cpu";
>               };
>       };
>  
> diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi
> index 63fafe2..b76d85e 100644
> --- a/arch/arm/boot/dts/imx6dl.dtsi
> +++ b/arch/arm/boot/dts/imx6dl.dtsi
> @@ -16,12 +16,14 @@
>  
>               cpu@0 {
>                       compatible = "arm,cortex-a9";
> +                     device_type = "cpu";
>                       reg = <0>;
>                       next-level-cache = <&L2>;
>               };
>  
>               cpu@1 {
>                       compatible = "arm,cortex-a9";
> +                     device_type = "cpu";
>                       reg = <1>;
>                       next-level-cache = <&L2>;
>               };
> diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
> index cba021e..65c1b62 100644
> --- a/arch/arm/boot/dts/imx6q.dtsi
> +++ b/arch/arm/boot/dts/imx6q.dtsi
> @@ -17,6 +17,7 @@
>  
>               cpu@0 {
>                       compatible = "arm,cortex-a9";
> +                     device_type = "cpu";

Shouldn't this line be added for cpu@1, cpu@2 and cpu@3 too?  Other than
that,

Acked-by: Shawn Guo <[email protected]>

>                       reg = <0>;
>                       next-level-cache = <&L2>;
>                       operating-points = <
> -- 
> 1.7.12
> 
> 

_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to