arm64: dts: imx8mn: Add LPDDR4 EVK board support
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 17 Oct 2019 03:13:04 +0000 (11:13 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 28 Oct 2019 13:48:04 +0000 (21:48 +0800)
i.MX8MN LPDDR4 EVK board shares most of the device as DDR4 EVK board,
the ONLY difference are the DDR type and PMIC, add support for it
and make it default i.MX8MN EVK board as usual.

The PMIC driver is NOT ready, so cpu-freq needs to be disabled as
it depends on regulator provided by PMIC.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/Makefile
arch/arm64/boot/dts/freescale/imx8mn-evk.dts [new file with mode: 0644]

index 730209adb2bce74cc539a7f775a20169a7d1375a..5f7e4aa0da60ffa479473683ddc51b1b0808429a 100644 (file)
@@ -22,6 +22,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb
 
 dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8mn-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-ddr4-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mq-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mq-hummingboard-pulse.dtb
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts
new file mode 100644 (file)
index 0000000..61f3519
--- /dev/null
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2019 NXP
+ */
+
+/dts-v1/;
+
+#include "imx8mn.dtsi"
+#include "imx8mn-evk.dtsi"
+
+/ {
+       model = "NXP i.MX8MNano EVK board";
+       compatible = "fsl,imx8mn-evk", "fsl,imx8mn";
+};
+
+&A53_0 {
+       /delete-property/operating-points-v2;
+};
+
+&A53_1 {
+       /delete-property/operating-points-v2;
+};
+
+&A53_2 {
+       /delete-property/operating-points-v2;
+};
+
+&A53_3 {
+       /delete-property/operating-points-v2;
+};