diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2014-07-23 13:29:11 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-09-15 22:25:49 -0400 |
commit | 78827ec071ef4971a89e1da6349f2b73539639c3 (patch) | |
tree | eea1a24741926a11e99921e83c62467692a82ff4 /arch | |
parent | 10f34a1341e374f372e3ff82f674e2475b262f9b (diff) |
ARM: dts: imx6qdl-sabresd: add always on pcie regulator
Everything in the PCI specification assumes devices to be
enumerable on startup. This is only possible if they have
power available.
A future improvement may allow this regulator to be switched
off for D3hot and D3cold power states, but there is a lot
of work to do the pcie host controller side for this to work.
To keep things simple always enable the regulator for now.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index ec43dde78525..07fb3020e1bf 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi | |||
@@ -54,6 +54,19 @@ | |||
54 | gpio = <&gpio4 10 0>; | 54 | gpio = <&gpio4 10 0>; |
55 | enable-active-high; | 55 | enable-active-high; |
56 | }; | 56 | }; |
57 | |||
58 | reg_pcie: regulator@3 { | ||
59 | compatible = "regulator-fixed"; | ||
60 | reg = <3>; | ||
61 | pinctrl-names = "default"; | ||
62 | pinctrl-0 = <&pinctrl_pcie_reg>; | ||
63 | regulator-name = "MPCIE_3V3"; | ||
64 | regulator-min-microvolt = <3300000>; | ||
65 | regulator-max-microvolt = <3300000>; | ||
66 | gpio = <&gpio3 19 0>; | ||
67 | regulator-always-on; | ||
68 | enable-active-high; | ||
69 | }; | ||
57 | }; | 70 | }; |
58 | 71 | ||
59 | gpio-keys { | 72 | gpio-keys { |
@@ -400,6 +413,12 @@ | |||
400 | >; | 413 | >; |
401 | }; | 414 | }; |
402 | 415 | ||
416 | pinctrl_pcie_reg: pciereggrp { | ||
417 | fsl,pins = < | ||
418 | MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b0b0 | ||
419 | >; | ||
420 | }; | ||
421 | |||
403 | pinctrl_pwm1: pwm1grp { | 422 | pinctrl_pwm1: pwm1grp { |
404 | fsl,pins = < | 423 | fsl,pins = < |
405 | MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1 | 424 | MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1 |