From nobody Fri Dec 19 11:24:51 2025 Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net [185.136.64.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C423865BC4 for ; Fri, 9 Feb 2024 07:23:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.136.64.228 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707463411; cv=none; b=VhbHP5TvT9RU3LIzRK53C7rnZlgByXhCBYUZg32iLOOyKxjPy6rR8F5jj9X/AdA27suusc5m1NK8e7Y//zUS6u4sqPAJ99l7ZhKugBsXjJyK/9xlPIWp3Hc/6/jIe+W9jLuitEMYomlwZYmNyE/qWz7CcSAI++2rBbDU/Yc9ufA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707463411; c=relaxed/simple; bh=+VQ0OzGI7s60jod0Wom+quriTvmt944wujZN471+ZaA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=pm1dPlsWSFAW5ej8/IX8KYiqLKu/k0PMQxlxI0vjyIzdjWVjiJgfNsmsW9fX4NbW+vNvnR5lY8oxXLTuqIxvNI747l78yDNaWy2Fwl+0BajXs1xs5VNPnGN1QvrYXhyagC1yQgfqYnQIvAXSOqx9xtgzKOsLhVFJHhl6sGnqhWY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=siemens.com; spf=pass smtp.mailfrom=rts-flowmailer.siemens.com; dkim=pass (1024-bit key) header.d=siemens.com header.i=jan.kiszka@siemens.com header.b=fsD86tUD; arc=none smtp.client-ip=185.136.64.228 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=siemens.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rts-flowmailer.siemens.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=siemens.com header.i=jan.kiszka@siemens.com header.b="fsD86tUD" Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 20240209072325eb6aace34295c0ac60 for ; Fri, 09 Feb 2024 08:23:25 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=jan.kiszka@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=w/nlbIkb6uT5wbQnDjnaa8ve7N7J59uojOGnpzPy6dU=; b=fsD86tUDi20zmqLiHPY0OqNhku7MrQ9fIXxQOvihqaaa6ljp7+IUgvgP1ca/5OoHbBZb9Q 1XFiG+UkDM0D9LbFOKrYkLfUdBweMj2yLgqvzerl7NY1YcsZGfj0G3/VfLikBzc0pLnhInsP iaAUM0CROxL+BgxBn7FLOdW0uXvOc=; From: Jan Kiszka To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bao Cheng Su Subject: [PATCH v3 6/7] arm64: dts: ti: iot2050: Annotate LED nodes Date: Fri, 9 Feb 2024 08:23:20 +0100 Message-Id: <331f8756483e3f896a3e50e069b3e2c0fae7a8ac.1707463401.git.jan.kiszka@siemens.com> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer Content-Type: text/plain; charset="utf-8" From: Jan Kiszka Add function and color properties and use the common scheme for the node name. We can't change the user-visible labels, though, due to existing userspace relying on the current format. Signed-off-by: Jan Kiszka --- .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 33 +++++++++++++++---- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm6= 4/boot/dts/ti/k3-am65-iot2050-common.dtsi index bffc9e251289..caaf6862ae1d 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (c) Siemens AG, 2018-2021 + * Copyright (c) Siemens AG, 2018-2024 * * Authors: * Le Jin @@ -9,6 +9,7 @@ * Common bits of the IOT2050 Basic and Advanced variants, PG1 and PG2 */ =20 +#include #include #include =20 @@ -88,28 +89,46 @@ leds { pinctrl-names =3D "default"; pinctrl-0 =3D <&leds_pins_default>; =20 - status-led-red { + led-0 { + color =3D ; + function =3D LED_FUNCTION_STATUS; + label =3D "status-led-red"; gpios =3D <&wkup_gpio0 32 GPIO_ACTIVE_HIGH>; panic-indicator; }; =20 - status-led-green { + led-1 { + color =3D ; + function =3D LED_FUNCTION_STATUS; + label =3D "status-led-green"; gpios =3D <&wkup_gpio0 24 GPIO_ACTIVE_HIGH>; }; =20 - user-led1-red { + led-2 { + color =3D ; + function =3D LED_FUNCTION_INDICATOR; + label =3D "user-led1-red"; gpios =3D <&pcal9535_3 14 GPIO_ACTIVE_HIGH>; }; =20 - user-led1-green { + led-3 { + color =3D ; + function =3D LED_FUNCTION_INDICATOR; + label =3D "user-led1-green"; gpios =3D <&pcal9535_2 15 GPIO_ACTIVE_HIGH>; }; =20 - user-led2-red { + led-4 { + color =3D ; + function =3D LED_FUNCTION_INDICATOR; + label =3D "user-led2-red"; gpios =3D <&wkup_gpio0 17 GPIO_ACTIVE_HIGH>; }; =20 - user-led2-green { + led-5 { + color =3D ; + function =3D LED_FUNCTION_INDICATOR; + label =3D "user-led2-green"; gpios =3D <&wkup_gpio0 22 GPIO_ACTIVE_HIGH>; }; }; --=20 2.35.3