sama5d3xcm.dtsi 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. macb0: ethernet@f0028000 {
  30. phy-mode = "rgmii";
  31. };
  32. };
  33. nand0: nand@60000000 {
  34. nand-bus-width = <8>;
  35. nand-ecc-mode = "hw";
  36. atmel,has-pmecc;
  37. atmel,pmecc-cap = <4>;
  38. atmel,pmecc-sector-size = <512>;
  39. atmel,has-nfc;
  40. atmel,use-nfc-sram;
  41. nand-on-flash-bbt;
  42. status = "okay";
  43. at91bootstrap@0 {
  44. label = "at91bootstrap";
  45. reg = <0x0 0x40000>;
  46. };
  47. bootloader@40000 {
  48. label = "bootloader";
  49. reg = <0x40000 0x80000>;
  50. };
  51. bootloaderenv@c0000 {
  52. label = "bootloader env";
  53. reg = <0xc0000 0xc0000>;
  54. };
  55. dtb@180000 {
  56. label = "device tree";
  57. reg = <0x180000 0x80000>;
  58. };
  59. kernel@200000 {
  60. label = "kernel";
  61. reg = <0x200000 0x600000>;
  62. };
  63. rootfs@800000 {
  64. label = "rootfs";
  65. reg = <0x800000 0x0f800000>;
  66. };
  67. };
  68. };
  69. leds {
  70. compatible = "gpio-leds";
  71. d2 {
  72. label = "d2";
  73. gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
  74. };
  75. };
  76. };