MLK-14902 ARM64: dts: freescale: imx8qm: make default dtb boot up all cores
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 15 May 2017 09:08:58 +0000 (17:08 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:16 +0000 (15:22 -0500)
Change dtb's core settings as below on i.MX8QM:

boot up 4 CA53 and 2 CA72 (using CA53 specific flash.bin)
fsl-imx8qm-lpddr4-arm2.dts

boot up 4 CA53 (using CA53 specific flash.bin)
fsl-imx8qm-lpddr4-arm2_ca53.dts

boot up 2 CA72 (using CA72 specific flash.bin)
fsl-imx8qm-lpddr4-arm2_ca72.dts

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2.dts
arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2_ca53.dts [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2_ca72.dts
arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2_ca72_only.dts [deleted file]
arch/arm64/boot/dts/freescale/fsl-imx8qm.dtsi

index cbbe662..5d0e14c 100644 (file)
@@ -3,7 +3,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb
-dtb-$(CONFIG_ARCH_FSL_IMX8QM) += fsl-imx8qm-lpddr4-arm2.dtb fsl-imx8qm-lpddr4-arm2_ca72.dtb fsl-imx8qm-lpddr4-arm2_ca72_only.dtb
+dtb-$(CONFIG_ARCH_FSL_IMX8QM) += fsl-imx8qm-lpddr4-arm2.dtb fsl-imx8qm-lpddr4-arm2_ca53.dtb fsl-imx8qm-lpddr4-arm2_ca72.dtb
 
 always         := $(dtb-y)
 subdir-y       := $(dts-dirs)
index d58c3ec..c4e4fbb 100644 (file)
        >;
        clocks = <&clk IMX8QM_A53_DIV>;
 };
+
+&A72_0 {
+       operating-points = <
+               /* kHz    uV */
+               1800000 1150000
+       >;
+       clocks = <&clk IMX8QM_A72_DIV>;
+};
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2_ca53.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2_ca53.dts
new file mode 100644 (file)
index 0000000..9c42d98
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ * Copyright 2017 NXP
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+#include "fsl-imx8qm-lpddr4-arm2.dts"
+
+&A72_0 {
+       device_type = "";
+};
+
+&A72_1 {
+       device_type = "";
+};
index 7eaf12d..55e2e8c 100644 (file)
  */
 
 #include "fsl-imx8qm-lpddr4-arm2.dts"
-#include "fsl-imx8-ca72.dtsi"
 
-&A72_0 {
-       operating-points = <
-               /* kHz    uV */
-               1800000 1150000
-       >;
-       clocks = <&clk IMX8QM_A72_DIV>;
+&A53_0 {
+       device_type = "";
+};
+
+&A53_1 {
+       device_type = "";
+};
+
+&A53_2 {
+       device_type = "";
+};
+
+&A53_3 {
+       device_type = "";
 };
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2_ca72_only.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-lpddr4-arm2_ca72_only.dts
deleted file mode 100644 (file)
index a3011d2..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (C) 2016 Freescale Semiconductor, Inc.
- * Copyright 2017 NXP
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
-
-#include "fsl-imx8qm-lpddr4-arm2_ca72.dts"
-
-&A53_0 {
-       device_type = "";
-};
-
-&A53_1 {
-       device_type = "";
-};
-
-&A53_2 {
-       device_type = "";
-};
-
-&A53_3 {
-       device_type = "";
-};
index 9e41d5a..f66fc14 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include "fsl-imx8-ca53.dtsi"
+#include "fsl-imx8-ca72.dtsi"
 #include <dt-bindings/clock/imx8qm-clock.h>
 #include <dt-bindings/soc/imx_rsrc.h>
 #include <dt-bindings/soc/imx8_pd.h>