imx23-olinuxino.dts 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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 <dt-bindings/gpio/gpio.h>
  15. #include "imx23.dtsi"
  16. / {
  17. model = "i.MX23 Olinuxino Low Cost Board";
  18. compatible = "olimex,imx23-olinuxino", "fsl,imx23";
  19. memory {
  20. reg = <0x40000000 0x04000000>;
  21. };
  22. apb@80000000 {
  23. apbh@80000000 {
  24. ssp0: ssp@80010000 {
  25. compatible = "fsl,imx23-mmc";
  26. pinctrl-names = "default";
  27. pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
  28. bus-width = <4>;
  29. broken-cd;
  30. status = "okay";
  31. };
  32. pinctrl@80018000 {
  33. pinctrl-names = "default";
  34. pinctrl-0 = <&hog_pins_a>;
  35. hog_pins_a: hog@0 {
  36. reg = <0>;
  37. fsl,pinmux-ids = <
  38. MX23_PAD_GPMI_ALE__GPIO_0_17
  39. >;
  40. fsl,drive-strength = <MXS_DRIVE_4mA>;
  41. fsl,voltage = <MXS_VOLTAGE_HIGH>;
  42. fsl,pull-up = <MXS_PULL_DISABLE>;
  43. };
  44. led_pin_gpio2_1: led_gpio2_1@0 {
  45. reg = <0>;
  46. fsl,pinmux-ids = <
  47. MX23_PAD_SSP1_DETECT__GPIO_2_1
  48. >;
  49. fsl,drive-strength = <MXS_DRIVE_4mA>;
  50. fsl,voltage = <MXS_VOLTAGE_HIGH>;
  51. fsl,pull-up = <MXS_PULL_DISABLE>;
  52. };
  53. };
  54. ssp1: ssp@80034000 {
  55. #address-cells = <1>;
  56. #size-cells = <0>;
  57. compatible = "fsl,imx23-spi";
  58. pinctrl-names = "default";
  59. pinctrl-0 = <&spi2_pins_a>;
  60. status = "okay";
  61. };
  62. };
  63. apbx@80040000 {
  64. lradc@80050000 {
  65. status = "okay";
  66. };
  67. duart: serial@80070000 {
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&duart_pins_a>;
  70. status = "okay";
  71. };
  72. auart0: serial@8006c000 {
  73. pinctrl-names = "default";
  74. pinctrl-0 = <&auart0_2pins_a>;
  75. status = "okay";
  76. };
  77. usbphy0: usbphy@8007c000 {
  78. status = "okay";
  79. };
  80. };
  81. };
  82. ahb@80080000 {
  83. usb0: usb@80080000 {
  84. dr_mode = "host";
  85. vbus-supply = <&reg_usb0_vbus>;
  86. status = "okay";
  87. };
  88. };
  89. regulators {
  90. compatible = "simple-bus";
  91. #address-cells = <1>;
  92. #size-cells = <0>;
  93. reg_usb0_vbus: regulator@0 {
  94. compatible = "regulator-fixed";
  95. reg = <0>;
  96. regulator-name = "usb0_vbus";
  97. regulator-min-microvolt = <5000000>;
  98. regulator-max-microvolt = <5000000>;
  99. enable-active-high;
  100. startup-delay-us = <300>; /* LAN9215 requires a POR of 200us minimum */
  101. gpio = <&gpio0 17 0>;
  102. };
  103. };
  104. leds {
  105. compatible = "gpio-leds";
  106. pinctrl-names = "default";
  107. pinctrl-0 = <&led_pin_gpio2_1>;
  108. user {
  109. label = "green";
  110. gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
  111. };
  112. };
  113. };