imx27-apf27dev.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. /* APF27Dev is a docking board for the APF27 SOM */
  12. #include "imx27-apf27.dts"
  13. / {
  14. model = "Armadeus Systems APF27Dev docking/development board";
  15. compatible = "armadeus,imx27-apf27dev", "armadeus,imx27-apf27", "fsl,imx27";
  16. gpio-keys {
  17. compatible = "gpio-keys";
  18. user-key {
  19. label = "user";
  20. gpios = <&gpio6 13 0>;
  21. linux,code = <276>; /* BTN_EXTRA */
  22. };
  23. };
  24. leds {
  25. compatible = "gpio-leds";
  26. user {
  27. label = "Heartbeat";
  28. gpios = <&gpio6 14 0>;
  29. linux,default-trigger = "heartbeat";
  30. };
  31. };
  32. };
  33. &cspi1 {
  34. fsl,spi-num-chipselects = <1>;
  35. cs-gpios = <&gpio4 28 1>;
  36. status = "okay";
  37. };
  38. &cspi2 {
  39. fsl,spi-num-chipselects = <3>;
  40. cs-gpios = <&gpio4 21 1>, <&gpio4 27 1>,
  41. <&gpio2 17 1>;
  42. status = "okay";
  43. };
  44. &i2c1 {
  45. clock-frequency = <400000>;
  46. status = "okay";
  47. };
  48. &i2c2 {
  49. status = "okay";
  50. };