imx28-duckbill.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /*
  2. * Copyright (C) 2013 Michael Heimpold <mhei@heimpold.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 = "I2SE Duckbill";
  15. compatible = "i2se,duckbill", "fsl,imx28";
  16. memory {
  17. reg = <0x40000000 0x08000000>;
  18. };
  19. apb@80000000 {
  20. apbh@80000000 {
  21. ssp0: ssp@80010000 {
  22. compatible = "fsl,imx28-mmc";
  23. pinctrl-names = "default";
  24. pinctrl-0 = <&mmc0_4bit_pins_a
  25. &mmc0_cd_cfg &mmc0_sck_cfg>;
  26. bus-width = <4>;
  27. vmmc-supply = <&reg_3p3v>;
  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. MX28_PAD_SSP0_DATA7__GPIO_2_7 /* PHY Reset */
  37. >;
  38. fsl,drive-strength = <MXS_DRIVE_4mA>;
  39. fsl,voltage = <MXS_VOLTAGE_HIGH>;
  40. fsl,pull-up = <MXS_PULL_DISABLE>;
  41. };
  42. led_pins_a: led_gpio@0 {
  43. reg = <0>;
  44. fsl,pinmux-ids = <
  45. MX28_PAD_AUART1_RX__GPIO_3_4
  46. MX28_PAD_AUART1_TX__GPIO_3_5
  47. >;
  48. fsl,drive-strength = <MXS_DRIVE_4mA>;
  49. fsl,voltage = <MXS_VOLTAGE_HIGH>;
  50. fsl,pull-up = <MXS_PULL_DISABLE>;
  51. };
  52. };
  53. };
  54. apbx@80040000 {
  55. duart: serial@80074000 {
  56. pinctrl-names = "default";
  57. pinctrl-0 = <&duart_pins_a>;
  58. status = "okay";
  59. };
  60. usbphy0: usbphy@8007c000 {
  61. status = "okay";
  62. };
  63. };
  64. };
  65. ahb@80080000 {
  66. usb0: usb@80080000 {
  67. status = "okay";
  68. };
  69. mac0: ethernet@800f0000 {
  70. phy-mode = "rmii";
  71. pinctrl-names = "default";
  72. pinctrl-0 = <&mac0_pins_a>;
  73. phy-supply = <&reg_3p3v>;
  74. phy-reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
  75. phy-reset-duration = <100>;
  76. status = "okay";
  77. };
  78. };
  79. regulators {
  80. compatible = "simple-bus";
  81. #address-cells = <1>;
  82. #size-cells = <0>;
  83. reg_3p3v: regulator@0 {
  84. compatible = "regulator-fixed";
  85. reg = <0>;
  86. regulator-name = "3P3V";
  87. regulator-min-microvolt = <3300000>;
  88. regulator-max-microvolt = <3300000>;
  89. regulator-always-on;
  90. };
  91. };
  92. leds {
  93. compatible = "gpio-leds";
  94. pinctrl-names = "default";
  95. pinctrl-0 = <&led_pins_a>;
  96. status {
  97. label = "duckbill:green:status";
  98. gpios = <&gpio3 5 GPIO_ACTIVE_HIGH>;
  99. };
  100. failure {
  101. label = "duckbill:red:status";
  102. gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
  103. };
  104. };
  105. };