armada-8040-mcbin-singleshot.dts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (C) 2016 Marvell Technology Group Ltd.
  4. *
  5. * Device Tree file for MACCHIATOBin Armada 8040 community board platform
  6. */
  7. #include <dt-bindings/leds/common.h>
  8. #include "armada-8040-mcbin.dtsi"
  9. / {
  10. model = "Marvell 8040 MACCHIATOBin Single-shot";
  11. compatible = "marvell,armada8040-mcbin-singleshot",
  12. "marvell,armada8040-mcbin", "marvell,armada8040",
  13. "marvell,armada-ap806-quad", "marvell,armada-ap806";
  14. leds {
  15. compatible = "gpio-leds";
  16. pinctrl-0 = <&cp0_led18_pins>;
  17. pinctrl-names = "default";
  18. led18 {
  19. gpios = <&cp0_gpio2 1 GPIO_ACTIVE_LOW>;
  20. function = LED_FUNCTION_HEARTBEAT;
  21. color = <LED_COLOR_ID_GREEN>;
  22. linux,default-trigger = "heartbeat";
  23. };
  24. };
  25. };
  26. &cp0_eth0 {
  27. status = "okay";
  28. phy-mode = "10gbase-r";
  29. managed = "in-band-status";
  30. sfp = <&sfp_eth0>;
  31. };
  32. &cp1_eth0 {
  33. status = "okay";
  34. phy-mode = "10gbase-r";
  35. managed = "in-band-status";
  36. sfp = <&sfp_eth1>;
  37. };
  38. &cp0_pinctrl {
  39. cp0_led18_pins: led18-pins {
  40. marvell,pins = "mpp33";
  41. marvell,function = "gpio";
  42. };
  43. };