imx51-apf51dev.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /*
  2. * Copyright 2013 Armadeus Systems - <support@armadeus.com>
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 or later at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. /* APF51Dev is a docking board for the APF51 SOM */
  12. #include "imx51-apf51.dts"
  13. / {
  14. model = "Armadeus Systems APF51Dev docking/development board";
  15. compatible = "armadeus,imx51-apf51dev", "armadeus,imx51-apf51", "fsl,imx51";
  16. gpio-keys {
  17. compatible = "gpio-keys";
  18. user-key {
  19. label = "user";
  20. gpios = <&gpio1 3 0>;
  21. linux,code = <256>; /* BTN_0 */
  22. };
  23. };
  24. leds {
  25. compatible = "gpio-leds";
  26. user {
  27. label = "Heartbeat";
  28. gpios = <&gpio1 2 0>;
  29. linux,default-trigger = "heartbeat";
  30. };
  31. };
  32. };
  33. &esdhc1 {
  34. pinctrl-names = "default";
  35. pinctrl-0 = <&pinctrl_esdhc1_1>;
  36. cd-gpios = <&gpio2 29 0>;
  37. bus-width = <4>;
  38. status = "okay";
  39. };
  40. &esdhc2 {
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&pinctrl_esdhc2_1>;
  43. bus-width = <4>;
  44. non-removable;
  45. status = "okay";
  46. };
  47. &iomuxc {
  48. pinctrl-names = "default";
  49. pinctrl-0 = <&pinctrl_hog>;
  50. hog {
  51. pinctrl_hog: hoggrp {
  52. fsl,pins = <
  53. MX51_PAD_EIM_EB2__GPIO2_22 0x0C5
  54. MX51_PAD_EIM_EB3__GPIO2_23 0x0C5
  55. MX51_PAD_EIM_CS4__GPIO2_29 0x100
  56. MX51_PAD_NANDF_D13__GPIO3_27 0x0C5
  57. MX51_PAD_NANDF_D12__GPIO3_28 0x0C5
  58. MX51_PAD_CSPI1_SS0__GPIO4_24 0x0C5
  59. MX51_PAD_CSPI1_SS1__GPIO4_25 0x0C5
  60. MX51_PAD_GPIO1_2__GPIO1_2 0x0C5
  61. MX51_PAD_GPIO1_3__GPIO1_3 0x0C5
  62. >;
  63. };
  64. };
  65. };