313-helios4-dts-status-led-alias.patch 716 B

12345678910111213141516171819202122232425262728
  1. --- a/arch/arm/boot/dts/marvell/armada-388-helios4.dts
  2. +++ b/arch/arm/boot/dts/marvell/armada-388-helios4.dts
  3. @@ -15,6 +15,13 @@
  4. model = "Helios4";
  5. compatible = "kobol,helios4", "marvell,armada388",
  6. "marvell,armada385", "marvell,armada380";
  7. +
  8. + aliases {
  9. + led-boot = &led_status;
  10. + led-failsafe = &led_status;
  11. + led-running = &led_status;
  12. + led-upgrade = &led_status;
  13. + };
  14. memory {
  15. device_type = "memory";
  16. @@ -73,10 +80,9 @@
  17. pinctrl-names = "default";
  18. pinctrl-0 = <&helios_system_led_pins>;
  19. - status-led {
  20. + led_status: status-led {
  21. label = "helios4:green:status";
  22. gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
  23. - linux,default-trigger = "heartbeat";
  24. default-state = "on";
  25. };