Skip to content

Commit

Permalink
ARM: dts: sun7i: cubieboard2: Enable the EMAC
Browse files Browse the repository at this point in the history
The Cubieboard2, just like its A10 counterpart, has the Ethernet wired
in. Enable it in the DT.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Maxime Ripard authored and Olof Johansson committed Sep 12, 2013
1 parent 756084c commit 0547433
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,21 @@
compatible = "cubietech,cubieboard2", "allwinner,sun7i-a20";

soc@01c00000 {
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_cubieboard2: led_pins@0 {
allwinner,pins = "PH20", "PH21";
Expand Down

0 comments on commit 0547433

Please sign in to comment.