at91sam9x5cm.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. clocks {
  23. slow_xtal {
  24. clock-frequency = <32768>;
  25. };
  26. main_xtal {
  27. clock-frequency = <12000000>;
  28. };
  29. };
  30. ahb {
  31. apb {
  32. pinctrl@fffff400 {
  33. 1wire_cm {
  34. pinctrl_1wire_cm: 1wire_cm-0 {
  35. atmel,pins = <AT91_PIOB 18 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB18 multidrive, conflicts with led */
  36. };
  37. };
  38. };
  39. };
  40. nand0: nand@40000000 {
  41. nand-bus-width = <8>;
  42. nand-ecc-mode = "hw";
  43. atmel,has-pmecc; /* Enable PMECC */
  44. atmel,pmecc-cap = <2>;
  45. atmel,pmecc-sector-size = <512>;
  46. nand-on-flash-bbt;
  47. status = "okay";
  48. at91bootstrap@0 {
  49. label = "at91bootstrap";
  50. reg = <0x0 0x40000>;
  51. };
  52. uboot@40000 {
  53. label = "u-boot";
  54. reg = <0x40000 0x80000>;
  55. };
  56. ubootenv@c0000 {
  57. label = "U-Boot Env";
  58. reg = <0xc0000 0x140000>;
  59. };
  60. kernel@200000 {
  61. label = "kernel";
  62. reg = <0x200000 0x600000>;
  63. };
  64. rootfs@800000 {
  65. label = "rootfs";
  66. reg = <0x800000 0x1f800000>;
  67. };
  68. };
  69. };
  70. leds {
  71. compatible = "gpio-leds";
  72. pb18 {
  73. label = "pb18";
  74. gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
  75. linux,default-trigger = "heartbeat";
  76. };
  77. pd21 {
  78. label = "pd21";
  79. gpios = <&pioD 21 GPIO_ACTIVE_HIGH>;
  80. };
  81. };
  82. 1wire_cm {
  83. compatible = "w1-gpio";
  84. gpios = <&pioB 18 GPIO_ACTIVE_HIGH>;
  85. linux,open-drain;
  86. pinctrl-names = "default";
  87. pinctrl-0 = <&pinctrl_1wire_cm>;
  88. status = "okay";
  89. };
  90. };