imx6q-sabresd.dts 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. soc {
  21. aips-bus@02000000 { /* AIPS1 */
  22. spba-bus@02000000 {
  23. uart1: serial@02020000 {
  24. pinctrl-names = "default";
  25. pinctrl-0 = <&pinctrl_uart1_1>;
  26. status = "okay";
  27. };
  28. };
  29. iomuxc@020e0000 {
  30. pinctrl-names = "default";
  31. pinctrl-0 = <&pinctrl_hog>;
  32. hog {
  33. pinctrl_hog: hoggrp {
  34. fsl,pins = <
  35. 1004 0x80000000 /* MX6Q_PAD_GPIO_4__GPIO_1_4 */
  36. 1012 0x80000000 /* MX6Q_PAD_GPIO_5__GPIO_1_5 */
  37. 1402 0x80000000 /* MX6Q_PAD_NANDF_D0__GPIO_2_0 */
  38. 1410 0x80000000 /* MX6Q_PAD_NANDF_D1__GPIO_2_1 */
  39. 1418 0x80000000 /* MX6Q_PAD_NANDF_D2__GPIO_2_2 */
  40. 1426 0x80000000 /* MX6Q_PAD_NANDF_D3__GPIO_2_3 */
  41. >;
  42. };
  43. };
  44. };
  45. };
  46. aips-bus@02100000 { /* AIPS2 */
  47. ethernet@02188000 {
  48. pinctrl-names = "default";
  49. pinctrl-0 = <&pinctrl_enet_1>;
  50. phy-mode = "rgmii";
  51. status = "okay";
  52. };
  53. usdhc@02194000 { /* uSDHC2 */
  54. pinctrl-names = "default";
  55. pinctrl-0 = <&pinctrl_usdhc2_1>;
  56. cd-gpios = <&gpio2 2 0>;
  57. wp-gpios = <&gpio2 3 0>;
  58. status = "okay";
  59. };
  60. usdhc@02198000 { /* uSDHC3 */
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&pinctrl_usdhc3_1>;
  63. cd-gpios = <&gpio2 0 0>;
  64. wp-gpios = <&gpio2 1 0>;
  65. status = "okay";
  66. };
  67. };
  68. };
  69. gpio-keys {
  70. compatible = "gpio-keys";
  71. volume-up {
  72. label = "Volume Up";
  73. gpios = <&gpio1 4 0>;
  74. linux,code = <115>; /* KEY_VOLUMEUP */
  75. };
  76. volume-down {
  77. label = "Volume Down";
  78. gpios = <&gpio1 5 0>;
  79. linux,code = <114>; /* KEY_VOLUMEDOWN */
  80. };
  81. };
  82. };