Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 2 | #include <dt-bindings/clock/tegra124-car.h> |
Stephen Warren | 0a9375d | 2013-08-05 16:10:02 -0700 | [diff] [blame] | 3 | #include <dt-bindings/gpio/tegra-gpio.h> |
Thierry Reding | 5b605d4 | 2014-06-26 21:22:46 +0200 | [diff] [blame] | 4 | #include <dt-bindings/memory/tegra124-mc.h> |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 5 | #include <dt-bindings/pinctrl/pinctrl-tegra.h> |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 6 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Tuomas Tynkkynen | bf9d026 | 2015-05-13 17:58:44 +0300 | [diff] [blame] | 7 | #include <dt-bindings/reset/tegra124-car.h> |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 8 | #include <dt-bindings/thermal/tegra124-soctherm.h> |
Sowjanya Komatineni | 86614b5 | 2020-01-13 23:24:18 -0800 | [diff] [blame] | 9 | #include <dt-bindings/soc/tegra-pmc.h> |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 10 | |
Dmitry Osipenko | d63250d | 2020-11-23 03:27:23 +0300 | [diff] [blame] | 11 | #include "tegra124-peripherals-opp.dtsi" |
| 12 | |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 13 | / { |
| 14 | compatible = "nvidia,tegra124"; |
Marc Zyngier | 870c81a | 2015-03-11 15:43:01 +0000 | [diff] [blame] | 15 | interrupt-parent = <&lic>; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 16 | #address-cells = <2>; |
| 17 | #size-cells = <2>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 18 | |
Krzysztof Kozlowski | 4829976 | 2018-07-09 18:05:17 +0200 | [diff] [blame] | 19 | memory@80000000 { |
Krzysztof Kozlowski | f48ba1a | 2018-07-09 18:05:16 +0200 | [diff] [blame] | 20 | device_type = "memory"; |
Krzysztof Kozlowski | 4829976 | 2018-07-09 18:05:17 +0200 | [diff] [blame] | 21 | reg = <0x0 0x80000000 0x0 0x0>; |
Krzysztof Kozlowski | f48ba1a | 2018-07-09 18:05:16 +0200 | [diff] [blame] | 22 | }; |
| 23 | |
Rob Herring | 508d690 | 2017-03-21 21:03:06 -0500 | [diff] [blame] | 24 | pcie@1003000 { |
Thierry Reding | ee588e2 | 2014-09-17 10:02:44 -0600 | [diff] [blame] | 25 | compatible = "nvidia,tegra124-pcie"; |
| 26 | device_type = "pci"; |
Thierry Reding | 9482a17 | 2020-06-11 19:41:30 +0200 | [diff] [blame] | 27 | reg = <0x0 0x01003000 0x0 0x00000800>, /* PADS registers */ |
| 28 | <0x0 0x01003800 0x0 0x00000800>, /* AFI registers */ |
| 29 | <0x0 0x02000000 0x0 0x10000000>; /* configuration space */ |
Thierry Reding | ee588e2 | 2014-09-17 10:02:44 -0600 | [diff] [blame] | 30 | 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 Reding | 9482a17 | 2020-06-11 19:41:30 +0200 | [diff] [blame] | 43 | 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 Reding | ee588e2 | 2014-09-17 10:02:44 -0600 | [diff] [blame] | 48 | |
| 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 Reding | ee588e2 | 2014-09-17 10:02:44 -0600 | [diff] [blame] | 60 | pci@1,0 { |
| 61 | device_type = "pci"; |
| 62 | assigned-addresses = <0x82000800 0 0x01000000 0 0x1000>; |
| 63 | reg = <0x000800 0 0 0 0>; |
Rob Herring | 508d690 | 2017-03-21 21:03:06 -0500 | [diff] [blame] | 64 | bus-range = <0x00 0xff>; |
Thierry Reding | ee588e2 | 2014-09-17 10:02:44 -0600 | [diff] [blame] | 65 | 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 Herring | 508d690 | 2017-03-21 21:03:06 -0500 | [diff] [blame] | 78 | bus-range = <0x00 0xff>; |
Thierry Reding | ee588e2 | 2014-09-17 10:02:44 -0600 | [diff] [blame] | 79 | status = "disabled"; |
| 80 | |
| 81 | #address-cells = <3>; |
| 82 | #size-cells = <2>; |
| 83 | ranges; |
| 84 | |
| 85 | nvidia,num-lanes = <1>; |
| 86 | }; |
| 87 | }; |
| 88 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 89 | host1x@50000000 { |
Thierry Reding | f0fd20a | 2020-06-12 11:59:09 +0200 | [diff] [blame] | 90 | compatible = "nvidia,tegra124-host1x"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 91 | reg = <0x0 0x50000000 0x0 0x00034000>; |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 92 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */ |
| 93 | <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */ |
Thierry Reding | 6cc05ba | 2020-06-12 12:00:03 +0200 | [diff] [blame] | 94 | interrupt-names = "syncpt", "host1x"; |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 95 | clocks = <&tegra_car TEGRA124_CLK_HOST1X>; |
Thierry Reding | 6cc05ba | 2020-06-12 12:00:03 +0200 | [diff] [blame] | 96 | clock-names = "host1x"; |
Thierry Reding | bd04848 | 2021-12-17 14:52:37 +0100 | [diff] [blame] | 97 | resets = <&tegra_car 28>, <&mc TEGRA124_MC_RESET_HC>; |
| 98 | reset-names = "host1x", "mc"; |
Paul Kocialkowski | 2c85e51 | 2017-07-09 19:36:14 +0300 | [diff] [blame] | 99 | iommus = <&mc TEGRA_SWGROUP_HC>; |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 100 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 101 | #address-cells = <2>; |
| 102 | #size-cells = <2>; |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 103 | |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 104 | ranges = <0 0x54000000 0 0x54000000 0 0x01000000>; |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 105 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 106 | dc@54200000 { |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 107 | compatible = "nvidia,tegra124-dc"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 108 | reg = <0x0 0x54200000 0x0 0x00040000>; |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 109 | interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
Thierry Reding | afd9239 | 2020-06-11 19:09:36 +0200 | [diff] [blame] | 110 | clocks = <&tegra_car TEGRA124_CLK_DISP1>; |
| 111 | clock-names = "dc"; |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 112 | resets = <&tegra_car 27>; |
| 113 | reset-names = "dc"; |
| 114 | |
Thierry Reding | 5b605d4 | 2014-06-26 21:22:46 +0200 | [diff] [blame] | 115 | iommus = <&mc TEGRA_SWGROUP_DC>; |
| 116 | |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 117 | nvidia,head = <0>; |
Dmitry Osipenko | 5cf0cdb | 2020-11-23 03:27:19 +0300 | [diff] [blame] | 118 | |
| 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 Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 131 | }; |
| 132 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 133 | dc@54240000 { |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 134 | compatible = "nvidia,tegra124-dc"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 135 | reg = <0x0 0x54240000 0x0 0x00040000>; |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 136 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; |
Thierry Reding | afd9239 | 2020-06-11 19:09:36 +0200 | [diff] [blame] | 137 | clocks = <&tegra_car TEGRA124_CLK_DISP2>; |
| 138 | clock-names = "dc"; |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 139 | resets = <&tegra_car 26>; |
| 140 | reset-names = "dc"; |
| 141 | |
Thierry Reding | 5b605d4 | 2014-06-26 21:22:46 +0200 | [diff] [blame] | 142 | iommus = <&mc TEGRA_SWGROUP_DCB>; |
| 143 | |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 144 | nvidia,head = <1>; |
Dmitry Osipenko | 5cf0cdb | 2020-11-23 03:27:19 +0300 | [diff] [blame] | 145 | |
| 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 Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 154 | }; |
Thierry Reding | d72be03 | 2014-02-28 17:40:23 +0100 | [diff] [blame] | 155 | |
Hans Verkuil | 7f2b7ce | 2017-09-11 14:29:50 +0200 | [diff] [blame] | 156 | hdmi: hdmi@54280000 { |
Thierry Reding | 9dd604d | 2014-04-25 17:44:45 +0200 | [diff] [blame] | 157 | 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 Reding | 3dde5a2 | 2018-11-23 13:04:03 +0100 | [diff] [blame] | 168 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 180 | sor@54540000 { |
Thierry Reding | d72be03 | 2014-02-28 17:40:23 +0100 | [diff] [blame] | 181 | compatible = "nvidia,tegra124-sor"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 182 | reg = <0x0 0x54540000 0x0 0x00040000>; |
Thierry Reding | d72be03 | 2014-02-28 17:40:23 +0100 | [diff] [blame] | 183 | interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; |
| 184 | clocks = <&tegra_car TEGRA124_CLK_SOR0>, |
Thierry Reding | 5d089d4 | 2019-07-24 15:47:54 +0200 | [diff] [blame] | 185 | <&tegra_car TEGRA124_CLK_SOR0_OUT>, |
Thierry Reding | d72be03 | 2014-02-28 17:40:23 +0100 | [diff] [blame] | 186 | <&tegra_car TEGRA124_CLK_PLL_D_OUT0>, |
| 187 | <&tegra_car TEGRA124_CLK_PLL_DP>, |
| 188 | <&tegra_car TEGRA124_CLK_CLK_M>; |
Thierry Reding | 5d089d4 | 2019-07-24 15:47:54 +0200 | [diff] [blame] | 189 | clock-names = "sor", "out", "parent", "dp", "safe"; |
Thierry Reding | d72be03 | 2014-02-28 17:40:23 +0100 | [diff] [blame] | 190 | resets = <&tegra_car 182>; |
| 191 | reset-names = "sor"; |
| 192 | status = "disabled"; |
| 193 | }; |
| 194 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 195 | dpaux: dpaux@545c0000 { |
Thierry Reding | d72be03 | 2014-02-28 17:40:23 +0100 | [diff] [blame] | 196 | compatible = "nvidia,tegra124-dpaux"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 197 | reg = <0x0 0x545c0000 0x0 0x00040000>; |
Thierry Reding | d72be03 | 2014-02-28 17:40:23 +0100 | [diff] [blame] | 198 | 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 Reding | cb26dc7 | 2020-07-15 11:46:05 +0200 | [diff] [blame] | 205 | |
| 206 | i2c-bus { |
| 207 | #address-cells = <1>; |
| 208 | #size-cells = <0>; |
| 209 | }; |
Thierry Reding | d72be03 | 2014-02-28 17:40:23 +0100 | [diff] [blame] | 210 | }; |
Thierry Reding | ad6be7d | 2014-02-28 17:40:22 +0100 | [diff] [blame] | 211 | }; |
| 212 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 213 | gic: interrupt-controller@50041000 { |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 214 | compatible = "arm,cortex-a15-gic"; |
| 215 | #interrupt-cells = <3>; |
| 216 | interrupt-controller; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 217 | reg = <0x0 0x50041000 0x0 0x1000>, |
| 218 | <0x0 0x50042000 0x0 0x1000>, |
| 219 | <0x0 0x50044000 0x0 0x2000>, |
| 220 | <0x0 0x50046000 0x0 0x2000>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 221 | interrupts = <GIC_PPI 9 |
| 222 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; |
Marc Zyngier | 870c81a | 2015-03-11 15:43:01 +0000 | [diff] [blame] | 223 | interrupt-parent = <&gic>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 224 | }; |
| 225 | |
Thierry Reding | 1b5bad0 | 2021-12-07 11:03:12 +0100 | [diff] [blame] | 226 | gpu@57000000 { |
Thierry Reding | d86b1e8 | 2014-06-26 14:33:34 +0900 | [diff] [blame] | 227 | 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 Courbot | c96cd17 | 2015-07-01 18:13:45 +0900 | [diff] [blame] | 238 | |
| 239 | iommus = <&mc TEGRA_SWGROUP_GPU>; |
| 240 | |
Thierry Reding | d86b1e8 | 2014-06-26 14:33:34 +0900 | [diff] [blame] | 241 | status = "disabled"; |
| 242 | }; |
| 243 | |
Marc Zyngier | 870c81a | 2015-03-11 15:43:01 +0000 | [diff] [blame] | 244 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 256 | timer@60005000 { |
Thierry Reding | f8d5db7 | 2021-12-07 10:55:06 +0100 | [diff] [blame] | 257 | compatible = "nvidia,tegra124-timer", "nvidia,tegra30-timer"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 258 | reg = <0x0 0x60005000 0x0 0x400>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 259 | 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 Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 265 | clocks = <&tegra_car TEGRA124_CLK_TIMER>; |
| 266 | }; |
| 267 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 268 | tegra_car: clock@60006000 { |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 269 | compatible = "nvidia,tegra124-car"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 270 | reg = <0x0 0x60006000 0x0 0x1000>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 271 | #clock-cells = <1>; |
Stephen Warren | f71e4f0 | 2013-11-07 12:20:57 -0700 | [diff] [blame] | 272 | #reset-cells = <1>; |
Mikko Perttunen | b273c88 | 2015-03-12 15:48:00 +0100 | [diff] [blame] | 273 | nvidia,external-memory-controller = <&emc>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 274 | }; |
| 275 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 276 | flow-controller@60007000 { |
Thierry Reding | b102313 | 2014-08-26 08:14:03 +0200 | [diff] [blame] | 277 | compatible = "nvidia,tegra124-flowctrl"; |
| 278 | reg = <0x0 0x60007000 0x0 0x1000>; |
| 279 | }; |
| 280 | |
Dmitry Osipenko | 592b74b | 2021-05-11 00:10:06 +0300 | [diff] [blame] | 281 | actmon: actmon@6000c800 { |
Tomeu Vizoso | c5f8e8c | 2015-03-17 10:36:18 +0100 | [diff] [blame] | 282 | 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 Osipenko | d63250d | 2020-11-23 03:27:23 +0300 | [diff] [blame] | 290 | operating-points-v2 = <&emc_bw_dfs_opp_table>; |
| 291 | interconnects = <&mc TEGRA124_MC_MPCORER &emc>; |
| 292 | interconnect-names = "cpu-read"; |
Dmitry Osipenko | 592b74b | 2021-05-11 00:10:06 +0300 | [diff] [blame] | 293 | #cooling-cells = <2>; |
Tomeu Vizoso | c5f8e8c | 2015-03-17 10:36:18 +0100 | [diff] [blame] | 294 | }; |
| 295 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 296 | gpio: gpio@6000d000 { |
Stephen Warren | 0a9375d | 2013-08-05 16:10:02 -0700 | [diff] [blame] | 297 | compatible = "nvidia,tegra124-gpio", "nvidia,tegra30-gpio"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 298 | reg = <0x0 0x6000d000 0x0 0x1000>; |
Stephen Warren | 0a9375d | 2013-08-05 16:10:02 -0700 | [diff] [blame] | 299 | 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 Vizoso | 17cdddf | 2015-07-14 10:29:56 +0200 | [diff] [blame] | 311 | gpio-ranges = <&pinmux 0 0 251>; |
Stephen Warren | 0a9375d | 2013-08-05 16:10:02 -0700 | [diff] [blame] | 312 | }; |
| 313 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 314 | apbdma: dma@60020000 { |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 315 | compatible = "nvidia,tegra124-apbdma", "nvidia,tegra148-apbdma"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 316 | reg = <0x0 0x60020000 0x0 0x1400>; |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 317 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 355 | apbmisc@70000800 { |
Peter De Schrijver | 155dfc7 | 2014-06-12 18:36:38 +0300 | [diff] [blame] | 356 | compatible = "nvidia,tegra124-apbmisc", "nvidia,tegra20-apbmisc"; |
| 357 | reg = <0x0 0x70000800 0x0 0x64>, /* Chip revision */ |
Thierry Reding | 5431b0f | 2015-04-29 13:53:21 +0200 | [diff] [blame] | 358 | <0x0 0x7000e864 0x0 0x04>; /* Strapping options */ |
Peter De Schrijver | 155dfc7 | 2014-06-12 18:36:38 +0300 | [diff] [blame] | 359 | }; |
| 360 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 361 | pinmux: pinmux@70000868 { |
Stephen Warren | caefe63 | 2013-11-01 14:03:59 -0600 | [diff] [blame] | 362 | compatible = "nvidia,tegra124-pinmux"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 363 | reg = <0x0 0x70000868 0x0 0x164>, /* Pad control registers */ |
Sean Paul | 49727d3 | 2014-09-09 15:58:46 -0400 | [diff] [blame] | 364 | <0x0 0x70003000 0x0 0x434>, /* Mux registers */ |
| 365 | <0x0 0x70000820 0x0 0x008>; /* MIPI pad control */ |
Stephen Warren | caefe63 | 2013-11-01 14:03:59 -0600 | [diff] [blame] | 366 | }; |
| 367 | |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 368 | /* |
| 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 Ramsauer | e109824 | 2016-01-26 17:59:17 +0100 | [diff] [blame] | 373 | * the APB DMA based serial driver, the compatible is |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 374 | * "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart". |
| 375 | */ |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 376 | uarta: serial@70006000 { |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 377 | compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 378 | reg = <0x0 0x70006000 0x0 0x40>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 379 | reg-shift = <2>; |
| 380 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 381 | clocks = <&tegra_car TEGRA124_CLK_UARTA>; |
Stephen Warren | f71e4f0 | 2013-11-07 12:20:57 -0700 | [diff] [blame] | 382 | resets = <&tegra_car 6>; |
| 383 | reset-names = "serial"; |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 384 | dmas = <&apbdma 8>, <&apbdma 8>; |
| 385 | dma-names = "rx", "tx"; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 386 | status = "disabled"; |
| 387 | }; |
| 388 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 389 | uartb: serial@70006040 { |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 390 | compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 391 | reg = <0x0 0x70006040 0x0 0x40>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 392 | reg-shift = <2>; |
| 393 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 394 | clocks = <&tegra_car TEGRA124_CLK_UARTB>; |
Stephen Warren | f71e4f0 | 2013-11-07 12:20:57 -0700 | [diff] [blame] | 395 | resets = <&tegra_car 7>; |
| 396 | reset-names = "serial"; |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 397 | dmas = <&apbdma 9>, <&apbdma 9>; |
| 398 | dma-names = "rx", "tx"; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 399 | status = "disabled"; |
| 400 | }; |
| 401 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 402 | uartc: serial@70006200 { |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 403 | compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 404 | reg = <0x0 0x70006200 0x0 0x40>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 405 | reg-shift = <2>; |
| 406 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 407 | clocks = <&tegra_car TEGRA124_CLK_UARTC>; |
Stephen Warren | f71e4f0 | 2013-11-07 12:20:57 -0700 | [diff] [blame] | 408 | resets = <&tegra_car 55>; |
| 409 | reset-names = "serial"; |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 410 | dmas = <&apbdma 10>, <&apbdma 10>; |
| 411 | dma-names = "rx", "tx"; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 412 | status = "disabled"; |
| 413 | }; |
| 414 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 415 | uartd: serial@70006300 { |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 416 | compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 417 | reg = <0x0 0x70006300 0x0 0x40>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 418 | reg-shift = <2>; |
| 419 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 420 | clocks = <&tegra_car TEGRA124_CLK_UARTD>; |
Stephen Warren | f71e4f0 | 2013-11-07 12:20:57 -0700 | [diff] [blame] | 421 | resets = <&tegra_car 65>; |
| 422 | reset-names = "serial"; |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 423 | dmas = <&apbdma 19>, <&apbdma 19>; |
| 424 | dma-names = "rx", "tx"; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 425 | status = "disabled"; |
| 426 | }; |
| 427 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 428 | pwm: pwm@7000a000 { |
Thierry Reding | 111a1fc | 2013-11-18 17:00:34 +0100 | [diff] [blame] | 429 | compatible = "nvidia,tegra124-pwm", "nvidia,tegra20-pwm"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 430 | reg = <0x0 0x7000a000 0x0 0x100>; |
Thierry Reding | 111a1fc | 2013-11-18 17:00:34 +0100 | [diff] [blame] | 431 | #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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 438 | i2c@7000c000 { |
Thierry Reding | 9b07cfe | 2021-12-07 11:22:26 +0100 | [diff] [blame] | 439 | compatible = "nvidia,tegra124-i2c"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 440 | reg = <0x0 0x7000c000 0x0 0x100>; |
Stephen Warren | 4f60746 | 2013-12-03 16:29:04 -0700 | [diff] [blame] | 441 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 453 | i2c@7000c400 { |
Thierry Reding | 9b07cfe | 2021-12-07 11:22:26 +0100 | [diff] [blame] | 454 | compatible = "nvidia,tegra124-i2c"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 455 | reg = <0x0 0x7000c400 0x0 0x100>; |
Stephen Warren | 4f60746 | 2013-12-03 16:29:04 -0700 | [diff] [blame] | 456 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 468 | i2c@7000c500 { |
Thierry Reding | 9b07cfe | 2021-12-07 11:22:26 +0100 | [diff] [blame] | 469 | compatible = "nvidia,tegra124-i2c"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 470 | reg = <0x0 0x7000c500 0x0 0x100>; |
Stephen Warren | 4f60746 | 2013-12-03 16:29:04 -0700 | [diff] [blame] | 471 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 483 | i2c@7000c700 { |
Thierry Reding | 9b07cfe | 2021-12-07 11:22:26 +0100 | [diff] [blame] | 484 | compatible = "nvidia,tegra124-i2c"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 485 | reg = <0x0 0x7000c700 0x0 0x100>; |
Stephen Warren | 4f60746 | 2013-12-03 16:29:04 -0700 | [diff] [blame] | 486 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 498 | i2c@7000d000 { |
Thierry Reding | 9b07cfe | 2021-12-07 11:22:26 +0100 | [diff] [blame] | 499 | compatible = "nvidia,tegra124-i2c"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 500 | reg = <0x0 0x7000d000 0x0 0x100>; |
Stephen Warren | 4f60746 | 2013-12-03 16:29:04 -0700 | [diff] [blame] | 501 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 513 | i2c@7000d100 { |
Thierry Reding | 9b07cfe | 2021-12-07 11:22:26 +0100 | [diff] [blame] | 514 | compatible = "nvidia,tegra124-i2c"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 515 | reg = <0x0 0x7000d100 0x0 0x100>; |
Stephen Warren | 4f60746 | 2013-12-03 16:29:04 -0700 | [diff] [blame] | 516 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 528 | spi@7000d400 { |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 529 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 530 | reg = <0x0 0x7000d400 0x0 0x200>; |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 531 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 543 | spi@7000d600 { |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 544 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 545 | reg = <0x0 0x7000d600 0x0 0x200>; |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 546 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 558 | spi@7000d800 { |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 559 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 560 | reg = <0x0 0x7000d800 0x0 0x200>; |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 561 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 573 | spi@7000da00 { |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 574 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 575 | reg = <0x0 0x7000da00 0x0 0x200>; |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 576 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 588 | spi@7000dc00 { |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 589 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 590 | reg = <0x0 0x7000dc00 0x0 0x200>; |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 591 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 603 | spi@7000de00 { |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 604 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 605 | reg = <0x0 0x7000de00 0x0 0x200>; |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame] | 606 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 618 | rtc@7000e000 { |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 619 | compatible = "nvidia,tegra124-rtc", "nvidia,tegra20-rtc"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 620 | reg = <0x0 0x7000e000 0x0 0x100>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 621 | interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 622 | clocks = <&tegra_car TEGRA124_CLK_RTC>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 623 | }; |
| 624 | |
Sowjanya Komatineni | 86614b5 | 2020-01-13 23:24:18 -0800 | [diff] [blame] | 625 | tegra_pmc: pmc@7000e400 { |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 626 | compatible = "nvidia,tegra124-pmc"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 627 | reg = <0x0 0x7000e400 0x0 0x400>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 628 | clocks = <&tegra_car TEGRA124_CLK_PCLK>, <&clk32k_in>; |
| 629 | clock-names = "pclk", "clk32k_in"; |
Sowjanya Komatineni | 86614b5 | 2020-01-13 23:24:18 -0800 | [diff] [blame] | 630 | #clock-cells = <1>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 631 | }; |
| 632 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 633 | fuse@7000f800 { |
Peter De Schrijver | 155dfc7 | 2014-06-12 18:36:38 +0300 | [diff] [blame] | 634 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 642 | mc: memory-controller@70019000 { |
Thierry Reding | b26ea06 | 2014-04-16 09:09:34 +0200 | [diff] [blame] | 643 | 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 Reding | 571c3d3 | 2020-06-11 19:48:51 +0200 | [diff] [blame] | 651 | #reset-cells = <1>; |
Dmitry Osipenko | 5cf0cdb | 2020-11-23 03:27:19 +0300 | [diff] [blame] | 652 | #interconnect-cells = <1>; |
Thierry Reding | b26ea06 | 2014-04-16 09:09:34 +0200 | [diff] [blame] | 653 | }; |
| 654 | |
Thierry Reding | ceffd10 | 2019-12-22 12:39:20 +0100 | [diff] [blame] | 655 | emc: external-memory-controller@7001b000 { |
Mikko Perttunen | b273c88 | 2015-03-12 15:48:00 +0100 | [diff] [blame] | 656 | compatible = "nvidia,tegra124-emc"; |
| 657 | reg = <0x0 0x7001b000 0x0 0x1000>; |
Thierry Reding | 0cebea3 | 2019-12-22 12:39:18 +0100 | [diff] [blame] | 658 | clocks = <&tegra_car TEGRA124_CLK_EMC>; |
| 659 | clock-names = "emc"; |
Mikko Perttunen | b273c88 | 2015-03-12 15:48:00 +0100 | [diff] [blame] | 660 | |
| 661 | nvidia,memory-controller = <&mc>; |
Dmitry Osipenko | d63250d | 2020-11-23 03:27:23 +0300 | [diff] [blame] | 662 | operating-points-v2 = <&emc_icc_dvfs_opp_table>; |
Dmitry Osipenko | 5cf0cdb | 2020-11-23 03:27:19 +0300 | [diff] [blame] | 663 | |
| 664 | #interconnect-cells = <0>; |
Mikko Perttunen | b273c88 | 2015-03-12 15:48:00 +0100 | [diff] [blame] | 665 | }; |
| 666 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 667 | sata@70020000 { |
Mikko Perttunen | fdd6909 | 2014-07-16 11:54:17 +0300 | [diff] [blame] | 668 | compatible = "nvidia,tegra124-ahci"; |
Mikko Perttunen | fdd6909 | 2014-07-16 11:54:17 +0300 | [diff] [blame] | 669 | reg = <0x0 0x70027000 0x0 0x2000>, /* AHCI */ |
Thierry Reding | 481b4f1 | 2015-09-24 10:00:05 +0200 | [diff] [blame] | 670 | <0x0 0x70020000 0x0 0x7000>; /* SATA */ |
Mikko Perttunen | fdd6909 | 2014-07-16 11:54:17 +0300 | [diff] [blame] | 671 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
Mikko Perttunen | fdd6909 | 2014-07-16 11:54:17 +0300 | [diff] [blame] | 672 | clocks = <&tegra_car TEGRA124_CLK_SATA>, |
Thierry Reding | e51c87b | 2021-12-07 11:23:43 +0100 | [diff] [blame] | 673 | <&tegra_car TEGRA124_CLK_SATA_OOB>; |
| 674 | clock-names = "sata", "sata-oob"; |
Mikko Perttunen | fdd6909 | 2014-07-16 11:54:17 +0300 | [diff] [blame] | 675 | resets = <&tegra_car 124>, |
Sowjanya Komatineni | dd2a21d | 2020-11-23 12:17:20 -0800 | [diff] [blame] | 676 | <&tegra_car 129>, |
| 677 | <&tegra_car 123>; |
| 678 | reset-names = "sata", "sata-cold", "sata-oob"; |
Mikko Perttunen | fdd6909 | 2014-07-16 11:54:17 +0300 | [diff] [blame] | 679 | status = "disabled"; |
| 680 | }; |
| 681 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 682 | hda@70030000 { |
Dylan Reid | 6389cb3 | 2014-05-19 19:35:45 -0700 | [diff] [blame] | 683 | 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 Ziswiler | d8b316b | 2015-08-27 11:44:48 +0200 | [diff] [blame] | 687 | <&tegra_car TEGRA124_CLK_HDA2HDMI>, |
Dylan Reid | 6389cb3 | 2014-05-19 19:35:45 -0700 | [diff] [blame] | 688 | <&tegra_car TEGRA124_CLK_HDA2CODEC_2X>; |
Marcel Ziswiler | 869bd18 | 2015-04-10 23:36:00 +0200 | [diff] [blame] | 689 | clock-names = "hda", "hda2hdmi", "hda2codec_2x"; |
Dylan Reid | 6389cb3 | 2014-05-19 19:35:45 -0700 | [diff] [blame] | 690 | resets = <&tegra_car 125>, /* hda */ |
| 691 | <&tegra_car 128>, /* hda2hdmi */ |
| 692 | <&tegra_car 111>; /* hda2codec_2x */ |
Marcel Ziswiler | 869bd18 | 2015-04-10 23:36:00 +0200 | [diff] [blame] | 693 | reset-names = "hda", "hda2hdmi", "hda2codec_2x"; |
Dylan Reid | 6389cb3 | 2014-05-19 19:35:45 -0700 | [diff] [blame] | 694 | status = "disabled"; |
| 695 | }; |
| 696 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 697 | usb@70090000 { |
Thierry Reding | 2d8a9c9 | 2016-02-11 18:12:22 +0100 | [diff] [blame] | 698 | 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 Reding | 5b66a2b | 2020-06-11 19:50:22 +0200 | [diff] [blame] | 711 | <&tegra_car TEGRA124_CLK_XUSB_SS_DIV2>, |
Thierry Reding | 4b7f222 | 2021-12-07 11:25:49 +0100 | [diff] [blame] | 712 | <&tegra_car TEGRA124_CLK_XUSB_SS_SRC>, |
Thierry Reding | 2d8a9c9 | 2016-02-11 18:12:22 +0100 | [diff] [blame] | 713 | <&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 Reding | 4b7f222 | 2021-12-07 11:25:49 +0100 | [diff] [blame] | 720 | "xusb_ss_div2", "xusb_ss_src", |
Thierry Reding | 2d8a9c9 | 2016-02-11 18:12:22 +0100 | [diff] [blame] | 721 | "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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 732 | padctl: padctl@7009f000 { |
Thierry Reding | ce90d32 | 2014-06-19 13:37:09 +0200 | [diff] [blame] | 733 | compatible = "nvidia,tegra124-xusb-padctl"; |
| 734 | reg = <0x0 0x7009f000 0x0 0x1000>; |
| 735 | resets = <&tegra_car 142>; |
| 736 | reset-names = "padctl"; |
| 737 | |
Thierry Reding | 50623c5 | 2015-11-11 18:22:55 +0100 | [diff] [blame] | 738 | 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 Reding | ce90d32 | 2014-06-19 13:37:09 +0200 | [diff] [blame] | 863 | }; |
| 864 | |
Thierry Reding | 32c096c | 2020-06-11 19:21:17 +0200 | [diff] [blame] | 865 | mmc@700b0000 { |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 866 | compatible = "nvidia,tegra124-sdhci"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 867 | reg = <0x0 0x700b0000 0x0 0x200>; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 868 | interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
| 869 | clocks = <&tegra_car TEGRA124_CLK_SDMMC1>; |
Thierry Reding | f538588 | 2020-06-11 19:52:07 +0200 | [diff] [blame] | 870 | clock-names = "sdhci"; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 871 | resets = <&tegra_car 14>; |
| 872 | reset-names = "sdhci"; |
Thierry Reding | e2b6d77 | 2014-02-25 16:31:40 +0100 | [diff] [blame] | 873 | status = "disabled"; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 874 | }; |
| 875 | |
Thierry Reding | 32c096c | 2020-06-11 19:21:17 +0200 | [diff] [blame] | 876 | mmc@700b0200 { |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 877 | compatible = "nvidia,tegra124-sdhci"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 878 | reg = <0x0 0x700b0200 0x0 0x200>; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 879 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 880 | clocks = <&tegra_car TEGRA124_CLK_SDMMC2>; |
Thierry Reding | f538588 | 2020-06-11 19:52:07 +0200 | [diff] [blame] | 881 | clock-names = "sdhci"; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 882 | resets = <&tegra_car 9>; |
| 883 | reset-names = "sdhci"; |
Thierry Reding | e2b6d77 | 2014-02-25 16:31:40 +0100 | [diff] [blame] | 884 | status = "disabled"; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 885 | }; |
| 886 | |
Thierry Reding | 32c096c | 2020-06-11 19:21:17 +0200 | [diff] [blame] | 887 | mmc@700b0400 { |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 888 | compatible = "nvidia,tegra124-sdhci"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 889 | reg = <0x0 0x700b0400 0x0 0x200>; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 890 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
| 891 | clocks = <&tegra_car TEGRA124_CLK_SDMMC3>; |
Thierry Reding | f538588 | 2020-06-11 19:52:07 +0200 | [diff] [blame] | 892 | clock-names = "sdhci"; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 893 | resets = <&tegra_car 69>; |
| 894 | reset-names = "sdhci"; |
Thierry Reding | e2b6d77 | 2014-02-25 16:31:40 +0100 | [diff] [blame] | 895 | status = "disabled"; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 896 | }; |
| 897 | |
Thierry Reding | 32c096c | 2020-06-11 19:21:17 +0200 | [diff] [blame] | 898 | mmc@700b0600 { |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 899 | compatible = "nvidia,tegra124-sdhci"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 900 | reg = <0x0 0x700b0600 0x0 0x200>; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 901 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
| 902 | clocks = <&tegra_car TEGRA124_CLK_SDMMC4>; |
Thierry Reding | f538588 | 2020-06-11 19:52:07 +0200 | [diff] [blame] | 903 | clock-names = "sdhci"; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 904 | resets = <&tegra_car 15>; |
| 905 | reset-names = "sdhci"; |
Thierry Reding | e2b6d77 | 2014-02-25 16:31:40 +0100 | [diff] [blame] | 906 | status = "disabled"; |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 907 | }; |
| 908 | |
Hans Verkuil | 7f2b7ce | 2017-09-11 14:29:50 +0200 | [diff] [blame] | 909 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 919 | soctherm: thermal-sensor@700e2000 { |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 920 | compatible = "nvidia,tegra124-soctherm"; |
Thierry Reding | 9482a17 | 2020-06-11 19:41:30 +0200 | [diff] [blame] | 921 | reg = <0x0 0x700e2000 0x0 0x600>, /* SOC_THERM reg_base */ |
| 922 | <0x0 0x60006000 0x0 0x400>; /* CAR reg_base */ |
Wei Ni | e12b048 | 2016-05-11 18:20:20 +0800 | [diff] [blame] | 923 | reg-names = "soctherm-reg", "car-reg"; |
Thierry Reding | 17401ce | 2020-11-20 16:18:08 +0100 | [diff] [blame] | 924 | interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>, |
| 925 | <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; |
| 926 | interrupt-names = "thermal", "edp"; |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 927 | clocks = <&tegra_car TEGRA124_CLK_TSENSOR>, |
Thierry Reding | 6fb123f | 2020-11-20 21:27:12 +0100 | [diff] [blame] | 928 | <&tegra_car TEGRA124_CLK_SOC_THERM>; |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 929 | clock-names = "tsensor", "soctherm"; |
| 930 | resets = <&tegra_car 78>; |
| 931 | reset-names = "soctherm"; |
| 932 | #thermal-sensor-cells = <1>; |
Wei Ni | e12b048 | 2016-05-11 18:20:20 +0800 | [diff] [blame] | 933 | |
| 934 | throttle-cfgs { |
| 935 | throttle_heavy: heavy { |
| 936 | nvidia,priority = <100>; |
| 937 | nvidia,cpu-throt-percent = <85>; |
Nicolas Chauvet | 37ac8c4 | 2020-09-27 17:09:51 +0200 | [diff] [blame] | 938 | nvidia,gpu-throt-level = <TEGRA_SOCTHERM_THROT_LEVEL_HIGH>; |
Wei Ni | e12b048 | 2016-05-11 18:20:20 +0800 | [diff] [blame] | 939 | |
| 940 | #cooling-cells = <2>; |
| 941 | }; |
| 942 | }; |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 943 | }; |
| 944 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 945 | dfll: clock@70110000 { |
Tuomas Tynkkynen | bf9d026 | 2015-05-13 17:58:44 +0300 | [diff] [blame] | 946 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 969 | ahub@70300000 { |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 970 | compatible = "nvidia,tegra124-ahub"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 971 | reg = <0x0 0x70300000 0x0 0x200>, |
| 972 | <0x0 0x70300800 0x0 0x800>, |
| 973 | <0x0 0x70300200 0x0 0x600>; |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 974 | 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 Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1018 | #address-cells = <2>; |
| 1019 | #size-cells = <2>; |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 1020 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 1021 | tegra_i2s0: i2s@70301000 { |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 1022 | compatible = "nvidia,tegra124-i2s"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1023 | reg = <0x0 0x70301000 0x0 0x100>; |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 1024 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 1031 | tegra_i2s1: i2s@70301100 { |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 1032 | compatible = "nvidia,tegra124-i2s"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1033 | reg = <0x0 0x70301100 0x0 0x100>; |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 1034 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 1041 | tegra_i2s2: i2s@70301200 { |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 1042 | compatible = "nvidia,tegra124-i2s"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1043 | reg = <0x0 0x70301200 0x0 0x100>; |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 1044 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 1051 | tegra_i2s3: i2s@70301300 { |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 1052 | compatible = "nvidia,tegra124-i2s"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1053 | reg = <0x0 0x70301300 0x0 0x100>; |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 1054 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 1061 | tegra_i2s4: i2s@70301400 { |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 1062 | compatible = "nvidia,tegra124-i2s"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1063 | reg = <0x0 0x70301400 0x0 0x100>; |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 1064 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 1072 | usb@7d000000 { |
Thierry Reding | 96f4adc | 2021-06-21 16:13:26 +0200 | [diff] [blame] | 1073 | compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1074 | reg = <0x0 0x7d000000 0x0 0x4000>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1075 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 1084 | phy1: usb-phy@7d000000 { |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1085 | compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1086 | reg = <0x0 0x7d000000 0x0 0x4000>, |
| 1087 | <0x0 0x7d000000 0x0 0x4000>; |
Dmitry Osipenko | b460ecc | 2021-09-12 21:17:16 +0300 | [diff] [blame] | 1088 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1089 | 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 Vizoso | a4b6916 | 2015-04-03 09:21:11 +0200 | [diff] [blame] | 1094 | resets = <&tegra_car 22>, <&tegra_car 22>; |
Tuomas Tynkkynen | 308efde | 2014-07-04 04:09:37 +0300 | [diff] [blame] | 1095 | reset-names = "usb", "utmi-pads"; |
Thierry Reding | 4c0bb8c | 2020-06-11 19:28:34 +0200 | [diff] [blame] | 1096 | #phy-cells = <0>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1097 | 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 Vizoso | a4b6916 | 2015-04-03 09:21:11 +0200 | [diff] [blame] | 1107 | nvidia,has-utmi-pad-registers; |
Dmitry Osipenko | b460ecc | 2021-09-12 21:17:16 +0300 | [diff] [blame] | 1108 | nvidia,pmc = <&tegra_pmc 0>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1109 | status = "disabled"; |
| 1110 | }; |
| 1111 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 1112 | usb@7d004000 { |
Thierry Reding | 96f4adc | 2021-06-21 16:13:26 +0200 | [diff] [blame] | 1113 | compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1114 | reg = <0x0 0x7d004000 0x0 0x4000>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1115 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 1124 | phy2: usb-phy@7d004000 { |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1125 | compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1126 | reg = <0x0 0x7d004000 0x0 0x4000>, |
| 1127 | <0x0 0x7d000000 0x0 0x4000>; |
Dmitry Osipenko | b460ecc | 2021-09-12 21:17:16 +0300 | [diff] [blame] | 1128 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1129 | 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 Vizoso | a4b6916 | 2015-04-03 09:21:11 +0200 | [diff] [blame] | 1134 | resets = <&tegra_car 58>, <&tegra_car 22>; |
Tuomas Tynkkynen | 308efde | 2014-07-04 04:09:37 +0300 | [diff] [blame] | 1135 | reset-names = "usb", "utmi-pads"; |
Thierry Reding | 4c0bb8c | 2020-06-11 19:28:34 +0200 | [diff] [blame] | 1136 | #phy-cells = <0>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1137 | 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 Osipenko | b460ecc | 2021-09-12 21:17:16 +0300 | [diff] [blame] | 1147 | nvidia,pmc = <&tegra_pmc 1>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1148 | status = "disabled"; |
| 1149 | }; |
| 1150 | |
Marcel Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 1151 | usb@7d008000 { |
Thierry Reding | 96f4adc | 2021-06-21 16:13:26 +0200 | [diff] [blame] | 1152 | compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1153 | reg = <0x0 0x7d008000 0x0 0x4000>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1154 | 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 Ziswiler | b5896f6 | 2016-06-30 00:21:37 +0200 | [diff] [blame] | 1163 | phy3: usb-phy@7d008000 { |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1164 | compatible = "nvidia,tegra124-usb-phy", "nvidia,tegra30-usb-phy"; |
Stephen Warren | e30cb23 | 2014-03-03 14:51:15 -0700 | [diff] [blame] | 1165 | reg = <0x0 0x7d008000 0x0 0x4000>, |
| 1166 | <0x0 0x7d000000 0x0 0x4000>; |
Dmitry Osipenko | b460ecc | 2021-09-12 21:17:16 +0300 | [diff] [blame] | 1167 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1168 | 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 Vizoso | a4b6916 | 2015-04-03 09:21:11 +0200 | [diff] [blame] | 1173 | resets = <&tegra_car 59>, <&tegra_car 22>; |
Tuomas Tynkkynen | 308efde | 2014-07-04 04:09:37 +0300 | [diff] [blame] | 1174 | reset-names = "usb", "utmi-pads"; |
Thierry Reding | 4c0bb8c | 2020-06-11 19:28:34 +0200 | [diff] [blame] | 1175 | #phy-cells = <0>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1176 | 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 Osipenko | b460ecc | 2021-09-12 21:17:16 +0300 | [diff] [blame] | 1186 | nvidia,pmc = <&tegra_pmc 2>; |
Thierry Reding | f2d5015 | 2014-02-28 17:40:25 +0100 | [diff] [blame] | 1187 | status = "disabled"; |
| 1188 | }; |
| 1189 | |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 1190 | 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 Tynkkynen | 0de088c | 2015-05-13 17:58:49 +0300 | [diff] [blame] | 1198 | |
| 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 Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 1207 | }; |
| 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 Huey | 82fe42f | 2015-07-13 10:35:45 -0700 | [diff] [blame] | 1228 | 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 Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 1240 | thermal-zones { |
Thierry Reding | 272c5c3 | 2021-12-07 11:14:33 +0100 | [diff] [blame] | 1241 | cpu-thermal { |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 1242 | polling-delay-passive = <1000>; |
| 1243 | polling-delay = <1000>; |
| 1244 | |
| 1245 | thermal-sensors = |
| 1246 | <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>; |
Wei Ni | 40823f8 | 2016-05-11 18:20:19 +0800 | [diff] [blame] | 1247 | |
| 1248 | trips { |
| 1249 | cpu-shutdown-trip { |
| 1250 | temperature = <103000>; |
| 1251 | hysteresis = <0>; |
| 1252 | type = "critical"; |
| 1253 | }; |
Wei Ni | e12b048 | 2016-05-11 18:20:20 +0800 | [diff] [blame] | 1254 | cpu_throttle_trip: throttle-trip { |
| 1255 | temperature = <100000>; |
| 1256 | hysteresis = <1000>; |
| 1257 | type = "hot"; |
| 1258 | }; |
Wei Ni | 40823f8 | 2016-05-11 18:20:19 +0800 | [diff] [blame] | 1259 | }; |
| 1260 | |
| 1261 | cooling-maps { |
Wei Ni | e12b048 | 2016-05-11 18:20:20 +0800 | [diff] [blame] | 1262 | map0 { |
| 1263 | trip = <&cpu_throttle_trip>; |
| 1264 | cooling-device = <&throttle_heavy 1 1>; |
| 1265 | }; |
Wei Ni | 40823f8 | 2016-05-11 18:20:19 +0800 | [diff] [blame] | 1266 | }; |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 1267 | }; |
| 1268 | |
Thierry Reding | 272c5c3 | 2021-12-07 11:14:33 +0100 | [diff] [blame] | 1269 | mem-thermal { |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 1270 | polling-delay-passive = <1000>; |
| 1271 | polling-delay = <1000>; |
| 1272 | |
| 1273 | thermal-sensors = |
| 1274 | <&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>; |
Wei Ni | 40823f8 | 2016-05-11 18:20:19 +0800 | [diff] [blame] | 1275 | |
| 1276 | trips { |
| 1277 | mem-shutdown-trip { |
| 1278 | temperature = <103000>; |
| 1279 | hysteresis = <0>; |
| 1280 | type = "critical"; |
| 1281 | }; |
Nicolas Chauvet | 252cc72 | 2020-09-27 17:09:52 +0200 | [diff] [blame] | 1282 | mem-throttle-trip { |
| 1283 | temperature = <99000>; |
| 1284 | hysteresis = <1000>; |
| 1285 | type = "hot"; |
| 1286 | }; |
Wei Ni | 40823f8 | 2016-05-11 18:20:19 +0800 | [diff] [blame] | 1287 | }; |
| 1288 | |
| 1289 | cooling-maps { |
| 1290 | /* |
| 1291 | * There are currently no cooling maps, |
| 1292 | * because there are no cooling devices. |
| 1293 | */ |
| 1294 | }; |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 1295 | }; |
| 1296 | |
Thierry Reding | 272c5c3 | 2021-12-07 11:14:33 +0100 | [diff] [blame] | 1297 | gpu-thermal { |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 1298 | polling-delay-passive = <1000>; |
| 1299 | polling-delay = <1000>; |
| 1300 | |
| 1301 | thermal-sensors = |
| 1302 | <&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>; |
Wei Ni | 40823f8 | 2016-05-11 18:20:19 +0800 | [diff] [blame] | 1303 | |
| 1304 | trips { |
| 1305 | gpu-shutdown-trip { |
| 1306 | temperature = <101000>; |
| 1307 | hysteresis = <0>; |
| 1308 | type = "critical"; |
| 1309 | }; |
Wei Ni | e12b048 | 2016-05-11 18:20:20 +0800 | [diff] [blame] | 1310 | gpu_throttle_trip: throttle-trip { |
| 1311 | temperature = <99000>; |
| 1312 | hysteresis = <1000>; |
| 1313 | type = "hot"; |
| 1314 | }; |
Wei Ni | 40823f8 | 2016-05-11 18:20:19 +0800 | [diff] [blame] | 1315 | }; |
| 1316 | |
| 1317 | cooling-maps { |
Wei Ni | e12b048 | 2016-05-11 18:20:20 +0800 | [diff] [blame] | 1318 | map0 { |
| 1319 | trip = <&gpu_throttle_trip>; |
| 1320 | cooling-device = <&throttle_heavy 1 1>; |
| 1321 | }; |
Wei Ni | 40823f8 | 2016-05-11 18:20:19 +0800 | [diff] [blame] | 1322 | }; |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 1323 | }; |
| 1324 | |
Thierry Reding | 272c5c3 | 2021-12-07 11:14:33 +0100 | [diff] [blame] | 1325 | pllx-thermal { |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 1326 | polling-delay-passive = <1000>; |
| 1327 | polling-delay = <1000>; |
| 1328 | |
| 1329 | thermal-sensors = |
| 1330 | <&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>; |
Wei Ni | 40823f8 | 2016-05-11 18:20:19 +0800 | [diff] [blame] | 1331 | |
| 1332 | trips { |
| 1333 | pllx-shutdown-trip { |
| 1334 | temperature = <103000>; |
| 1335 | hysteresis = <0>; |
| 1336 | type = "critical"; |
| 1337 | }; |
Nicolas Chauvet | 252cc72 | 2020-09-27 17:09:52 +0200 | [diff] [blame] | 1338 | pllx-throttle-trip { |
| 1339 | temperature = <99000>; |
| 1340 | hysteresis = <1000>; |
| 1341 | type = "hot"; |
| 1342 | }; |
Wei Ni | 40823f8 | 2016-05-11 18:20:19 +0800 | [diff] [blame] | 1343 | }; |
| 1344 | |
| 1345 | cooling-maps { |
| 1346 | /* |
| 1347 | * There are currently no cooling maps, |
| 1348 | * because there are no cooling devices. |
| 1349 | */ |
| 1350 | }; |
Mikko Perttunen | 26b76f8 | 2014-09-26 12:43:11 +0300 | [diff] [blame] | 1351 | }; |
| 1352 | }; |
| 1353 | |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 1354 | 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 Zyngier | 870c81a | 2015-03-11 15:43:01 +0000 | [diff] [blame] | 1364 | interrupt-parent = <&gic>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 1365 | }; |
| 1366 | }; |