mstar-infinity-breadbee-common.dtsi 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright (c) 2020 thingy.jp.
  4. * Author: Daniel Palmer <[email protected]>
  5. */
  6. #include <dt-bindings/gpio/gpio.h>
  7. / {
  8. vcc_core: fixedregulator@0 {
  9. compatible = "regulator-fixed";
  10. regulator-name = "vcc_core";
  11. regulator-min-microvolt = <1000000>;
  12. regulator-max-microvolt = <1000000>;
  13. regulator-boot-on;
  14. };
  15. vcc_dram: fixedregulator@1 {
  16. compatible = "regulator-fixed";
  17. regulator-name = "vcc_dram";
  18. regulator-min-microvolt = <1800000>;
  19. regulator-max-microvolt = <1800000>;
  20. regulator-boot-on;
  21. };
  22. vcc_io: fixedregulator@2 {
  23. compatible = "regulator-fixed";
  24. regulator-name = "vcc_io";
  25. regulator-min-microvolt = <3300000>;
  26. regulator-max-microvolt = <3300000>;
  27. regulator-boot-on;
  28. };
  29. leds {
  30. compatible = "gpio-leds";
  31. red {
  32. gpios = <&gpio MSC313_GPIO_SR_IO16 GPIO_ACTIVE_HIGH>;
  33. linux,default-trigger = "activity";
  34. };
  35. yellow {
  36. gpios = <&gpio MSC313_GPIO_SR_IO17 GPIO_ACTIVE_HIGH>;
  37. linux,default-trigger = "heartbeat";
  38. };
  39. };
  40. };
  41. &cpu0 {
  42. cpu-supply = <&vcc_core>;
  43. };