Skip to content

arch/arm/boot/dts/st/stm32429i-eval.dts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585

8686
leds {
8787
compatible = "gpio-leds";
88-
led-green {
88+
led_green: led-green {
8989
function = LED_FUNCTION_HEARTBEAT;
9090
color = <LED_COLOR_ID_GREEN>;
9191
gpios = <&gpiog 6 1>;
@@ -127,6 +127,13 @@
127127
regulator-max-microvolt = <3300000>;
128128
};
129129

130+
options {
131+
u-boot {
132+
compatible = "u-boot,config";
133+
boot-led = <&led_green>;
134+
};
135+
};
136+
130137
panel_rgb: panel-rgb {
131138
compatible = "ampire,am-480272h3tmqw-t01h";
132139
power-supply = <&vdd_panel>;

arch/arm/boot/dts/st/stm32746g-eval.dts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767

6868
leds {
6969
compatible = "gpio-leds";
70-
led-green {
70+
led_green: led-green {
7171
function = LED_FUNCTION_HEARTBEAT;
7272
color = <LED_COLOR_ID_GREEN>;
7373
gpios = <&gpiof 10 1>;
@@ -133,6 +133,13 @@
133133
};
134134
};
135135

136+
options {
137+
u-boot {
138+
compatible = "u-boot,config";
139+
boot-led = <&led_green>;
140+
};
141+
};
142+
136143
usbotg_hs_phy: usb-phy {
137144
#phy-cells = <0>;
138145
compatible = "usb-nop-xceiv";

arch/arm/boot/dts/st/stm32f429-disco.dts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
color = <LED_COLOR_ID_RED>;
7878
gpios = <&gpiog 14 0>;
7979
};
80-
led-green {
80+
led_green: led-green {
8181
function = LED_FUNCTION_HEARTBEAT;
8282
color = <LED_COLOR_ID_GREEN>;
8383
gpios = <&gpiog 13 0>;
@@ -95,6 +95,13 @@
9595
};
9696
};
9797

98+
options {
99+
u-boot {
100+
compatible = "u-boot,config";
101+
boot-led = <&led_green>;
102+
};
103+
};
104+
98105
/* This turns on vbus for otg for host mode (dwc2) */
99106
vcc5v_otg: vcc5v-otg-regulator {
100107
compatible = "regulator-fixed";

arch/arm/boot/dts/st/stm32f469-disco.dts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383

8484
leds {
8585
compatible = "gpio-leds";
86-
led-green {
86+
led_green: led-green {
8787
function = LED_FUNCTION_HEARTBEAT;
8888
color = <LED_COLOR_ID_GREEN>;
8989
gpios = <&gpiog 6 GPIO_ACTIVE_LOW>;
@@ -113,6 +113,13 @@
113113
};
114114
};
115115

116+
options {
117+
u-boot {
118+
compatible = "u-boot,config";
119+
boot-led = <&led_green>;
120+
};
121+
};
122+
116123
/* This turns on vbus for otg for host mode (dwc2) */
117124
vcc5v_otg: vcc5v-otg-regulator {
118125
compatible = "regulator-fixed";

arch/arm/boot/dts/st/stm32f746-disco.dts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
leds {
8383
compatible = "gpio-leds";
84-
led-usr {
84+
led_usr: led-usr {
8585
function = LED_FUNCTION_HEARTBEAT;
8686
color = <LED_COLOR_ID_GREEN>;
8787
gpios = <&gpioi 1 GPIO_ACTIVE_HIGH>;
@@ -99,6 +99,13 @@
9999
};
100100
};
101101

102+
options {
103+
u-boot {
104+
compatible = "u-boot,config";
105+
boot-led = <&led_usr>;
106+
};
107+
};
108+
102109
usbotg_hs_phy: usb-phy {
103110
#phy-cells = <0>;
104111
compatible = "usb-nop-xceiv";

arch/arm/boot/dts/st/stm32f769-disco.dts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
leds {
8282
compatible = "gpio-leds";
83-
led-usr2 {
83+
led_usr2: led-usr2 {
8484
function = LED_FUNCTION_HEARTBEAT;
8585
color = <LED_COLOR_ID_GREEN>;
8686
gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>;
@@ -106,6 +106,13 @@
106106
};
107107
};
108108

109+
options {
110+
u-boot {
111+
compatible = "u-boot,config";
112+
boot-led = <&led_usr2>;
113+
};
114+
};
115+
109116
usbotg_hs_phy: usb-phy {
110117
#phy-cells = <0>;
111118
compatible = "usb-nop-xceiv";

arch/arm/boot/dts/st/stm32h743i-disco.dts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
leds {
7676
compatible = "gpio-leds";
77-
led-green {
77+
led_green: led-green {
7878
function = LED_FUNCTION_HEARTBEAT;
7979
color = <LED_COLOR_ID_GREEN>;
8080
gpios = <&gpioi 12 GPIO_ACTIVE_LOW>;
@@ -96,6 +96,13 @@
9696
gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
9797
};
9898
};
99+
100+
options {
101+
u-boot {
102+
compatible = "u-boot,config";
103+
boot-led = <&led_green>;
104+
};
105+
};
99106
};
100107

101108
&clk_hse {

arch/arm/boot/dts/st/stm32h743i-eval.dts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
led {
6868
compatible = "gpio-leds";
69-
led-green {
69+
led_green: led-green {
7070
function = LED_FUNCTION_HEARTBEAT;
7171
color = <LED_COLOR_ID_GREEN>;
7272
gpios = <&gpiof 10 GPIO_ACTIVE_LOW>;
@@ -80,6 +80,13 @@
8080
};
8181
};
8282

83+
options {
84+
u-boot {
85+
compatible = "u-boot,config";
86+
boot-led = <&led_green>;
87+
};
88+
};
89+
8390
vdda: regulator-vdda {
8491
compatible = "regulator-fixed";
8592
regulator-name = "vdda";

arch/arm/boot/dts/st/stm32h747i-disco.dts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
leds {
4141
compatible = "gpio-leds";
42-
led-green {
42+
led_green: led-green {
4343
function = LED_FUNCTION_HEARTBEAT;
4444
color = <LED_COLOR_ID_GREEN>;
4545
gpios = <&gpioi 12 GPIO_ACTIVE_LOW>;
@@ -93,6 +93,13 @@
9393
gpios = <&gpiok 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
9494
};
9595
};
96+
97+
options {
98+
u-boot {
99+
compatible = "u-boot,config";
100+
boot-led = <&led_green>;
101+
};
102+
};
96103
};
97104

98105
&clk_hse {

0 commit comments

Comments
 (0)