imx6q-sabresd.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /*
  2. * Copyright 2012 Freescale Semiconductor, Inc.
  3. * Copyright 2011 Linaro Ltd.
  4. *
  5. * The code contained herein is licensed under the GNU General Public
  6. * License. You may obtain a copy of the GNU General Public License
  7. * Version 2 or later at the following locations:
  8. *
  9. * http://www.opensource.org/licenses/gpl-license.html
  10. * http://www.gnu.org/copyleft/gpl.html
  11. */
  12. /dts-v1/;
  13. #include "imx6q.dtsi"
  14. / {
  15. model = "Freescale i.MX6Q SABRE Smart Device Board";
  16. compatible = "fsl,imx6q-sabresd", "fsl,imx6q";
  17. memory {
  18. reg = <0x10000000 0x40000000>;
  19. };
  20. regulators {
  21. compatible = "simple-bus";
  22. reg_usb_otg_vbus: usb_otg_vbus {
  23. compatible = "regulator-fixed";
  24. regulator-name = "usb_otg_vbus";
  25. regulator-min-microvolt = <5000000>;
  26. regulator-max-microvolt = <5000000>;
  27. gpio = <&gpio3 22 0>;
  28. enable-active-high;
  29. };
  30. };
  31. gpio-keys {
  32. compatible = "gpio-keys";
  33. volume-up {
  34. label = "Volume Up";
  35. gpios = <&gpio1 4 0>;
  36. linux,code = <115>; /* KEY_VOLUMEUP */
  37. };
  38. volume-down {
  39. label = "Volume Down";
  40. gpios = <&gpio1 5 0>;
  41. linux,code = <114>; /* KEY_VOLUMEDOWN */
  42. };
  43. };
  44. };
  45. &uart1 {
  46. pinctrl-names = "default";
  47. pinctrl-0 = <&pinctrl_uart1_1>;
  48. status = "okay";
  49. };
  50. &iomuxc {
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&pinctrl_hog>;
  53. hog {
  54. pinctrl_hog: hoggrp {
  55. fsl,pins = <
  56. 1004 0x80000000 /* MX6Q_PAD_GPIO_4__GPIO_1_4 */
  57. 1012 0x80000000 /* MX6Q_PAD_GPIO_5__GPIO_1_5 */
  58. 1402 0x80000000 /* MX6Q_PAD_NANDF_D0__GPIO_2_0 */
  59. 1410 0x80000000 /* MX6Q_PAD_NANDF_D1__GPIO_2_1 */
  60. 1418 0x80000000 /* MX6Q_PAD_NANDF_D2__GPIO_2_2 */
  61. 1426 0x80000000 /* MX6Q_PAD_NANDF_D3__GPIO_2_3 */
  62. >;
  63. };
  64. };
  65. };
  66. &usbotg {
  67. vbus-supply = <&reg_usb_otg_vbus>;
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&pinctrl_usbotg_2>;
  70. disable-over-current;
  71. status = "okay";
  72. };
  73. &usbh1 {
  74. status = "okay";
  75. };
  76. &fec {
  77. pinctrl-names = "default";
  78. pinctrl-0 = <&pinctrl_enet_1>;
  79. phy-mode = "rgmii";
  80. status = "okay";
  81. };
  82. &usdhc2 {
  83. pinctrl-names = "default";
  84. pinctrl-0 = <&pinctrl_usdhc2_1>;
  85. cd-gpios = <&gpio2 2 0>;
  86. wp-gpios = <&gpio2 3 0>;
  87. status = "okay";
  88. };
  89. &usdhc3 {
  90. pinctrl-names = "default";
  91. pinctrl-0 = <&pinctrl_usdhc3_1>;
  92. cd-gpios = <&gpio2 0 0>;
  93. wp-gpios = <&gpio2 1 0>;
  94. status = "okay";
  95. };