diff mbox series

[1/1] ARM: dts: opos6ul: add ksz8081 phy properties

Message ID 20201217104905.25369-1-sebastien.szymanski@armadeus.com (mailing list archive)
State New, archived
Headers show
Series [1/1] ARM: dts: opos6ul: add ksz8081 phy properties | expand

Commit Message

Sébastien Szymanski Dec. 17, 2020, 10:49 a.m. UTC
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 <sebastien.szymanski@armadeus.com>
---
 arch/arm/boot/dts/imx6ul-imx6ull-opos6ul.dtsi | 3 +++
 1 file changed, 3 insertions(+)

Comments

Fabio Estevam Dec. 17, 2020, 11:38 a.m. UTC | #1
On Thu, Dec 17, 2020 at 7:49 AM Sébastien Szymanski
<sebastien.szymanski@armadeus.com> 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 <sebastien.szymanski@armadeus.com>

Reviewed-by: Fabio Estevam <festevam@gmail.com>
diff mbox series

Patch

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";
 		};
 	};