imx28-cfa10036.dts 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. pwm: pwm@80064000 {
  54. pinctrl-names = "default";
  55. pinctrl-0 = <&pwm4_pins_a>;
  56. status = "okay";
  57. };
  58. duart: serial@80074000 {
  59. pinctrl-names = "default";
  60. pinctrl-0 = <&duart_pins_b>;
  61. status = "okay";
  62. };
  63. i2c0: i2c@80058000 {
  64. pinctrl-names = "default";
  65. pinctrl-0 = <&i2c0_pins_b>;
  66. status = "okay";
  67. ssd1307: oled@3c {
  68. compatible = "solomon,ssd1307fb-i2c";
  69. reg = <0x3c>;
  70. pwms = <&pwm 4 3000>;
  71. reset-gpios = <&gpio2 7 0>;
  72. };
  73. };
  74. };
  75. };
  76. leds {
  77. compatible = "gpio-leds";
  78. pinctrl-names = "default";
  79. pinctrl-0 = <&led_pins_cfa10036>;
  80. power {
  81. gpios = <&gpio3 4 1>;
  82. default-state = "on";
  83. };
  84. };
  85. };