]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: imx7ulp: fix reg of cpu node
authorPeng Fan <peng.fan@nxp.com>
Wed, 18 Dec 2019 12:22:32 +0000 (12:22 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Dec 2019 07:42:00 +0000 (15:42 +0800)
According to arm cpus binding doc,
"
      On 32-bit ARM v7 or later systems this property is
        required and matches the CPU MPIDR[23:0] register
        bits.

        Bits [23:0] in the reg cell must be set to
        bits [23:0] in MPIDR.

        All other bits in the reg cell must be set to 0.
"

In i.MX7ULP, the MPIDR[23:0] is 0xf00, not 0, so fix it.
Otherwise there will be warning:
"DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map"

Fixes: 20434dc92c05 ("ARM: dts: imx: add common imx7ulp dtsi support")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7ulp.dtsi

index d37a1927c88ea3fae91f4d1e67407f5d39036f9f..ab91c98f21241127736dada1205d2b57ea7eef59 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
-               cpu0: cpu@0 {
+               cpu0: cpu@f00 {
                        compatible = "arm,cortex-a7";
                        device_type = "cpu";
-                       reg = <0>;
+                       reg = <0xf00>;
                };
        };