2020-12-17 10:57:48

by Sébastien Szymanski

[permalink] [raw]
Subject: [PATCH 1/1] ARM: dts: opos6ul: add ksz8081 phy properties

Set clock mode and the LED mode in the device tree instead of relying on
the fixup in mach-imx6ul.

Signed-off-by: Sébastien Szymanski <[email protected]>
---
arch/arm/boot/dts/imx6ul-imx6ull-opos6ul.dtsi | 3 +++
1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul-imx6ull-opos6ul.dtsi b/arch/arm/boot/dts/imx6ul-imx6ull-opos6ul.dtsi
index f2386dcb9ff2..dda4fa91b2f2 100644
--- a/arch/arm/boot/dts/imx6ul-imx6ull-opos6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul-imx6ull-opos6ul.dtsi
@@ -40,6 +40,9 @@ ethphy1: ethernet-phy@1 {
reg = <1>;
interrupt-parent = <&gpio4>;
interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
+ micrel,led-mode = <1>;
+ clocks = <&clks IMX6UL_CLK_ENET_REF>;
+ clock-names = "rmii-ref";
status = "okay";
};
};
--
2.26.2


2020-12-17 11:41:15

by Fabio Estevam

[permalink] [raw]
Subject: Re: [PATCH 1/1] ARM: dts: opos6ul: add ksz8081 phy properties

On Thu, Dec 17, 2020 at 7:49 AM Sébastien Szymanski
<[email protected]> wrote:
>
> Set clock mode and the LED mode in the device tree instead of relying on
> the fixup in mach-imx6ul.
>
> Signed-off-by: Sébastien Szymanski <[email protected]>

Reviewed-by: Fabio Estevam <[email protected]>