summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBiju Das <biju.das@bp.renesas.com>2017-07-07 16:12:45 +0300
committerSimon Horman <horms+renesas@verge.net.au>2017-07-27 17:28:34 +0300
commit9e70afe39eeb33488f0d18131b023b92c1493db8 (patch)
tree14144024a4ca0291082535d0ca3c7bb264c5c0d4 /arch
parent278a1df198625dde663978266de549e8317267cf (diff)
downloadlinux-9e70afe39eeb33488f0d18131b023b92c1493db8.tar.xz
ARM: dts: iwg20d-q7: Add Ethernet AVB support
Define the iWave RainboW-G20D-Qseven board dependent part of the Ethernet AVB device node. Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Chris Paterson <chris.paterson2@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/r8a7743-iwg20d-q7.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
index 497aec00cfac..081af0192851 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
+++ b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
@@ -17,6 +17,7 @@
aliases {
serial0 = &scif0;
+ ethernet0 = &avb;
};
};
@@ -25,6 +26,11 @@
groups = "scif0_data_d";
function = "scif0";
};
+
+ avb_pins: avb {
+ groups = "avb_mdio", "avb_gmii";
+ function = "avb";
+ };
};
&scif0 {
@@ -33,3 +39,18 @@
status = "okay";
};
+
+&avb {
+ pinctrl-0 = <&avb_pins>;
+ pinctrl-names = "default";
+
+ phy-handle = <&phy3>;
+ phy-mode = "gmii";
+ renesas,no-ether-link;
+ status = "okay";
+
+ phy3: ethernet-phy@3 {
+ reg = <3>;
+ micrel,led-mode = <1>;
+ };
+};