From 8c038e7e14b1c5f156745e3c4df0a3aa46173dd9 Mon Sep 17 00:00:00 2001 From: Boris BREZILLON Date: Thu, 22 Aug 2013 17:58:29 +0200 Subject: ARM: at91/dt: define phy available on sama5d3 mother board This patch describe the phy used on atmel sama5d3 mother board: - phy address - phy interrupt pin Signed-off-by: Boris BREZILLON Signed-off-by: David S. Miller --- arch/arm/boot/dts/sama5d3xmb.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/arm/boot') diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi index 8a9e05d8a4b8..e9521d58e9c1 100644 --- a/arch/arm/boot/dts/sama5d3xmb.dtsi +++ b/arch/arm/boot/dts/sama5d3xmb.dtsi @@ -81,6 +81,14 @@ macb1: ethernet@f802c000 { phy-mode = "rmii"; + + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@0 { + interrupt-parent = <&pioE>; + interrupts = <30 IRQ_TYPE_EDGE_FALLING>; + reg = <1>; + }; }; pinctrl@fffff200 { -- cgit v1.2.3 From a3a975b1dfe999f3e5d38d38f2387894c4332d96 Mon Sep 17 00:00:00 2001 From: Boris BREZILLON Date: Tue, 27 Aug 2013 14:41:53 +0200 Subject: ARM: at91/dt: fix phy address in sama5xmb to match the reg property Fix phy0 address to match the reg property defined in phy0 node. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Signed-off-by: David S. Miller --- arch/arm/boot/dts/sama5d3xmb.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/boot') diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi index e9521d58e9c1..dba739b6ef36 100644 --- a/arch/arm/boot/dts/sama5d3xmb.dtsi +++ b/arch/arm/boot/dts/sama5d3xmb.dtsi @@ -84,7 +84,7 @@ #address-cells = <1>; #size-cells = <0>; - phy0: ethernet-phy@0 { + phy0: ethernet-phy@1 { interrupt-parent = <&pioE>; interrupts = <30 IRQ_TYPE_EDGE_FALLING>; reg = <1>; -- cgit v1.2.3