summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6sx.dtsi
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-12-15 00:24:58 -0200
committerShawn Guo <shawnguo@kernel.org>2017-12-26 16:15:44 +0800
commit1f1b7ec6714e08c9ab4243146ff8b572a25d1837 (patch)
tree45ae451d02e441aa2af73da16cc2b1b648e96d81 /arch/arm/boot/dts/imx6sx.dtsi
parent38f17f9bbb0ead09fbb7449ea025bfb9dd893527 (diff)
downloadlinux-1f1b7ec6714e08c9ab4243146ff8b572a25d1837.tar.bz2
ARM: dts: imx6sx: Add support for PCI power domain
Previously PCI support was working because the bootloader has previously powered up the PCI power domain. Represent the PCI power domain, so that PCI is functional without relying on the PCI support from the bootloader. Tested on a imx6sx-sdb board with no PCI support in the bootloader. Reported-by: Abel Vesa <abel.vesa@nxp.com> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6sx.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
index fc34e639be4b..fd7879342d0d 100644
--- a/arch/arm/boot/dts/imx6sx.dtsi
+++ b/arch/arm/boot/dts/imx6sx.dtsi
@@ -760,6 +760,19 @@
#interrupt-cells = <3>;
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&intc>;
+ clocks = <&clks IMX6SX_CLK_IPG>;
+ clock-names = "ipg";
+
+ pgc {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ pd_pci: power-domain@3 {
+ reg = <3>;
+ #power-domain-cells = <0>;
+ power-supply = <&reg_pcie>;
+ };
+ };
};
iomuxc: iomuxc@20e0000 {
@@ -1338,6 +1351,7 @@
<&clks IMX6SX_CLK_PCIE_REF_125M>,
<&clks IMX6SX_CLK_DISPLAY_AXI>;
clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_inbound_axi";
+ power-domains = <&pd_pci>;
status = "disabled";
};
};