apx4devkit.dts 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /dts-v1/;
  2. /include/ "imx28.dtsi"
  3. / {
  4. model = "Bluegiga APX4 Development Kit";
  5. compatible = "bluegiga,apx4devkit", "fsl,imx28";
  6. memory {
  7. reg = <0x40000000 0x04000000>;
  8. };
  9. apb@80000000 {
  10. apbh@80000000 {
  11. ssp0: ssp@80010000 {
  12. compatible = "fsl,imx28-mmc";
  13. pinctrl-names = "default";
  14. pinctrl-0 = <&mmc0_8bit_pins_a
  15. &mmc0_cd_cfg
  16. &mmc0_sck_cfg>;
  17. bus-width = <8>;
  18. status = "okay";
  19. };
  20. pinctrl@80018000 {
  21. pinctrl-names = "default";
  22. pinctrl-0 = <&hog_pins_a>;
  23. hog_pins_a: hog-gpios@0 {
  24. reg = <0>;
  25. fsl,pinmux-ids = <
  26. 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */
  27. >;
  28. fsl,drive-strength = <0>;
  29. fsl,voltage = <1>;
  30. fsl,pull-up = <0>;
  31. };
  32. };
  33. };
  34. apbx@80040000 {
  35. saif0: saif@80042000 {
  36. pinctrl-names = "default";
  37. pinctrl-0 = <&saif0_pins_a>;
  38. status = "okay";
  39. };
  40. saif1: saif@80046000 {
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&saif1_pins_a>;
  43. fsl,saif-master = <&saif0>;
  44. status = "okay";
  45. };
  46. i2c0: i2c@80058000 {
  47. pinctrl-names = "default";
  48. pinctrl-0 = <&i2c0_pins_a>;
  49. status = "okay";
  50. sgtl5000: codec@0a {
  51. compatible = "fsl,sgtl5000";
  52. reg = <0x0a>;
  53. VDDA-supply = <&reg_3p3v>;
  54. VDDIO-supply = <&reg_3p3v>;
  55. };
  56. pcf8563: rtc@51 {
  57. compatible = "phg,pcf8563";
  58. reg = <0x51>;
  59. };
  60. };
  61. duart: serial@80074000 {
  62. pinctrl-names = "default";
  63. pinctrl-0 = <&duart_pins_a>;
  64. status = "okay";
  65. };
  66. auart0: serial@8006a000 {
  67. pinctrl-names = "default";
  68. pinctrl-0 = <&auart0_pins_a>;
  69. status = "okay";
  70. };
  71. auart1: serial@8006c000 {
  72. pinctrl-names = "default";
  73. pinctrl-0 = <&auart1_2pins_a>;
  74. status = "okay";
  75. };
  76. auart2: serial@8006e000 {
  77. pinctrl-names = "default";
  78. pinctrl-0 = <&auart2_2pins_a>;
  79. status = "okay";
  80. };
  81. auart3: serial@80070000 {
  82. pinctrl-names = "default";
  83. pinctrl-0 = <&auart3_2pins_a>;
  84. status = "okay";
  85. };
  86. };
  87. };
  88. ahb@80080000 {
  89. mac0: ethernet@800f0000 {
  90. phy-mode = "rmii";
  91. pinctrl-names = "default";
  92. pinctrl-0 = <&mac0_pins_a>;
  93. status = "okay";
  94. };
  95. };
  96. regulators {
  97. compatible = "simple-bus";
  98. reg_3p3v: 3p3v {
  99. compatible = "regulator-fixed";
  100. regulator-name = "3P3V";
  101. regulator-min-microvolt = <3300000>;
  102. regulator-max-microvolt = <3300000>;
  103. regulator-always-on;
  104. };
  105. };
  106. sound {
  107. compatible = "bluegiga,apx4devkit-sgtl5000",
  108. "fsl,mxs-audio-sgtl5000";
  109. model = "apx4devkit-sgtl5000";
  110. saif-controllers = <&saif0 &saif1>;
  111. audio-codec = <&sgtl5000>;
  112. };
  113. leds {
  114. compatible = "gpio-leds";
  115. user {
  116. label = "Heartbeat";
  117. gpios = <&gpio3 28 0>;
  118. linux,default-trigger = "heartbeat";
  119. };
  120. };
  121. };