sama5d3xcm.dtsi 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module
  4. *
  5. * Copyright (C) 2013 Atmel,
  6. * 2013 Ludovic Desroches <[email protected]>
  7. */
  8. / {
  9. compatible = "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5";
  10. chosen {
  11. bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs";
  12. stdout-path = "serial0:115200n8";
  13. };
  14. memory@20000000 {
  15. reg = <0x20000000 0x20000000>;
  16. };
  17. clocks {
  18. slow_xtal {
  19. clock-frequency = <32768>;
  20. };
  21. main_xtal {
  22. clock-frequency = <12000000>;
  23. };
  24. };
  25. ahb {
  26. apb {
  27. spi0: spi@f0004000 {
  28. cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
  29. };
  30. tcb0: timer@f0010000 {
  31. timer@0 {
  32. compatible = "atmel,tcb-timer";
  33. reg = <0>;
  34. };
  35. timer@1 {
  36. compatible = "atmel,tcb-timer";
  37. reg = <1>;
  38. };
  39. };
  40. };
  41. ebi@10000000 {
  42. pinctrl-0 = <&pinctrl_ebi_addr &pinctrl_ebi_cs0>;
  43. pinctr-name = "default";
  44. status = "okay";
  45. nor: flash@0,0 {
  46. compatible = "cfi-flash";
  47. linux,mtd-name = "physmap-flash.0";
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. reg = <0x0 0x0 0x1000000>;
  51. bank-width = <2>;
  52. atmel,smc-read-mode = "nrd";
  53. atmel,smc-write-mode = "nwe";
  54. atmel,smc-bus-width = <16>;
  55. atmel,smc-ncs-rd-setup-ns = <0>;
  56. atmel,smc-ncs-wr-setup-ns = <0>;
  57. atmel,smc-nwe-setup-ns = <8>;
  58. atmel,smc-nrd-setup-ns = <16>;
  59. atmel,smc-ncs-rd-pulse-ns = <84>;
  60. atmel,smc-ncs-wr-pulse-ns = <84>;
  61. atmel,smc-nrd-pulse-ns = <76>;
  62. atmel,smc-nwe-pulse-ns = <76>;
  63. atmel,smc-nrd-cycle-ns = <107>;
  64. atmel,smc-nwe-cycle-ns = <84>;
  65. atmel,smc-tdf-ns = <16>;
  66. };
  67. nand_controller: nand-controller {
  68. status = "okay";
  69. nand@3 {
  70. reg = <0x3 0x0 0x2>;
  71. atmel,rb = <0>;
  72. nand-ecc-mode = "hw";
  73. nand-ecc-strength = <4>;
  74. nand-ecc-step-size = <512>;
  75. nand-on-flash-bbt;
  76. label = "atmel_nand";
  77. partitions {
  78. compatible = "fixed-partitions";
  79. #address-cells = <1>;
  80. #size-cells = <1>;
  81. at91bootstrap@0 {
  82. label = "at91bootstrap";
  83. reg = <0x0 0x40000>;
  84. };
  85. bootloader@40000 {
  86. label = "bootloader";
  87. reg = <0x40000 0x80000>;
  88. };
  89. bootloaderenv@c0000 {
  90. label = "bootloader env";
  91. reg = <0xc0000 0xc0000>;
  92. };
  93. dtb@180000 {
  94. label = "device tree";
  95. reg = <0x180000 0x80000>;
  96. };
  97. kernel@200000 {
  98. label = "kernel";
  99. reg = <0x200000 0x600000>;
  100. };
  101. rootfs@800000 {
  102. label = "rootfs";
  103. reg = <0x800000 0x0f800000>;
  104. };
  105. };
  106. };
  107. };
  108. };
  109. };
  110. leds {
  111. compatible = "gpio-leds";
  112. d2 {
  113. label = "d2";
  114. gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
  115. linux,default-trigger = "heartbeat";
  116. };
  117. };
  118. };