summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhu <hongxing.zhu@nxp.com>2016-09-05 16:05:38 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:24:57 +0800
commitf286ed7842cd175f63f11c95f74ad5f0ad308188 (patch)
tree4bec03d38e25a1bf4f85d618cd0b9ffd1e7a4b3d
parent9ef646a8467a7b0104cea05d4d3e64fb7fe77450 (diff)
MLK-13186-2 arm: imx6qp: add imx6qp standalone pcie dtb
In order to pass the pcie gen2 compliance tests on imx6qp sd revb board, add one standalone imx6qp sd ldo pcie dtb - disalbe fec/sata, because that the fec/sata can't work when pll6 is in bypass mode. NOTE: Bypass mode of pll6 is mandatory required when external oscillator is used as pcie ref clk. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
-rw-r--r--Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt1
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/boot/dts/imx6qp-sabresd-ldo-pcie-cert.dts21
3 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
index 7b1e48bf172b..af6b1c9e53ee 100644
--- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
+++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt
@@ -16,6 +16,7 @@ Required properties:
- "msi": The interrupt that is asserted when an MSI is received
- clock-names: Must include the following additional entries:
- "pcie_phy"
+- ext_osc: use the external oscillator or not.
Optional properties:
- fsl,tx-deemph-gen1: Gen1 De-emphasis value. Default: 0
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 400caaeb9f10..6ec9943f652c 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -483,6 +483,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
imx6qp-sabresd-btwifi.dtb \
imx6qp-sabresd-hdcp.dtb \
imx6qp-sabresd-ldo.dtb \
+ imx6qp-sabresd-ldo-pcie-cert.dtb \
imx6qp-zii-rdu2.dtb
dtb-$(CONFIG_SOC_IMX6SL) += \
imx6sl-evk.dtb \
diff --git a/arch/arm/boot/dts/imx6qp-sabresd-ldo-pcie-cert.dts b/arch/arm/boot/dts/imx6qp-sabresd-ldo-pcie-cert.dts
new file mode 100644
index 000000000000..da6b11773680
--- /dev/null
+++ b/arch/arm/boot/dts/imx6qp-sabresd-ldo-pcie-cert.dts
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6qp-sabresd-ldo.dts"
+
+&fec {
+ status = "disabled";
+};
+
+&pcie {
+ ext_osc = <1>;
+};
+
+&sata {
+ status = "disabled";
+};