at91sam9x5cm.dtsi 1.7 KB

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