blob: a9ab548781e1c2a751485b4785e06503d36d97f2 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Joseph Lo3b86baf2013-10-08 15:47:40 +08002#include <dt-bindings/clock/tegra124-car.h>
Stephen Warren0a9375d2013-08-05 16:10:02 -07003#include <dt-bindings/gpio/tegra-gpio.h>
Thierry Reding5b605d42014-06-26 21:22:46 +02004#include <dt-bindings/memory/tegra124-mc.h>
Laxman Dewangan4b20bcb2013-12-09 16:03:51 +05305#include <dt-bindings/pinctrl/pinctrl-tegra.h>
Joseph Load03b1a2013-10-08 12:50:05 +08006#include <dt-bindings/interrupt-controller/arm-gic.h>
Tuomas Tynkkynenbf9d0262015-05-13 17:58:44 +03007#include <dt-bindings/reset/tegra124-car.h>
Mikko Perttunen26b76f82014-09-26 12:43:11 +03008#include <dt-bindings/thermal/tegra124-soctherm.h>
Sowjanya Komatineni86614b52020-01-13 23:24:18 -08009#include <dt-bindings/soc/tegra-pmc.h>
Joseph Load03b1a2013-10-08 12:50:05 +080010
Dmitry Osipenkod63250d2020-11-23 03:27:23 +030011#include "tegra124-peripherals-opp.dtsi"
12
Joseph Load03b1a2013-10-08 12:50:05 +080013/ {
14 compatible = "nvidia,tegra124";
Marc Zyngier870c81a2015-03-11 15:43:01 +000015 interrupt-parent = <&lic>;
Stephen Warrene30cb232014-03-03 14:51:15 -070016 #address-cells = <2>;
17 #size-cells = <2>;
Joseph Load03b1a2013-10-08 12:50:05 +080018
Krzysztof Kozlowski48299762018-07-09 18:05:17 +020019 memory@80000000 {
Krzysztof Kozlowskif48ba1a2018-07-09 18:05:16 +020020 device_type = "memory";
Krzysztof Kozlowski48299762018-07-09 18:05:17 +020021 reg = <0x0 0x80000000 0x0 0x0>;
Krzysztof Kozlowskif48ba1a2018-07-09 18:05:16 +020022 };
23
Rob Herring508d6902017-03-21 21:03:06 -050024 pcie@1003000 {
Thierry Redingee588e22014-09-17 10:02:44 -060025 compatible = "nvidia,tegra124-pcie";
26 device_type = "pci";
Thierry Reding9482a172020-06-11 19:41:30 +020027 reg = <0x0 0x01003000 0x0 0x00000800>, /* PADS registers */
28 <0x0 0x01003800 0x0 0x00000800>, /* AFI registers */
29 <0x0 0x02000000 0x0 0x10000000>; /* configuration space */
Thierry Redingee588e22014-09-17 10:02:44 -060030 reg-names = "pads", "afi", "cs";
31 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
32 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
33 interrupt-names = "intr", "msi";
34
35 #interrupt-cells = <1>;
36 interrupt-map-mask = <0 0 0 0>;
37 interrupt-map = <0 0 0 0 &gic GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
38
39 bus-range = <0x00 0xff>;
40 #address-cells = <3>;
41 #size-cells = <2>;
42
Thierry Reding9482a172020-06-11 19:41:30 +020043 ranges = <0x02000000 0 0x01000000 0x0 0x01000000 0 0x00001000>, /* port 0 configuration space */
44 <0x02000000 0 0x01001000 0x0 0x01001000 0 0x00001000>, /* port 1 configuration space */
45 <0x01000000 0 0x0 0x0 0x12000000 0 0x00010000>, /* downstream I/O (64 KiB) */
46 <0x02000000 0 0x13000000 0x0 0x13000000 0 0x0d000000>, /* non-prefetchable memory (208 MiB) */
47 <0x42000000 0 0x20000000 0x0 0x20000000 0 0x20000000>; /* prefetchable memory (512 MiB) */
Thierry Redingee588e22014-09-17 10:02:44 -060048
49 clocks = <&tegra_car TEGRA124_CLK_PCIE>,
50 <&tegra_car TEGRA124_CLK_AFI>,
51 <&tegra_car TEGRA124_CLK_PLL_E>,
52 <&tegra_car TEGRA124_CLK_CML0>;
53 clock-names = "pex", "afi", "pll_e", "cml";
54 resets = <&tegra_car 70>,
55 <&tegra_car 72>,
56 <&tegra_car 74>;
57 reset-names = "pex", "afi", "pcie_x";
58 status = "disabled";
59
Thierry Redingee588e22014-09-17 10:02:44 -060060 pci@1,0 {
61 device_type = "pci";
62 assigned-addresses = <0x82000800 0 0x01000000 0 0x1000>;
63 reg = <0x000800 0 0 0 0>;
Rob Herring508d6902017-03-21 21:03:06 -050064 bus-range = <0x00 0xff>;
Thierry Redingee588e22014-09-17 10:02:44 -060065 status = "disabled";
66
67 #address-cells = <3>;
68 #size-cells = <2>;
69 ranges;
70
71 nvidia,num-lanes = <2>;
72 };
73
74 pci@2,0 {
75 device_type = "pci";
76 assigned-addresses = <0x82001000 0 0x01001000 0 0x1000>;
77 reg = <0x001000 0 0 0 0>;
Rob Herring508d6902017-03-21 21:03:06 -050078 bus-range = <0x00 0xff>;
Thierry Redingee588e22014-09-17 10:02:44 -060079 status = "disabled";
80
81 #address-cells = <3>;
82 #size-cells = <2>;
83 ranges;
84
85 nvidia,num-lanes = <1>;
86 };
87 };
88
Marcel Ziswilerb5896f62016-06-30 00:21:37 +020089 host1x@50000000 {
Thierry Redingf0fd20a2020-06-12 11:59:09 +020090 compatible = "nvidia,tegra124-host1x";
Stephen Warrene30cb232014-03-03 14:51:15 -070091 reg = <0x0 0x50000000 0x0 0x00034000>;
Thierry Redingad6be7d2014-02-28 17:40:22 +010092 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */
93 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */
Thierry Reding6cc05ba2020-06-12 12:00:03 +020094 interrupt-names = "syncpt", "host1x";
Thierry Redingad6be7d2014-02-28 17:40:22 +010095 clocks = <&tegra_car TEGRA124_CLK_HOST1X>;
Thierry Reding6cc05ba2020-06-12 12:00:03 +020096 clock-names = "host1x";
Thierry Redingbd048482021-12-17 14:52:37 +010097 resets = <&tegra_car 28>, <&mc TEGRA124_MC_RESET_HC>;
98 reset-names = "host1x", "mc";
Paul Kocialkowski2c85e512017-07-09 19:36:14 +030099 iommus = <&mc TEGRA_SWGROUP_HC>;
Thierry Redingad6be7d2014-02-28 17:40:22 +0100100
Stephen Warrene30cb232014-03-03 14:51:15 -0700101 #address-cells = <2>;
102 #size-cells = <2>;
Thierry Redingad6be7d2014-02-28 17:40:22 +0100103
Stephen Warrene30cb232014-03-03 14:51:15 -0700104 ranges = <0 0x54000000 0 0x54000000 0 0x01000000>;
Thierry Redingad6be7d2014-02-28 17:40:22 +0100105
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200106 dc@54200000 {
Thierry Redingad6be7d2014-02-28 17:40:22 +0100107 compatible = "nvidia,tegra124-dc";
Stephen Warrene30cb232014-03-03 14:51:15 -0700108 reg = <0x0 0x54200000 0x0 0x00040000>;
Thierry Redingad6be7d2014-02-28 17:40:22 +0100109 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Thierry Redingafd92392020-06-11 19:09:36 +0200110 clocks = <&tegra_car TEGRA124_CLK_DISP1>;
111 clock-names = "dc";
Thierry Redingad6be7d2014-02-28 17:40:22 +0100112 resets = <&tegra_car 27>;
113 reset-names = "dc";
114
Thierry Reding5b605d42014-06-26 21:22:46 +0200115 iommus = <&mc TEGRA_SWGROUP_DC>;
116
Thierry Redingad6be7d2014-02-28 17:40:22 +0100117 nvidia,head = <0>;
Dmitry Osipenko5cf0cdb2020-11-23 03:27:19 +0300118
119 interconnects = <&mc TEGRA124_MC_DISPLAY0A &emc>,
120 <&mc TEGRA124_MC_DISPLAY0B &emc>,
121 <&mc TEGRA124_MC_DISPLAY0C &emc>,
122 <&mc TEGRA124_MC_DISPLAYHC &emc>,
123 <&mc TEGRA124_MC_DISPLAYD &emc>,
124 <&mc TEGRA124_MC_DISPLAYT &emc>;
125 interconnect-names = "wina",
126 "winb",
127 "winc",
128 "cursor",
129 "wind",
130 "wint";
Thierry Redingad6be7d2014-02-28 17:40:22 +0100131 };
132
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200133 dc@54240000 {
Thierry Redingad6be7d2014-02-28 17:40:22 +0100134 compatible = "nvidia,tegra124-dc";
Stephen Warrene30cb232014-03-03 14:51:15 -0700135 reg = <0x0 0x54240000 0x0 0x00040000>;
Thierry Redingad6be7d2014-02-28 17:40:22 +0100136 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
Thierry Redingafd92392020-06-11 19:09:36 +0200137 clocks = <&tegra_car TEGRA124_CLK_DISP2>;
138 clock-names = "dc";
Thierry Redingad6be7d2014-02-28 17:40:22 +0100139 resets = <&tegra_car 26>;
140 reset-names = "dc";
141
Thierry Reding5b605d42014-06-26 21:22:46 +0200142 iommus = <&mc TEGRA_SWGROUP_DCB>;
143
Thierry Redingad6be7d2014-02-28 17:40:22 +0100144 nvidia,head = <1>;
Dmitry Osipenko5cf0cdb2020-11-23 03:27:19 +0300145
146 interconnects = <&mc TEGRA124_MC_DISPLAY0AB &emc>,
147 <&mc TEGRA124_MC_DISPLAY0BB &emc>,
148 <&mc TEGRA124_MC_DISPLAY0CB &emc>,
149 <&mc TEGRA124_MC_DISPLAYHCB &emc>;
150 interconnect-names = "wina",
151 "winb",
152 "winc",
153 "cursor";
Thierry Redingad6be7d2014-02-28 17:40:22 +0100154 };
Thierry Redingd72be032014-02-28 17:40:23 +0100155
Hans Verkuil7f2b7ce2017-09-11 14:29:50 +0200156 hdmi: hdmi@54280000 {
Thierry Reding9dd604d2014-04-25 17:44:45 +0200157 compatible = "nvidia,tegra124-hdmi";
158 reg = <0x0 0x54280000 0x0 0x00040000>;
159 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
160 clocks = <&tegra_car TEGRA124_CLK_HDMI>,
161 <&tegra_car TEGRA124_CLK_PLL_D2_OUT0>;
162 clock-names = "hdmi", "parent";
163 resets = <&tegra_car 51>;
164 reset-names = "hdmi";
165 status = "disabled";
166 };
167
Thierry Reding3dde5a22018-11-23 13:04:03 +0100168 vic@54340000 {
169 compatible = "nvidia,tegra124-vic";
170 reg = <0x0 0x54340000 0x0 0x00040000>;
171 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
172 clocks = <&tegra_car TEGRA124_CLK_VIC03>;
173 clock-names = "vic";
174 resets = <&tegra_car 178>;
175 reset-names = "vic";
176
177 iommus = <&mc TEGRA_SWGROUP_VIC>;
178 };
179
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200180 sor@54540000 {
Thierry Redingd72be032014-02-28 17:40:23 +0100181 compatible = "nvidia,tegra124-sor";
Stephen Warrene30cb232014-03-03 14:51:15 -0700182 reg = <0x0 0x54540000 0x0 0x00040000>;
Thierry Redingd72be032014-02-28 17:40:23 +0100183 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
184 clocks = <&tegra_car TEGRA124_CLK_SOR0>,
Thierry Reding5d089d42019-07-24 15:47:54 +0200185 <&tegra_car TEGRA124_CLK_SOR0_OUT>,
Thierry Redingd72be032014-02-28 17:40:23 +0100186 <&tegra_car TEGRA124_CLK_PLL_D_OUT0>,
187 <&tegra_car TEGRA124_CLK_PLL_DP>,
188 <&tegra_car TEGRA124_CLK_CLK_M>;
Thierry Reding5d089d42019-07-24 15:47:54 +0200189 clock-names = "sor", "out", "parent", "dp", "safe";
Thierry Redingd72be032014-02-28 17:40:23 +0100190 resets = <&tegra_car 182>;
191 reset-names = "sor";
192 status = "disabled";
193 };
194
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200195 dpaux: dpaux@545c0000 {
Thierry Redingd72be032014-02-28 17:40:23 +0100196 compatible = "nvidia,tegra124-dpaux";
Stephen Warrene30cb232014-03-03 14:51:15 -0700197 reg = <0x0 0x545c0000 0x0 0x00040000>;
Thierry Redingd72be032014-02-28 17:40:23 +0100198 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
199 clocks = <&tegra_car TEGRA124_CLK_DPAUX>,
200 <&tegra_car TEGRA124_CLK_PLL_DP>;
201 clock-names = "dpaux", "parent";
202 resets = <&tegra_car 181>;
203 reset-names = "dpaux";
204 status = "disabled";
Thierry Redingcb26dc72020-07-15 11:46:05 +0200205
206 i2c-bus {
207 #address-cells = <1>;
208 #size-cells = <0>;
209 };
Thierry Redingd72be032014-02-28 17:40:23 +0100210 };
Thierry Redingad6be7d2014-02-28 17:40:22 +0100211 };
212
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200213 gic: interrupt-controller@50041000 {
Joseph Load03b1a2013-10-08 12:50:05 +0800214 compatible = "arm,cortex-a15-gic";
215 #interrupt-cells = <3>;
216 interrupt-controller;
Stephen Warrene30cb232014-03-03 14:51:15 -0700217 reg = <0x0 0x50041000 0x0 0x1000>,
218 <0x0 0x50042000 0x0 0x1000>,
219 <0x0 0x50044000 0x0 0x2000>,
220 <0x0 0x50046000 0x0 0x2000>;
Joseph Load03b1a2013-10-08 12:50:05 +0800221 interrupts = <GIC_PPI 9
222 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Marc Zyngier870c81a2015-03-11 15:43:01 +0000223 interrupt-parent = <&gic>;
Joseph Load03b1a2013-10-08 12:50:05 +0800224 };
225
Thierry Reding1b5bad02021-12-07 11:03:12 +0100226 gpu@57000000 {
Thierry Redingd86b1e82014-06-26 14:33:34 +0900227 compatible = "nvidia,gk20a";
228 reg = <0x0 0x57000000 0x0 0x01000000>,
229 <0x0 0x58000000 0x0 0x01000000>;
230 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
231 <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
232 interrupt-names = "stall", "nonstall";
233 clocks = <&tegra_car TEGRA124_CLK_GPU>,
234 <&tegra_car TEGRA124_CLK_PLL_P_OUT5>;
235 clock-names = "gpu", "pwr";
236 resets = <&tegra_car 184>;
237 reset-names = "gpu";
Alexandre Courbotc96cd172015-07-01 18:13:45 +0900238
239 iommus = <&mc TEGRA_SWGROUP_GPU>;
240
Thierry Redingd86b1e82014-06-26 14:33:34 +0900241 status = "disabled";
242 };
243
Marc Zyngier870c81a2015-03-11 15:43:01 +0000244 lic: interrupt-controller@60004000 {
245 compatible = "nvidia,tegra124-ictlr", "nvidia,tegra30-ictlr";
246 reg = <0x0 0x60004000 0x0 0x100>,
247 <0x0 0x60004100 0x0 0x100>,
248 <0x0 0x60004200 0x0 0x100>,
249 <0x0 0x60004300 0x0 0x100>,
250 <0x0 0x60004400 0x0 0x100>;
251 interrupt-controller;
252 #interrupt-cells = <3>;
253 interrupt-parent = <&gic>;
254 };
255
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200256 timer@60005000 {
Thierry Redingf8d5db72021-12-07 10:55:06 +0100257 compatible = "nvidia,tegra124-timer", "nvidia,tegra30-timer";
Stephen Warrene30cb232014-03-03 14:51:15 -0700258 reg = <0x0 0x60005000 0x0 0x400>;
Joseph Load03b1a2013-10-08 12:50:05 +0800259 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
260 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
261 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
262 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
263 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
264 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
Joseph Lo3b86baf2013-10-08 15:47:40 +0800265 clocks = <&tegra_car TEGRA124_CLK_TIMER>;
266 };
267
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200268 tegra_car: clock@60006000 {
Joseph Lo3b86baf2013-10-08 15:47:40 +0800269 compatible = "nvidia,tegra124-car";
Stephen Warrene30cb232014-03-03 14:51:15 -0700270 reg = <0x0 0x60006000 0x0 0x1000>;
Joseph Lo3b86baf2013-10-08 15:47:40 +0800271 #clock-cells = <1>;
Stephen Warrenf71e4f02013-11-07 12:20:57 -0700272 #reset-cells = <1>;
Mikko Perttunenb273c882015-03-12 15:48:00 +0100273 nvidia,external-memory-controller = <&emc>;
Joseph Load03b1a2013-10-08 12:50:05 +0800274 };
275
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200276 flow-controller@60007000 {
Thierry Redingb1023132014-08-26 08:14:03 +0200277 compatible = "nvidia,tegra124-flowctrl";
278 reg = <0x0 0x60007000 0x0 0x1000>;
279 };
280
Dmitry Osipenko592b74b2021-05-11 00:10:06 +0300281 actmon: actmon@6000c800 {
Tomeu Vizosoc5f8e8c2015-03-17 10:36:18 +0100282 compatible = "nvidia,tegra124-actmon";
283 reg = <0x0 0x6000c800 0x0 0x400>;
284 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
285 clocks = <&tegra_car TEGRA124_CLK_ACTMON>,
286 <&tegra_car TEGRA124_CLK_EMC>;
287 clock-names = "actmon", "emc";
288 resets = <&tegra_car 119>;
289 reset-names = "actmon";
Dmitry Osipenkod63250d2020-11-23 03:27:23 +0300290 operating-points-v2 = <&emc_bw_dfs_opp_table>;
291 interconnects = <&mc TEGRA124_MC_MPCORER &emc>;
292 interconnect-names = "cpu-read";
Dmitry Osipenko592b74b2021-05-11 00:10:06 +0300293 #cooling-cells = <2>;
Tomeu Vizosoc5f8e8c2015-03-17 10:36:18 +0100294 };
295
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200296 gpio: gpio@6000d000 {
Stephen Warren0a9375d2013-08-05 16:10:02 -0700297 compatible = "nvidia,tegra124-gpio", "nvidia,tegra30-gpio";
Stephen Warrene30cb232014-03-03 14:51:15 -0700298 reg = <0x0 0x6000d000 0x0 0x1000>;
Stephen Warren0a9375d2013-08-05 16:10:02 -0700299 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
300 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
301 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
302 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
303 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
304 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
305 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
306 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
307 #gpio-cells = <2>;
308 gpio-controller;
309 #interrupt-cells = <2>;
310 interrupt-controller;
Tomeu Vizoso17cdddf2015-07-14 10:29:56 +0200311 gpio-ranges = <&pinmux 0 0 251>;
Stephen Warren0a9375d2013-08-05 16:10:02 -0700312 };
313
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200314 apbdma: dma@60020000 {
Stephen Warren2f5a9132013-11-15 12:22:53 -0700315 compatible = "nvidia,tegra124-apbdma", "nvidia,tegra148-apbdma";
Stephen Warrene30cb232014-03-03 14:51:15 -0700316 reg = <0x0 0x60020000 0x0 0x1400>;
Stephen Warren2f5a9132013-11-15 12:22:53 -0700317 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
318 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
319 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
320 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
321 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
322 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
323 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
324 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
325 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
326 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
327 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
328 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
329 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
330 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
331 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
332 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
333 <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
334 <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
335 <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
336 <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
337 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
338 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>,
339 <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
340 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>,
341 <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
342 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
343 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
344 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
345 <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
346 <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
347 <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
348 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
349 clocks = <&tegra_car TEGRA124_CLK_APBDMA>;
350 resets = <&tegra_car 34>;
351 reset-names = "dma";
352 #dma-cells = <1>;
353 };
354
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200355 apbmisc@70000800 {
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300356 compatible = "nvidia,tegra124-apbmisc", "nvidia,tegra20-apbmisc";
357 reg = <0x0 0x70000800 0x0 0x64>, /* Chip revision */
Thierry Reding5431b0f2015-04-29 13:53:21 +0200358 <0x0 0x7000e864 0x0 0x04>; /* Strapping options */
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300359 };
360
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200361 pinmux: pinmux@70000868 {
Stephen Warrencaefe632013-11-01 14:03:59 -0600362 compatible = "nvidia,tegra124-pinmux";
Stephen Warrene30cb232014-03-03 14:51:15 -0700363 reg = <0x0 0x70000868 0x0 0x164>, /* Pad control registers */
Sean Paul49727d32014-09-09 15:58:46 -0400364 <0x0 0x70003000 0x0 0x434>, /* Mux registers */
365 <0x0 0x70000820 0x0 0x008>; /* MIPI pad control */
Stephen Warrencaefe632013-11-01 14:03:59 -0600366 };
367
Joseph Load03b1a2013-10-08 12:50:05 +0800368 /*
369 * There are two serial driver i.e. 8250 based simple serial
370 * driver and APB DMA based serial driver for higher baudrate
371 * and performace. To enable the 8250 based driver, the compatible
372 * is "nvidia,tegra124-uart", "nvidia,tegra20-uart" and to enable
Ralf Ramsauere1098242016-01-26 17:59:17 +0100373 * the APB DMA based serial driver, the compatible is
Joseph Load03b1a2013-10-08 12:50:05 +0800374 * "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart".
375 */
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200376 uarta: serial@70006000 {
Joseph Load03b1a2013-10-08 12:50:05 +0800377 compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
Stephen Warrene30cb232014-03-03 14:51:15 -0700378 reg = <0x0 0x70006000 0x0 0x40>;
Joseph Load03b1a2013-10-08 12:50:05 +0800379 reg-shift = <2>;
380 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
Joseph Lo3b86baf2013-10-08 15:47:40 +0800381 clocks = <&tegra_car TEGRA124_CLK_UARTA>;
Stephen Warrenf71e4f02013-11-07 12:20:57 -0700382 resets = <&tegra_car 6>;
383 reset-names = "serial";
Stephen Warren2f5a9132013-11-15 12:22:53 -0700384 dmas = <&apbdma 8>, <&apbdma 8>;
385 dma-names = "rx", "tx";
Joseph Load03b1a2013-10-08 12:50:05 +0800386 status = "disabled";
387 };
388
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200389 uartb: serial@70006040 {
Joseph Load03b1a2013-10-08 12:50:05 +0800390 compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
Stephen Warrene30cb232014-03-03 14:51:15 -0700391 reg = <0x0 0x70006040 0x0 0x40>;
Joseph Load03b1a2013-10-08 12:50:05 +0800392 reg-shift = <2>;
393 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
Joseph Lo3b86baf2013-10-08 15:47:40 +0800394 clocks = <&tegra_car TEGRA124_CLK_UARTB>;
Stephen Warrenf71e4f02013-11-07 12:20:57 -0700395 resets = <&tegra_car 7>;
396 reset-names = "serial";
Stephen Warren2f5a9132013-11-15 12:22:53 -0700397 dmas = <&apbdma 9>, <&apbdma 9>;
398 dma-names = "rx", "tx";
Joseph Load03b1a2013-10-08 12:50:05 +0800399 status = "disabled";
400 };
401
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200402 uartc: serial@70006200 {
Joseph Load03b1a2013-10-08 12:50:05 +0800403 compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
Stephen Warrene30cb232014-03-03 14:51:15 -0700404 reg = <0x0 0x70006200 0x0 0x40>;
Joseph Load03b1a2013-10-08 12:50:05 +0800405 reg-shift = <2>;
406 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
Joseph Lo3b86baf2013-10-08 15:47:40 +0800407 clocks = <&tegra_car TEGRA124_CLK_UARTC>;
Stephen Warrenf71e4f02013-11-07 12:20:57 -0700408 resets = <&tegra_car 55>;
409 reset-names = "serial";
Stephen Warren2f5a9132013-11-15 12:22:53 -0700410 dmas = <&apbdma 10>, <&apbdma 10>;
411 dma-names = "rx", "tx";
Joseph Load03b1a2013-10-08 12:50:05 +0800412 status = "disabled";
413 };
414
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200415 uartd: serial@70006300 {
Joseph Load03b1a2013-10-08 12:50:05 +0800416 compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
Stephen Warrene30cb232014-03-03 14:51:15 -0700417 reg = <0x0 0x70006300 0x0 0x40>;
Joseph Load03b1a2013-10-08 12:50:05 +0800418 reg-shift = <2>;
419 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
Joseph Lo3b86baf2013-10-08 15:47:40 +0800420 clocks = <&tegra_car TEGRA124_CLK_UARTD>;
Stephen Warrenf71e4f02013-11-07 12:20:57 -0700421 resets = <&tegra_car 65>;
422 reset-names = "serial";
Stephen Warren2f5a9132013-11-15 12:22:53 -0700423 dmas = <&apbdma 19>, <&apbdma 19>;
424 dma-names = "rx", "tx";
Joseph Load03b1a2013-10-08 12:50:05 +0800425 status = "disabled";
426 };
427
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200428 pwm: pwm@7000a000 {
Thierry Reding111a1fc2013-11-18 17:00:34 +0100429 compatible = "nvidia,tegra124-pwm", "nvidia,tegra20-pwm";
Stephen Warrene30cb232014-03-03 14:51:15 -0700430 reg = <0x0 0x7000a000 0x0 0x100>;
Thierry Reding111a1fc2013-11-18 17:00:34 +0100431 #pwm-cells = <2>;
432 clocks = <&tegra_car TEGRA124_CLK_PWM>;
433 resets = <&tegra_car 17>;
434 reset-names = "pwm";
435 status = "disabled";
436 };
437
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200438 i2c@7000c000 {
Thierry Reding9b07cfe2021-12-07 11:22:26 +0100439 compatible = "nvidia,tegra124-i2c";
Stephen Warrene30cb232014-03-03 14:51:15 -0700440 reg = <0x0 0x7000c000 0x0 0x100>;
Stephen Warren4f607462013-12-03 16:29:04 -0700441 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
442 #address-cells = <1>;
443 #size-cells = <0>;
444 clocks = <&tegra_car TEGRA124_CLK_I2C1>;
445 clock-names = "div-clk";
446 resets = <&tegra_car 12>;
447 reset-names = "i2c";
448 dmas = <&apbdma 21>, <&apbdma 21>;
449 dma-names = "rx", "tx";
450 status = "disabled";
451 };
452
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200453 i2c@7000c400 {
Thierry Reding9b07cfe2021-12-07 11:22:26 +0100454 compatible = "nvidia,tegra124-i2c";
Stephen Warrene30cb232014-03-03 14:51:15 -0700455 reg = <0x0 0x7000c400 0x0 0x100>;
Stephen Warren4f607462013-12-03 16:29:04 -0700456 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
457 #address-cells = <1>;
458 #size-cells = <0>;
459 clocks = <&tegra_car TEGRA124_CLK_I2C2>;
460 clock-names = "div-clk";
461 resets = <&tegra_car 54>;
462 reset-names = "i2c";
463 dmas = <&apbdma 22>, <&apbdma 22>;
464 dma-names = "rx", "tx";
465 status = "disabled";
466 };
467
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200468 i2c@7000c500 {
Thierry Reding9b07cfe2021-12-07 11:22:26 +0100469 compatible = "nvidia,tegra124-i2c";
Stephen Warrene30cb232014-03-03 14:51:15 -0700470 reg = <0x0 0x7000c500 0x0 0x100>;
Stephen Warren4f607462013-12-03 16:29:04 -0700471 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
472 #address-cells = <1>;
473 #size-cells = <0>;
474 clocks = <&tegra_car TEGRA124_CLK_I2C3>;
475 clock-names = "div-clk";
476 resets = <&tegra_car 67>;
477 reset-names = "i2c";
478 dmas = <&apbdma 23>, <&apbdma 23>;
479 dma-names = "rx", "tx";
480 status = "disabled";
481 };
482
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200483 i2c@7000c700 {
Thierry Reding9b07cfe2021-12-07 11:22:26 +0100484 compatible = "nvidia,tegra124-i2c";
Stephen Warrene30cb232014-03-03 14:51:15 -0700485 reg = <0x0 0x7000c700 0x0 0x100>;
Stephen Warren4f607462013-12-03 16:29:04 -0700486 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
487 #address-cells = <1>;
488 #size-cells = <0>;
489 clocks = <&tegra_car TEGRA124_CLK_I2C4>;
490 clock-names = "div-clk";
491 resets = <&tegra_car 103>;
492 reset-names = "i2c";
493 dmas = <&apbdma 26>, <&apbdma 26>;
494 dma-names = "rx", "tx";
495 status = "disabled";
496 };
497
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200498 i2c@7000d000 {
Thierry Reding9b07cfe2021-12-07 11:22:26 +0100499 compatible = "nvidia,tegra124-i2c";
Stephen Warrene30cb232014-03-03 14:51:15 -0700500 reg = <0x0 0x7000d000 0x0 0x100>;
Stephen Warren4f607462013-12-03 16:29:04 -0700501 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
502 #address-cells = <1>;
503 #size-cells = <0>;
504 clocks = <&tegra_car TEGRA124_CLK_I2C5>;
505 clock-names = "div-clk";
506 resets = <&tegra_car 47>;
507 reset-names = "i2c";
508 dmas = <&apbdma 24>, <&apbdma 24>;
509 dma-names = "rx", "tx";
510 status = "disabled";
511 };
512
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200513 i2c@7000d100 {
Thierry Reding9b07cfe2021-12-07 11:22:26 +0100514 compatible = "nvidia,tegra124-i2c";
Stephen Warrene30cb232014-03-03 14:51:15 -0700515 reg = <0x0 0x7000d100 0x0 0x100>;
Stephen Warren4f607462013-12-03 16:29:04 -0700516 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
517 #address-cells = <1>;
518 #size-cells = <0>;
519 clocks = <&tegra_car TEGRA124_CLK_I2C6>;
520 clock-names = "div-clk";
521 resets = <&tegra_car 166>;
522 reset-names = "i2c";
523 dmas = <&apbdma 30>, <&apbdma 30>;
524 dma-names = "rx", "tx";
525 status = "disabled";
526 };
527
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200528 spi@7000d400 {
Thierry Reding9f1ac562013-12-13 17:24:05 +0100529 compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi";
Stephen Warrene30cb232014-03-03 14:51:15 -0700530 reg = <0x0 0x7000d400 0x0 0x200>;
Thierry Reding9f1ac562013-12-13 17:24:05 +0100531 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
532 #address-cells = <1>;
533 #size-cells = <0>;
534 clocks = <&tegra_car TEGRA124_CLK_SBC1>;
535 clock-names = "spi";
536 resets = <&tegra_car 41>;
537 reset-names = "spi";
538 dmas = <&apbdma 15>, <&apbdma 15>;
539 dma-names = "rx", "tx";
540 status = "disabled";
541 };
542
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200543 spi@7000d600 {
Thierry Reding9f1ac562013-12-13 17:24:05 +0100544 compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi";
Stephen Warrene30cb232014-03-03 14:51:15 -0700545 reg = <0x0 0x7000d600 0x0 0x200>;
Thierry Reding9f1ac562013-12-13 17:24:05 +0100546 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
547 #address-cells = <1>;
548 #size-cells = <0>;
549 clocks = <&tegra_car TEGRA124_CLK_SBC2>;
550 clock-names = "spi";
551 resets = <&tegra_car 44>;
552 reset-names = "spi";
553 dmas = <&apbdma 16>, <&apbdma 16>;
554 dma-names = "rx", "tx";
555 status = "disabled";
556 };
557
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200558 spi@7000d800 {
Thierry Reding9f1ac562013-12-13 17:24:05 +0100559 compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi";
Stephen Warrene30cb232014-03-03 14:51:15 -0700560 reg = <0x0 0x7000d800 0x0 0x200>;
Thierry Reding9f1ac562013-12-13 17:24:05 +0100561 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
562 #address-cells = <1>;
563 #size-cells = <0>;
564 clocks = <&tegra_car TEGRA124_CLK_SBC3>;
565 clock-names = "spi";
566 resets = <&tegra_car 46>;
567 reset-names = "spi";
568 dmas = <&apbdma 17>, <&apbdma 17>;
569 dma-names = "rx", "tx";
570 status = "disabled";
571 };
572
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200573 spi@7000da00 {
Thierry Reding9f1ac562013-12-13 17:24:05 +0100574 compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi";
Stephen Warrene30cb232014-03-03 14:51:15 -0700575 reg = <0x0 0x7000da00 0x0 0x200>;
Thierry Reding9f1ac562013-12-13 17:24:05 +0100576 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
577 #address-cells = <1>;
578 #size-cells = <0>;
579 clocks = <&tegra_car TEGRA124_CLK_SBC4>;
580 clock-names = "spi";
581 resets = <&tegra_car 68>;
582 reset-names = "spi";
583 dmas = <&apbdma 18>, <&apbdma 18>;
584 dma-names = "rx", "tx";
585 status = "disabled";
586 };
587
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200588 spi@7000dc00 {
Thierry Reding9f1ac562013-12-13 17:24:05 +0100589 compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi";
Stephen Warrene30cb232014-03-03 14:51:15 -0700590 reg = <0x0 0x7000dc00 0x0 0x200>;
Thierry Reding9f1ac562013-12-13 17:24:05 +0100591 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
592 #address-cells = <1>;
593 #size-cells = <0>;
594 clocks = <&tegra_car TEGRA124_CLK_SBC5>;
595 clock-names = "spi";
596 resets = <&tegra_car 104>;
597 reset-names = "spi";
598 dmas = <&apbdma 27>, <&apbdma 27>;
599 dma-names = "rx", "tx";
600 status = "disabled";
601 };
602
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200603 spi@7000de00 {
Thierry Reding9f1ac562013-12-13 17:24:05 +0100604 compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi";
Stephen Warrene30cb232014-03-03 14:51:15 -0700605 reg = <0x0 0x7000de00 0x0 0x200>;
Thierry Reding9f1ac562013-12-13 17:24:05 +0100606 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
607 #address-cells = <1>;
608 #size-cells = <0>;
609 clocks = <&tegra_car TEGRA124_CLK_SBC6>;
610 clock-names = "spi";
611 resets = <&tegra_car 105>;
612 reset-names = "spi";
613 dmas = <&apbdma 28>, <&apbdma 28>;
614 dma-names = "rx", "tx";
615 status = "disabled";
616 };
617
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200618 rtc@7000e000 {
Joseph Load03b1a2013-10-08 12:50:05 +0800619 compatible = "nvidia,tegra124-rtc", "nvidia,tegra20-rtc";
Stephen Warrene30cb232014-03-03 14:51:15 -0700620 reg = <0x0 0x7000e000 0x0 0x100>;
Joseph Load03b1a2013-10-08 12:50:05 +0800621 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Joseph Lo3b86baf2013-10-08 15:47:40 +0800622 clocks = <&tegra_car TEGRA124_CLK_RTC>;
Joseph Load03b1a2013-10-08 12:50:05 +0800623 };
624
Sowjanya Komatineni86614b52020-01-13 23:24:18 -0800625 tegra_pmc: pmc@7000e400 {
Joseph Load03b1a2013-10-08 12:50:05 +0800626 compatible = "nvidia,tegra124-pmc";
Stephen Warrene30cb232014-03-03 14:51:15 -0700627 reg = <0x0 0x7000e400 0x0 0x400>;
Joseph Lo3b86baf2013-10-08 15:47:40 +0800628 clocks = <&tegra_car TEGRA124_CLK_PCLK>, <&clk32k_in>;
629 clock-names = "pclk", "clk32k_in";
Sowjanya Komatineni86614b52020-01-13 23:24:18 -0800630 #clock-cells = <1>;
Joseph Load03b1a2013-10-08 12:50:05 +0800631 };
632
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200633 fuse@7000f800 {
Peter De Schrijver155dfc72014-06-12 18:36:38 +0300634 compatible = "nvidia,tegra124-efuse";
635 reg = <0x0 0x7000f800 0x0 0x400>;
636 clocks = <&tegra_car TEGRA124_CLK_FUSE>;
637 clock-names = "fuse";
638 resets = <&tegra_car 39>;
639 reset-names = "fuse";
640 };
641
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200642 mc: memory-controller@70019000 {
Thierry Redingb26ea062014-04-16 09:09:34 +0200643 compatible = "nvidia,tegra124-mc";
644 reg = <0x0 0x70019000 0x0 0x1000>;
645 clocks = <&tegra_car TEGRA124_CLK_MC>;
646 clock-names = "mc";
647
648 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
649
650 #iommu-cells = <1>;
Thierry Reding571c3d32020-06-11 19:48:51 +0200651 #reset-cells = <1>;
Dmitry Osipenko5cf0cdb2020-11-23 03:27:19 +0300652 #interconnect-cells = <1>;
Thierry Redingb26ea062014-04-16 09:09:34 +0200653 };
654
Thierry Redingceffd102019-12-22 12:39:20 +0100655 emc: external-memory-controller@7001b000 {
Mikko Perttunenb273c882015-03-12 15:48:00 +0100656 compatible = "nvidia,tegra124-emc";
657 reg = <0x0 0x7001b000 0x0 0x1000>;
Thierry Reding0cebea32019-12-22 12:39:18 +0100658 clocks = <&tegra_car TEGRA124_CLK_EMC>;
659 clock-names = "emc";
Mikko Perttunenb273c882015-03-12 15:48:00 +0100660
661 nvidia,memory-controller = <&mc>;
Dmitry Osipenkod63250d2020-11-23 03:27:23 +0300662 operating-points-v2 = <&emc_icc_dvfs_opp_table>;
Dmitry Osipenko5cf0cdb2020-11-23 03:27:19 +0300663
664 #interconnect-cells = <0>;
Mikko Perttunenb273c882015-03-12 15:48:00 +0100665 };
666
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200667 sata@70020000 {
Mikko Perttunenfdd69092014-07-16 11:54:17 +0300668 compatible = "nvidia,tegra124-ahci";
Mikko Perttunenfdd69092014-07-16 11:54:17 +0300669 reg = <0x0 0x70027000 0x0 0x2000>, /* AHCI */
Thierry Reding481b4f12015-09-24 10:00:05 +0200670 <0x0 0x70020000 0x0 0x7000>; /* SATA */
Mikko Perttunenfdd69092014-07-16 11:54:17 +0300671 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Mikko Perttunenfdd69092014-07-16 11:54:17 +0300672 clocks = <&tegra_car TEGRA124_CLK_SATA>,
Thierry Redinge51c87b2021-12-07 11:23:43 +0100673 <&tegra_car TEGRA124_CLK_SATA_OOB>;
674 clock-names = "sata", "sata-oob";
Mikko Perttunenfdd69092014-07-16 11:54:17 +0300675 resets = <&tegra_car 124>,
Sowjanya Komatinenidd2a21d2020-11-23 12:17:20 -0800676 <&tegra_car 129>,
677 <&tegra_car 123>;
678 reset-names = "sata", "sata-cold", "sata-oob";
Mikko Perttunenfdd69092014-07-16 11:54:17 +0300679 status = "disabled";
680 };
681
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200682 hda@70030000 {
Dylan Reid6389cb32014-05-19 19:35:45 -0700683 compatible = "nvidia,tegra124-hda", "nvidia,tegra30-hda";
684 reg = <0x0 0x70030000 0x0 0x10000>;
685 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
686 clocks = <&tegra_car TEGRA124_CLK_HDA>,
Marcel Ziswilerd8b316b2015-08-27 11:44:48 +0200687 <&tegra_car TEGRA124_CLK_HDA2HDMI>,
Dylan Reid6389cb32014-05-19 19:35:45 -0700688 <&tegra_car TEGRA124_CLK_HDA2CODEC_2X>;
Marcel Ziswiler869bd182015-04-10 23:36:00 +0200689 clock-names = "hda", "hda2hdmi", "hda2codec_2x";
Dylan Reid6389cb32014-05-19 19:35:45 -0700690 resets = <&tegra_car 125>, /* hda */
691 <&tegra_car 128>, /* hda2hdmi */
692 <&tegra_car 111>; /* hda2codec_2x */
Marcel Ziswiler869bd182015-04-10 23:36:00 +0200693 reset-names = "hda", "hda2hdmi", "hda2codec_2x";
Dylan Reid6389cb32014-05-19 19:35:45 -0700694 status = "disabled";
695 };
696
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200697 usb@70090000 {
Thierry Reding2d8a9c92016-02-11 18:12:22 +0100698 compatible = "nvidia,tegra124-xusb";
699 reg = <0x0 0x70090000 0x0 0x8000>,
700 <0x0 0x70098000 0x0 0x1000>,
701 <0x0 0x70099000 0x0 0x1000>;
702 reg-names = "hcd", "fpci", "ipfs";
703
704 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
705 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
706
707 clocks = <&tegra_car TEGRA124_CLK_XUSB_HOST>,
708 <&tegra_car TEGRA124_CLK_XUSB_HOST_SRC>,
709 <&tegra_car TEGRA124_CLK_XUSB_FALCON_SRC>,
710 <&tegra_car TEGRA124_CLK_XUSB_SS>,
Thierry Reding5b66a2b2020-06-11 19:50:22 +0200711 <&tegra_car TEGRA124_CLK_XUSB_SS_DIV2>,
Thierry Reding4b7f2222021-12-07 11:25:49 +0100712 <&tegra_car TEGRA124_CLK_XUSB_SS_SRC>,
Thierry Reding2d8a9c92016-02-11 18:12:22 +0100713 <&tegra_car TEGRA124_CLK_XUSB_HS_SRC>,
714 <&tegra_car TEGRA124_CLK_XUSB_FS_SRC>,
715 <&tegra_car TEGRA124_CLK_PLL_U_480M>,
716 <&tegra_car TEGRA124_CLK_CLK_M>,
717 <&tegra_car TEGRA124_CLK_PLL_E>;
718 clock-names = "xusb_host", "xusb_host_src",
719 "xusb_falcon_src", "xusb_ss",
Thierry Reding4b7f2222021-12-07 11:25:49 +0100720 "xusb_ss_div2", "xusb_ss_src",
Thierry Reding2d8a9c92016-02-11 18:12:22 +0100721 "xusb_hs_src", "xusb_fs_src",
722 "pll_u_480m", "clk_m", "pll_e";
723 resets = <&tegra_car 89>, <&tegra_car 156>,
724 <&tegra_car 143>;
725 reset-names = "xusb_host", "xusb_ss", "xusb_src";
726
727 nvidia,xusb-padctl = <&padctl>;
728
729 status = "disabled";
730 };
731
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200732 padctl: padctl@7009f000 {
Thierry Redingce90d322014-06-19 13:37:09 +0200733 compatible = "nvidia,tegra124-xusb-padctl";
734 reg = <0x0 0x7009f000 0x0 0x1000>;
735 resets = <&tegra_car 142>;
736 reset-names = "padctl";
737
Thierry Reding50623c52015-11-11 18:22:55 +0100738 pads {
739 usb2 {
740 status = "disabled";
741
742 lanes {
743 usb2-0 {
744 status = "disabled";
745 #phy-cells = <0>;
746 };
747
748 usb2-1 {
749 status = "disabled";
750 #phy-cells = <0>;
751 };
752
753 usb2-2 {
754 status = "disabled";
755 #phy-cells = <0>;
756 };
757 };
758 };
759
760 ulpi {
761 status = "disabled";
762
763 lanes {
764 ulpi-0 {
765 status = "disabled";
766 #phy-cells = <0>;
767 };
768 };
769 };
770
771 hsic {
772 status = "disabled";
773
774 lanes {
775 hsic-0 {
776 status = "disabled";
777 #phy-cells = <0>;
778 };
779
780 hsic-1 {
781 status = "disabled";
782 #phy-cells = <0>;
783 };
784 };
785 };
786
787 pcie {
788 status = "disabled";
789
790 lanes {
791 pcie-0 {
792 status = "disabled";
793 #phy-cells = <0>;
794 };
795
796 pcie-1 {
797 status = "disabled";
798 #phy-cells = <0>;
799 };
800
801 pcie-2 {
802 status = "disabled";
803 #phy-cells = <0>;
804 };
805
806 pcie-3 {
807 status = "disabled";
808 #phy-cells = <0>;
809 };
810
811 pcie-4 {
812 status = "disabled";
813 #phy-cells = <0>;
814 };
815 };
816 };
817
818 sata {
819 status = "disabled";
820
821 lanes {
822 sata-0 {
823 status = "disabled";
824 #phy-cells = <0>;
825 };
826 };
827 };
828 };
829
830 ports {
831 usb2-0 {
832 status = "disabled";
833 };
834
835 usb2-1 {
836 status = "disabled";
837 };
838
839 usb2-2 {
840 status = "disabled";
841 };
842
843 ulpi-0 {
844 status = "disabled";
845 };
846
847 hsic-0 {
848 status = "disabled";
849 };
850
851 hsic-1 {
852 status = "disabled";
853 };
854
855 usb3-0 {
856 status = "disabled";
857 };
858
859 usb3-1 {
860 status = "disabled";
861 };
862 };
Thierry Redingce90d322014-06-19 13:37:09 +0200863 };
864
Thierry Reding32c096c2020-06-11 19:21:17 +0200865 mmc@700b0000 {
Stephen Warren784c7442013-10-31 17:23:05 -0600866 compatible = "nvidia,tegra124-sdhci";
Stephen Warrene30cb232014-03-03 14:51:15 -0700867 reg = <0x0 0x700b0000 0x0 0x200>;
Stephen Warren784c7442013-10-31 17:23:05 -0600868 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
869 clocks = <&tegra_car TEGRA124_CLK_SDMMC1>;
Thierry Redingf5385882020-06-11 19:52:07 +0200870 clock-names = "sdhci";
Stephen Warren784c7442013-10-31 17:23:05 -0600871 resets = <&tegra_car 14>;
872 reset-names = "sdhci";
Thierry Redinge2b6d772014-02-25 16:31:40 +0100873 status = "disabled";
Stephen Warren784c7442013-10-31 17:23:05 -0600874 };
875
Thierry Reding32c096c2020-06-11 19:21:17 +0200876 mmc@700b0200 {
Stephen Warren784c7442013-10-31 17:23:05 -0600877 compatible = "nvidia,tegra124-sdhci";
Stephen Warrene30cb232014-03-03 14:51:15 -0700878 reg = <0x0 0x700b0200 0x0 0x200>;
Stephen Warren784c7442013-10-31 17:23:05 -0600879 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
880 clocks = <&tegra_car TEGRA124_CLK_SDMMC2>;
Thierry Redingf5385882020-06-11 19:52:07 +0200881 clock-names = "sdhci";
Stephen Warren784c7442013-10-31 17:23:05 -0600882 resets = <&tegra_car 9>;
883 reset-names = "sdhci";
Thierry Redinge2b6d772014-02-25 16:31:40 +0100884 status = "disabled";
Stephen Warren784c7442013-10-31 17:23:05 -0600885 };
886
Thierry Reding32c096c2020-06-11 19:21:17 +0200887 mmc@700b0400 {
Stephen Warren784c7442013-10-31 17:23:05 -0600888 compatible = "nvidia,tegra124-sdhci";
Stephen Warrene30cb232014-03-03 14:51:15 -0700889 reg = <0x0 0x700b0400 0x0 0x200>;
Stephen Warren784c7442013-10-31 17:23:05 -0600890 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
891 clocks = <&tegra_car TEGRA124_CLK_SDMMC3>;
Thierry Redingf5385882020-06-11 19:52:07 +0200892 clock-names = "sdhci";
Stephen Warren784c7442013-10-31 17:23:05 -0600893 resets = <&tegra_car 69>;
894 reset-names = "sdhci";
Thierry Redinge2b6d772014-02-25 16:31:40 +0100895 status = "disabled";
Stephen Warren784c7442013-10-31 17:23:05 -0600896 };
897
Thierry Reding32c096c2020-06-11 19:21:17 +0200898 mmc@700b0600 {
Stephen Warren784c7442013-10-31 17:23:05 -0600899 compatible = "nvidia,tegra124-sdhci";
Stephen Warrene30cb232014-03-03 14:51:15 -0700900 reg = <0x0 0x700b0600 0x0 0x200>;
Stephen Warren784c7442013-10-31 17:23:05 -0600901 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
902 clocks = <&tegra_car TEGRA124_CLK_SDMMC4>;
Thierry Redingf5385882020-06-11 19:52:07 +0200903 clock-names = "sdhci";
Stephen Warren784c7442013-10-31 17:23:05 -0600904 resets = <&tegra_car 15>;
905 reset-names = "sdhci";
Thierry Redinge2b6d772014-02-25 16:31:40 +0100906 status = "disabled";
Stephen Warren784c7442013-10-31 17:23:05 -0600907 };
908
Hans Verkuil7f2b7ce2017-09-11 14:29:50 +0200909 cec@70015000 {
910 compatible = "nvidia,tegra124-cec";
911 reg = <0x0 0x70015000 0x0 0x00001000>;
912 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
913 clocks = <&tegra_car TEGRA124_CLK_CEC>;
914 clock-names = "cec";
915 status = "disabled";
916 hdmi-phandle = <&hdmi>;
917 };
918
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200919 soctherm: thermal-sensor@700e2000 {
Mikko Perttunen26b76f82014-09-26 12:43:11 +0300920 compatible = "nvidia,tegra124-soctherm";
Thierry Reding9482a172020-06-11 19:41:30 +0200921 reg = <0x0 0x700e2000 0x0 0x600>, /* SOC_THERM reg_base */
922 <0x0 0x60006000 0x0 0x400>; /* CAR reg_base */
Wei Nie12b0482016-05-11 18:20:20 +0800923 reg-names = "soctherm-reg", "car-reg";
Thierry Reding17401ce2020-11-20 16:18:08 +0100924 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
925 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
926 interrupt-names = "thermal", "edp";
Mikko Perttunen26b76f82014-09-26 12:43:11 +0300927 clocks = <&tegra_car TEGRA124_CLK_TSENSOR>,
Thierry Reding6fb123f2020-11-20 21:27:12 +0100928 <&tegra_car TEGRA124_CLK_SOC_THERM>;
Mikko Perttunen26b76f82014-09-26 12:43:11 +0300929 clock-names = "tsensor", "soctherm";
930 resets = <&tegra_car 78>;
931 reset-names = "soctherm";
932 #thermal-sensor-cells = <1>;
Wei Nie12b0482016-05-11 18:20:20 +0800933
934 throttle-cfgs {
935 throttle_heavy: heavy {
936 nvidia,priority = <100>;
937 nvidia,cpu-throt-percent = <85>;
Nicolas Chauvet37ac8c42020-09-27 17:09:51 +0200938 nvidia,gpu-throt-level = <TEGRA_SOCTHERM_THROT_LEVEL_HIGH>;
Wei Nie12b0482016-05-11 18:20:20 +0800939
940 #cooling-cells = <2>;
941 };
942 };
Mikko Perttunen26b76f82014-09-26 12:43:11 +0300943 };
944
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200945 dfll: clock@70110000 {
Tuomas Tynkkynenbf9d0262015-05-13 17:58:44 +0300946 compatible = "nvidia,tegra124-dfll";
947 reg = <0 0x70110000 0 0x100>, /* DFLL control */
948 <0 0x70110000 0 0x100>, /* I2C output control */
949 <0 0x70110100 0 0x100>, /* Integrated I2C controller */
950 <0 0x70110200 0 0x100>; /* Look-up table RAM */
951 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
952 clocks = <&tegra_car TEGRA124_CLK_DFLL_SOC>,
953 <&tegra_car TEGRA124_CLK_DFLL_REF>,
954 <&tegra_car TEGRA124_CLK_I2C5>;
955 clock-names = "soc", "ref", "i2c";
956 resets = <&tegra_car TEGRA124_RST_DFLL_DVCO>;
957 reset-names = "dvco";
958 #clock-cells = <0>;
959 clock-output-names = "dfllCPU_out";
960 nvidia,sample-rate = <12500>;
961 nvidia,droop-ctrl = <0x00000f00>;
962 nvidia,force-mode = <1>;
963 nvidia,cf = <10>;
964 nvidia,ci = <0>;
965 nvidia,cg = <2>;
966 status = "disabled";
967 };
968
Marcel Ziswilerb5896f62016-06-30 00:21:37 +0200969 ahub@70300000 {
Stephen Warrene6655572013-12-04 15:05:51 -0700970 compatible = "nvidia,tegra124-ahub";
Stephen Warrene30cb232014-03-03 14:51:15 -0700971 reg = <0x0 0x70300000 0x0 0x200>,
972 <0x0 0x70300800 0x0 0x800>,
973 <0x0 0x70300200 0x0 0x600>;
Stephen Warrene6655572013-12-04 15:05:51 -0700974 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
975 clocks = <&tegra_car TEGRA124_CLK_D_AUDIO>,
976 <&tegra_car TEGRA124_CLK_APBIF>;
977 clock-names = "d_audio", "apbif";
978 resets = <&tegra_car 106>, /* d_audio */
979 <&tegra_car 107>, /* apbif */
980 <&tegra_car 30>, /* i2s0 */
981 <&tegra_car 11>, /* i2s1 */
982 <&tegra_car 18>, /* i2s2 */
983 <&tegra_car 101>, /* i2s3 */
984 <&tegra_car 102>, /* i2s4 */
985 <&tegra_car 108>, /* dam0 */
986 <&tegra_car 109>, /* dam1 */
987 <&tegra_car 110>, /* dam2 */
988 <&tegra_car 10>, /* spdif */
989 <&tegra_car 153>, /* amx */
990 <&tegra_car 185>, /* amx1 */
991 <&tegra_car 154>, /* adx */
992 <&tegra_car 180>, /* adx1 */
993 <&tegra_car 186>, /* afc0 */
994 <&tegra_car 187>, /* afc1 */
995 <&tegra_car 188>, /* afc2 */
996 <&tegra_car 189>, /* afc3 */
997 <&tegra_car 190>, /* afc4 */
998 <&tegra_car 191>; /* afc5 */
999 reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2",
1000 "i2s3", "i2s4", "dam0", "dam1", "dam2",
1001 "spdif", "amx", "amx1", "adx", "adx1",
1002 "afc0", "afc1", "afc2", "afc3", "afc4", "afc5";
1003 dmas = <&apbdma 1>, <&apbdma 1>,
1004 <&apbdma 2>, <&apbdma 2>,
1005 <&apbdma 3>, <&apbdma 3>,
1006 <&apbdma 4>, <&apbdma 4>,
1007 <&apbdma 6>, <&apbdma 6>,
1008 <&apbdma 7>, <&apbdma 7>,
1009 <&apbdma 12>, <&apbdma 12>,
1010 <&apbdma 13>, <&apbdma 13>,
1011 <&apbdma 14>, <&apbdma 14>,
1012 <&apbdma 29>, <&apbdma 29>;
1013 dma-names = "rx0", "tx0", "rx1", "tx1", "rx2", "tx2",
1014 "rx3", "tx3", "rx4", "tx4", "rx5", "tx5",
1015 "rx6", "tx6", "rx7", "tx7", "rx8", "tx8",
1016 "rx9", "tx9";
1017 ranges;
Stephen Warrene30cb232014-03-03 14:51:15 -07001018 #address-cells = <2>;
1019 #size-cells = <2>;
Stephen Warrene6655572013-12-04 15:05:51 -07001020
Marcel Ziswilerb5896f62016-06-30 00:21:37 +02001021 tegra_i2s0: i2s@70301000 {
Stephen Warrene6655572013-12-04 15:05:51 -07001022 compatible = "nvidia,tegra124-i2s";
Stephen Warrene30cb232014-03-03 14:51:15 -07001023 reg = <0x0 0x70301000 0x0 0x100>;
Stephen Warrene6655572013-12-04 15:05:51 -07001024 nvidia,ahub-cif-ids = <4 4>;
1025 clocks = <&tegra_car TEGRA124_CLK_I2S0>;
1026 resets = <&tegra_car 30>;
1027 reset-names = "i2s";
1028 status = "disabled";
1029 };
1030
Marcel Ziswilerb5896f62016-06-30 00:21:37 +02001031 tegra_i2s1: i2s@70301100 {
Stephen Warrene6655572013-12-04 15:05:51 -07001032 compatible = "nvidia,tegra124-i2s";
Stephen Warrene30cb232014-03-03 14:51:15 -07001033 reg = <0x0 0x70301100 0x0 0x100>;
Stephen Warrene6655572013-12-04 15:05:51 -07001034 nvidia,ahub-cif-ids = <5 5>;
1035 clocks = <&tegra_car TEGRA124_CLK_I2S1>;
1036 resets = <&tegra_car 11>;
1037 reset-names = "i2s";
1038 status = "disabled";
1039 };
1040
Marcel Ziswilerb5896f62016-06-30 00:21:37 +02001041 tegra_i2s2: i2s@70301200 {
Stephen Warrene6655572013-12-04 15:05:51 -07001042 compatible = "nvidia,tegra124-i2s";
Stephen Warrene30cb232014-03-03 14:51:15 -07001043 reg = <0x0 0x70301200 0x0 0x100>;
Stephen Warrene6655572013-12-04 15:05:51 -07001044 nvidia,ahub-cif-ids = <6 6>;
1045 clocks = <&tegra_car TEGRA124_CLK_I2S2>;
1046 resets = <&tegra_car 18>;
1047 reset-names = "i2s";
1048 status = "disabled";
1049 };
1050
Marcel Ziswilerb5896f62016-06-30 00:21:37 +02001051 tegra_i2s3: i2s@70301300 {
Stephen Warrene6655572013-12-04 15:05:51 -07001052 compatible = "nvidia,tegra124-i2s";
Stephen Warrene30cb232014-03-03 14:51:15 -07001053 reg = <0x0 0x70301300 0x0 0x100>;
Stephen Warrene6655572013-12-04 15:05:51 -07001054 nvidia,ahub-cif-ids = <7 7>;
1055 clocks = <&tegra_car TEGRA124_CLK_I2S3>;
1056 resets = <&tegra_car 101>;
1057 reset-names = "i2s";
1058 status = "disabled";
1059 };
1060
Marcel Ziswilerb5896f62016-06-30 00:21:37 +02001061 tegra_i2s4: i2s@70301400 {
Stephen Warrene6655572013-12-04 15:05:51 -07001062 compatible = "nvidia,tegra124-i2s";
Stephen Warrene30cb232014-03-03 14:51:15 -07001063 reg = <0x0 0x70301400 0x0 0x100>;
Stephen Warrene6655572013-12-04 15:05:51 -07001064 nvidia,ahub-cif-ids = <8 8>;
1065 clocks = <&tegra_car TEGRA124_CLK_I2S4>;
1066 resets = <&tegra_car 102>;
1067 reset-names = "i2s";
1068 status = "disabled";
1069 };
1070 };
1071
Marcel Ziswilerb5896f62016-06-30 00:21:37 +02001072 usb@7d000000 {
Thierry Reding96f4adc2021-06-21 16:13:26 +02001073 compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci";
Stephen Warrene30cb232014-03-03 14:51:15 -07001074 reg = <0x0 0x7d000000 0x0 0x4000>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001075 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
1076 phy_type = "utmi";
1077 clocks = <&tegra_car TEGRA124_CLK_USBD>;
1078 resets = <&tegra_car 22>;
1079 reset-names = "usb";
1080 nvidia,phy = <&phy1>;
1081 status = "disabled";
1082 };
1083
Marcel Ziswilerb5896f62016-06-30 00:21:37 +02001084 phy1: usb-phy@7d000000 {
Thierry Redingf2d50152014-02-28 17:40:25 +01001085 compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy";
Stephen Warrene30cb232014-03-03 14:51:15 -07001086 reg = <0x0 0x7d000000 0x0 0x4000>,
1087 <0x0 0x7d000000 0x0 0x4000>;
Dmitry Osipenkob460ecc2021-09-12 21:17:16 +03001088 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001089 phy_type = "utmi";
1090 clocks = <&tegra_car TEGRA124_CLK_USBD>,
1091 <&tegra_car TEGRA124_CLK_PLL_U>,
1092 <&tegra_car TEGRA124_CLK_USBD>;
1093 clock-names = "reg", "pll_u", "utmi-pads";
Tomeu Vizosoa4b69162015-04-03 09:21:11 +02001094 resets = <&tegra_car 22>, <&tegra_car 22>;
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +03001095 reset-names = "usb", "utmi-pads";
Thierry Reding4c0bb8c2020-06-11 19:28:34 +02001096 #phy-cells = <0>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001097 nvidia,hssync-start-delay = <0>;
1098 nvidia,idle-wait-delay = <17>;
1099 nvidia,elastic-limit = <16>;
1100 nvidia,term-range-adj = <6>;
1101 nvidia,xcvr-setup = <9>;
1102 nvidia,xcvr-lsfslew = <0>;
1103 nvidia,xcvr-lsrslew = <3>;
1104 nvidia,hssquelch-level = <2>;
1105 nvidia,hsdiscon-level = <5>;
1106 nvidia,xcvr-hsslew = <12>;
Tomeu Vizosoa4b69162015-04-03 09:21:11 +02001107 nvidia,has-utmi-pad-registers;
Dmitry Osipenkob460ecc2021-09-12 21:17:16 +03001108 nvidia,pmc = <&tegra_pmc 0>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001109 status = "disabled";
1110 };
1111
Marcel Ziswilerb5896f62016-06-30 00:21:37 +02001112 usb@7d004000 {
Thierry Reding96f4adc2021-06-21 16:13:26 +02001113 compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci";
Stephen Warrene30cb232014-03-03 14:51:15 -07001114 reg = <0x0 0x7d004000 0x0 0x4000>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001115 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
1116 phy_type = "utmi";
1117 clocks = <&tegra_car TEGRA124_CLK_USB2>;
1118 resets = <&tegra_car 58>;
1119 reset-names = "usb";
1120 nvidia,phy = <&phy2>;
1121 status = "disabled";
1122 };
1123
Marcel Ziswilerb5896f62016-06-30 00:21:37 +02001124 phy2: usb-phy@7d004000 {
Thierry Redingf2d50152014-02-28 17:40:25 +01001125 compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy";
Stephen Warrene30cb232014-03-03 14:51:15 -07001126 reg = <0x0 0x7d004000 0x0 0x4000>,
1127 <0x0 0x7d000000 0x0 0x4000>;
Dmitry Osipenkob460ecc2021-09-12 21:17:16 +03001128 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001129 phy_type = "utmi";
1130 clocks = <&tegra_car TEGRA124_CLK_USB2>,
1131 <&tegra_car TEGRA124_CLK_PLL_U>,
1132 <&tegra_car TEGRA124_CLK_USBD>;
1133 clock-names = "reg", "pll_u", "utmi-pads";
Tomeu Vizosoa4b69162015-04-03 09:21:11 +02001134 resets = <&tegra_car 58>, <&tegra_car 22>;
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +03001135 reset-names = "usb", "utmi-pads";
Thierry Reding4c0bb8c2020-06-11 19:28:34 +02001136 #phy-cells = <0>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001137 nvidia,hssync-start-delay = <0>;
1138 nvidia,idle-wait-delay = <17>;
1139 nvidia,elastic-limit = <16>;
1140 nvidia,term-range-adj = <6>;
1141 nvidia,xcvr-setup = <9>;
1142 nvidia,xcvr-lsfslew = <0>;
1143 nvidia,xcvr-lsrslew = <3>;
1144 nvidia,hssquelch-level = <2>;
1145 nvidia,hsdiscon-level = <5>;
1146 nvidia,xcvr-hsslew = <12>;
Dmitry Osipenkob460ecc2021-09-12 21:17:16 +03001147 nvidia,pmc = <&tegra_pmc 1>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001148 status = "disabled";
1149 };
1150
Marcel Ziswilerb5896f62016-06-30 00:21:37 +02001151 usb@7d008000 {
Thierry Reding96f4adc2021-06-21 16:13:26 +02001152 compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci";
Stephen Warrene30cb232014-03-03 14:51:15 -07001153 reg = <0x0 0x7d008000 0x0 0x4000>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001154 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
1155 phy_type = "utmi";
1156 clocks = <&tegra_car TEGRA124_CLK_USB3>;
1157 resets = <&tegra_car 59>;
1158 reset-names = "usb";
1159 nvidia,phy = <&phy3>;
1160 status = "disabled";
1161 };
1162
Marcel Ziswilerb5896f62016-06-30 00:21:37 +02001163 phy3: usb-phy@7d008000 {
Thierry Redingf2d50152014-02-28 17:40:25 +01001164 compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy";
Stephen Warrene30cb232014-03-03 14:51:15 -07001165 reg = <0x0 0x7d008000 0x0 0x4000>,
1166 <0x0 0x7d000000 0x0 0x4000>;
Dmitry Osipenkob460ecc2021-09-12 21:17:16 +03001167 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001168 phy_type = "utmi";
1169 clocks = <&tegra_car TEGRA124_CLK_USB3>,
1170 <&tegra_car TEGRA124_CLK_PLL_U>,
1171 <&tegra_car TEGRA124_CLK_USBD>;
1172 clock-names = "reg", "pll_u", "utmi-pads";
Tomeu Vizosoa4b69162015-04-03 09:21:11 +02001173 resets = <&tegra_car 59>, <&tegra_car 22>;
Tuomas Tynkkynen308efde2014-07-04 04:09:37 +03001174 reset-names = "usb", "utmi-pads";
Thierry Reding4c0bb8c2020-06-11 19:28:34 +02001175 #phy-cells = <0>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001176 nvidia,hssync-start-delay = <0>;
1177 nvidia,idle-wait-delay = <17>;
1178 nvidia,elastic-limit = <16>;
1179 nvidia,term-range-adj = <6>;
1180 nvidia,xcvr-setup = <9>;
1181 nvidia,xcvr-lsfslew = <0>;
1182 nvidia,xcvr-lsrslew = <3>;
1183 nvidia,hssquelch-level = <2>;
1184 nvidia,hsdiscon-level = <5>;
1185 nvidia,xcvr-hsslew = <12>;
Dmitry Osipenkob460ecc2021-09-12 21:17:16 +03001186 nvidia,pmc = <&tegra_pmc 2>;
Thierry Redingf2d50152014-02-28 17:40:25 +01001187 status = "disabled";
1188 };
1189
Joseph Load03b1a2013-10-08 12:50:05 +08001190 cpus {
1191 #address-cells = <1>;
1192 #size-cells = <0>;
1193
1194 cpu@0 {
1195 device_type = "cpu";
1196 compatible = "arm,cortex-a15";
1197 reg = <0>;
Tuomas Tynkkynen0de088c2015-05-13 17:58:49 +03001198
1199 clocks = <&tegra_car TEGRA124_CLK_CCLK_G>,
1200 <&tegra_car TEGRA124_CLK_CCLK_LP>,
1201 <&tegra_car TEGRA124_CLK_PLL_X>,
1202 <&tegra_car TEGRA124_CLK_PLL_P>,
1203 <&dfll>;
1204 clock-names = "cpu_g", "cpu_lp", "pll_x", "pll_p", "dfll";
1205 /* FIXME: what's the actual transition time? */
1206 clock-latency = <300000>;
Joseph Load03b1a2013-10-08 12:50:05 +08001207 };
1208
1209 cpu@1 {
1210 device_type = "cpu";
1211 compatible = "arm,cortex-a15";
1212 reg = <1>;
1213 };
1214
1215 cpu@2 {
1216 device_type = "cpu";
1217 compatible = "arm,cortex-a15";
1218 reg = <2>;
1219 };
1220
1221 cpu@3 {
1222 device_type = "cpu";
1223 compatible = "arm,cortex-a15";
1224 reg = <3>;
1225 };
1226 };
1227
Kyle Huey82fe42f2015-07-13 10:35:45 -07001228 pmu {
1229 compatible = "arm,cortex-a15-pmu";
1230 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
1231 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
1232 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
1233 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
1234 interrupt-affinity = <&{/cpus/cpu@0}>,
1235 <&{/cpus/cpu@1}>,
1236 <&{/cpus/cpu@2}>,
1237 <&{/cpus/cpu@3}>;
1238 };
1239
Mikko Perttunen26b76f82014-09-26 12:43:11 +03001240 thermal-zones {
Thierry Reding272c5c32021-12-07 11:14:33 +01001241 cpu-thermal {
Mikko Perttunen26b76f82014-09-26 12:43:11 +03001242 polling-delay-passive = <1000>;
1243 polling-delay = <1000>;
1244
1245 thermal-sensors =
1246 <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>;
Wei Ni40823f82016-05-11 18:20:19 +08001247
1248 trips {
1249 cpu-shutdown-trip {
1250 temperature = <103000>;
1251 hysteresis = <0>;
1252 type = "critical";
1253 };
Wei Nie12b0482016-05-11 18:20:20 +08001254 cpu_throttle_trip: throttle-trip {
1255 temperature = <100000>;
1256 hysteresis = <1000>;
1257 type = "hot";
1258 };
Wei Ni40823f82016-05-11 18:20:19 +08001259 };
1260
1261 cooling-maps {
Wei Nie12b0482016-05-11 18:20:20 +08001262 map0 {
1263 trip = <&cpu_throttle_trip>;
1264 cooling-device = <&throttle_heavy 1 1>;
1265 };
Wei Ni40823f82016-05-11 18:20:19 +08001266 };
Mikko Perttunen26b76f82014-09-26 12:43:11 +03001267 };
1268
Thierry Reding272c5c32021-12-07 11:14:33 +01001269 mem-thermal {
Mikko Perttunen26b76f82014-09-26 12:43:11 +03001270 polling-delay-passive = <1000>;
1271 polling-delay = <1000>;
1272
1273 thermal-sensors =
1274 <&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>;
Wei Ni40823f82016-05-11 18:20:19 +08001275
1276 trips {
1277 mem-shutdown-trip {
1278 temperature = <103000>;
1279 hysteresis = <0>;
1280 type = "critical";
1281 };
Nicolas Chauvet252cc722020-09-27 17:09:52 +02001282 mem-throttle-trip {
1283 temperature = <99000>;
1284 hysteresis = <1000>;
1285 type = "hot";
1286 };
Wei Ni40823f82016-05-11 18:20:19 +08001287 };
1288
1289 cooling-maps {
1290 /*
1291 * There are currently no cooling maps,
1292 * because there are no cooling devices.
1293 */
1294 };
Mikko Perttunen26b76f82014-09-26 12:43:11 +03001295 };
1296
Thierry Reding272c5c32021-12-07 11:14:33 +01001297 gpu-thermal {
Mikko Perttunen26b76f82014-09-26 12:43:11 +03001298 polling-delay-passive = <1000>;
1299 polling-delay = <1000>;
1300
1301 thermal-sensors =
1302 <&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>;
Wei Ni40823f82016-05-11 18:20:19 +08001303
1304 trips {
1305 gpu-shutdown-trip {
1306 temperature = <101000>;
1307 hysteresis = <0>;
1308 type = "critical";
1309 };
Wei Nie12b0482016-05-11 18:20:20 +08001310 gpu_throttle_trip: throttle-trip {
1311 temperature = <99000>;
1312 hysteresis = <1000>;
1313 type = "hot";
1314 };
Wei Ni40823f82016-05-11 18:20:19 +08001315 };
1316
1317 cooling-maps {
Wei Nie12b0482016-05-11 18:20:20 +08001318 map0 {
1319 trip = <&gpu_throttle_trip>;
1320 cooling-device = <&throttle_heavy 1 1>;
1321 };
Wei Ni40823f82016-05-11 18:20:19 +08001322 };
Mikko Perttunen26b76f82014-09-26 12:43:11 +03001323 };
1324
Thierry Reding272c5c32021-12-07 11:14:33 +01001325 pllx-thermal {
Mikko Perttunen26b76f82014-09-26 12:43:11 +03001326 polling-delay-passive = <1000>;
1327 polling-delay = <1000>;
1328
1329 thermal-sensors =
1330 <&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>;
Wei Ni40823f82016-05-11 18:20:19 +08001331
1332 trips {
1333 pllx-shutdown-trip {
1334 temperature = <103000>;
1335 hysteresis = <0>;
1336 type = "critical";
1337 };
Nicolas Chauvet252cc722020-09-27 17:09:52 +02001338 pllx-throttle-trip {
1339 temperature = <99000>;
1340 hysteresis = <1000>;
1341 type = "hot";
1342 };
Wei Ni40823f82016-05-11 18:20:19 +08001343 };
1344
1345 cooling-maps {
1346 /*
1347 * There are currently no cooling maps,
1348 * because there are no cooling devices.
1349 */
1350 };
Mikko Perttunen26b76f82014-09-26 12:43:11 +03001351 };
1352 };
1353
Joseph Load03b1a2013-10-08 12:50:05 +08001354 timer {
1355 compatible = "arm,armv7-timer";
1356 interrupts = <GIC_PPI 13
1357 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1358 <GIC_PPI 14
1359 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1360 <GIC_PPI 11
1361 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
1362 <GIC_PPI 10
1363 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
Marc Zyngier870c81a2015-03-11 15:43:01 +00001364 interrupt-parent = <&gic>;
Joseph Load03b1a2013-10-08 12:50:05 +08001365 };
1366};