Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ARM: dts: sun8i: Enable sun8i-emac on the Orange PI PC
Enable the sun8i-emac harware present on the Orange PI PC.

Signed-off-by: LABBE Corentin <[email protected]>
  • Loading branch information
montjoie committed May 6, 2016
commit 3293361c4b2692ac5de04956cafa2f7eca4eee1c
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,16 @@
/* USB VBUS is always on */
status = "okay";
};

&ephy {
allwinner,ephy-addr = <0x1>;
};

&emac {
phy = <&phy1>;
phy-mode = "mii";
status = "okay";
phy1: ethernet-phy@1 {
reg = <0>;
};
};