imx6sl-evk.dts 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. &ecspi1 {
  37. fsl,spi-num-chipselects = <1>;
  38. cs-gpios = <&gpio4 11 0>;
  39. pinctrl-names = "default";
  40. pinctrl-0 = <&pinctrl_ecspi1_1>;
  41. status = "okay";
  42. flash: m25p80@0 {
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. compatible = "st,m25p32";
  46. spi-max-frequency = <20000000>;
  47. reg = <0>;
  48. };
  49. };
  50. &fec {
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&pinctrl_fec_1>;
  53. phy-mode = "rmii";
  54. status = "okay";
  55. };
  56. &iomuxc {
  57. pinctrl-names = "default";
  58. pinctrl-0 = <&pinctrl_hog>;
  59. hog {
  60. pinctrl_hog: hoggrp {
  61. fsl,pins = <
  62. MX6SL_PAD_KEY_ROW7__GPIO4_IO07 0x17059
  63. MX6SL_PAD_KEY_COL7__GPIO4_IO06 0x17059
  64. MX6SL_PAD_SD2_DAT7__GPIO5_IO00 0x17059
  65. MX6SL_PAD_SD2_DAT6__GPIO4_IO29 0x17059
  66. MX6SL_PAD_REF_CLK_32K__GPIO3_IO22 0x17059
  67. MX6SL_PAD_KEY_COL4__GPIO4_IO00 0x80000000
  68. MX6SL_PAD_KEY_COL5__GPIO4_IO02 0x80000000
  69. >;
  70. };
  71. };
  72. };
  73. &uart1 {
  74. pinctrl-names = "default";
  75. pinctrl-0 = <&pinctrl_uart1_1>;
  76. status = "okay";
  77. };
  78. &usbotg1 {
  79. vbus-supply = <&reg_usb_otg1_vbus>;
  80. pinctrl-names = "default";
  81. pinctrl-0 = <&pinctrl_usbotg1_1>;
  82. disable-over-current;
  83. status = "okay";
  84. };
  85. &usbotg2 {
  86. vbus-supply = <&reg_usb_otg2_vbus>;
  87. dr_mode = "host";
  88. disable-over-current;
  89. status = "okay";
  90. };
  91. &usdhc1 {
  92. pinctrl-names = "default", "state_100mhz", "state_200mhz";
  93. pinctrl-0 = <&pinctrl_usdhc1_1>;
  94. pinctrl-1 = <&pinctrl_usdhc1_1_100mhz>;
  95. pinctrl-2 = <&pinctrl_usdhc1_1_200mhz>;
  96. bus-width = <8>;
  97. cd-gpios = <&gpio4 7 0>;
  98. wp-gpios = <&gpio4 6 0>;
  99. status = "okay";
  100. };
  101. &usdhc2 {
  102. pinctrl-names = "default", "state_100mhz", "state_200mhz";
  103. pinctrl-0 = <&pinctrl_usdhc2_1>;
  104. pinctrl-1 = <&pinctrl_usdhc2_1_100mhz>;
  105. pinctrl-2 = <&pinctrl_usdhc2_1_200mhz>;
  106. cd-gpios = <&gpio5 0 0>;
  107. wp-gpios = <&gpio4 29 0>;
  108. status = "okay";
  109. };
  110. &usdhc3 {
  111. pinctrl-names = "default", "state_100mhz", "state_200mhz";
  112. pinctrl-0 = <&pinctrl_usdhc3_1>;
  113. pinctrl-1 = <&pinctrl_usdhc3_1_100mhz>;
  114. pinctrl-2 = <&pinctrl_usdhc3_1_200mhz>;
  115. cd-gpios = <&gpio3 22 0>;
  116. status = "okay";
  117. };