summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale
diff options
context:
space:
mode:
authorRichard Zhu <hongxing.zhu@nxp.com>2018-10-23 16:32:34 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:34:50 +0800
commit9e51bb1abe79586c97a85554fc4e5effcbc6f33b (patch)
treee969f9a94b4c613f7e94a1b280f1358cd2ae7dd4 /arch/arm64/boot/dts/freescale
parent77416a732bb122826ee56867bde695edf3f5d2d9 (diff)
MLK-20099-1 ARM64: dts: use external osc as refclk on 8mm evk board
Use the external osc as the pcie refclk on 8mm evk rev c board. Create another -revb.dts for the back compatible usage. Because that internal pll is used as pcie ref clock on the rev b board in default. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale')
-rw-r--r--arch/arm64/boot/dts/freescale/Makefile3
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8mm-evk-revb.dts32
-rwxr-xr-xarch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts2
3 files changed, 35 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index c7612676132a..8f2cc2c50e48 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -122,7 +122,8 @@ dtb-$(CONFIG_ARCH_FSL_IMX8MM) += fsl-imx8mm-evk.dtb \
fsl-imx8mm-ddr4-val.dtb \
fsl-imx8mm-evk-rm67191.dtb \
fsl-imx8mm-evk-root.dtb \
- fsl-imx8mm-evk-inmate.dtb
+ fsl-imx8mm-evk-inmate.dtb \
+ fsl-imx8mm-evk-revb.dtb
always := $(dtb-y)
subdir-y := $(dts-dirs)
clean-files := *.dtb
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk-revb.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk-revb.dts
new file mode 100644
index 000000000000..c2f89aa7002c
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk-revb.dts
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2018 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.
+ */
+
+/dts-v1/;
+
+#include "fsl-imx8mm-evk.dts"
+
+/ {
+ model = "FSL i.MX8MM EVK RevB board";
+};
+
+/*
+ * External OSC is used as PCIe REFCLK on RevC board.
+ * Use the -revb.dts file to distiguish the different
+ * HW design.
+ */
+&pcie0{
+ ext_osc = <0>;
+ status = "okay";
+};
+
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts b/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts
index 43ae138e8b55..8042923a93ff 100755
--- a/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8mm-evk.dts
@@ -926,7 +926,7 @@
pinctrl-0 = <&pinctrl_pcie0>;
disable-gpio = <&gpio1 5 GPIO_ACTIVE_LOW>;
reset-gpio = <&gpio4 21 GPIO_ACTIVE_LOW>;
- ext_osc = <0>;
+ ext_osc = <1>;
status = "okay";
};