Merge tag 'armsoc-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[sfrench/cifs-2.6.git] / arch / arm64 / boot / dts / rockchip / rk3328-evb.dts
index 86605ae7b6f5de536696ee23242cf64458462cf0..8e6a6543175673d6fd9e3d7e5d370b29ac7a2c50 100644 (file)
                regulator-max-microvolt = <5000000>;
                vin-supply = <&dc_12v>;
        };
+
+       vcc_phy: vcc-phy-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "vcc_phy";
+               regulator-always-on;
+               regulator-boot-on;
+       };
+};
+
+&gmac2phy {
+       phy-supply = <&vcc_phy>;
+       clock_in_out = "output";
+       assigned-clocks = <&cru SCLK_MAC2PHY_SRC>;
+       assigned-clock-rate = <50000000>;
+       assigned-clocks = <&cru SCLK_MAC2PHY>;
+       assigned-clock-parents = <&cru SCLK_MAC2PHY_SRC>;
+       status = "okay";
 };
 
 &i2c1 {