2013-04-29 19:37:14

by [email protected]ns.com

[permalink] [raw]
Subject: [PATCH 5/6] ARM: cubieboard: Enable ethernet (EMAC) support in dts

From: Stefan Roese <[email protected]>

Signed-off-by: Stefan Roese <[email protected]>
---
arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index b70fe0d..32d9b18 100644
--- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
+++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
@@ -27,6 +27,21 @@
};

[email protected] {
+ emac: [email protected] {
+ pinctrl-names = "default";
+ pinctrl-0 = <&emac_pins_a>;
+ phy = <&phy0>;
+ status = "okay";
+ };
+
+ [email protected] {
+ status = "okay";
+
+ phy0: [email protected] {
+ reg = <0>;
+ };
+ };
+
[email protected] {
led_pins_cubieboard: [email protected] {
allwinner,pins = "PH20", "PH21";
--
1.8.1.2