diff --git a/patch/kernel/archive/sunxi-6.1/patches.armbian/arm64-dts-allwinner-h616-LED-green_power_on-red_status_heartbeat.patch b/patch/kernel/archive/sunxi-6.1/patches.armbian/arm64-dts-allwinner-h616-LED-green_power_on-red_status_heartbeat.patch new file mode 100644 index 0000000000..7ff61f15e7 --- /dev/null +++ b/patch/kernel/archive/sunxi-6.1/patches.armbian/arm64-dts-allwinner-h616-LED-green_power_on-red_status_heartbeat.patch @@ -0,0 +1,39 @@ +From e88d105d8051a8f90e6103969858debf7a0946eb Mon Sep 17 00:00:00 2001 +From: AGM1968 +Date: Wed, 31 May 2023 08:12:00 +0000 +Subject: [PATCH] LED-green_power_on-red_status_heartbeat + arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts + +Signed-off-by: AGM1968 +--- + .../boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts +index defb8b71f872..ddb5e387d1f4 100644 +--- a/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts ++++ b/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts +@@ -29,16 +29,17 @@ leds { + compatible = "gpio-leds"; + + led-0 { +- function = LED_FUNCTION_POWER; ++ function = LED_FUNCTION_STATUS; + color = ; + gpios = <&pio 2 12 GPIO_ACTIVE_HIGH>; /* PC12 */ +- default-state = "on"; ++ linux,default-trigger = "heartbeat"; + }; + + led-1 { +- function = LED_FUNCTION_STATUS; ++ function = LED_FUNCTION_POWER; + color = ; + gpios = <&pio 2 13 GPIO_ACTIVE_HIGH>; /* PC13 */ ++ default-state = "on"; + }; + }; + +-- +2.34.1 + diff --git a/patch/kernel/archive/sunxi-6.1/series.armbian b/patch/kernel/archive/sunxi-6.1/series.armbian index f1909bb6e3..25ed8319ba 100644 --- a/patch/kernel/archive/sunxi-6.1/series.armbian +++ b/patch/kernel/archive/sunxi-6.1/series.armbian @@ -95,6 +95,7 @@ patches.armbian/drv-staging-fbtft-add-st7796s.patch patches.armbian/drv-touchscreen-tsc2007-polling.patch patches.armbian/drv-rgb-add-ws2812.patch + patches.armbian/arm64-dts-allwinner-h616-LED-green_power_on-red_status_heartbeat.patch patches.armbian/arm64-dts-allwinner-h616-orangepi-zero2-Enable-expansion-board-USB-ports.patch ################### patches.armbian/arm64-dts-sun50i-a64-pinebook-enable-Bluetooth.patch diff --git a/patch/kernel/archive/sunxi-6.1/series.conf b/patch/kernel/archive/sunxi-6.1/series.conf index f5ee0e1870..b55d2ee7d0 100644 --- a/patch/kernel/archive/sunxi-6.1/series.conf +++ b/patch/kernel/archive/sunxi-6.1/series.conf @@ -499,6 +499,7 @@ patches.armbian/drv-staging-fbtft-add-st7796s.patch patches.armbian/drv-touchscreen-tsc2007-polling.patch patches.armbian/drv-rgb-add-ws2812.patch + patches.armbian/arm64-dts-allwinner-h616-LED-green_power_on-red_status_heartbeat.patch patches.armbian/arm64-dts-allwinner-h616-orangepi-zero2-Enable-expansion-board-USB-ports.patch ################### patches.armbian/arm64-dts-sun50i-a64-pinebook-enable-Bluetooth.patch