ste-href520-tvk.dts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Device Tree for the HREF520 version with the TVK1281618 R3 UIB
  4. */
  5. /dts-v1/;
  6. #include "ste-db8520.dtsi"
  7. #include "ste-hrefv60plus.dtsi"
  8. #include "ste-href-tvk1281618-r3.dtsi"
  9. / {
  10. model = "ST-Ericsson HREF520 and TVK1281618 R3 UIB";
  11. compatible = "st-ericsson,href520", "st-ericsson,u8500";
  12. /* ST6G3244ME level translator for 1.8/2.9 V */
  13. vmmci: regulator-gpio {
  14. compatible = "regulator-gpio";
  15. regulator-min-microvolt = <1800000>;
  16. regulator-max-microvolt = <2900000>;
  17. regulator-name = "mmci-reg";
  18. regulator-type = "voltage";
  19. startup-delay-us = <100>;
  20. states = <1800000 0x1
  21. 2900000 0x0>;
  22. gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
  23. enable-gpio = <&gpio2 14 GPIO_ACTIVE_HIGH>;
  24. enable-active-high;
  25. pinctrl-names = "default";
  26. pinctrl-0 = <&vmmci_default_mode>;
  27. };
  28. };
  29. &pinctrl {
  30. vmmci {
  31. vmmci_default_mode: vmmc_default {
  32. /* VMMCI level-shifter enable */
  33. default_href520_cfg1 {
  34. pins = "GPIO78_F4";
  35. ste,config = <&gpio_out_hi>;
  36. };
  37. /* VMMCI level-shifter voltage select */
  38. default_href520_cfg2 {
  39. pins = "GPIO5_AG6";
  40. ste,config = <&gpio_out_hi>;
  41. };
  42. };
  43. };
  44. };