mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
1c61a8f958
Hardware -------- RockChip RK3588 ARM64 (8 cores) 4/8/16/32GB LPDDR4X RAM 2500 Base-T RGB LED eMMC Connector SPI-NOR 16MB Micro-SD Slot 2x USB 2.0 Port 2x USB 3.0 Port Headphone Jack M.2 E-Key M.2 M-Key USB PD 5/9/12/15/20V Power Install -------- Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/16149 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
39 lines
945 B
Diff
39 lines
945 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Tianling Shen <cnsztl@gmail.com>
|
|
Date: Mon Aug 05 16:14:33 2024 +0800
|
|
Subject: [PATCH] arm64: dts: rockchip: Update LED properties for Radxa
|
|
Rock 5B
|
|
|
|
Add OpenWrt's LED aliases for showing system status.
|
|
|
|
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
|
|
---
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
|
|
@@ -14,6 +14,11 @@
|
|
mmc0 = &sdhci;
|
|
mmc1 = &sdmmc;
|
|
mmc2 = &sdio;
|
|
+
|
|
+ led-boot = &status_led;
|
|
+ led-failsafe = &status_led;
|
|
+ led-running = &status_led;
|
|
+ led-upgrade = &status_led;
|
|
};
|
|
|
|
chosen {
|
|
@@ -42,11 +47,10 @@
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&led_rgb_b>;
|
|
|
|
- led_rgb_b {
|
|
+ status_led: led_rgb_b {
|
|
function = LED_FUNCTION_STATUS;
|
|
color = <LED_COLOR_ID_BLUE>;
|
|
gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>;
|
|
- linux,default-trigger = "heartbeat";
|
|
};
|
|
};
|
|
|