diff options
author | Boris BREZILLON <b.brezillon@overkiz.com> | 2013-08-28 07:03:39 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2013-12-09 05:07:16 -0500 |
commit | 44fa054e08434623fe413cb043f6cd88191ded9e (patch) | |
tree | 77f388950805e63876eec6a8a99741c40ce4af03 | |
parent | 5cffba20f09a4c4684a3edb9e4e18e98d2802ca1 (diff) |
ARM: at91/dt: add ethernet phy to at91rm9200ek board
Add ethernet phy node in at91rm9200ek.dts.
The reg register is not specified, as it may differ depending on the init
process of the board:
ADDR0/1 phy pins are connected to PA13/14 rm9200 pins. Which means the phy
will take its address from these pins during the reset process.
The macb driver will launch a full scan on the mdio bus to discover the phy
address.
Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
[nicolas.ferre@atmel.com: changed to IRQ_TYPE_EDGE_BOTH as asked by Boris]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r-- | arch/arm/boot/dts/at91rm9200ek.dts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91rm9200ek.dts b/arch/arm/boot/dts/at91rm9200ek.dts index d2d72c3b44c4..e6fd0f8f9f36 100644 --- a/arch/arm/boot/dts/at91rm9200ek.dts +++ b/arch/arm/boot/dts/at91rm9200ek.dts | |||
@@ -47,6 +47,11 @@ | |||
47 | macb0: ethernet@fffbc000 { | 47 | macb0: ethernet@fffbc000 { |
48 | phy-mode = "rmii"; | 48 | phy-mode = "rmii"; |
49 | status = "okay"; | 49 | status = "okay"; |
50 | |||
51 | phy0: ethernet-phy { | ||
52 | interrupt-parent = <&pioC>; | ||
53 | interrupts = <4 IRQ_TYPE_EDGE_BOTH>; | ||
54 | }; | ||
50 | }; | 55 | }; |
51 | 56 | ||
52 | usb1: gadget@fffb0000 { | 57 | usb1: gadget@fffb0000 { |