imx6qdl-sabresd.dtsi 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. &fec {
  48. pinctrl-names = "default";
  49. pinctrl-0 = <&pinctrl_enet_1>;
  50. phy-mode = "rgmii";
  51. status = "okay";
  52. };
  53. &i2c1 {
  54. clock-frequency = <100000>;
  55. pinctrl-names = "default";
  56. pinctrl-0 = <&pinctrl_i2c1_2>;
  57. status = "okay";
  58. codec: wm8962@1a {
  59. compatible = "wlf,wm8962";
  60. reg = <0x1a>;
  61. clocks = <&clks 169>;
  62. DCVDD-supply = <&reg_audio>;
  63. DBVDD-supply = <&reg_audio>;
  64. AVDD-supply = <&reg_audio>;
  65. CPVDD-supply = <&reg_audio>;
  66. MICVDD-supply = <&reg_audio>;
  67. PLLVDD-supply = <&reg_audio>;
  68. SPKVDD1-supply = <&reg_audio>;
  69. SPKVDD2-supply = <&reg_audio>;
  70. gpio-cfg = <
  71. 0x0000 /* 0:Default */
  72. 0x0000 /* 1:Default */
  73. 0x0013 /* 2:FN_DMICCLK */
  74. 0x0000 /* 3:Default */
  75. 0x8014 /* 4:FN_DMICCDAT */
  76. 0x0000 /* 5:Default */
  77. >;
  78. };
  79. };
  80. &uart1 {
  81. pinctrl-names = "default";
  82. pinctrl-0 = <&pinctrl_uart1_1>;
  83. status = "okay";
  84. };
  85. &usbh1 {
  86. status = "okay";
  87. };
  88. &usbotg {
  89. vbus-supply = <&reg_usb_otg_vbus>;
  90. pinctrl-names = "default";
  91. pinctrl-0 = <&pinctrl_usbotg_2>;
  92. disable-over-current;
  93. status = "okay";
  94. };
  95. &usdhc2 {
  96. pinctrl-names = "default";
  97. pinctrl-0 = <&pinctrl_usdhc2_1>;
  98. cd-gpios = <&gpio2 2 0>;
  99. wp-gpios = <&gpio2 3 0>;
  100. status = "okay";
  101. };
  102. &usdhc3 {
  103. pinctrl-names = "default";
  104. pinctrl-0 = <&pinctrl_usdhc3_1>;
  105. cd-gpios = <&gpio2 0 0>;
  106. wp-gpios = <&gpio2 1 0>;
  107. status = "okay";
  108. };