From: Tomas Lara Date: Mon, 17 Mar 2025 14:59:23 +0000 (+0000) Subject: rockchip: fix missing ".patch" file extension X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f86476b18bb99f9f9491c30430bfa9fa110cb394;p=openwrt%2Fstaging%2Fneocturne.git rockchip: fix missing ".patch" file extension Fixes missing .patch file extension in: - https://github.com/openwrt/openwrt/commit/de9ad11dac094b6074c9b23341acbc28806404ae - https://github.com/openwrt/openwrt/commit/2e7d060fd1ba6160067df1a2ba303c7c2efe2a7e Signed-off-by: Tomas Lara Link: https://github.com/openwrt/openwrt/pull/18281 Signed-off-by: Robert Marko --- diff --git a/target/linux/rockchip/patches-6.6/401-1-nanopi-r6-show-boot-status-on-system-led b/target/linux/rockchip/patches-6.6/401-1-nanopi-r6-show-boot-status-on-system-led deleted file mode 100644 index f891cf5f16..0000000000 --- a/target/linux/rockchip/patches-6.6/401-1-nanopi-r6-show-boot-status-on-system-led +++ /dev/null @@ -1,33 +0,0 @@ -Nanopi R6: show boot progress on the system LED - -Set up openwrt to show boot progress on the nanopi R6S or R6C system LED. - -The LED blinking states indicate the boot stage. The led is defined as -a power LED, but can still be set to heartbeat in /etc/config/system -after the system is done booting. - ---- a/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi -+++ b/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi -@@ -16,6 +16,10 @@ - ethernet0 = &gmac1; - mmc0 = &sdmmc; - mmc1 = &sdhci; -+ led-boot = &sys_led; -+ led-failsafe = &sys_led; -+ led-running = &sys_led; -+ led-upgrade = &sys_led; - }; - - chosen { -@@ -54,9 +58,9 @@ - - sys_led: led-0 { - color = ; -- function = LED_FUNCTION_HEARTBEAT; -+ function = LED_FUNCTION_POWER; - gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>; -- linux,default-trigger = "heartbeat"; -+ default-state = "on"; - pinctrl-names = "default"; - pinctrl-0 = <&sys_led_pin>; - }; diff --git a/target/linux/rockchip/patches-6.6/401-1-nanopi-r6-show-boot-status-on-system-led.patch b/target/linux/rockchip/patches-6.6/401-1-nanopi-r6-show-boot-status-on-system-led.patch new file mode 100644 index 0000000000..f891cf5f16 --- /dev/null +++ b/target/linux/rockchip/patches-6.6/401-1-nanopi-r6-show-boot-status-on-system-led.patch @@ -0,0 +1,33 @@ +Nanopi R6: show boot progress on the system LED + +Set up openwrt to show boot progress on the nanopi R6S or R6C system LED. + +The LED blinking states indicate the boot stage. The led is defined as +a power LED, but can still be set to heartbeat in /etc/config/system +after the system is done booting. + +--- a/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi ++++ b/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi +@@ -16,6 +16,10 @@ + ethernet0 = &gmac1; + mmc0 = &sdmmc; + mmc1 = &sdhci; ++ led-boot = &sys_led; ++ led-failsafe = &sys_led; ++ led-running = &sys_led; ++ led-upgrade = &sys_led; + }; + + chosen { +@@ -54,9 +58,9 @@ + + sys_led: led-0 { + color = ; +- function = LED_FUNCTION_HEARTBEAT; ++ function = LED_FUNCTION_POWER; + gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>; +- linux,default-trigger = "heartbeat"; ++ default-state = "on"; + pinctrl-names = "default"; + pinctrl-0 = <&sys_led_pin>; + }; diff --git a/target/linux/rockchip/patches-6.6/401-2-nanopi-r6-reset-button b/target/linux/rockchip/patches-6.6/401-2-nanopi-r6-reset-button deleted file mode 100644 index 5ca4aff115..0000000000 --- a/target/linux/rockchip/patches-6.6/401-2-nanopi-r6-reset-button +++ /dev/null @@ -1,18 +0,0 @@ -Nanopi R6: set up reset button to be handled by openwrt - -Set up openwrt to handle the reset button appropriately (so that it -can trigger the various recovery modes) on the nanopi R6S and R6C models. - ---- a/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi -+++ b/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi -@@ -48,8 +48,8 @@ - button-user { - debounce-interval = <50>; - gpios = <&gpio1 RK_PC0 GPIO_ACTIVE_LOW>; -- label = "User Button"; -- linux,code = ; -+ label = "reset"; -+ linux,code = ; - }; - }; - diff --git a/target/linux/rockchip/patches-6.6/401-2-nanopi-r6-reset-button.patch b/target/linux/rockchip/patches-6.6/401-2-nanopi-r6-reset-button.patch new file mode 100644 index 0000000000..5ca4aff115 --- /dev/null +++ b/target/linux/rockchip/patches-6.6/401-2-nanopi-r6-reset-button.patch @@ -0,0 +1,18 @@ +Nanopi R6: set up reset button to be handled by openwrt + +Set up openwrt to handle the reset button appropriately (so that it +can trigger the various recovery modes) on the nanopi R6S and R6C models. + +--- a/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi ++++ b/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi +@@ -48,8 +48,8 @@ + button-user { + debounce-interval = <50>; + gpios = <&gpio1 RK_PC0 GPIO_ACTIVE_LOW>; +- label = "User Button"; +- linux,code = ; ++ label = "reset"; ++ linux,code = ; + }; + }; +