summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx25-pdk.dts
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-03-05 17:30:37 -0300
committerShawn Guo <shawn.guo@freescale.com>2014-04-30 13:35:19 +0800
commitf0bd6881e8abc3660bb3e8e6b219ad9a21c88636 (patch)
tree15cca8b1876262d70abe33aa895b2a0e1966779b /arch/arm/boot/dts/imx25-pdk.dts
parent53ba9c70a48a28054ebfdaad43a6681b570e3380 (diff)
downloadop-kernel-dev-f0bd6881e8abc3660bb3e8e6b219ad9a21c88636.zip
op-kernel-dev-f0bd6881e8abc3660bb3e8e6b219ad9a21c88636.tar.gz
ARM: dts: imx25-pdk: Add FEC pins
Instead of relying on the bootloader for configuring the FEC pins, pass the FEC pin configuration via device tree instead. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx25-pdk.dts')
-rw-r--r--arch/arm/boot/dts/imx25-pdk.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts
index d642980..a97dd73 100644
--- a/arch/arm/boot/dts/imx25-pdk.dts
+++ b/arch/arm/boot/dts/imx25-pdk.dts
@@ -23,11 +23,27 @@
&fec {
phy-mode = "rmii";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_fec>;
status = "okay";
};
&iomuxc {
imx25-pdk {
+ pinctrl_fec: fecgrp {
+ fsl,pins = <
+ MX25_PAD_FEC_MDC__FEC_MDC 0x80000000
+ MX25_PAD_FEC_MDIO__FEC_MDIO 0x400001e0
+ MX25_PAD_FEC_TDATA0__FEC_TDATA0 0x80000000
+ MX25_PAD_FEC_TDATA1__FEC_TDATA1 0x80000000
+ MX25_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000
+ MX25_PAD_FEC_RDATA0__FEC_RDATA0 0x80000000
+ MX25_PAD_FEC_RDATA1__FEC_RDATA1 0x80000000
+ MX25_PAD_FEC_RX_DV__FEC_RX_DV 0x80000000
+ MX25_PAD_FEC_TX_CLK__FEC_TX_CLK 0x1c0
+ >;
+ };
+
pinctrl_uart1: uart1grp {
fsl,pins = <
MX25_PAD_UART1_RTS__UART1_RTS 0xe0
OpenPOWER on IntegriCloud