at91-cosino.dtsi 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /*
  2. * at91-cosino.dtsi - Device Tree file for Cosino core module
  3. *
  4. * Copyright (C) 2013 - Rodolfo Giometti <giometti@linux.it>
  5. * HCE Engineering
  6. *
  7. * Derived from at91sam9x5ek.dtsi by:
  8. * Copyright (C) 2012 Atmel,
  9. * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
  10. *
  11. * Licensed under GPLv2 or later.
  12. */
  13. #include "at91sam9g35.dtsi"
  14. / {
  15. model = "HCE Cosino core module";
  16. compatible = "hce,cosino", "atmel,at91sam9x5", "atmel,at91sam9";
  17. chosen {
  18. bootargs = "console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait";
  19. };
  20. memory {
  21. reg = <0x20000000 0x8000000>;
  22. };
  23. clocks {
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. ranges;
  27. main_clock: clock@0 {
  28. compatible = "atmel,osc", "fixed-clock";
  29. clock-frequency = <12000000>;
  30. };
  31. slow_xtal {
  32. clock-frequency = <32768>;
  33. };
  34. main_xtal {
  35. clock-frequency = <12000000>;
  36. };
  37. };
  38. ahb {
  39. apb {
  40. mmc0: mmc@f0008000 {
  41. pinctrl-0 = <
  42. &pinctrl_board_mmc0
  43. &pinctrl_mmc0_slot0_clk_cmd_dat0
  44. &pinctrl_mmc0_slot0_dat1_3>;
  45. status = "okay";
  46. slot@0 {
  47. reg = <0>;
  48. bus-width = <4>;
  49. cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>;
  50. };
  51. };
  52. dbgu: serial@fffff200 {
  53. status = "okay";
  54. };
  55. usart0: serial@f801c000 {
  56. status = "okay";
  57. };
  58. i2c0: i2c@f8010000 {
  59. status = "okay";
  60. };
  61. adc0: adc@f804c000 {
  62. atmel,adc-ts-wires = <4>;
  63. atmel,adc-ts-pressure-threshold = <10000>;
  64. status = "okay";
  65. };
  66. pinctrl@fffff400 {
  67. mmc0 {
  68. pinctrl_board_mmc0: mmc0-board {
  69. atmel,pins =
  70. <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD15 gpio CD pin pull up and deglitch */
  71. };
  72. };
  73. };
  74. watchdog@fffffe40 {
  75. status = "okay";
  76. };
  77. };
  78. nand0: nand@40000000 {
  79. nand-bus-width = <8>;
  80. nand-ecc-mode = "hw";
  81. atmel,has-pmecc; /* Enable PMECC */
  82. atmel,pmecc-cap = <4>;
  83. atmel,pmecc-sector-size = <512>;
  84. nand-on-flash-bbt;
  85. status = "okay";
  86. at91bootstrap@0 {
  87. label = "at91bootstrap";
  88. reg = <0x0 0x40000>;
  89. };
  90. uboot@40000 {
  91. label = "u-boot";
  92. reg = <0x40000 0x80000>;
  93. };
  94. ubootenv@c0000 {
  95. label = "U-Boot Env";
  96. reg = <0xc0000 0x140000>;
  97. };
  98. kernel@200000 {
  99. label = "kernel";
  100. reg = <0x200000 0x600000>;
  101. };
  102. rootfs@800000 {
  103. label = "rootfs";
  104. reg = <0x800000 0x0f800000>;
  105. };
  106. };
  107. };
  108. };