at91sam9x5cm.dtsi 1.7 KB

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