[PATCH V2 06/15] ARM: dts: imx6q-dhcom: Add keys and leds to the PDK2 board
Marek Vasut
marex at denx.de
Tue Jun 22 03:42:42 PDT 2021
On 6/22/21 11:59 AM, Christoph Niedermaier wrote:
> On the PDK2 there are 4 keys and 4 leds. DHCOM GPIOs are
> used for that, but one led isn't useable, because the GPIO
> is already use as touch interrupt.
...used...
[...]
> + led-0 {
> + label = "green:led5";
Documentation/devicetree/bindings/leds/common.yaml says this is deprecated:
label:
description:
The label for this LED. If omitted, the label is taken from the
node name
(excluding the unit address). It has to uniquely identify a
device, i.e.
no other LED class device can be assigned the same label. This
property is
deprecated - use 'function' and 'color' properties instead.
> + gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* GPIO E */
> + default-state = "off";
> + status = "disabled";
> + };
[...]
More information about the linux-arm-kernel
mailing list