imx1-apf9328.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /*
  2. * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
  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 "imx1.dtsi"
  13. / {
  14. model = "Armadeus APF9328";
  15. compatible = "armadeus,imx1-apf9328", "fsl,imx1";
  16. chosen {
  17. stdout-path = &uart1;
  18. };
  19. memory {
  20. reg = <0x08000000 0x00800000>;
  21. };
  22. };
  23. &i2c {
  24. pinctrl-names = "default";
  25. pinctrl-0 = <&pinctrl_i2c>;
  26. status = "okay";
  27. };
  28. &uart1 {
  29. pinctrl-names = "default";
  30. pinctrl-0 = <&pinctrl_uart1>;
  31. fsl,uart-has-rtscts;
  32. status = "okay";
  33. };
  34. &uart2 {
  35. pinctrl-names = "default";
  36. pinctrl-0 = <&pinctrl_uart2>;
  37. fsl,uart-has-rtscts;
  38. status = "okay";
  39. };
  40. &weim {
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&pinctrl_weim>;
  43. status = "okay";
  44. nor: nor@0,0 {
  45. compatible = "cfi-flash";
  46. reg = <0 0x00000000 0x02000000>;
  47. bank-width = <2>;
  48. fsl,weim-cs-timing = <0x00330e04 0x00000d01>;
  49. #address-cells = <1>;
  50. #size-cells = <1>;
  51. };
  52. eth: eth@4,c00000 {
  53. pinctrl-names = "default";
  54. pinctrl-0 = <&pinctrl_eth>;
  55. compatible = "davicom,dm9000";
  56. reg = <
  57. 4 0x00c00000 0x2
  58. 4 0x00c00002 0x2
  59. >;
  60. interrupt-parent = <&gpio2>;
  61. interrupts = <14 IRQ_TYPE_LEVEL_LOW>;
  62. fsl,weim-cs-timing = <0x0000c700 0x19190d01>;
  63. };
  64. };
  65. &iomuxc {
  66. imx1-apf9328 {
  67. pinctrl_eth: ethgrp {
  68. fsl,pins = <
  69. MX1_PAD_SIM_SVEN__GPIO2_14 0x0
  70. >;
  71. };
  72. pinctrl_i2c: i2cgrp {
  73. fsl,pins = <
  74. MX1_PAD_I2C_SCL__I2C_SCL 0x0
  75. MX1_PAD_I2C_SDA__I2C_SDA 0x0
  76. >;
  77. };
  78. pinctrl_uart1: uart1grp {
  79. fsl,pins = <
  80. MX1_PAD_UART1_TXD__UART1_TXD 0x0
  81. MX1_PAD_UART1_RXD__UART1_RXD 0x0
  82. MX1_PAD_UART1_CTS__UART1_CTS 0x0
  83. MX1_PAD_UART1_RTS__UART1_RTS 0x0
  84. >;
  85. };
  86. pinctrl_uart2: uart2grp {
  87. fsl,pins = <
  88. MX1_PAD_UART2_TXD__UART2_TXD 0x0
  89. MX1_PAD_UART2_RXD__UART2_RXD 0x0
  90. MX1_PAD_UART2_CTS__UART2_CTS 0x0
  91. MX1_PAD_UART2_RTS__UART2_RTS 0x0
  92. >;
  93. };
  94. pinctrl_weim: weimgrp {
  95. fsl,pins = <
  96. MX1_PAD_A0__A0 0x0
  97. MX1_PAD_A16__A16 0x0
  98. MX1_PAD_A17__A17 0x0
  99. MX1_PAD_A18__A18 0x0
  100. MX1_PAD_A19__A19 0x0
  101. MX1_PAD_A20__A20 0x0
  102. MX1_PAD_A21__A21 0x0
  103. MX1_PAD_A22__A22 0x0
  104. MX1_PAD_A23__A23 0x0
  105. MX1_PAD_A24__A24 0x0
  106. MX1_PAD_BCLK__BCLK 0x0
  107. MX1_PAD_CS4__CS4 0x0
  108. MX1_PAD_DTACK__DTACK 0x0
  109. MX1_PAD_ECB__ECB 0x0
  110. MX1_PAD_LBA__LBA 0x0
  111. >;
  112. };
  113. };
  114. };