From efc1bc673289cd0d7cf3ccb5d95a1b433b2ccaf5 Mon Sep 17 00:00:00 2001 From: Richard Zhu Date: Tue, 1 Sep 2015 16:33:13 +0800 Subject: MLK-11484-1 ARM: imx: enable pcie on imx7d platforms enable pcie support on imx7d platforms. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/imx7d-sdb.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'arch/arm/boot/dts/imx7d-sdb.dts') diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index 3c35c8eb0fef..ce41c82ebadd 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts +++ b/arch/arm/boot/dts/imx7d-sdb.dts @@ -97,6 +97,17 @@ gpio = <&gpio4 7 GPIO_ACTIVE_HIGH>; enable-active-high; }; + + reg_pcie: regulator@2 { + compatible = "regulator-fixed"; + reg = <2>; + regulator-name = "MPCIE_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio_spi 6 GPIO_ACTIVE_HIGH>; + regulator-always-on; + enable-active-high; + }; }; }; @@ -563,6 +574,13 @@ }; }; +&pcie { + pinctrl-names = "default"; + reset-gpio = <&gpio_spi 1 GPIO_ACTIVE_LOW>; + disable-gpio = <&gpio_spi 0 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + &sai1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sai1>; -- cgit v1.2.3