summaryrefslogtreecommitdiff
path: root/arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2021-10-13 18:14:25 +0200
committerPriyanka Jain <priyanka.jain@nxp.com>2021-11-09 17:18:23 +0530
commitd08011d7f9b4dfb846b61dbdd5ced92d0ba2a259 (patch)
tree6a288c9ed600934e7c6cb4867b9019d045d90738 /arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi
parent938d9355e612a90f17b5ce81d2c053ade553cb26 (diff)
arm: dts: ls1028a: disable the PCIe controller by default
Disable the PCIe controllers by default, just like in the linux device tree. But there is one catch, for linux they are enabled in-place by the bootloader. Obviously, this doesn't work for the bootloader. Thus we explicitly enable the controllers in the -u-boot.dtsi files. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi')
-rw-r--r--arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi b/arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi
index 68a3e0b7aa..37382e09f1 100644
--- a/arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi
+++ b/arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi
@@ -297,6 +297,19 @@
u-boot,dm-pre-reloc;
};
+/*
+ * 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";
+};
+
&soc {
u-boot,dm-pre-reloc;
};