diff options
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts index 5851a47a3089..80026f3caafc 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts | |||
@@ -50,4 +50,30 @@ | |||
50 | / { | 50 | / { |
51 | model = "Xunlong Orange Pi Plus 2E"; | 51 | model = "Xunlong Orange Pi Plus 2E"; |
52 | compatible = "xunlong,orangepi-plus2e", "allwinner,sun8i-h3"; | 52 | compatible = "xunlong,orangepi-plus2e", "allwinner,sun8i-h3"; |
53 | |||
54 | reg_gmac_3v3: gmac-3v3 { | ||
55 | compatible = "regulator-fixed"; | ||
56 | regulator-name = "gmac-3v3"; | ||
57 | regulator-min-microvolt = <3300000>; | ||
58 | regulator-max-microvolt = <3300000>; | ||
59 | startup-delay-us = <100000>; | ||
60 | enable-active-high; | ||
61 | gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>; /* PD6 */ | ||
62 | }; | ||
63 | }; | ||
64 | |||
65 | &emac { | ||
66 | pinctrl-names = "default"; | ||
67 | pinctrl-0 = <&emac_rgmii_pins>; | ||
68 | phy-supply = <®_gmac_3v3>; | ||
69 | phy-handle = <&ext_rgmii_phy>; | ||
70 | phy-mode = "rgmii"; | ||
71 | status = "okay"; | ||
72 | }; | ||
73 | |||
74 | &mdio { | ||
75 | ext_rgmii_phy: ethernet-phy@1 { | ||
76 | compatible = "ethernet-phy-ieee802.3-c22"; | ||
77 | reg = <1>; | ||
78 | }; | ||
53 | }; | 79 | }; |