sama5d3xcm.dtsi 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*
  2. * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module
  3. *
  4. * Copyright (C) 2013 Atmel,
  5. * 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
  6. *
  7. * Licensed under GPLv2 or later.
  8. */
  9. #include "sama5d3.dtsi"
  10. / {
  11. compatible = "atmel,samad3xcm", "atmel,sama5d3", "atmel,sama5";
  12. chosen {
  13. bootargs = "console=ttyS0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs";
  14. };
  15. memory {
  16. reg = <0x20000000 0x20000000>;
  17. };
  18. clocks {
  19. #address-cells = <1>;
  20. #size-cells = <1>;
  21. ranges;
  22. main_clock: clock@0 {
  23. compatible = "atmel,osc", "fixed-clock";
  24. clock-frequency = <12000000>;
  25. };
  26. };
  27. ahb {
  28. apb {
  29. spi0: spi@f0004000 {
  30. cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
  31. };
  32. macb0: ethernet@f0028000 {
  33. phy-mode = "rgmii";
  34. };
  35. };
  36. nand0: nand@60000000 {
  37. nand-bus-width = <8>;
  38. nand-ecc-mode = "hw";
  39. atmel,has-pmecc;
  40. atmel,pmecc-cap = <4>;
  41. atmel,pmecc-sector-size = <512>;
  42. nand-on-flash-bbt;
  43. status = "okay";
  44. at91bootstrap@0 {
  45. label = "at91bootstrap";
  46. reg = <0x0 0x40000>;
  47. };
  48. bootloader@40000 {
  49. label = "bootloader";
  50. reg = <0x40000 0x80000>;
  51. };
  52. bootloaderenv@c0000 {
  53. label = "bootloader env";
  54. reg = <0xc0000 0xc0000>;
  55. };
  56. dtb@180000 {
  57. label = "device tree";
  58. reg = <0x180000 0x80000>;
  59. };
  60. kernel@200000 {
  61. label = "kernel";
  62. reg = <0x200000 0x600000>;
  63. };
  64. rootfs@800000 {
  65. label = "rootfs";
  66. reg = <0x800000 0x0f800000>;
  67. };
  68. };
  69. };
  70. leds {
  71. compatible = "gpio-leds";
  72. d2 {
  73. label = "d2";
  74. gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
  75. };
  76. };
  77. };