linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* imx6dl/imx6q fec rmii mode with external ref_clk
@ 2014-01-14 15:30 Philippe De Muyter
  2014-01-15  7:35 ` Shawn Guo
  0 siblings, 1 reply; 9+ messages in thread
From: Philippe De Muyter @ 2014-01-14 15:30 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On the custom board we are developping (imx6q and imx6dl), we have connected
the fec to a switch chip using rmii mode, and we let the switch provide the
reference clock to gpio_16.

I work currently with 3.13-rc8 and

- I do not have ethernet access working (tx timeout)
- I do not find in the dtb files a description of the pad settings for the
RMII mode
- when searching about the setting for bit 21 ing GPR1, which seems to
be important for my setting to work, I found the following mail:
	http://www.spinics.net/lists/devicetree/msg06450.html

saying "So far, we haven't got any user with that setup (external phy or
oscillator generates clock to pad GPIO_16).  When we do, we can add a
device tree property for telling that."

Is there any progress for that configuration since that mail ?

Best regards

Philippe

-- 
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles

P.S.: here is my attempt for a dts entry for RMII mode :

pinctrl_enet_4: enetgrp-4 {
			fsl,pins = <
				MX6QDL_PAD_ENET_MDC__ENET_MDC           0x1b0b0
				MX6QDL_PAD_ENET_MDIO__ENET_MDIO         0x1b0b0
				MX6QDL_PAD_GPIO_16__ENET_REF_CLK        0x1b0b0
				MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0     0x1b0b0
				MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1     0x1b0b0
				MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN      0x1b0b0
				MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER       0x1b0b0
				MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0     0x1b0b0
				MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1     0x1b0b0
				MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN       0x1b0b0
				MX6QDL_PAD_GPIO_19__ENET_TX_ER          0x1b0b0
			>;
		};

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-02-06  5:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 15:30 imx6dl/imx6q fec rmii mode with external ref_clk Philippe De Muyter
2014-01-15  7:35 ` Shawn Guo
2014-01-15  9:45   ` Philippe De Muyter
2014-01-15 10:13     ` Fabio Estevam
2014-01-15 10:49       ` Philippe De Muyter
2014-01-15 10:55       ` Philippe De Muyter
2014-01-17 12:31         ` Fabio Estevam
2014-01-29  9:54   ` Philippe De Muyter
2014-02-06  5:18     ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).