sama5d3xcm.dtsi 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. atmel,has-nfc;
  43. atmel,use-nfc-sram;
  44. nand-on-flash-bbt;
  45. status = "okay";
  46. at91bootstrap@0 {
  47. label = "at91bootstrap";
  48. reg = <0x0 0x40000>;
  49. };
  50. bootloader@40000 {
  51. label = "bootloader";
  52. reg = <0x40000 0x80000>;
  53. };
  54. bootloaderenv@c0000 {
  55. label = "bootloader env";
  56. reg = <0xc0000 0xc0000>;
  57. };
  58. dtb@180000 {
  59. label = "device tree";
  60. reg = <0x180000 0x80000>;
  61. };
  62. kernel@200000 {
  63. label = "kernel";
  64. reg = <0x200000 0x600000>;
  65. };
  66. rootfs@800000 {
  67. label = "rootfs";
  68. reg = <0x800000 0x0f800000>;
  69. };
  70. };
  71. };
  72. leds {
  73. compatible = "gpio-leds";
  74. d2 {
  75. label = "d2";
  76. gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
  77. };
  78. };
  79. };