Received: from mail.naobsd.org (sakura.naobsd.org [160.16.200.221]) (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 79DCF189B96 for ; Thu, 8 Aug 2024 09:38:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=160.16.200.221 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723109928; cv=none; b=lBjU3eSmTuoAHR80QTZ+QY2qh/1dIL3IFnmX7KyH+9HSJ0fH8w30SLDyJk8b6rgQ8Kl7Kvp23n7mOxL+iQjZ7nSKE58zIkwwG204URBh5BuU8awipZWF/vj+olleknIET+qvwmMLbl43y0VdpdMXruPRTXLHV74dPsLK9BScBZo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723109928; c=relaxed/simple; bh=4AfXJXFto8BD9z5IYVIA3NaNS87/W9ZqY72DzUrHOJk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mARqqAMOr+9ZTCjFo2J6zeTLUrhBW8snE2fUNDi+6AHbCvisC4DtiimXR5N5O//jO+Hn6yHxJTXmyKhxIUCRpzd+5Yyia+ffUzTQJyK4zVaWwNRo8TPI5bTCYLclLwCfjwQM1TvhhxZY/imiP7s7vCz6L0o7KDdmyNGL0pzgI5U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=radxa.com; spf=fail smtp.mailfrom=radxa.com; arc=none smtp.client-ip=160.16.200.221 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=radxa.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=radxa.com Received: from secure.fukaumi.org ([10.0.0.2]) by mail.naobsd.org (8.14.4/8.14.4/Debian-4.1ubuntu1.1) with ESMTP id 4789cSE5030905; Thu, 8 Aug 2024 18:38:30 +0900 From: FUKAUMI Naoki To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, FUKAUMI Naoki Subject: [PATCH 04/10] arm64: dts: rockchip: standardize the definition of LEDs for Radxa ROCK Pi 4 Date: Thu, 8 Aug 2024 18:38:02 +0900 Message-ID: <20240808093808.1740-5-naoki@radxa.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808093808.1740-1-naoki@radxa.com> References: <20240808093808.1740-1-naoki@radxa.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit - sort properties - add default-state - change function from STATUS to HEARTBEAT Signed-off-by: FUKAUMI Naoki --- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi index 9666504cd1c1..bdca1a135f06 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi @@ -33,8 +33,9 @@ leds { /* USER_LED2 */ led-0 { - function = LED_FUNCTION_STATUS; color = ; + default-state = "on"; + function = LED_FUNCTION_HEARTBEAT; gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; -- 2.43.0