imx23-evk.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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-gpios@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. >;
  45. fsl,drive-strength = <0>;
  46. fsl,voltage = <1>;
  47. fsl,pull-up = <0>;
  48. };
  49. };
  50. lcdif@80030000 {
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&lcdif_24bit_pins_a>;
  53. panel-enable-gpios = <&gpio1 18 0>;
  54. status = "okay";
  55. };
  56. };
  57. apbx@80040000 {
  58. pwm: pwm@80064000 {
  59. pinctrl-names = "default";
  60. pinctrl-0 = <&pwm2_pins_a>;
  61. status = "okay";
  62. };
  63. auart0: serial@8006c000 {
  64. pinctrl-names = "default";
  65. pinctrl-0 = <&auart0_pins_a>;
  66. status = "okay";
  67. };
  68. duart: serial@80070000 {
  69. pinctrl-names = "default";
  70. pinctrl-0 = <&duart_pins_a>;
  71. status = "okay";
  72. };
  73. };
  74. };
  75. regulators {
  76. compatible = "simple-bus";
  77. reg_vddio_sd0: vddio-sd0 {
  78. compatible = "regulator-fixed";
  79. regulator-name = "vddio-sd0";
  80. regulator-min-microvolt = <3300000>;
  81. regulator-max-microvolt = <3300000>;
  82. gpio = <&gpio1 29 0>;
  83. };
  84. };
  85. backlight {
  86. compatible = "pwm-backlight";
  87. pwms = <&pwm 2 5000000>;
  88. brightness-levels = <0 4 8 16 32 64 128 255>;
  89. default-brightness-level = <6>;
  90. };
  91. };