aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2022-01-03 14:47:35 +0200
committerPriyanka Jain <priyanka.jain@nxp.com>2022-02-01 15:08:07 +0530
commit50c49ef2ff4392aae2fd355663f2ba48d299faf2 (patch)
tree749e649390ec88e15b988ca0a10dddf0081142c1
parentf33fad6f37eab8458c2f2b3ecf5ba34973c0c396 (diff)
downloadu-boot-50c49ef2ff4392aae2fd355663f2ba48d299faf2.zip
u-boot-50c49ef2ff4392aae2fd355663f2ba48d299faf2.tar.gz
u-boot-50c49ef2ff4392aae2fd355663f2ba48d299faf2.tar.bz2
arm: dts: ls1028a-rdb: enable PCIe controllers from U-Boot dtsi
Reuse the scheme implemented by the Kontron SL28 boards in commit d08011d7f9b4 ("arm: dts: ls1028a: disable the PCIe controller by default") and move the 'status = "okay"' lines for the PCIe controllers inside a separate U-Boot dtsi for the LS1028A-RDB board. This way, the existing Linux device tree can simply be dropped in. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Michael Walle <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r--arch/arm/dts/fsl-ls1028a-rdb-u-boot.dtsi15
-rw-r--r--arch/arm/dts/fsl-ls1028a-rdb.dts8
2 files changed, 15 insertions, 8 deletions
diff --git a/arch/arm/dts/fsl-ls1028a-rdb-u-boot.dtsi b/arch/arm/dts/fsl-ls1028a-rdb-u-boot.dtsi
new file mode 100644
index 0000000..a72b573
--- /dev/null
+++ b/arch/arm/dts/fsl-ls1028a-rdb-u-boot.dtsi
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0+
+/* Copyright 2021 NXP */
+
+/*
+ * u-boot will enable the device in the linux device tree in place. Because
+ * we are using the linux device tree, we have to enable the PCI controller
+ * ourselves.
+ */
+&pcie1 {
+ status = "okay";
+};
+
+&pcie2 {
+ status = "okay";
+};
diff --git a/arch/arm/dts/fsl-ls1028a-rdb.dts b/arch/arm/dts/fsl-ls1028a-rdb.dts
index 10070ea..5a35258 100644
--- a/arch/arm/dts/fsl-ls1028a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1028a-rdb.dts
@@ -153,14 +153,6 @@
status = "okay";
};
-&pcie1 {
- status = "okay";
-};
-
-&pcie2 {
- status = "okay";
-};
-
&sata {
status = "okay";
};