imx28-sps1.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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. 0x0003 /* MX28_PAD_GPMI_D00__GPIO_0_0 */
  28. 0x0033 /* MX28_PAD_GPMI_D03__GPIO_0_3 */
  29. 0x0063 /* MX28_PAD_GPMI_D06__GPIO_0_6 */
  30. >;
  31. fsl,drive-strength = <0>;
  32. fsl,voltage = <1>;
  33. fsl,pull-up = <0>;
  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. clock-frequency = <400000>;
  64. status = "okay";
  65. rtc: rtc@51 {
  66. compatible = "nxp,pcf8563";
  67. reg = <0x51>;
  68. };
  69. eeprom: eeprom@52 {
  70. compatible = "atmel,24c64";
  71. reg = <0x52>;
  72. pagesize = <32>;
  73. };
  74. };
  75. duart: serial@80074000 {
  76. pinctrl-names = "default";
  77. pinctrl-0 = <&duart_pins_a>;
  78. status = "okay";
  79. };
  80. usbphy0: usbphy@8007c000 {
  81. status = "okay";
  82. };
  83. auart0: serial@8006a000 {
  84. pinctrl-names = "default";
  85. pinctrl-0 = <&auart0_pins_a>;
  86. status = "okay";
  87. };
  88. };
  89. };
  90. ahb@80080000 {
  91. usb0: usb@80080000 {
  92. vbus-supply = <&reg_usb0_vbus>;
  93. pinctrl-names = "default";
  94. pinctrl-0 = <&usbphy0_pins_b>;
  95. status = "okay";
  96. };
  97. mac0: ethernet@800f0000 {
  98. phy-mode = "rmii";
  99. pinctrl-names = "default";
  100. pinctrl-0 = <&mac0_pins_a>;
  101. status = "okay";
  102. };
  103. mac1: ethernet@800f4000 {
  104. phy-mode = "rmii";
  105. pinctrl-names = "default";
  106. pinctrl-0 = <&mac1_pins_a>;
  107. status = "okay";
  108. };
  109. };
  110. regulators {
  111. compatible = "simple-bus";
  112. reg_usb0_vbus: usb0_vbus {
  113. compatible = "regulator-fixed";
  114. regulator-name = "usb0_vbus";
  115. regulator-min-microvolt = <5000000>;
  116. regulator-max-microvolt = <5000000>;
  117. gpio = <&gpio3 9 0>;
  118. };
  119. };
  120. leds {
  121. #address-cells = <1>;
  122. #size-cells = <0>;
  123. compatible = "gpio-leds";
  124. status = "okay";
  125. led@1 {
  126. label = "sps1-1:yellow:user";
  127. gpios = <&gpio0 6 0>;
  128. linux,default-trigger = "heartbeat";
  129. reg = <0>;
  130. };
  131. led@2 {
  132. label = "sps1-2:red:user";
  133. gpios = <&gpio0 3 0>;
  134. linux,default-trigger = "heartbeat";
  135. reg = <1>;
  136. };
  137. led@3 {
  138. label = "sps1-3:red:user";
  139. gpios = <&gpio0 0 0>;
  140. default-trigger = "heartbeat";
  141. reg = <2>;
  142. };
  143. };
  144. };