diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-03-08 16:18:27 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-03-15 07:13:43 +0100 |
commit | b0884cf28fa32c06d9649ed585d688a9cbdf18e1 (patch) | |
tree | f978d230412c45ca5bba79a82ae9655c57a6ab06 /arch/arm/boot/dts/imx6q-ba16.dtsi | |
parent | ARM: dts: imx6q-ba16: add USB OTG VBUS enable GPIO (diff) | |
download | linux-b0884cf28fa32c06d9649ed585d688a9cbdf18e1.tar.xz linux-b0884cf28fa32c06d9649ed585d688a9cbdf18e1.zip |
ARM: dts: imx6q-ba16: improve PHY information
Add PHY voltage supply information fixing the following kernel message:
2188000.ethernet supply phy not found, using dummy regulator
Also add PHY clock information to avoid depending on the bootloader
programming correct values.
The bootloader also sets some reserved registers in the PHY as
advised by Qualcomm, which is not supported by the bindings/kernel
driver, so the reset GPIO has not been added intentionally.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-ba16.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6q-ba16.dtsi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-ba16.dtsi b/arch/arm/boot/dts/imx6q-ba16.dtsi index 826fd51b1d98..6330d75f8f39 100644 --- a/arch/arm/boot/dts/imx6q-ba16.dtsi +++ b/arch/arm/boot/dts/imx6q-ba16.dtsi @@ -175,7 +175,19 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; phy-mode = "rgmii-id"; + phy-supply = <®_3p3v>; + phy-handle = <&phy0>; status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + phy0: ethernet-phy@4 { + reg = <4>; + qca,clk-out-frequency = <125000000>; + }; + }; }; &hdmi { |