From a5f137026c72749e3f5a7d10957480fcad116629 Mon Sep 17 00:00:00 2001 From: jianyun Date: Mon, 8 Apr 2024 03:22:30 +0000 Subject: [PATCH] update --- .../panther/x2/patches/linux/add-board-panther-x2.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/buildroot-external/board/panther/x2/patches/linux/add-board-panther-x2.patch b/buildroot-external/board/panther/x2/patches/linux/add-board-panther-x2.patch index b6658aa20c3..5bfb07d3029 100644 --- a/buildroot-external/board/panther/x2/patches/linux/add-board-panther-x2.patch +++ b/buildroot-external/board/panther/x2/patches/linux/add-board-panther-x2.patch @@ -19,6 +19,7 @@ index 000000000000..f8561dbd00da +/dts-v1/; + +#include ++#include +#include +#include +#include "rk3566.dtsi" @@ -47,9 +48,8 @@ index 000000000000..f8561dbd00da + + leds { + compatible = "gpio-leds"; -+ //Corresponds to the actual order -+ led-power: led-power { -+ label = "led-power"; ++ led_power: led-power { ++ label = "power"; + gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; + function = LED_FUNCTION_POWER; + default-state = "keep"; @@ -70,8 +70,9 @@ index 000000000000..f8561dbd00da + label = "led-eth"; + default-state = "off"; + gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>; ++ function = LED_FUNCTION_LAN; + pinctrl-names = "default"; -+ pinctrl-0 = <&pin>; ++ pinctrl-0 = <&led_eth_pin>; + retain-state-suspended; + status = "okay"; + };