imx27-apf27dev.dts 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. display: display {
  17. model = "Chimei-LW700AT9003";
  18. native-mode = <&timing0>;
  19. bits-per-pixel = <16>; /* non-standard but required */
  20. fsl,pcr = <0xfae80083>; /* non-standard but required */
  21. display-timings {
  22. timing0: 640x480 {
  23. clock-frequency = <33000033>;
  24. hactive = <800>;
  25. vactive = <640>;
  26. hback-porch = <96>;
  27. hfront-porch = <96>;
  28. vback-porch = <20>;
  29. vfront-porch = <21>;
  30. hsync-len = <64>;
  31. vsync-len = <4>;
  32. };
  33. };
  34. };
  35. gpio-keys {
  36. compatible = "gpio-keys";
  37. user-key {
  38. label = "user";
  39. gpios = <&gpio6 13 0>;
  40. linux,code = <276>; /* BTN_EXTRA */
  41. };
  42. };
  43. leds {
  44. compatible = "gpio-leds";
  45. user {
  46. label = "Heartbeat";
  47. gpios = <&gpio6 14 0>;
  48. linux,default-trigger = "heartbeat";
  49. };
  50. };
  51. };
  52. &cspi1 {
  53. fsl,spi-num-chipselects = <1>;
  54. cs-gpios = <&gpio4 28 1>;
  55. status = "okay";
  56. };
  57. &cspi2 {
  58. fsl,spi-num-chipselects = <3>;
  59. cs-gpios = <&gpio4 21 1>, <&gpio4 27 1>,
  60. <&gpio2 17 1>;
  61. status = "okay";
  62. };
  63. &fb {
  64. display = <&display>;
  65. fsl,dmacr = <0x00020010>;
  66. status = "okay";
  67. };
  68. &i2c1 {
  69. clock-frequency = <400000>;
  70. status = "okay";
  71. rtc@68 {
  72. compatible = "dallas,ds1374";
  73. reg = <0x68>;
  74. };
  75. };
  76. &i2c2 {
  77. status = "okay";
  78. };