aboutsummaryrefslogtreecommitdiff
path: root/target/linux/rockchip/patches-6.1/109-nanopc-t4-add-led-aliases.patch
blob: 1a80dadd48b93bd38efd96af3ef6ab509fb4ec5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/arch/arm64/boot/dts/rockchip/rk3399-nanopc-t4.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopc-t4.dts
@@ -15,6 +15,13 @@
 	model = "FriendlyElec NanoPC-T4";
 	compatible = "friendlyarm,nanopc-t4", "rockchip,rk3399";
 
+	aliases {
+		led-boot = &status_led;
+		led-failsafe = &status_led;
+		led-running = &status_led;
+		led-upgrade = &status_led;
+	};
+
 	vcc12v0_sys: vcc12v0-sys {
 		compatible = "regulator-fixed";
 		regulator-always-on;