sama5d3xcm_cmp.dtsi 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * sama5d3xcm_cmp.dtsi - Device Tree Include file for SAMA5D36 CMP CPU Module
  4. *
  5. * Copyright (C) 2016 Atmel,
  6. */
  7. / {
  8. compatible = "atmel,sama5d3xcm-cmp", "atmel,sama5d3", "atmel,sama5";
  9. chosen {
  10. stdout-path = "serial0:115200n8";
  11. };
  12. memory@20000000 {
  13. reg = <0x20000000 0x20000000>;
  14. };
  15. clocks {
  16. slow_xtal {
  17. clock-frequency = <32768>;
  18. };
  19. main_xtal {
  20. clock-frequency = <12000000>;
  21. };
  22. };
  23. ahb {
  24. apb {
  25. spi0: spi@f0004000 {
  26. cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
  27. };
  28. tcb0: timer@f0010000 {
  29. timer@0 {
  30. compatible = "atmel,tcb-timer";
  31. reg = <0>;
  32. };
  33. timer@1 {
  34. compatible = "atmel,tcb-timer";
  35. reg = <1>;
  36. };
  37. };
  38. macb0: ethernet@f0028000 {
  39. phy-mode = "rgmii";
  40. #address-cells = <1>;
  41. #size-cells = <0>;
  42. ethernet-phy@1 {
  43. reg = <0x1>;
  44. interrupt-parent = <&pioB>;
  45. interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
  46. txen-skew-ps = <800>;
  47. txc-skew-ps = <3000>;
  48. rxdv-skew-ps = <400>;
  49. rxc-skew-ps = <3000>;
  50. rxd0-skew-ps = <400>;
  51. rxd1-skew-ps = <400>;
  52. rxd2-skew-ps = <400>;
  53. rxd3-skew-ps = <400>;
  54. };
  55. ethernet-phy@7 {
  56. reg = <0x7>;
  57. interrupt-parent = <&pioB>;
  58. interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
  59. txen-skew-ps = <800>;
  60. txc-skew-ps = <3000>;
  61. rxdv-skew-ps = <400>;
  62. rxc-skew-ps = <3000>;
  63. rxd0-skew-ps = <400>;
  64. rxd1-skew-ps = <400>;
  65. rxd2-skew-ps = <400>;
  66. rxd3-skew-ps = <400>;
  67. };
  68. };
  69. i2c1: i2c@f0018000 {
  70. pmic: act8865@5b {
  71. compatible = "active-semi,act8865";
  72. reg = <0x5b>;
  73. status = "disabled";
  74. regulators {
  75. vcc_1v8_reg: DCDC_REG1 {
  76. regulator-name = "VCC_1V8";
  77. regulator-min-microvolt = <1800000>;
  78. regulator-max-microvolt = <1800000>;
  79. regulator-always-on;
  80. };
  81. vcc_1v2_reg: DCDC_REG2 {
  82. regulator-name = "VCC_1V2";
  83. regulator-min-microvolt = <1100000>;
  84. regulator-max-microvolt = <1300000>;
  85. regulator-always-on;
  86. };
  87. vcc_3v3_reg: DCDC_REG3 {
  88. regulator-name = "VCC_3V3";
  89. regulator-min-microvolt = <3300000>;
  90. regulator-max-microvolt = <3300000>;
  91. regulator-always-on;
  92. };
  93. vddana_reg: LDO_REG1 {
  94. regulator-name = "VDDANA";
  95. regulator-min-microvolt = <3300000>;
  96. regulator-max-microvolt = <3300000>;
  97. regulator-always-on;
  98. };
  99. vddfuse_reg: LDO_REG2 {
  100. regulator-name = "FUSE_2V5";
  101. regulator-min-microvolt = <2500000>;
  102. regulator-max-microvolt = <2500000>;
  103. };
  104. };
  105. };
  106. };
  107. };
  108. ebi: ebi@10000000 {
  109. pinctrl-0 = <&pinctrl_ebi_nand_addr>;
  110. pinctrl-names = "default";
  111. status = "okay";
  112. nand_controller: nand-controller {
  113. status = "okay";
  114. nand@3 {
  115. reg = <0x3 0x0 0x2>;
  116. atmel,rb = <0>;
  117. nand-bus-width = <8>;
  118. nand-ecc-mode = "hw";
  119. nand-ecc-strength = <4>;
  120. nand-ecc-step-size = <512>;
  121. nand-on-flash-bbt;
  122. label = "atmel_nand";
  123. partitions {
  124. compatible = "fixed-partitions";
  125. #address-cells = <1>;
  126. #size-cells = <1>;
  127. at91bootstrap@0 {
  128. label = "at91bootstrap";
  129. reg = <0x0 0x40000>;
  130. };
  131. bootloader@40000 {
  132. label = "bootloader";
  133. reg = <0x40000 0x80000>;
  134. };
  135. bootloaderenv@c0000 {
  136. label = "bootloader env";
  137. reg = <0xc0000 0xc0000>;
  138. };
  139. dtb@180000 {
  140. label = "device tree";
  141. reg = <0x180000 0x80000>;
  142. };
  143. kernel@200000 {
  144. label = "kernel";
  145. reg = <0x200000 0x600000>;
  146. };
  147. rootfs@800000 {
  148. label = "rootfs";
  149. reg = <0x800000 0x0f800000>;
  150. };
  151. };
  152. };
  153. };
  154. };
  155. };
  156. leds {
  157. compatible = "gpio-leds";
  158. d2 {
  159. label = "d2";
  160. gpios = <&pioE 25 GPIO_ACTIVE_LOW>;
  161. linux,default-trigger = "heartbeat";
  162. };
  163. };
  164. };