imx23-olinuxino.dts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /*
  2. * Copyright 2012 Freescale Semiconductor, Inc.
  3. *
  4. * Author: Fabio Estevam <fabio.estevam@freescale.com>
  5. *
  6. * The code contained herein is licensed under the GNU General Public
  7. * License. You may obtain a copy of the GNU General Public License
  8. * Version 2 or later at the following locations:
  9. *
  10. * http://www.opensource.org/licenses/gpl-license.html
  11. * http://www.gnu.org/copyleft/gpl.html
  12. */
  13. /dts-v1/;
  14. /include/ "imx23.dtsi"
  15. / {
  16. model = "i.MX23 Olinuxino Low Cost Board";
  17. compatible = "olimex,imx23-olinuxino", "fsl,imx23";
  18. memory {
  19. reg = <0x40000000 0x04000000>;
  20. };
  21. apb@80000000 {
  22. apbh@80000000 {
  23. ssp0: ssp@80010000 {
  24. compatible = "fsl,imx23-mmc";
  25. pinctrl-names = "default";
  26. pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
  27. bus-width = <4>;
  28. status = "okay";
  29. };
  30. pinctrl@80018000 {
  31. pinctrl-names = "default";
  32. pinctrl-0 = <&hog_pins_a>;
  33. hog_pins_a: hog@0 {
  34. reg = <0>;
  35. fsl,pinmux-ids = <
  36. 0x2013 /* MX23_PAD_SSP1_DETECT__GPIO_2_1 */
  37. 0x0113 /* MX23_PAD_GPMI_ALE__GPIO_0_17 */
  38. >;
  39. fsl,drive-strength = <0>;
  40. fsl,voltage = <1>;
  41. fsl,pull-up = <0>;
  42. };
  43. };
  44. };
  45. apbx@80040000 {
  46. duart: serial@80070000 {
  47. pinctrl-names = "default";
  48. pinctrl-0 = <&duart_pins_a>;
  49. status = "okay";
  50. };
  51. auart0: serial@8006c000 {
  52. pinctrl-names = "default";
  53. pinctrl-0 = <&auart0_2pins_a>;
  54. status = "okay";
  55. };
  56. usbphy0: usbphy@8007c000 {
  57. status = "okay";
  58. };
  59. };
  60. };
  61. ahb@80080000 {
  62. usb0: usb@80080000 {
  63. vbus-supply = <&reg_usb0_vbus>;
  64. status = "okay";
  65. };
  66. };
  67. regulators {
  68. compatible = "simple-bus";
  69. reg_usb0_vbus: usb0_vbus {
  70. compatible = "regulator-fixed";
  71. regulator-name = "usb0_vbus";
  72. regulator-min-microvolt = <5000000>;
  73. regulator-max-microvolt = <5000000>;
  74. enable-active-high;
  75. startup-delay-us = <300>; /* LAN9215 requires a POR of 200us minimum */
  76. gpio = <&gpio0 17 0>;
  77. };
  78. };
  79. leds {
  80. compatible = "gpio-leds";
  81. user {
  82. label = "green";
  83. gpios = <&gpio2 1 0>;
  84. linux,default-trigger = "default-on";
  85. };
  86. };
  87. };