[RFC PATCH v3 07/17] ARM: dts: imx: cpus/cpu nodes dts updates
Lorenzo Pieralisi
lorenzo.pieralisi at arm.com
Thu Apr 25 18:59:27 EST 2013
On Thu, Apr 25, 2013 at 06:44:28AM +0100, Shawn Guo wrote:
> 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 <lorenzo.pieralisi at arm.com>
> > ---
> > 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 at 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 at 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 at 0 {
> > compatible = "arm,cortex-a9";
> > + device_type = "cpu";
> > reg = <0>;
> > next-level-cache = <&L2>;
> > };
> >
> > cpu at 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 at 0 {
> > compatible = "arm,cortex-a9";
> > + device_type = "cpu";
>
> Shouldn't this line be added for cpu at 1, cpu at 2 and cpu at 3 too? Other than
> that,
Yes, you are right, fixed. Thanks for reviewing.
Lorenzo
>
> Acked-by: Shawn Guo <shawn.guo at linaro.org>
>
> > reg = <0>;
> > next-level-cache = <&L2>;
> > operating-points = <
> > --
> > 1.7.12
> >
> >
>
>
More information about the devicetree-discuss
mailing list