diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-12-23 19:03:21 +0100 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2020-12-23 19:10:04 +0100 |
commit | d50eadb865445cfb05b137a1453503956f595caa (patch) | |
tree | 6a9f4a152805b401b7bfc93e13b5d568b019dcde | |
parent | 2aee0bee125b72197864712da80bdcd154dbf067 (diff) |
ARM64: dts: colibri-imx6ull: Use regulator-fixed-clock for powering PHY
There is a switch on the colibri-imx6ull that is switched with the clock
for the ethernet phy. To make this properly work we need this regulator.
Make use of that.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r-- | arch/arm/boot/dts/imx6ull-colibri.dtsi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index 881f2ca739ca..81b1e1de3a2e 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -47,6 +47,18 @@ states = <1800000 0x1 3300000 0x0>; vin-supply = <®_module_3v3>; }; + + reg_eth_phy: regulator-eth-phy { + compatible = "regulator-fixed-clock"; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "eth_phy"; + regulator-type = "voltage"; + vin-supply = <®_module_3v3>; + clocks = <&clks IMX6UL_CLK_ENET2_REF_125M>; + startup-delay-us = <150000>; + }; }; &adc1 { @@ -68,6 +80,7 @@ pinctrl-0 = <&pinctrl_enet2>; phy-mode = "rmii"; phy-handle = <ðphy1>; + phy-supply = <®_eth_phy>; status = "okay"; mdio { |