]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: fsl-ls1088a: match Linux FDT by disabling PCIe by default
authorMathew McBride <matt@traverse.com.au>
Wed, 12 Apr 2023 07:38:20 +0000 (07:38 +0000)
committerPeng Fan <peng.fan@nxp.com>
Fri, 5 May 2023 01:46:03 +0000 (09:46 +0800)
The Linux kernel fsl-ls1088a.dtsi disables (status="disabled")
all PCIe controllers by default, with the bootloader (i.e U-Boot)
enabling the appropriate controllers (specified by the board
reset control word/RCW) by FDT fixup.

However, U-Boot needs these controllers to be enabled
to be usable, which we can add in the u-boot only dtsi.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com> # on LS1088A-RDB
arch/arm/dts/fsl-ls1088a-u-boot.dtsi
arch/arm/dts/fsl-ls1088a.dtsi

index 3eb45d47cd01b915e2612f4b3048dd6fd972568b..ac30b813ff3b7bd6b212539340bcf0650b054a93 100644 (file)
 &duart1 {
        bootph-all;
 };
+
+&pcie1 {
+       status = "okay";
+};
+
+&pcie2 {
+       status = "okay";
+};
+
+&pcie3 {
+       status = "okay";
+};
+
index 71d652c818c7209deb40fa195a19aa8f435aa060..85316ddb667a5f2e120f35304ecaaca8a742166e 100644 (file)
                                        <0000 0 0 3 &gic 0 0 0 111 IRQ_TYPE_LEVEL_HIGH>,
                                        <0000 0 0 4 &gic 0 0 0 112 IRQ_TYPE_LEVEL_HIGH>;
                        iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
+                       status = "disabled";
                };
 
                pcie_ep1: pcie-ep@3400000 {
                                        <0000 0 0 3 &gic 0 0 0 116 IRQ_TYPE_LEVEL_HIGH>,
                                        <0000 0 0 4 &gic 0 0 0 117 IRQ_TYPE_LEVEL_HIGH>;
                        iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
+                       status = "disabled";
                };
 
                pcie_ep2: pcie-ep@3500000 {
                                        <0000 0 0 3 &gic 0 0 0 121 IRQ_TYPE_LEVEL_HIGH>,
                                        <0000 0 0 4 &gic 0 0 0 122 IRQ_TYPE_LEVEL_HIGH>;
                        iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */
+                       status = "disabled";
                };
 
                pcie_ep3: pcie-ep@3600000 {