ARM: dts: am335x: Guardian: Update life led
authorGireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Fri, 25 Mar 2022 10:06:04 +0000 (10:06 +0000)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Apr 2022 11:03:13 +0000 (14:03 +0300)
 * update life led label and pin number

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
Message-Id: <20220325100613.1494-7-Gireesh.Hiremath@in.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-guardian.dts

index 749239081bf12ba14567948045eb5f37ee0712d3..68443c59aba425d74c44242e39bb39e9ad3b3f9e 100644 (file)
                };
        };
 
-       leds {
-               compatible = "gpio-leds";
+       guardian_leds: gpio-leds {
                pinctrl-names = "default";
-               pinctrl-0 = <&leds_pins>;
+               pinctrl-0 = <&guardian_led_pins>;
+               compatible = "gpio-leds";
 
-               led1 {
-                       label = "green:heartbeat";
-                       gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
+               life-led {
+                       label = "guardian:life-led";
+                       gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "heartbeat";
                        default-state = "off";
                };
                >;
        };
 
-       leds_pins: pinmux_leds_pins {
+       guardian_led_pins: pinmux_guardian_led_pins {
                pinctrl-single,pins = <
-                       AM33XX_IOPAD(0x86c, PIN_OUTPUT | MUX_MODE7)
+                       AM33XX_IOPAD(0x868, PIN_OUTPUT | MUX_MODE7) /* (T16) gpmc_a10.gpio1[26] */
                >;
        };