tegra194.dtsi 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <dt-bindings/clock/tegra194-clock.h>
  3. #include <dt-bindings/gpio/tegra194-gpio.h>
  4. #include <dt-bindings/interrupt-controller/arm-gic.h>
  5. #include <dt-bindings/mailbox/tegra186-hsp.h>
  6. #include <dt-bindings/reset/tegra194-reset.h>
  7. / {
  8. compatible = "nvidia,tegra194";
  9. interrupt-parent = <&gic>;
  10. #address-cells = <2>;
  11. #size-cells = <2>;
  12. /* control backbone */
  13. cbb {
  14. compatible = "simple-bus";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. ranges = <0x0 0x0 0x0 0x40000000>;
  18. gpio: gpio@2200000 {
  19. compatible = "nvidia,tegra194-gpio";
  20. reg-names = "security", "gpio";
  21. reg = <0x2200000 0x10000>,
  22. <0x2210000 0x10000>;
  23. interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>,
  24. <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
  25. <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
  26. <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
  27. <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
  28. <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>;
  29. #interrupt-cells = <2>;
  30. interrupt-controller;
  31. #gpio-cells = <2>;
  32. gpio-controller;
  33. };
  34. ethernet@2490000 {
  35. compatible = "nvidia,tegra186-eqos",
  36. "snps,dwc-qos-ethernet-4.10";
  37. reg = <0x02490000 0x10000>;
  38. interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
  39. clocks = <&bpmp TEGRA194_CLK_AXI_CBB>,
  40. <&bpmp TEGRA194_CLK_EQOS_AXI>,
  41. <&bpmp TEGRA194_CLK_EQOS_RX>,
  42. <&bpmp TEGRA194_CLK_EQOS_TX>,
  43. <&bpmp TEGRA194_CLK_EQOS_PTP_REF>;
  44. clock-names = "master_bus", "slave_bus", "rx", "tx", "ptp_ref";
  45. resets = <&bpmp TEGRA194_RESET_EQOS>;
  46. reset-names = "eqos";
  47. status = "disabled";
  48. snps,write-requests = <1>;
  49. snps,read-requests = <3>;
  50. snps,burst-map = <0x7>;
  51. snps,txpbl = <16>;
  52. snps,rxpbl = <8>;
  53. };
  54. uarta: serial@3100000 {
  55. compatible = "nvidia,tegra194-uart", "nvidia,tegra20-uart";
  56. reg = <0x03100000 0x40>;
  57. reg-shift = <2>;
  58. interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
  59. clocks = <&bpmp TEGRA194_CLK_UARTA>;
  60. clock-names = "serial";
  61. resets = <&bpmp TEGRA194_RESET_UARTA>;
  62. reset-names = "serial";
  63. status = "disabled";
  64. };
  65. uartb: serial@3110000 {
  66. compatible = "nvidia,tegra194-uart", "nvidia,tegra20-uart";
  67. reg = <0x03110000 0x40>;
  68. reg-shift = <2>;
  69. interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
  70. clocks = <&bpmp TEGRA194_CLK_UARTB>;
  71. clock-names = "serial";
  72. resets = <&bpmp TEGRA194_RESET_UARTB>;
  73. reset-names = "serial";
  74. status = "disabled";
  75. };
  76. uartd: serial@3130000 {
  77. compatible = "nvidia,tegra194-uart", "nvidia,tegra20-uart";
  78. reg = <0x03130000 0x40>;
  79. reg-shift = <2>;
  80. interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
  81. clocks = <&bpmp TEGRA194_CLK_UARTD>;
  82. clock-names = "serial";
  83. resets = <&bpmp TEGRA194_RESET_UARTD>;
  84. reset-names = "serial";
  85. status = "disabled";
  86. };
  87. uarte: serial@3140000 {
  88. compatible = "nvidia,tegra194-uart", "nvidia,tegra20-uart";
  89. reg = <0x03140000 0x40>;
  90. reg-shift = <2>;
  91. interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
  92. clocks = <&bpmp TEGRA194_CLK_UARTE>;
  93. clock-names = "serial";
  94. resets = <&bpmp TEGRA194_RESET_UARTE>;
  95. reset-names = "serial";
  96. status = "disabled";
  97. };
  98. uartf: serial@3150000 {
  99. compatible = "nvidia,tegra194-uart", "nvidia,tegra20-uart";
  100. reg = <0x03150000 0x40>;
  101. reg-shift = <2>;
  102. interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
  103. clocks = <&bpmp TEGRA194_CLK_UARTF>;
  104. clock-names = "serial";
  105. resets = <&bpmp TEGRA194_RESET_UARTF>;
  106. reset-names = "serial";
  107. status = "disabled";
  108. };
  109. gen1_i2c: i2c@3160000 {
  110. compatible = "nvidia,tegra194-i2c";
  111. reg = <0x03160000 0x10000>;
  112. interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
  113. #address-cells = <1>;
  114. #size-cells = <0>;
  115. clocks = <&bpmp TEGRA194_CLK_I2C1>;
  116. clock-names = "div-clk";
  117. resets = <&bpmp TEGRA194_RESET_I2C1>;
  118. reset-names = "i2c";
  119. status = "disabled";
  120. };
  121. uarth: serial@3170000 {
  122. compatible = "nvidia,tegra194-uart", "nvidia,tegra20-uart";
  123. reg = <0x03170000 0x40>;
  124. reg-shift = <2>;
  125. interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
  126. clocks = <&bpmp TEGRA194_CLK_UARTH>;
  127. clock-names = "serial";
  128. resets = <&bpmp TEGRA194_RESET_UARTH>;
  129. reset-names = "serial";
  130. status = "disabled";
  131. };
  132. cam_i2c: i2c@3180000 {
  133. compatible = "nvidia,tegra194-i2c";
  134. reg = <0x03180000 0x10000>;
  135. interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
  136. #address-cells = <1>;
  137. #size-cells = <0>;
  138. clocks = <&bpmp TEGRA194_CLK_I2C3>;
  139. clock-names = "div-clk";
  140. resets = <&bpmp TEGRA194_RESET_I2C3>;
  141. reset-names = "i2c";
  142. status = "disabled";
  143. };
  144. /* shares pads with dpaux1 */
  145. dp_aux_ch1_i2c: i2c@3190000 {
  146. compatible = "nvidia,tegra194-i2c";
  147. reg = <0x03190000 0x10000>;
  148. interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
  149. #address-cells = <1>;
  150. #size-cells = <0>;
  151. clocks = <&bpmp TEGRA194_CLK_I2C4>;
  152. clock-names = "div-clk";
  153. resets = <&bpmp TEGRA194_RESET_I2C4>;
  154. reset-names = "i2c";
  155. status = "disabled";
  156. };
  157. /* shares pads with dpaux0 */
  158. dp_aux_ch0_i2c: i2c@31b0000 {
  159. compatible = "nvidia,tegra194-i2c";
  160. reg = <0x031b0000 0x10000>;
  161. interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  162. #address-cells = <1>;
  163. #size-cells = <0>;
  164. clocks = <&bpmp TEGRA194_CLK_I2C6>;
  165. clock-names = "div-clk";
  166. resets = <&bpmp TEGRA194_RESET_I2C6>;
  167. reset-names = "i2c";
  168. status = "disabled";
  169. };
  170. gen7_i2c: i2c@31c0000 {
  171. compatible = "nvidia,tegra194-i2c";
  172. reg = <0x031c0000 0x10000>;
  173. interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
  174. #address-cells = <1>;
  175. #size-cells = <0>;
  176. clocks = <&bpmp TEGRA194_CLK_I2C7>;
  177. clock-names = "div-clk";
  178. resets = <&bpmp TEGRA194_RESET_I2C7>;
  179. reset-names = "i2c";
  180. status = "disabled";
  181. };
  182. gen9_i2c: i2c@31e0000 {
  183. compatible = "nvidia,tegra194-i2c";
  184. reg = <0x031e0000 0x10000>;
  185. interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
  186. #address-cells = <1>;
  187. #size-cells = <0>;
  188. clocks = <&bpmp TEGRA194_CLK_I2C9>;
  189. clock-names = "div-clk";
  190. resets = <&bpmp TEGRA194_RESET_I2C9>;
  191. reset-names = "i2c";
  192. status = "disabled";
  193. };
  194. sdmmc1: sdhci@3400000 {
  195. compatible = "nvidia,tegra194-sdhci", "nvidia,tegra186-sdhci";
  196. reg = <0x03400000 0x10000>;
  197. interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
  198. clocks = <&bpmp TEGRA194_CLK_SDMMC1>;
  199. clock-names = "sdhci";
  200. resets = <&bpmp TEGRA194_RESET_SDMMC1>;
  201. reset-names = "sdhci";
  202. status = "disabled";
  203. };
  204. sdmmc3: sdhci@3440000 {
  205. compatible = "nvidia,tegra194-sdhci", "nvidia,tegra186-sdhci";
  206. reg = <0x03440000 0x10000>;
  207. interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
  208. clocks = <&bpmp TEGRA194_CLK_SDMMC3>;
  209. clock-names = "sdhci";
  210. resets = <&bpmp TEGRA194_RESET_SDMMC3>;
  211. reset-names = "sdhci";
  212. status = "disabled";
  213. };
  214. sdmmc4: sdhci@3460000 {
  215. compatible = "nvidia,tegra194-sdhci", "nvidia,tegra186-sdhci";
  216. reg = <0x03460000 0x10000>;
  217. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
  218. clocks = <&bpmp TEGRA194_CLK_SDMMC4>;
  219. clock-names = "sdhci";
  220. resets = <&bpmp TEGRA194_RESET_SDMMC4>;
  221. reset-names = "sdhci";
  222. status = "disabled";
  223. };
  224. gic: interrupt-controller@3881000 {
  225. compatible = "arm,gic-400";
  226. #interrupt-cells = <3>;
  227. interrupt-controller;
  228. reg = <0x03881000 0x1000>,
  229. <0x03882000 0x2000>,
  230. <0x03884000 0x2000>,
  231. <0x03886000 0x2000>;
  232. interrupts = <GIC_PPI 9
  233. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
  234. interrupt-parent = <&gic>;
  235. };
  236. hsp_top0: hsp@3c00000 {
  237. compatible = "nvidia,tegra186-hsp";
  238. reg = <0x03c00000 0xa0000>;
  239. interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
  240. interrupt-names = "doorbell";
  241. #mbox-cells = <2>;
  242. };
  243. gen2_i2c: i2c@c240000 {
  244. compatible = "nvidia,tegra194-i2c";
  245. reg = <0x0c240000 0x10000>;
  246. interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
  247. #address-cells = <1>;
  248. #size-cells = <0>;
  249. clocks = <&bpmp TEGRA194_CLK_I2C2>;
  250. clock-names = "div-clk";
  251. resets = <&bpmp TEGRA194_RESET_I2C2>;
  252. reset-names = "i2c";
  253. status = "disabled";
  254. };
  255. gen8_i2c: i2c@c250000 {
  256. compatible = "nvidia,tegra194-i2c";
  257. reg = <0x0c250000 0x10000>;
  258. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  259. #address-cells = <1>;
  260. #size-cells = <0>;
  261. clocks = <&bpmp TEGRA194_CLK_I2C8>;
  262. clock-names = "div-clk";
  263. resets = <&bpmp TEGRA194_RESET_I2C8>;
  264. reset-names = "i2c";
  265. status = "disabled";
  266. };
  267. uartc: serial@c280000 {
  268. compatible = "nvidia,tegra194-uart", "nvidia,tegra20-uart";
  269. reg = <0x0c280000 0x40>;
  270. reg-shift = <2>;
  271. interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
  272. clocks = <&bpmp TEGRA194_CLK_UARTC>;
  273. clock-names = "serial";
  274. resets = <&bpmp TEGRA194_RESET_UARTC>;
  275. reset-names = "serial";
  276. status = "disabled";
  277. };
  278. uartg: serial@c290000 {
  279. compatible = "nvidia,tegra194-uart", "nvidia,tegra20-uart";
  280. reg = <0x0c290000 0x40>;
  281. reg-shift = <2>;
  282. interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
  283. clocks = <&bpmp TEGRA194_CLK_UARTG>;
  284. clock-names = "serial";
  285. resets = <&bpmp TEGRA194_RESET_UARTG>;
  286. reset-names = "serial";
  287. status = "disabled";
  288. };
  289. pmc@c360000 {
  290. compatible = "nvidia,tegra194-pmc";
  291. reg = <0x0c360000 0x10000>,
  292. <0x0c370000 0x10000>,
  293. <0x0c380000 0x10000>,
  294. <0x0c390000 0x10000>,
  295. <0x0c3a0000 0x10000>;
  296. reg-names = "pmc", "wake", "aotag", "scratch", "misc";
  297. };
  298. };
  299. sysram@40000000 {
  300. compatible = "nvidia,tegra194-sysram", "mmio-sram";
  301. reg = <0x0 0x40000000 0x0 0x50000>;
  302. #address-cells = <1>;
  303. #size-cells = <1>;
  304. ranges = <0x0 0x0 0x40000000 0x50000>;
  305. cpu_bpmp_tx: shmem@4e000 {
  306. compatible = "nvidia,tegra194-bpmp-shmem";
  307. reg = <0x4e000 0x1000>;
  308. label = "cpu-bpmp-tx";
  309. pool;
  310. };
  311. cpu_bpmp_rx: shmem@4f000 {
  312. compatible = "nvidia,tegra194-bpmp-shmem";
  313. reg = <0x4f000 0x1000>;
  314. label = "cpu-bpmp-rx";
  315. pool;
  316. };
  317. };
  318. bpmp: bpmp {
  319. compatible = "nvidia,tegra186-bpmp";
  320. mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB
  321. TEGRA_HSP_DB_MASTER_BPMP>;
  322. shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;
  323. #clock-cells = <1>;
  324. #reset-cells = <1>;
  325. #power-domain-cells = <1>;
  326. bpmp_i2c: i2c {
  327. compatible = "nvidia,tegra186-bpmp-i2c";
  328. nvidia,bpmp-bus-id = <5>;
  329. #address-cells = <1>;
  330. #size-cells = <0>;
  331. };
  332. bpmp_thermal: thermal {
  333. compatible = "nvidia,tegra186-bpmp-thermal";
  334. #thermal-sensor-cells = <1>;
  335. };
  336. };
  337. cpus {
  338. #address-cells = <1>;
  339. #size-cells = <0>;
  340. cpu@0 {
  341. compatible = "nvidia,tegra194-carmel", "arm,armv8";
  342. device_type = "cpu";
  343. reg = <0x10000>;
  344. enable-method = "psci";
  345. };
  346. cpu@1 {
  347. compatible = "nvidia,tegra194-carmel", "arm,armv8";
  348. device_type = "cpu";
  349. reg = <0x10001>;
  350. enable-method = "psci";
  351. };
  352. cpu@2 {
  353. compatible = "nvidia,tegra194-carmel", "arm,armv8";
  354. device_type = "cpu";
  355. reg = <0x100>;
  356. enable-method = "psci";
  357. };
  358. cpu@3 {
  359. compatible = "nvidia,tegra194-carmel", "arm,armv8";
  360. device_type = "cpu";
  361. reg = <0x101>;
  362. enable-method = "psci";
  363. };
  364. cpu@4 {
  365. compatible = "nvidia,tegra194-carmel", "arm,armv8";
  366. device_type = "cpu";
  367. reg = <0x200>;
  368. enable-method = "psci";
  369. };
  370. cpu@5 {
  371. compatible = "nvidia,tegra194-carmel", "arm,armv8";
  372. device_type = "cpu";
  373. reg = <0x201>;
  374. enable-method = "psci";
  375. };
  376. cpu@6 {
  377. compatible = "nvidia,tegra194-carmel", "arm,armv8";
  378. device_type = "cpu";
  379. reg = <0x10300>;
  380. enable-method = "psci";
  381. };
  382. cpu@7 {
  383. compatible = "nvidia,tegra194-carmel", "arm,armv8";
  384. device_type = "cpu";
  385. reg = <0x10301>;
  386. enable-method = "psci";
  387. };
  388. };
  389. psci {
  390. compatible = "arm,psci-1.0";
  391. status = "okay";
  392. method = "smc";
  393. };
  394. timer {
  395. compatible = "arm,armv8-timer";
  396. interrupts = <GIC_PPI 13
  397. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  398. <GIC_PPI 14
  399. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  400. <GIC_PPI 11
  401. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
  402. <GIC_PPI 10
  403. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
  404. interrupt-parent = <&gic>;
  405. };
  406. };