mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
5cffba20f0
commit
44fa054e08
|
@ -47,6 +47,11 @@ &pinctrl_uart1_dcd
|
||||||
macb0: ethernet@fffbc000 {
|
macb0: ethernet@fffbc000 {
|
||||||
phy-mode = "rmii";
|
phy-mode = "rmii";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
phy0: ethernet-phy {
|
||||||
|
interrupt-parent = <&pioC>;
|
||||||
|
interrupts = <4 IRQ_TYPE_EDGE_BOTH>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
usb1: gadget@fffb0000 {
|
usb1: gadget@fffb0000 {
|
||||||
|
|
Loading…
Reference in New Issue