imx27-apf27.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Copyright 2012 Philippe Reynes <[email protected]>
  4. * Copyright 2012 Armadeus Systems <[email protected]>
  5. *
  6. * Based on code which is: Copyright 2012 Sascha Hauer, Pengutronix
  7. */
  8. /dts-v1/;
  9. #include "imx27.dtsi"
  10. / {
  11. model = "Armadeus Systems APF27 module";
  12. compatible = "armadeus,imx27-apf27", "fsl,imx27";
  13. memory@a0000000 {
  14. device_type = "memory";
  15. reg = <0xa0000000 0x04000000>;
  16. };
  17. };
  18. &clk_osc26m {
  19. clock-frequency = <0>;
  20. };
  21. &iomuxc {
  22. imx27-apf27 {
  23. pinctrl_fec1: fec1grp {
  24. fsl,pins = <
  25. MX27_PAD_SD3_CMD__FEC_TXD0 0x0
  26. MX27_PAD_SD3_CLK__FEC_TXD1 0x0
  27. MX27_PAD_ATA_DATA0__FEC_TXD2 0x0
  28. MX27_PAD_ATA_DATA1__FEC_TXD3 0x0
  29. MX27_PAD_ATA_DATA2__FEC_RX_ER 0x0
  30. MX27_PAD_ATA_DATA3__FEC_RXD1 0x0
  31. MX27_PAD_ATA_DATA4__FEC_RXD2 0x0
  32. MX27_PAD_ATA_DATA5__FEC_RXD3 0x0
  33. MX27_PAD_ATA_DATA6__FEC_MDIO 0x0
  34. MX27_PAD_ATA_DATA7__FEC_MDC 0x0
  35. MX27_PAD_ATA_DATA8__FEC_CRS 0x0
  36. MX27_PAD_ATA_DATA9__FEC_TX_CLK 0x0
  37. MX27_PAD_ATA_DATA10__FEC_RXD0 0x0
  38. MX27_PAD_ATA_DATA11__FEC_RX_DV 0x0
  39. MX27_PAD_ATA_DATA12__FEC_RX_CLK 0x0
  40. MX27_PAD_ATA_DATA13__FEC_COL 0x0
  41. MX27_PAD_ATA_DATA14__FEC_TX_ER 0x0
  42. MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0
  43. >;
  44. };
  45. pinctrl_uart1: uart1grp {
  46. fsl,pins = <
  47. MX27_PAD_UART1_TXD__UART1_TXD 0x0
  48. MX27_PAD_UART1_RXD__UART1_RXD 0x0
  49. >;
  50. };
  51. };
  52. };
  53. &uart1 {
  54. pinctrl-names = "default";
  55. pinctrl-0 = <&pinctrl_uart1>;
  56. status = "okay";
  57. };
  58. &fec {
  59. pinctrl-names = "default";
  60. pinctrl-0 = <&pinctrl_fec1>;
  61. status = "okay";
  62. };
  63. &nfc {
  64. status = "okay";
  65. nand-bus-width = <16>;
  66. nand-ecc-mode = "hw";
  67. nand-on-flash-bbt;
  68. partition@0 {
  69. label = "u-boot";
  70. reg = <0x0 0x100000>;
  71. };
  72. partition@100000 {
  73. label = "env";
  74. reg = <0x100000 0x80000>;
  75. };
  76. partition@180000 {
  77. label = "env2";
  78. reg = <0x180000 0x80000>;
  79. };
  80. partition@200000 {
  81. label = "firmware";
  82. reg = <0x200000 0x80000>;
  83. };
  84. partition@280000 {
  85. label = "dtb";
  86. reg = <0x280000 0x80000>;
  87. };
  88. partition@300000 {
  89. label = "kernel";
  90. reg = <0x300000 0x500000>;
  91. };
  92. partition@800000 {
  93. label = "rootfs";
  94. reg = <0x800000 0xf800000>;
  95. };
  96. };