imx6q-sabresd.dts 1.7 KB

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