1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/tegra186-clock.h>
3 #include <dt-bindings/gpio/tegra186-gpio.h>
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/mailbox/tegra186-hsp.h>
6 #include <dt-bindings/power/tegra186-powergate.h>
7 #include <dt-bindings/reset/tegra186-reset.h>
8 #include <dt-bindings/thermal/tegra186-bpmp-thermal.h>
11 compatible = "nvidia,tegra186";
12 interrupt-parent = <&gic>;
17 compatible = "nvidia,tegra186-gpio";
18 reg-names = "security", "gpio";
19 reg = <0x0 0x2200000 0x0 0x10000>,
20 <0x0 0x2210000 0x0 0x10000>;
21 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
22 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
23 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
24 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
25 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
26 <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
27 #interrupt-cells = <2>;
34 compatible = "nvidia,tegra186-eqos",
35 "snps,dwc-qos-ethernet-4.10";
36 reg = <0x0 0x02490000 0x0 0x10000>;
37 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, /* common */
38 <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>, /* power */
39 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, /* rx0 */
40 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, /* tx0 */
41 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, /* rx1 */
42 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, /* tx1 */
43 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, /* rx2 */
44 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, /* tx2 */
45 <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>, /* rx3 */
46 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>; /* tx3 */
47 clocks = <&bpmp TEGRA186_CLK_AXI_CBB>,
48 <&bpmp TEGRA186_CLK_EQOS_AXI>,
49 <&bpmp TEGRA186_CLK_EQOS_RX>,
50 <&bpmp TEGRA186_CLK_EQOS_TX>,
51 <&bpmp TEGRA186_CLK_EQOS_PTP_REF>;
52 clock-names = "master_bus", "slave_bus", "rx", "tx", "ptp_ref";
53 resets = <&bpmp TEGRA186_RESET_EQOS>;
57 snps,write-requests = <1>;
58 snps,read-requests = <3>;
59 snps,burst-map = <0x7>;
64 uarta: serial@3100000 {
65 compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
66 reg = <0x0 0x03100000 0x0 0x40>;
68 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
69 clocks = <&bpmp TEGRA186_CLK_UARTA>;
70 clock-names = "serial";
71 resets = <&bpmp TEGRA186_RESET_UARTA>;
72 reset-names = "serial";
76 uartb: serial@3110000 {
77 compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
78 reg = <0x0 0x03110000 0x0 0x40>;
80 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
81 clocks = <&bpmp TEGRA186_CLK_UARTB>;
82 clock-names = "serial";
83 resets = <&bpmp TEGRA186_RESET_UARTB>;
84 reset-names = "serial";
88 uartd: serial@3130000 {
89 compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
90 reg = <0x0 0x03130000 0x0 0x40>;
92 interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
93 clocks = <&bpmp TEGRA186_CLK_UARTD>;
94 clock-names = "serial";
95 resets = <&bpmp TEGRA186_RESET_UARTD>;
96 reset-names = "serial";
100 uarte: serial@3140000 {
101 compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
102 reg = <0x0 0x03140000 0x0 0x40>;
104 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
105 clocks = <&bpmp TEGRA186_CLK_UARTE>;
106 clock-names = "serial";
107 resets = <&bpmp TEGRA186_RESET_UARTE>;
108 reset-names = "serial";
112 uartf: serial@3150000 {
113 compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
114 reg = <0x0 0x03150000 0x0 0x40>;
116 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
117 clocks = <&bpmp TEGRA186_CLK_UARTF>;
118 clock-names = "serial";
119 resets = <&bpmp TEGRA186_RESET_UARTF>;
120 reset-names = "serial";
124 gen1_i2c: i2c@3160000 {
125 compatible = "nvidia,tegra186-i2c", "nvidia,tegra114-i2c";
126 reg = <0x0 0x03160000 0x0 0x10000>;
127 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
128 #address-cells = <1>;
130 clocks = <&bpmp TEGRA186_CLK_I2C1>;
131 clock-names = "div-clk";
132 resets = <&bpmp TEGRA186_RESET_I2C1>;
137 cam_i2c: i2c@3180000 {
138 compatible = "nvidia,tegra186-i2c", "nvidia,tegra114-i2c";
139 reg = <0x0 0x03180000 0x0 0x10000>;
140 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
141 #address-cells = <1>;
143 clocks = <&bpmp TEGRA186_CLK_I2C3>;
144 clock-names = "div-clk";
145 resets = <&bpmp TEGRA186_RESET_I2C3>;
150 /* shares pads with dpaux1 */
151 dp_aux_ch1_i2c: i2c@3190000 {
152 compatible = "nvidia,tegra186-i2c", "nvidia,tegra114-i2c";
153 reg = <0x0 0x03190000 0x0 0x10000>;
154 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
155 #address-cells = <1>;
157 clocks = <&bpmp TEGRA186_CLK_I2C4>;
158 clock-names = "div-clk";
159 resets = <&bpmp TEGRA186_RESET_I2C4>;
164 /* controlled by BPMP, should not be enabled */
165 pwr_i2c: i2c@31a0000 {
166 compatible = "nvidia,tegra186-i2c", "nvidia,tegra114-i2c";
167 reg = <0x0 0x031a0000 0x0 0x10000>;
168 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
169 #address-cells = <1>;
171 clocks = <&bpmp TEGRA186_CLK_I2C5>;
172 clock-names = "div-clk";
173 resets = <&bpmp TEGRA186_RESET_I2C5>;
178 /* shares pads with dpaux0 */
179 dp_aux_ch0_i2c: i2c@31b0000 {
180 compatible = "nvidia,tegra186-i2c", "nvidia,tegra114-i2c";
181 reg = <0x0 0x031b0000 0x0 0x10000>;
182 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
183 #address-cells = <1>;
185 clocks = <&bpmp TEGRA186_CLK_I2C6>;
186 clock-names = "div-clk";
187 resets = <&bpmp TEGRA186_RESET_I2C6>;
192 gen7_i2c: i2c@31c0000 {
193 compatible = "nvidia,tegra186-i2c", "nvidia,tegra114-i2c";
194 reg = <0x0 0x031c0000 0x0 0x10000>;
195 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
196 #address-cells = <1>;
198 clocks = <&bpmp TEGRA186_CLK_I2C7>;
199 clock-names = "div-clk";
200 resets = <&bpmp TEGRA186_RESET_I2C7>;
205 gen9_i2c: i2c@31e0000 {
206 compatible = "nvidia,tegra186-i2c", "nvidia,tegra114-i2c";
207 reg = <0x0 0x031e0000 0x0 0x10000>;
208 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
209 #address-cells = <1>;
211 clocks = <&bpmp TEGRA186_CLK_I2C9>;
212 clock-names = "div-clk";
213 resets = <&bpmp TEGRA186_RESET_I2C9>;
218 sdmmc1: sdhci@3400000 {
219 compatible = "nvidia,tegra186-sdhci";
220 reg = <0x0 0x03400000 0x0 0x10000>;
221 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
222 clocks = <&bpmp TEGRA186_CLK_SDMMC1>;
223 clock-names = "sdhci";
224 resets = <&bpmp TEGRA186_RESET_SDMMC1>;
225 reset-names = "sdhci";
229 sdmmc2: sdhci@3420000 {
230 compatible = "nvidia,tegra186-sdhci";
231 reg = <0x0 0x03420000 0x0 0x10000>;
232 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
233 clocks = <&bpmp TEGRA186_CLK_SDMMC2>;
234 clock-names = "sdhci";
235 resets = <&bpmp TEGRA186_RESET_SDMMC2>;
236 reset-names = "sdhci";
240 sdmmc3: sdhci@3440000 {
241 compatible = "nvidia,tegra186-sdhci";
242 reg = <0x0 0x03440000 0x0 0x10000>;
243 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
244 clocks = <&bpmp TEGRA186_CLK_SDMMC3>;
245 clock-names = "sdhci";
246 resets = <&bpmp TEGRA186_RESET_SDMMC3>;
247 reset-names = "sdhci";
251 sdmmc4: sdhci@3460000 {
252 compatible = "nvidia,tegra186-sdhci";
253 reg = <0x0 0x03460000 0x0 0x10000>;
254 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
255 clocks = <&bpmp TEGRA186_CLK_SDMMC4>;
256 clock-names = "sdhci";
257 resets = <&bpmp TEGRA186_RESET_SDMMC4>;
258 reset-names = "sdhci";
262 gic: interrupt-controller@3881000 {
263 compatible = "arm,gic-400";
264 #interrupt-cells = <3>;
265 interrupt-controller;
266 reg = <0x0 0x03881000 0x0 0x1000>,
267 <0x0 0x03882000 0x0 0x2000>;
268 interrupts = <GIC_PPI 9
269 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
270 interrupt-parent = <&gic>;
273 hsp_top0: hsp@3c00000 {
274 compatible = "nvidia,tegra186-hsp";
275 reg = <0x0 0x03c00000 0x0 0xa0000>;
276 interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
277 interrupt-names = "doorbell";
282 gen2_i2c: i2c@c240000 {
283 compatible = "nvidia,tegra186-i2c", "nvidia,tegra114-i2c";
284 reg = <0x0 0x0c240000 0x0 0x10000>;
285 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
286 #address-cells = <1>;
288 clocks = <&bpmp TEGRA186_CLK_I2C2>;
289 clock-names = "div-clk";
290 resets = <&bpmp TEGRA186_RESET_I2C2>;
295 gen8_i2c: i2c@c250000 {
296 compatible = "nvidia,tegra186-i2c", "nvidia,tegra114-i2c";
297 reg = <0x0 0x0c250000 0x0 0x10000>;
298 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
299 #address-cells = <1>;
301 clocks = <&bpmp TEGRA186_CLK_I2C8>;
302 clock-names = "div-clk";
303 resets = <&bpmp TEGRA186_RESET_I2C8>;
308 uartc: serial@c280000 {
309 compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
310 reg = <0x0 0x0c280000 0x0 0x40>;
312 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
313 clocks = <&bpmp TEGRA186_CLK_UARTC>;
314 clock-names = "serial";
315 resets = <&bpmp TEGRA186_RESET_UARTC>;
316 reset-names = "serial";
320 uartg: serial@c290000 {
321 compatible = "nvidia,tegra186-uart", "nvidia,tegra20-uart";
322 reg = <0x0 0x0c290000 0x0 0x40>;
324 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
325 clocks = <&bpmp TEGRA186_CLK_UARTG>;
326 clock-names = "serial";
327 resets = <&bpmp TEGRA186_RESET_UARTG>;
328 reset-names = "serial";
332 gpio_aon: gpio@c2f0000 {
333 compatible = "nvidia,tegra186-gpio-aon";
334 reg-names = "security", "gpio";
335 reg = <0x0 0xc2f0000 0x0 0x1000>,
336 <0x0 0xc2f1000 0x0 0x1000>;
337 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
340 interrupt-controller;
341 #interrupt-cells = <2>;
345 compatible = "nvidia,tegra186-pmc";
346 reg = <0 0x0c360000 0 0x10000>,
347 <0 0x0c370000 0 0x10000>,
348 <0 0x0c380000 0 0x10000>,
349 <0 0x0c390000 0 0x10000>;
350 reg-names = "pmc", "wake", "aotag", "scratch";
354 compatible = "nvidia,tegra186-ccplex-cluster";
355 reg = <0x0 0x0e000000 0x0 0x3fffff>;
357 nvidia,bpmp = <&bpmp>;
361 compatible = "nvidia,tegra186-pcie";
362 power-domains = <&bpmp TEGRA186_POWER_DOMAIN_PCX>;
364 reg = <0x0 0x10003000 0x0 0x00000800 /* PADS registers */
365 0x0 0x10003800 0x0 0x00000800 /* AFI registers */
366 0x0 0x40000000 0x0 0x10000000>; /* configuration space */
367 reg-names = "pads", "afi", "cs";
369 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
370 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
371 interrupt-names = "intr", "msi";
373 #interrupt-cells = <1>;
374 interrupt-map-mask = <0 0 0 0>;
375 interrupt-map = <0 0 0 0 &gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
377 bus-range = <0x00 0xff>;
378 #address-cells = <3>;
381 ranges = <0x82000000 0 0x10000000 0x0 0x10000000 0 0x00001000 /* port 0 configuration space */
382 0x82000000 0 0x10001000 0x0 0x10001000 0 0x00001000 /* port 1 configuration space */
383 0x82000000 0 0x10004000 0x0 0x10004000 0 0x00001000 /* port 2 configuration space */
384 0x81000000 0 0x0 0x0 0x50000000 0 0x00010000 /* downstream I/O (64 KiB) */
385 0x82000000 0 0x50100000 0x0 0x50100000 0 0x07F00000 /* non-prefetchable memory (127 MiB) */
386 0xc2000000 0 0x58000000 0x0 0x58000000 0 0x28000000>; /* prefetchable memory (640 MiB) */
388 clocks = <&bpmp TEGRA186_CLK_AFI>,
389 <&bpmp TEGRA186_CLK_PCIE>,
390 <&bpmp TEGRA186_CLK_PLLE>;
391 clock-names = "afi", "pex", "pll_e";
393 resets = <&bpmp TEGRA186_RESET_AFI>,
394 <&bpmp TEGRA186_RESET_PCIE>,
395 <&bpmp TEGRA186_RESET_PCIEXCLK>;
396 reset-names = "afi", "pex", "pcie_x";
402 assigned-addresses = <0x82000800 0 0x10000000 0 0x1000>;
403 reg = <0x000800 0 0 0 0>;
406 #address-cells = <3>;
410 nvidia,num-lanes = <2>;
415 assigned-addresses = <0x82001000 0 0x10001000 0 0x1000>;
416 reg = <0x001000 0 0 0 0>;
419 #address-cells = <3>;
423 nvidia,num-lanes = <1>;
428 assigned-addresses = <0x82001800 0 0x10004000 0 0x1000>;
429 reg = <0x001800 0 0 0 0>;
432 #address-cells = <3>;
436 nvidia,num-lanes = <1>;
441 compatible = "nvidia,tegra186-host1x", "simple-bus";
442 reg = <0x0 0x13e00000 0x0 0x10000>,
443 <0x0 0x13e10000 0x0 0x10000>;
444 reg-names = "hypervisor", "vm";
445 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>,
446 <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
447 clocks = <&bpmp TEGRA186_CLK_HOST1X>;
448 clock-names = "host1x";
449 resets = <&bpmp TEGRA186_RESET_HOST1X>;
450 reset-names = "host1x";
452 #address-cells = <1>;
455 ranges = <0x15000000 0x0 0x15000000 0x01000000>;
458 compatible = "nvidia,tegra186-vic";
459 reg = <0x15340000 0x40000>;
460 interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>;
461 clocks = <&bpmp TEGRA186_CLK_VIC>;
463 resets = <&bpmp TEGRA186_RESET_VIC>;
466 power-domains = <&bpmp TEGRA186_POWER_DOMAIN_VIC>;
471 compatible = "nvidia,gp10b";
472 reg = <0x0 0x17000000 0x0 0x1000000>,
473 <0x0 0x18000000 0x0 0x1000000>;
474 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH
475 GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
476 interrupt-names = "stall", "nonstall";
478 clocks = <&bpmp TEGRA186_CLK_GPCCLK>,
479 <&bpmp TEGRA186_CLK_GPU>;
480 clock-names = "gpu", "pwr";
481 resets = <&bpmp TEGRA186_RESET_GPU>;
485 power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>;
489 compatible = "nvidia,tegra186-sysram", "mmio-sram";
490 reg = <0x0 0x30000000 0x0 0x50000>;
491 #address-cells = <2>;
493 ranges = <0 0x0 0x0 0x30000000 0x0 0x50000>;
495 cpu_bpmp_tx: shmem@4e000 {
496 compatible = "nvidia,tegra186-bpmp-shmem";
497 reg = <0x0 0x4e000 0x0 0x1000>;
498 label = "cpu-bpmp-tx";
502 cpu_bpmp_rx: shmem@4f000 {
503 compatible = "nvidia,tegra186-bpmp-shmem";
504 reg = <0x0 0x4f000 0x0 0x1000>;
505 label = "cpu-bpmp-rx";
511 #address-cells = <1>;
515 compatible = "nvidia,tegra186-denver", "arm,armv8";
521 compatible = "nvidia,tegra186-denver", "arm,armv8";
527 compatible = "arm,cortex-a57", "arm,armv8";
533 compatible = "arm,cortex-a57", "arm,armv8";
539 compatible = "arm,cortex-a57", "arm,armv8";
545 compatible = "arm,cortex-a57", "arm,armv8";
552 compatible = "nvidia,tegra186-bpmp";
553 mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB
554 TEGRA_HSP_DB_MASTER_BPMP>;
555 shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>;
558 #power-domain-cells = <1>;
561 compatible = "nvidia,tegra186-bpmp-i2c";
562 nvidia,bpmp-bus-id = <5>;
563 #address-cells = <1>;
568 bpmp_thermal: thermal {
569 compatible = "nvidia,tegra186-bpmp-thermal";
570 #thermal-sensor-cells = <1>;
577 polling-delay-passive = <1000>;
580 <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_CPU>;
584 temperature = <101000>;
596 polling-delay-passive = <1000>;
599 <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_AUX>;
603 temperature = <101000>;
615 polling-delay-passive = <1000>;
618 <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_GPU>;
622 temperature = <101000>;
634 polling-delay-passive = <1000>;
637 <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_PLLX>;
641 temperature = <101000>;
653 polling-delay-passive = <1000>;
656 <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_AO>;
660 temperature = <101000>;
672 compatible = "arm,armv8-timer";
673 interrupts = <GIC_PPI 13
674 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
676 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
678 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
680 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
681 interrupt-parent = <&gic>;