diff options
author | Andre Przywara <andre.przywara@arm.com> | 2018-07-30 14:31:32 +0200 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2018-08-27 09:42:55 +0200 |
commit | 21eac6f33e68ae778e9d1c910606452abf058d3d (patch) | |
tree | 18c93ff2d5db7fce7b7ae7f60543a9f0d8f4c388 /arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts | |
parent | arm64: dts: allwinner: a64: Olinuxino: fix DRAM voltage (diff) | |
download | linux-21eac6f33e68ae778e9d1c910606452abf058d3d.tar.xz linux-21eac6f33e68ae778e9d1c910606452abf058d3d.zip |
arm64: dts: allwinner: a64: Olinuxino: add Ethernet nodes
Add the DT nodes required to enable the Gigabit Ethernet on the board.
The PHY is powered by the always-on power rail VDD_SYS_3.3V (DCDC1).
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts')
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts index b3f186434f36..26075b9a76e3 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts @@ -51,6 +51,7 @@ compatible = "olimex,a64-olinuxino", "allwinner,sun50i-a64"; aliases { + ethernet0 = &emac; serial0 = &uart0; }; @@ -64,6 +65,22 @@ }; }; +&emac { + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + phy-mode = "rgmii"; + phy-handle = <&ext_rgmii_phy>; + phy-supply = <®_dcdc1>; + status = "okay"; +}; + +&mdio { + ext_rgmii_phy: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + }; +}; + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins>; |