imx28-cfa10036.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. usb0_otg_cfa10036: otg-10036@0 {
  43. reg = <0>;
  44. fsl,pinmux-ids = <
  45. 0x0142 /* MX28_PAD_GPMI_READY0__USB0_ID */
  46. >;
  47. fsl,drive-strength = <0>;
  48. fsl,voltage = <1>;
  49. fsl,pull-up = <0>;
  50. };
  51. };
  52. ssp0: ssp@80010000 {
  53. compatible = "fsl,imx28-mmc";
  54. pinctrl-names = "default";
  55. pinctrl-0 = <&mmc0_4bit_pins_a
  56. &mmc0_cd_cfg &mmc0_sck_cfg>;
  57. bus-width = <4>;
  58. status = "okay";
  59. };
  60. };
  61. apbx@80040000 {
  62. duart: serial@80074000 {
  63. pinctrl-names = "default";
  64. pinctrl-0 = <&duart_pins_b>;
  65. status = "okay";
  66. };
  67. i2c0: i2c@80058000 {
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&i2c0_pins_b>;
  70. clock-frequency = <400000>;
  71. status = "okay";
  72. ssd1306: oled@3c {
  73. compatible = "solomon,ssd1306fb-i2c";
  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. };