imx6qdl-sabresd.dtsi 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. / {
  13. memory {
  14. reg = <0x10000000 0x40000000>;
  15. };
  16. regulators {
  17. compatible = "simple-bus";
  18. reg_usb_otg_vbus: usb_otg_vbus {
  19. compatible = "regulator-fixed";
  20. regulator-name = "usb_otg_vbus";
  21. regulator-min-microvolt = <5000000>;
  22. regulator-max-microvolt = <5000000>;
  23. gpio = <&gpio3 22 0>;
  24. enable-active-high;
  25. };
  26. reg_audio: wm8962_supply {
  27. compatible = "regulator-fixed";
  28. regulator-name = "wm8962-supply";
  29. gpio = <&gpio4 10 0>;
  30. enable-active-high;
  31. };
  32. };
  33. gpio-keys {
  34. compatible = "gpio-keys";
  35. volume-up {
  36. label = "Volume Up";
  37. gpios = <&gpio1 4 0>;
  38. linux,code = <115>; /* KEY_VOLUMEUP */
  39. };
  40. volume-down {
  41. label = "Volume Down";
  42. gpios = <&gpio1 5 0>;
  43. linux,code = <114>; /* KEY_VOLUMEDOWN */
  44. };
  45. };
  46. };
  47. &audmux {
  48. pinctrl-names = "default";
  49. pinctrl-0 = <&pinctrl_audmux_2>;
  50. status = "okay";
  51. };
  52. &fec {
  53. pinctrl-names = "default";
  54. pinctrl-0 = <&pinctrl_enet_1>;
  55. phy-mode = "rgmii";
  56. status = "okay";
  57. };
  58. &i2c1 {
  59. clock-frequency = <100000>;
  60. pinctrl-names = "default";
  61. pinctrl-0 = <&pinctrl_i2c1_2>;
  62. status = "okay";
  63. codec: wm8962@1a {
  64. compatible = "wlf,wm8962";
  65. reg = <0x1a>;
  66. clocks = <&clks 169>;
  67. DCVDD-supply = <&reg_audio>;
  68. DBVDD-supply = <&reg_audio>;
  69. AVDD-supply = <&reg_audio>;
  70. CPVDD-supply = <&reg_audio>;
  71. MICVDD-supply = <&reg_audio>;
  72. PLLVDD-supply = <&reg_audio>;
  73. SPKVDD1-supply = <&reg_audio>;
  74. SPKVDD2-supply = <&reg_audio>;
  75. gpio-cfg = <
  76. 0x0000 /* 0:Default */
  77. 0x0000 /* 1:Default */
  78. 0x0013 /* 2:FN_DMICCLK */
  79. 0x0000 /* 3:Default */
  80. 0x8014 /* 4:FN_DMICCDAT */
  81. 0x0000 /* 5:Default */
  82. >;
  83. };
  84. };
  85. &ssi2 {
  86. fsl,mode = "i2s-slave";
  87. status = "okay";
  88. };
  89. &uart1 {
  90. pinctrl-names = "default";
  91. pinctrl-0 = <&pinctrl_uart1_1>;
  92. status = "okay";
  93. };
  94. &usbh1 {
  95. status = "okay";
  96. };
  97. &usbotg {
  98. vbus-supply = <&reg_usb_otg_vbus>;
  99. pinctrl-names = "default";
  100. pinctrl-0 = <&pinctrl_usbotg_2>;
  101. disable-over-current;
  102. status = "okay";
  103. };
  104. &usdhc2 {
  105. pinctrl-names = "default";
  106. pinctrl-0 = <&pinctrl_usdhc2_1>;
  107. cd-gpios = <&gpio2 2 0>;
  108. wp-gpios = <&gpio2 3 0>;
  109. status = "okay";
  110. };
  111. &usdhc3 {
  112. pinctrl-names = "default";
  113. pinctrl-0 = <&pinctrl_usdhc3_1>;
  114. cd-gpios = <&gpio2 0 0>;
  115. wp-gpios = <&gpio2 1 0>;
  116. status = "okay";
  117. };