imx28-cfa10036.dts 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. * Copyright 2012 Free Electrons
  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. /dts-v1/;
  12. /include/ "imx28.dtsi"
  13. / {
  14. model = "Crystalfontz CFA-10036 Board";
  15. compatible = "crystalfontz,cfa10036", "fsl,imx28";
  16. memory {
  17. reg = <0x40000000 0x08000000>;
  18. };
  19. apb@80000000 {
  20. apbh@80000000 {
  21. pinctrl@80018000 {
  22. pinctrl-names = "default";
  23. pinctrl-0 = <&hog_pins_cfa10036>;
  24. hog_pins_cfa10036: hog-10036@0 {
  25. reg = <0>;
  26. fsl,pinmux-ids = <
  27. 0x2073 /* MX28_PAD_SSP0_D7__GPIO_2_7 */
  28. >;
  29. fsl,drive-strength = <0>;
  30. fsl,voltage = <1>;
  31. fsl,pull-up = <0>;
  32. };
  33. led_pins_cfa10036: leds-10036@0 {
  34. reg = <0>;
  35. fsl,pinmux-ids = <
  36. 0x3043 /* MX28_PAD_AUART1_RX__GPIO_3_4 */
  37. >;
  38. fsl,drive-strength = <0>;
  39. fsl,voltage = <1>;
  40. fsl,pull-up = <0>;
  41. };
  42. };
  43. ssp0: ssp@80010000 {
  44. compatible = "fsl,imx28-mmc";
  45. pinctrl-names = "default";
  46. pinctrl-0 = <&mmc0_4bit_pins_a
  47. &mmc0_cd_cfg &mmc0_sck_cfg>;
  48. bus-width = <4>;
  49. status = "okay";
  50. };
  51. };
  52. apbx@80040000 {
  53. duart: serial@80074000 {
  54. pinctrl-names = "default";
  55. pinctrl-0 = <&duart_pins_b>;
  56. status = "okay";
  57. };
  58. i2c0: i2c@80058000 {
  59. pinctrl-names = "default";
  60. pinctrl-0 = <&i2c0_pins_b>;
  61. status = "okay";
  62. ssd1306: oled@3c {
  63. compatible = "solomon,ssd1306fb-i2c";
  64. reg = <0x3c>;
  65. reset-gpios = <&gpio2 7 0>;
  66. solomon,height = <32>;
  67. solomon,width = <128>;
  68. solomon,page-offset = <0>;
  69. };
  70. };
  71. };
  72. };
  73. leds {
  74. compatible = "gpio-leds";
  75. pinctrl-names = "default";
  76. pinctrl-0 = <&led_pins_cfa10036>;
  77. power {
  78. gpios = <&gpio3 4 1>;
  79. default-state = "on";
  80. };
  81. };
  82. };