arm: dts: imx: fsl-imx8qm.dtsi: add gpio aliases to fix gpio command
[oweals/u-boot.git] / arch / arm / dts / stm32mp157c-ed1-u-boot.dtsi
index 200601edff66e4836ffeded9d79f6267bd63a140..4953a0db5552c95fd9db52fa4cf331c1db2f05b0 100644 (file)
        };
 
        config {
+               u-boot,boot-led = "heartbeat";
+               u-boot,error-led = "error";
                st,fastboot-gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
                st,stm32prog-gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
        };
 
        led {
-               compatible = "gpio-leds";
-
                red {
-                       label = "stm32mp:red:status";
+                       label = "error";
                        gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
                        default-state = "off";
+                       status = "okay";
                };
-               green {
-                       label = "stm32mp:green:user";
-                       gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
-                       default-state = "on";
-               };
-               orange {
-                       label = "stm32mp:orange:status";
-                       gpios = <&gpioh 7 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
-               };
+
                blue {
-                       label = "stm32mp:blue:user";
-                       gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
+                       default-state = "on";
                };
        };
 };
        };
        pins2 {
                u-boot,dm-pre-reloc;
+               /* pull-up on rx to avoid floating level */
+               bias-pull-up;
        };
 };