imx23-evk.dts 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. ssp0: ssp@80010000 {
  22. compatible = "fsl,imx23-mmc";
  23. pinctrl-names = "default";
  24. pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
  25. bus-width = <4>;
  26. wp-gpios = <&gpio1 30 0>;
  27. vmmc-supply = <&reg_vddio_sd0>;
  28. status = "okay";
  29. };
  30. pinctrl@80018000 {
  31. pinctrl-names = "default";
  32. pinctrl-0 = <&hog_pins_a>;
  33. hog_pins_a: hog-gpios@0 {
  34. reg = <0>;
  35. fsl,pinmux-ids = <
  36. 0x1123 /* MX23_PAD_LCD_RESET__GPIO_1_18 */
  37. 0x11d3 /* MX23_PAD_PWM3__GPIO_1_29 */
  38. 0x11e3 /* MX23_PAD_PWM4__GPIO_1_30 */
  39. >;
  40. fsl,drive-strength = <0>;
  41. fsl,voltage = <1>;
  42. fsl,pull-up = <0>;
  43. };
  44. };
  45. };
  46. apbx@80040000 {
  47. pwm: pwm@80064000 {
  48. pinctrl-names = "default";
  49. pinctrl-0 = <&pwm2_pins_a>;
  50. status = "okay";
  51. };
  52. auart0: serial@8006c000 {
  53. pinctrl-names = "default";
  54. pinctrl-0 = <&auart0_pins_a>;
  55. status = "okay";
  56. };
  57. duart: serial@80070000 {
  58. pinctrl-names = "default";
  59. pinctrl-0 = <&duart_pins_a>;
  60. status = "okay";
  61. };
  62. };
  63. };
  64. regulators {
  65. compatible = "simple-bus";
  66. reg_vddio_sd0: vddio-sd0 {
  67. compatible = "regulator-fixed";
  68. regulator-name = "vddio-sd0";
  69. regulator-min-microvolt = <3300000>;
  70. regulator-max-microvolt = <3300000>;
  71. gpio = <&gpio1 29 0>;
  72. };
  73. };
  74. backlight {
  75. compatible = "pwm-backlight";
  76. pwms = <&pwm 2 5000000>;
  77. brightness-levels = <0 4 8 16 32 64 128 255>;
  78. default-brightness-level = <6>;
  79. };
  80. };