leds {
compatible = "gpio-leds";
- led-green {
+ led_green: led-green {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpiog 6 1>;
regulator-max-microvolt = <3300000>;
};
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_green>;
+ };
+ };
+
panel_rgb: panel-rgb {
compatible = "ampire,am-480272h3tmqw-t01h";
power-supply = <&vdd_panel>;
leds {
compatible = "gpio-leds";
- led-green {
+ led_green: led-green {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpiof 10 1>;
};
};
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_green>;
+ };
+ };
+
usbotg_hs_phy: usb-phy {
#phy-cells = <0>;
compatible = "usb-nop-xceiv";
color = <LED_COLOR_ID_RED>;
gpios = <&gpiog 14 0>;
};
- led-green {
+ led_green: led-green {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpiog 13 0>;
};
};
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_green>;
+ };
+ };
+
/* This turns on vbus for otg for host mode (dwc2) */
vcc5v_otg: vcc5v-otg-regulator {
compatible = "regulator-fixed";
leds {
compatible = "gpio-leds";
- led-green {
+ led_green: led-green {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpiog 6 GPIO_ACTIVE_LOW>;
};
};
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_green>;
+ };
+ };
+
/* This turns on vbus for otg for host mode (dwc2) */
vcc5v_otg: vcc5v-otg-regulator {
compatible = "regulator-fixed";
leds {
compatible = "gpio-leds";
- led-usr {
+ led_usr: led-usr {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpioi 1 GPIO_ACTIVE_HIGH>;
};
};
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_usr>;
+ };
+ };
+
usbotg_hs_phy: usb-phy {
#phy-cells = <0>;
compatible = "usb-nop-xceiv";
leds {
compatible = "gpio-leds";
- led-usr2 {
+ led_usr2: led-usr2 {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>;
};
};
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_usr2>;
+ };
+ };
+
usbotg_hs_phy: usb-phy {
#phy-cells = <0>;
compatible = "usb-nop-xceiv";
leds {
compatible = "gpio-leds";
- led-green {
+ led_green: led-green {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpioi 12 GPIO_ACTIVE_LOW>;
gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
};
};
+
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_green>;
+ };
+ };
};
&clk_hse {
led {
compatible = "gpio-leds";
- led-green {
+ led_green: led-green {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpiof 10 GPIO_ACTIVE_LOW>;
};
};
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_green>;
+ };
+ };
+
vdda: regulator-vdda {
compatible = "regulator-fixed";
regulator-name = "vdda";
leds {
compatible = "gpio-leds";
- led-green {
+ led_green: led-green {
function = LED_FUNCTION_HEARTBEAT;
color = <LED_COLOR_ID_GREEN>;
gpios = <&gpioi 12 GPIO_ACTIVE_LOW>;
gpios = <&gpiok 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
};
+
+ options {
+ u-boot {
+ compatible = "u-boot,config";
+ boot-led = <&led_green>;
+ };
+ };
};
&clk_hse {