at91sam9x5cm.dtsi 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module
  4. *
  5. * Copyright (C) 2012 Atmel,
  6. * 2012 Nicolas Ferre <[email protected]>
  7. */
  8. / {
  9. memory@20000000 {
  10. reg = <0x20000000 0x8000000>;
  11. };
  12. clocks {
  13. slow_xtal {
  14. clock-frequency = <32768>;
  15. };
  16. main_xtal {
  17. clock-frequency = <12000000>;
  18. };
  19. };
  20. ahb {
  21. apb {
  22. tcb0: timer@f8008000 {
  23. timer@0 {
  24. compatible = "atmel,tcb-timer";
  25. reg = <0>;
  26. };
  27. timer@1 {
  28. compatible = "atmel,tcb-timer";
  29. reg = <1>;
  30. };
  31. };
  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. rtc@fffffeb0 {
  40. status = "okay";
  41. };
  42. };
  43. ebi: ebi@10000000 {
  44. pinctrl-0 = <&pinctrl_ebi_addr_nand
  45. &pinctrl_ebi_data_0_7>;
  46. pinctrl-names = "default";
  47. status = "okay";
  48. nand_controller: nand-controller {
  49. status = "okay";
  50. pinctrl-0 = <&pinctrl_nand_oe_we
  51. &pinctrl_nand_cs
  52. &pinctrl_nand_rb>;
  53. pinctrl-names = "default";
  54. nand@3 {
  55. reg = <0x3 0x0 0x800000>;
  56. rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
  57. cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>;
  58. nand-bus-width = <8>;
  59. nand-ecc-mode = "hw";
  60. nand-ecc-strength = <2>;
  61. nand-ecc-step-size = <512>;
  62. nand-on-flash-bbt;
  63. label = "atmel_nand";
  64. partitions {
  65. compatible = "fixed-partitions";
  66. #address-cells = <1>;
  67. #size-cells = <1>;
  68. at91bootstrap@0 {
  69. label = "at91bootstrap";
  70. reg = <0x0 0x40000>;
  71. };
  72. uboot@40000 {
  73. label = "u-boot";
  74. reg = <0x40000 0xc0000>;
  75. };
  76. ubootenvred@100000 {
  77. label = "U-Boot Env Redundant";
  78. reg = <0x100000 0x40000>;
  79. };
  80. ubootenv@140000 {
  81. label = "U-Boot Env";
  82. reg = <0x140000 0x40000>;
  83. };
  84. dtb@180000 {
  85. label = "device tree";
  86. reg = <0x180000 0x80000>;
  87. };
  88. kernel@200000 {
  89. label = "kernel";
  90. reg = <0x200000 0x600000>;
  91. };
  92. rootfs@800000 {
  93. label = "rootfs";
  94. reg = <0x800000 0x0f800000>;
  95. };
  96. };
  97. };
  98. };
  99. };
  100. };
  101. leds {
  102. compatible = "gpio-leds";
  103. pb18 {
  104. label = "pb18";
  105. gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
  106. linux,default-trigger = "heartbeat";
  107. };
  108. pd21 {
  109. label = "pd21";
  110. gpios = <&pioD 21 GPIO_ACTIVE_HIGH>;
  111. };
  112. };
  113. 1wire_cm {
  114. compatible = "w1-gpio";
  115. gpios = <&pioB 18 GPIO_ACTIVE_HIGH>;
  116. linux,open-drain;
  117. pinctrl-names = "default";
  118. pinctrl-0 = <&pinctrl_1wire_cm>;
  119. status = "okay";
  120. };
  121. };