summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2013-05-30 07:49:24 +0400
committerDavid S. Miller <davem@davemloft.net>2013-06-01 04:23:07 +0400
commite5a84bac5d6797c64541f87e7a567d56699bbb74 (patch)
tree21c7a4e8ef07a64ca932a870eb44040bd8d38e21 /arch/arm/boot/dts/sun4i-a10-cubieboard.dts
parente38afcb33ff4b472254c8f6f140699e002c44d84 (diff)
downloadlinux-e5a84bac5d6797c64541f87e7a567d56699bbb74.tar.xz
ARM: cubieboard: Enable ethernet (EMAC) support in dts
Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Tested-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-cubieboard.dts')
-rw-r--r--arch/arm/boot/dts/sun4i-a10-cubieboard.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index b70fe0db6bb7..e752b570b4ec 100644
--- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
+++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
@@ -27,6 +27,21 @@
};
soc@01c20000 {
+ emac: ethernet@01c0b000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&emac_pins_a>;
+ phy = <&phy1>;
+ status = "okay";
+ };
+
+ mdio@01c0b080 {
+ status = "okay";
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+ };
+
pinctrl@01c20800 {
led_pins_cubieboard: led_pins@0 {
allwinner,pins = "PH20", "PH21";