Basically, Radxa's boards are intended to turn LEDs on at U-Boot.
add `default-state = "on"` to u-boot.dtsi.
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
#include "rk3328-u-boot.dtsi"
/ {
+ leds {
+ led-0 {
+ default-state = "on";
+ };
+ };
+
smbios {
compatible = "u-boot,sysinfo-smbios";
#include "rk3399-u-boot.dtsi"
#include "rk3399-sdram-lpddr4-100.dtsi"
+/ {
+ leds {
+ led-0 {
+ default-state = "on";
+ };
+
+ led-1 {
+ default-state = "on";
+ };
+ };
+};
+
&pcfg_pull_none_18ma {
bootph-pre-ram;
bootph-some-ram;
#include "rk3399-u-boot.dtsi"
#include "rk3399-sdram-lpddr4-100.dtsi"
+/ {
+ leds {
+ led-0 {
+ default-state = "on";
+ };
+ };
+};
+
&sdhci {
cap-mmc-highspeed;
mmc-ddr-1_8v;
#include "rk356x-u-boot.dtsi"
+/ {
+ leds {
+ led-1 {
+ default-state = "on";
+ };
+ };
+};
+
&sdhci {
cap-mmc-highspeed;
};
#include "rk356x-u-boot.dtsi"
+/ {
+ gpio-leds {
+ led-0 {
+ default-state = "on";
+ };
+
+ led-red {
+ default-state = "on";
+ gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
+ };
+
+ led-green {
+ default-state = "on";
+ gpios = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>;
+ };
+
+ led-blue {
+ default-state = "on";
+ gpios = <&gpio4 RK_PC5 GPIO_ACTIVE_HIGH>;
+ };
+ };
+};
+
&pcie3x1 {
pinctrl-0 = <&pcie30x1_reset_h>;
};
#include "rk356x-u-boot.dtsi"
+/ {
+ leds {
+ led-0 {
+ default-state = "on";
+ };
+ };
+};
+
&pcie3x2 {
pinctrl-0 = <&pcie3x2_reset_h>;
};
#include <dt-bindings/usb/pd.h>
#include "rk3588-u-boot.dtsi"
+/ {
+ leds {
+ led_rgb_b {
+ default-state = "on";
+ };
+ };
+};
+
&fspim2_pins {
bootph-pre-ram;
bootph-some-ram;
#include "rk3588s-u-boot.dtsi"
+/ {
+ leds {
+ io-led {
+ default-state = "on";
+ };
+ };
+};
+
&sdhci {
cap-mmc-highspeed;
mmc-hs200-1_8v;