From nobody Fri Dec 26 17:49:08 2025 Received: from mta-64-226.siemens.flowmailer.net (mta-64-226.siemens.flowmailer.net [185.136.64.226]) (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 7A28E1C6BD for ; Wed, 3 Jan 2024 18:22:39 +0000 (UTC) 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="lTB6xqf9" Received: by mta-64-226.siemens.flowmailer.net with ESMTPSA id 20240103181227ed3c3e29cfde8bd91e for ; Wed, 03 Jan 2024 19:12:28 +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=lZ1Cv4I82IjrNQxqXJm5ReePt00Huq/NrgvU4k4cYLU=; b=lTB6xqf9ux7jIdMRft8n4BODLmcyq4LxIy0lyYXfIQEb8VVPX8UDkeRzxW+pEZvuEaiTNs gdptJ+A/ZPYodq3QrcnTDImj/Kjktwwe73KavKZnZJ9uxAFiheZwotG6hxPMmTqTdUZ5Yhr9 mcErT3EVi3gvSzBUa07sj+e2xRutU=; 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 v2 6/7] arm64: dts: ti: iot2050: Annotate LED nodes Date: Wed, 3 Jan 2024 19:12:23 +0100 Message-Id: <7161f18b049e57c36b21cbe0e0caf046bf6b318e.1704305544.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 | 31 +++++++++++++++---- 1 file changed, 25 insertions(+), 6 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 3ecdd63760e5..46de685cd0f2 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi @@ -10,6 +10,7 @@ */ =20 #include "k3-am654.dtsi" +#include #include #include =20 @@ -83,28 +84,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