imx23-evk.dts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /*
  2. * Copyright 2012 Freescale Semiconductor, Inc.
  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/ "imx23.dtsi"
  13. / {
  14. model = "Freescale i.MX23 Evaluation Kit";
  15. compatible = "fsl,imx23-evk", "fsl,imx23";
  16. memory {
  17. reg = <0x40000000 0x08000000>;
  18. };
  19. apb@80000000 {
  20. apbh@80000000 {
  21. gpmi-nand@8000c000 {
  22. pinctrl-names = "default";
  23. pinctrl-0 = <&gpmi_pins_a &gpmi_pins_fixup>;
  24. status = "okay";
  25. };
  26. ssp0: ssp@80010000 {
  27. compatible = "fsl,imx23-mmc";
  28. pinctrl-names = "default";
  29. pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
  30. bus-width = <4>;
  31. wp-gpios = <&gpio1 30 0>;
  32. vmmc-supply = <&reg_vddio_sd0>;
  33. status = "okay";
  34. };
  35. pinctrl@80018000 {
  36. pinctrl-names = "default";
  37. pinctrl-0 = <&hog_pins_a>;
  38. hog_pins_a: hog@0 {
  39. reg = <0>;
  40. fsl,pinmux-ids = <
  41. 0x1123 /* MX23_PAD_LCD_RESET__GPIO_1_18 */
  42. 0x11d3 /* MX23_PAD_PWM3__GPIO_1_29 */
  43. 0x11e3 /* MX23_PAD_PWM4__GPIO_1_30 */
  44. 0x2010 /* MX23_PAD_SSP1_DETECT__SSP1_DETECT */
  45. >;
  46. fsl,drive-strength = <0>;
  47. fsl,voltage = <1>;
  48. fsl,pull-up = <0>;
  49. };
  50. };
  51. lcdif@80030000 {
  52. pinctrl-names = "default";
  53. pinctrl-0 = <&lcdif_24bit_pins_a>;
  54. lcd-supply = <&reg_lcd_3v3>;
  55. display = <&display>;
  56. status = "okay";
  57. display: display {
  58. bits-per-pixel = <32>;
  59. bus-width = <24>;
  60. display-timings {
  61. native-mode = <&timing0>;
  62. timing0: timing0 {
  63. clock-frequency = <9200000>;
  64. hactive = <480>;
  65. vactive = <272>;
  66. hback-porch = <15>;
  67. hfront-porch = <8>;
  68. vback-porch = <12>;
  69. vfront-porch = <4>;
  70. hsync-len = <1>;
  71. vsync-len = <1>;
  72. hsync-active = <0>;
  73. vsync-active = <0>;
  74. de-active = <1>;
  75. pixelclk-active = <0>;
  76. };
  77. };
  78. };
  79. };
  80. };
  81. apbx@80040000 {
  82. pwm: pwm@80064000 {
  83. pinctrl-names = "default";
  84. pinctrl-0 = <&pwm2_pins_a>;
  85. status = "okay";
  86. };
  87. auart0: serial@8006c000 {
  88. pinctrl-names = "default";
  89. pinctrl-0 = <&auart0_pins_a>;
  90. status = "okay";
  91. };
  92. duart: serial@80070000 {
  93. pinctrl-names = "default";
  94. pinctrl-0 = <&duart_pins_a>;
  95. status = "okay";
  96. };
  97. };
  98. };
  99. regulators {
  100. compatible = "simple-bus";
  101. reg_vddio_sd0: vddio-sd0 {
  102. compatible = "regulator-fixed";
  103. regulator-name = "vddio-sd0";
  104. regulator-min-microvolt = <3300000>;
  105. regulator-max-microvolt = <3300000>;
  106. gpio = <&gpio1 29 0>;
  107. };
  108. reg_lcd_3v3: lcd-3v3 {
  109. compatible = "regulator-fixed";
  110. regulator-name = "lcd-3v3";
  111. regulator-min-microvolt = <3300000>;
  112. regulator-max-microvolt = <3300000>;
  113. gpio = <&gpio1 18 0>;
  114. enable-active-high;
  115. };
  116. };
  117. backlight {
  118. compatible = "pwm-backlight";
  119. pwms = <&pwm 2 5000000>;
  120. brightness-levels = <0 4 8 16 32 64 128 255>;
  121. default-brightness-level = <6>;
  122. };
  123. };