imx28-cfa10036.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. ssd1306_cfa10036: ssd1306-10036@0 {
  23. reg = <0>;
  24. fsl,pinmux-ids = <
  25. 0x2073 /* MX28_PAD_SSP0_D7__GPIO_2_7 */
  26. >;
  27. fsl,drive-strength = <0>;
  28. fsl,voltage = <1>;
  29. fsl,pull-up = <0>;
  30. };
  31. led_pins_cfa10036: leds-10036@0 {
  32. reg = <0>;
  33. fsl,pinmux-ids = <
  34. 0x3043 /* MX28_PAD_AUART1_RX__GPIO_3_4 */
  35. >;
  36. fsl,drive-strength = <0>;
  37. fsl,voltage = <1>;
  38. fsl,pull-up = <0>;
  39. };
  40. usb0_otg_cfa10036: otg-10036@0 {
  41. reg = <0>;
  42. fsl,pinmux-ids = <
  43. 0x0142 /* MX28_PAD_GPMI_READY0__USB0_ID */
  44. >;
  45. fsl,drive-strength = <0>;
  46. fsl,voltage = <1>;
  47. fsl,pull-up = <0>;
  48. };
  49. };
  50. ssp0: ssp@80010000 {
  51. compatible = "fsl,imx28-mmc";
  52. pinctrl-names = "default";
  53. pinctrl-0 = <&mmc0_4bit_pins_a
  54. &mmc0_cd_cfg &mmc0_sck_cfg>;
  55. bus-width = <4>;
  56. status = "okay";
  57. };
  58. };
  59. apbx@80040000 {
  60. duart: serial@80074000 {
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&duart_pins_b>;
  63. status = "okay";
  64. };
  65. i2c0: i2c@80058000 {
  66. pinctrl-names = "default";
  67. pinctrl-0 = <&i2c0_pins_b>;
  68. clock-frequency = <400000>;
  69. status = "okay";
  70. ssd1306: oled@3c {
  71. compatible = "solomon,ssd1306fb-i2c";
  72. pinctrl-names = "default";
  73. pinctrl-0 = <&ssd1306_cfa10036>;
  74. reg = <0x3c>;
  75. reset-gpios = <&gpio2 7 0>;
  76. solomon,height = <32>;
  77. solomon,width = <128>;
  78. solomon,page-offset = <0>;
  79. };
  80. };
  81. usbphy0: usbphy@8007c000 {
  82. status = "okay";
  83. };
  84. };
  85. };
  86. ahb@80080000 {
  87. usb0: usb@80080000 {
  88. pinctrl-names = "default";
  89. pinctrl-0 = <&usb0_otg_cfa10036>;
  90. status = "okay";
  91. };
  92. };
  93. leds {
  94. compatible = "gpio-leds";
  95. pinctrl-names = "default";
  96. pinctrl-0 = <&led_pins_cfa10036>;
  97. power {
  98. gpios = <&gpio3 4 1>;
  99. default-state = "on";
  100. };
  101. };
  102. };