Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyun8023 committed Apr 8, 2024
1 parent 260372c commit a5f1370
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ index 000000000000..f8561dbd00da
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/pinctrl/rockchip.h>
+#include "rk3566.dtsi"
Expand Down Expand Up @@ -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";
Expand All @@ -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";
+ };
Expand Down

0 comments on commit a5f1370

Please sign in to comment.