imx6sl-evk.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /*
  2. * Copyright (C) 2013 Freescale Semiconductor, Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. #include "imx6sl.dtsi"
  10. / {
  11. model = "Freescale i.MX6 SoloLite EVK Board";
  12. compatible = "fsl,imx6sl-evk", "fsl,imx6sl";
  13. memory {
  14. reg = <0x80000000 0x40000000>;
  15. };
  16. regulators {
  17. compatible = "simple-bus";
  18. reg_usb_otg1_vbus: usb_otg1_vbus {
  19. compatible = "regulator-fixed";
  20. regulator-name = "usb_otg1_vbus";
  21. regulator-min-microvolt = <5000000>;
  22. regulator-max-microvolt = <5000000>;
  23. gpio = <&gpio4 0 0>;
  24. enable-active-high;
  25. };
  26. reg_usb_otg2_vbus: usb_otg2_vbus {
  27. compatible = "regulator-fixed";
  28. regulator-name = "usb_otg2_vbus";
  29. regulator-min-microvolt = <5000000>;
  30. regulator-max-microvolt = <5000000>;
  31. gpio = <&gpio4 2 0>;
  32. enable-active-high;
  33. };
  34. };
  35. };
  36. &fec {
  37. pinctrl-names = "default";
  38. pinctrl-0 = <&pinctrl_fec_1>;
  39. phy-mode = "rmii";
  40. status = "okay";
  41. };
  42. &iomuxc {
  43. pinctrl-names = "default";
  44. pinctrl-0 = <&pinctrl_hog>;
  45. hog {
  46. pinctrl_hog: hoggrp {
  47. fsl,pins = <
  48. MX6SL_PAD_KEY_ROW7__GPIO4_IO07 0x17059
  49. MX6SL_PAD_KEY_COL7__GPIO4_IO06 0x17059
  50. MX6SL_PAD_SD2_DAT7__GPIO5_IO00 0x17059
  51. MX6SL_PAD_SD2_DAT6__GPIO4_IO29 0x17059
  52. MX6SL_PAD_REF_CLK_32K__GPIO3_IO22 0x17059
  53. MX6SL_PAD_KEY_COL4__GPIO4_IO00 0x80000000
  54. MX6SL_PAD_KEY_COL5__GPIO4_IO02 0x80000000
  55. >;
  56. };
  57. };
  58. };
  59. &uart1 {
  60. pinctrl-names = "default";
  61. pinctrl-0 = <&pinctrl_uart1_1>;
  62. status = "okay";
  63. };
  64. &usbotg1 {
  65. vbus-supply = <&reg_usb_otg1_vbus>;
  66. pinctrl-names = "default";
  67. pinctrl-0 = <&pinctrl_usbotg1_1>;
  68. disable-over-current;
  69. status = "okay";
  70. };
  71. &usbotg2 {
  72. vbus-supply = <&reg_usb_otg2_vbus>;
  73. dr_mode = "host";
  74. disable-over-current;
  75. status = "okay";
  76. };
  77. &usdhc1 {
  78. pinctrl-names = "default";
  79. pinctrl-0 = <&pinctrl_usdhc1_1>;
  80. bus-width = <8>;
  81. cd-gpios = <&gpio4 7 0>;
  82. wp-gpios = <&gpio4 6 0>;
  83. status = "okay";
  84. };
  85. &usdhc2 {
  86. pinctrl-names = "default";
  87. pinctrl-0 = <&pinctrl_usdhc2_1>;
  88. cd-gpios = <&gpio5 0 0>;
  89. wp-gpios = <&gpio4 29 0>;
  90. status = "okay";
  91. };
  92. &usdhc3 {
  93. pinctrl-names = "default";
  94. pinctrl-0 = <&pinctrl_usdhc3_1>;
  95. cd-gpios = <&gpio3 22 0>;
  96. status = "okay";
  97. };