diff options
author | Anson Huang <b20788@freescale.com> | 2013-10-12 13:35:12 -0400 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2013-10-30 09:55:57 +0800 |
commit | f1fc59425ea73b8c946417fc1d2699ecdd84949a (patch) | |
tree | 799da03bf83a980590a00d2df46a9a975e9eb80d /arch/arm/boot | |
parent | 446a4e5b36f3aea3ba4e3f525aef923f8313f185 (diff) |
ENGR00283540-01 dts:imx6sl: add fec sleep pinctrl for pin PM state
when system suspend, need to set pins to low power state to
save IO power consumption, there are three states of pinctrl:
"default", "idle" and "sleep". Currently enet supports default
and sleep state.
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/imx6sl-evk.dts | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sl.dtsi | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts index f593a3a1299e..1e404789f683 100644 --- a/arch/arm/boot/dts/imx6sl-evk.dts +++ b/arch/arm/boot/dts/imx6sl-evk.dts @@ -153,8 +153,9 @@ }; &fec { - pinctrl-names = "default"; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_fec_1>; + pinctrl-1 = <&pinctrl_fec_1_sleep>; phy-mode = "rmii"; phy-reset-gpios = <&gpio4 21 0>; /* GPIO4_21 */ phy-reset-duration = <1>; diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi index f03f2e1a92c6..9a5ab00e5bcd 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi @@ -942,6 +942,19 @@ MX6SL_PAD_FEC_REF_CLK__FEC_REF_OUT 0x4001b0a8 >; }; + + pinctrl_fec_1_sleep: fecgrp-1-sleep { + fsl,pins = < + MX6SL_PAD_FEC_MDC__GPIO4_IO23 0x3080 + MX6SL_PAD_FEC_CRS_DV__GPIO4_IO25 0x3080 + MX6SL_PAD_FEC_RXD0__GPIO4_IO17 0x3080 + MX6SL_PAD_FEC_RXD1__GPIO4_IO18 0x3080 + MX6SL_PAD_FEC_TX_EN__GPIO4_IO22 0x3080 + MX6SL_PAD_FEC_TXD0__GPIO4_IO24 0x3080 + MX6SL_PAD_FEC_TXD1__GPIO4_IO16 0x3080 + MX6SL_PAD_FEC_REF_CLK__GPIO4_IO26 0x3080 + >; + }; }; i2c1 { |