imx28-sps1.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. /*
  2. * Copyright (C) 2012 Marek Vasut <marex@denx.de>
  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 "imx28.dtsi"
  13. / {
  14. model = "SchulerControl GmbH, SC SPS 1";
  15. compatible = "schulercontrol,imx28-sps1", "fsl,imx28";
  16. memory {
  17. reg = <0x40000000 0x08000000>;
  18. };
  19. apb@80000000 {
  20. apbh@80000000 {
  21. pinctrl@80018000 {
  22. pinctrl-names = "default";
  23. pinctrl-0 = <&hog_pins_a>;
  24. hog_pins_a: hog-gpios@0 {
  25. reg = <0>;
  26. fsl,pinmux-ids = <
  27. MX28_PAD_GPMI_D00__GPIO_0_0
  28. MX28_PAD_GPMI_D03__GPIO_0_3
  29. MX28_PAD_GPMI_D06__GPIO_0_6
  30. >;
  31. fsl,drive-strength = <MXS_DRIVE_4mA>;
  32. fsl,voltage = <MXS_VOLTAGE_HIGH>;
  33. fsl,pull-up = <MXS_PULL_DISABLE>;
  34. };
  35. };
  36. ssp0: ssp@80010000 {
  37. compatible = "fsl,imx28-mmc";
  38. pinctrl-names = "default";
  39. pinctrl-0 = <&mmc0_4bit_pins_a>;
  40. bus-width = <4>;
  41. status = "okay";
  42. };
  43. ssp2: ssp@80014000 {
  44. #address-cells = <1>;
  45. #size-cells = <0>;
  46. compatible = "fsl,imx28-spi";
  47. pinctrl-names = "default";
  48. pinctrl-0 = <&spi2_pins_a>;
  49. status = "okay";
  50. flash: m25p80@0 {
  51. #address-cells = <1>;
  52. #size-cells = <1>;
  53. compatible = "everspin,mr25h256", "mr25h256";
  54. spi-max-frequency = <40000000>;
  55. reg = <0>;
  56. };
  57. };
  58. };
  59. apbx@80040000 {
  60. i2c0: i2c@80058000 {
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&i2c0_pins_a>;
  63. status = "okay";
  64. rtc: rtc@51 {
  65. compatible = "nxp,pcf8563";
  66. reg = <0x51>;
  67. };
  68. eeprom: eeprom@52 {
  69. compatible = "atmel,24c64";
  70. reg = <0x52>;
  71. pagesize = <32>;
  72. };
  73. };
  74. duart: serial@80074000 {
  75. pinctrl-names = "default";
  76. pinctrl-0 = <&duart_pins_a>;
  77. status = "okay";
  78. };
  79. usbphy0: usbphy@8007c000 {
  80. status = "okay";
  81. };
  82. auart0: serial@8006a000 {
  83. pinctrl-names = "default";
  84. pinctrl-0 = <&auart0_pins_a>;
  85. status = "okay";
  86. };
  87. };
  88. };
  89. ahb@80080000 {
  90. usb0: usb@80080000 {
  91. vbus-supply = <&reg_usb0_vbus>;
  92. pinctrl-names = "default";
  93. pinctrl-0 = <&usb0_pins_b>;
  94. status = "okay";
  95. };
  96. mac0: ethernet@800f0000 {
  97. phy-mode = "rmii";
  98. pinctrl-names = "default";
  99. pinctrl-0 = <&mac0_pins_a>;
  100. status = "okay";
  101. };
  102. mac1: ethernet@800f4000 {
  103. phy-mode = "rmii";
  104. pinctrl-names = "default";
  105. pinctrl-0 = <&mac1_pins_a>;
  106. status = "okay";
  107. };
  108. };
  109. regulators {
  110. compatible = "simple-bus";
  111. #address-cells = <1>;
  112. #size-cells = <0>;
  113. reg_usb0_vbus: regulator@0 {
  114. compatible = "regulator-fixed";
  115. reg = <0>;
  116. regulator-name = "usb0_vbus";
  117. regulator-min-microvolt = <5000000>;
  118. regulator-max-microvolt = <5000000>;
  119. gpio = <&gpio3 9 0>;
  120. };
  121. };
  122. leds {
  123. #address-cells = <1>;
  124. #size-cells = <0>;
  125. compatible = "gpio-leds";
  126. status = "okay";
  127. led@1 {
  128. label = "sps1-1:yellow:user";
  129. gpios = <&gpio0 6 0>;
  130. linux,default-trigger = "heartbeat";
  131. reg = <0>;
  132. };
  133. led@2 {
  134. label = "sps1-2:red:user";
  135. gpios = <&gpio0 3 0>;
  136. linux,default-trigger = "heartbeat";
  137. reg = <1>;
  138. };
  139. led@3 {
  140. label = "sps1-3:red:user";
  141. gpios = <&gpio0 0 0>;
  142. default-trigger = "heartbeat";
  143. reg = <2>;
  144. };
  145. };
  146. };