imx25-eukrea-cpuimx25.dtsi 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version 2
  7. * of the License, or (at your option) any later version.
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #include "imx25.dtsi"
  14. / {
  15. model = "Eukrea CPUIMX25";
  16. compatible = "eukrea,cpuimx25", "fsl,imx25";
  17. memory {
  18. reg = <0x80000000 0x4000000>; /* 64M */
  19. };
  20. };
  21. &fec {
  22. phy-mode = "rmii";
  23. pinctrl-names = "default";
  24. pinctrl-0 = <&pinctrl_fec>;
  25. status = "okay";
  26. };
  27. &i2c1 {
  28. pinctrl-names = "default";
  29. pinctrl-0 = <&pinctrl_i2c1>;
  30. status = "okay";
  31. pcf8563@51 {
  32. compatible = "nxp,pcf8563";
  33. reg = <0x51>;
  34. };
  35. };
  36. &iomuxc {
  37. imx25-eukrea-cpuimx25 {
  38. pinctrl_fec: fecgrp {
  39. fsl,pins = <
  40. MX25_PAD_FEC_MDC__FEC_MDC 0x80000000
  41. MX25_PAD_FEC_MDIO__FEC_MDIO 0x400001e0
  42. MX25_PAD_FEC_TDATA0__FEC_TDATA0 0x80000000
  43. MX25_PAD_FEC_TDATA1__FEC_TDATA1 0x80000000
  44. MX25_PAD_FEC_TX_EN__FEC_TX_EN 0x80000000
  45. MX25_PAD_FEC_RDATA0__FEC_RDATA0 0x80000000
  46. MX25_PAD_FEC_RDATA1__FEC_RDATA1 0x80000000
  47. MX25_PAD_FEC_RX_DV__FEC_RX_DV 0x80000000
  48. MX25_PAD_FEC_TX_CLK__FEC_TX_CLK 0x1c0
  49. >;
  50. };
  51. pinctrl_i2c1: i2c1grp {
  52. fsl,pins = <
  53. MX25_PAD_I2C1_CLK__I2C1_CLK 0x80000000
  54. MX25_PAD_I2C1_DAT__I2C1_DAT 0x80000000
  55. >;
  56. };
  57. };
  58. };
  59. &nfc {
  60. nand-bus-width = <8>;
  61. nand-ecc-mode = "hw";
  62. nand-on-flash-bbt;
  63. status = "okay";
  64. };