1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (C) 2018 Amarula Solutions
3 // Author: Jagan Teki <jagan@amarulasolutions.com>
5 #include "sun50i-h6-orangepi.dtsi"
8 model = "OrangePi One Plus";
9 compatible = "xunlong,orangepi-one-plus", "allwinner,sun50i-h6";
15 reg_gmac_3v3: gmac-3v3 {
16 compatible = "regulator-fixed";
17 regulator-name = "vcc-gmac-3v3";
18 regulator-min-microvolt = <3300000>;
19 regulator-max-microvolt = <3300000>;
20 startup-delay-us = <100000>;
22 gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>; /* PD6 */
23 vin-supply = <®_aldo2>;
28 pinctrl-names = "default";
29 pinctrl-0 = <&ext_rgmii_pins>;
30 phy-mode = "rgmii-id";
31 phy-handle = <&ext_rgmii_phy>;
32 phy-supply = <®_gmac_3v3>;
33 allwinner,rx-delay-ps = <200>;
34 allwinner,tx-delay-ps = <200>;
39 ext_rgmii_phy: ethernet-phy@1 {
40 compatible = "ethernet-phy-ieee802.3-c22";