sama5d3xcm.dtsi 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. / {
  10. compatible = "atmel,samad3xcm", "atmel,sama5d3", "atmel,sama5";
  11. chosen {
  12. bootargs = "console=ttyS0,115200 rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs";
  13. };
  14. memory {
  15. reg = <0x20000000 0x20000000>;
  16. };
  17. clocks {
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. ranges;
  21. main_clock: clock@0 {
  22. compatible = "atmel,osc", "fixed-clock";
  23. clock-frequency = <12000000>;
  24. };
  25. };
  26. ahb {
  27. apb {
  28. spi0: spi@f0004000 {
  29. cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
  30. };
  31. macb0: ethernet@f0028000 {
  32. phy-mode = "rgmii";
  33. };
  34. };
  35. nand0: nand@60000000 {
  36. nand-bus-width = <8>;
  37. nand-ecc-mode = "hw";
  38. atmel,has-pmecc;
  39. atmel,pmecc-cap = <4>;
  40. atmel,pmecc-sector-size = <512>;
  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. };