]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: turris-omnia: configure LED[0] pin function to link/activity
authorMarek Behún <kabel@kernel.org>
Mon, 4 Jul 2022 11:36:21 +0000 (13:36 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 18 Jul 2022 10:42:18 +0000 (12:42 +0200)
commitef59db7182808d64be6d9a40bf3cbfc93cd32583
tree20b2df6caecb66a2b5851838ae358711c8ef5321
parentcf1710d1388cf5bd81996b258399c4907d27006e
ARM: dts: turris-omnia: configure LED[0] pin function to link/activity

The marvell PHY driver changes the LED[0] pin function to "On - 1000
Mbps Link, Off - Else".

Turris Omnia expects that the function is "On - Link, Blink - Activity,
Off - No link".

Use the `marvell,reg-init` DT property to change the function.

In the future, once netdev trigger will support HW offloading, we will
be able to have this configured via the combination of PHY driver and
leds-turris-omnia driver.

Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-385-turris-omnia.dts