ste-hrefv60plus-tvk.dts 1.2 KB

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