]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/dts/sun8i-h3-orangepi-plus2e.dts
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[u-boot] / arch / arm / dts / sun8i-h3-orangepi-plus2e.dts
index 51aaf49b6dc69fe60d67d580f19662eb66017ace..6dbf7b2e0c13c44f06e7970c006f3357f0d0493e 100644 (file)
 
        reg_gmac_3v3: gmac-3v3 {
                compatible = "regulator-fixed";
-               pinctrl-names = "default";
-               pinctrl-0 = <&gmac_power_pin_orangepi>;
                regulator-name = "gmac-3v3";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                startup-delay-us = <100000>;
                enable-active-high;
-               gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
+               gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>; /* PD6 */
        };
 };
 
 &emac {
-       /* The Orange Pi Plus 2E uses an external gbit phy */
        pinctrl-names = "default";
        pinctrl-0 = <&emac_rgmii_pins>;
        phy-supply = <&reg_gmac_3v3>;
        phy-handle = <&ext_rgmii_phy>;
        phy-mode = "rgmii";
+       status = "okay";
 };
 
 &external_mdio {
                reg = <1>;
        };
 };
-
-&pio {
-       gmac_power_pin_orangepi: gmac_power_pin@0 {
-               allwinner,pins = "PD6";
-               allwinner,function = "gpio_out";
-               allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-               allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
-       };
-};