at91sam9x5cm.dtsi 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module
  3. *
  4. * Copyright (C) 2012 Atmel,
  5. * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
  6. *
  7. * Licensed under GPLv2 or later.
  8. */
  9. / {
  10. memory {
  11. reg = <0x20000000 0x8000000>;
  12. };
  13. clocks {
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. ranges;
  17. main_clock: clock@0 {
  18. compatible = "atmel,osc", "fixed-clock";
  19. clock-frequency = <12000000>;
  20. };
  21. };
  22. ahb {
  23. nand0: nand@40000000 {
  24. nand-bus-width = <8>;
  25. nand-ecc-mode = "hw";
  26. atmel,has-pmecc; /* Enable PMECC */
  27. atmel,pmecc-cap = <2>;
  28. atmel,pmecc-sector-size = <512>;
  29. nand-on-flash-bbt;
  30. status = "okay";
  31. at91bootstrap@0 {
  32. label = "at91bootstrap";
  33. reg = <0x0 0x40000>;
  34. };
  35. uboot@40000 {
  36. label = "u-boot";
  37. reg = <0x40000 0x80000>;
  38. };
  39. ubootenv@c0000 {
  40. label = "U-Boot Env";
  41. reg = <0xc0000 0x140000>;
  42. };
  43. kernel@200000 {
  44. label = "kernel";
  45. reg = <0x200000 0x600000>;
  46. };
  47. rootfs@800000 {
  48. label = "rootfs";
  49. reg = <0x800000 0x1f800000>;
  50. };
  51. };
  52. };
  53. leds {
  54. compatible = "gpio-leds";
  55. pb18 {
  56. label = "pb18";
  57. gpios = <&pioB 18 1>;
  58. linux,default-trigger = "heartbeat";
  59. };
  60. pd21 {
  61. label = "pd21";
  62. gpios = <&pioD 21 0>;
  63. };
  64. };
  65. };