Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 1 | #include <dt-bindings/clock/tegra124-car.h> |
Stephen Warren | 0a9375d | 2013-08-05 16:10:02 -0700 | [diff] [blame] | 2 | #include <dt-bindings/gpio/tegra-gpio.h> |
Laxman Dewangan | 4b20bcb | 2013-12-09 16:03:51 +0530 | [diff] [blame] | 3 | #include <dt-bindings/pinctrl/pinctrl-tegra.h> |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 4 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 5 | |
| 6 | #include "skeleton.dtsi" |
| 7 | |
| 8 | / { |
| 9 | compatible = "nvidia,tegra124"; |
| 10 | interrupt-parent = <&gic>; |
| 11 | |
| 12 | gic: interrupt-controller@50041000 { |
| 13 | compatible = "arm,cortex-a15-gic"; |
| 14 | #interrupt-cells = <3>; |
| 15 | interrupt-controller; |
| 16 | reg = <0x50041000 0x1000>, |
| 17 | <0x50042000 0x1000>, |
| 18 | <0x50044000 0x2000>, |
| 19 | <0x50046000 0x2000>; |
| 20 | interrupts = <GIC_PPI 9 |
| 21 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; |
| 22 | }; |
| 23 | |
| 24 | timer@60005000 { |
| 25 | compatible = "nvidia,tegra124-timer", "nvidia,tegra20-timer"; |
| 26 | reg = <0x60005000 0x400>; |
| 27 | interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, |
| 28 | <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, |
| 29 | <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, |
| 30 | <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, |
| 31 | <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, |
| 32 | <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 33 | clocks = <&tegra_car TEGRA124_CLK_TIMER>; |
| 34 | }; |
| 35 | |
| 36 | tegra_car: clock@60006000 { |
| 37 | compatible = "nvidia,tegra124-car"; |
| 38 | reg = <0x60006000 0x1000>; |
| 39 | #clock-cells = <1>; |
Stephen Warren | f71e4f0 | 2013-11-07 12:20:57 -0700 | [diff] [blame] | 40 | #reset-cells = <1>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 41 | }; |
| 42 | |
Stephen Warren | 0a9375d | 2013-08-05 16:10:02 -0700 | [diff] [blame] | 43 | gpio: gpio@6000d000 { |
| 44 | compatible = "nvidia,tegra124-gpio", "nvidia,tegra30-gpio"; |
| 45 | reg = <0x6000d000 0x1000>; |
| 46 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, |
| 47 | <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, |
| 48 | <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, |
| 49 | <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, |
| 50 | <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, |
| 51 | <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>, |
| 52 | <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>, |
| 53 | <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; |
| 54 | #gpio-cells = <2>; |
| 55 | gpio-controller; |
| 56 | #interrupt-cells = <2>; |
| 57 | interrupt-controller; |
| 58 | }; |
| 59 | |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 60 | apbdma: dma@60020000 { |
| 61 | compatible = "nvidia,tegra124-apbdma", "nvidia,tegra148-apbdma"; |
| 62 | reg = <0x60020000 0x1400>; |
| 63 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, |
| 64 | <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, |
| 65 | <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, |
| 66 | <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, |
| 67 | <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, |
| 68 | <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, |
| 69 | <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, |
| 70 | <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, |
| 71 | <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, |
| 72 | <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, |
| 73 | <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, |
| 74 | <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, |
| 75 | <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, |
| 76 | <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, |
| 77 | <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, |
| 78 | <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, |
| 79 | <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, |
| 80 | <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>, |
| 81 | <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, |
| 82 | <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, |
| 83 | <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>, |
| 84 | <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>, |
| 85 | <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, |
| 86 | <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>, |
| 87 | <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, |
| 88 | <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, |
| 89 | <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, |
| 90 | <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>, |
| 91 | <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>, |
| 92 | <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, |
| 93 | <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, |
| 94 | <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
| 95 | clocks = <&tegra_car TEGRA124_CLK_APBDMA>; |
| 96 | resets = <&tegra_car 34>; |
| 97 | reset-names = "dma"; |
| 98 | #dma-cells = <1>; |
| 99 | }; |
| 100 | |
Stephen Warren | caefe63 | 2013-11-01 14:03:59 -0600 | [diff] [blame] | 101 | pinmux: pinmux@70000868 { |
| 102 | compatible = "nvidia,tegra124-pinmux"; |
| 103 | reg = <0x70000868 0x164>, /* Pad control registers */ |
| 104 | <0x70003000 0x434>; /* Mux registers */ |
| 105 | }; |
| 106 | |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 107 | /* |
| 108 | * There are two serial driver i.e. 8250 based simple serial |
| 109 | * driver and APB DMA based serial driver for higher baudrate |
| 110 | * and performace. To enable the 8250 based driver, the compatible |
| 111 | * is "nvidia,tegra124-uart", "nvidia,tegra20-uart" and to enable |
| 112 | * the APB DMA based serial driver, the comptible is |
| 113 | * "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart". |
| 114 | */ |
| 115 | serial@70006000 { |
| 116 | compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; |
| 117 | reg = <0x70006000 0x40>; |
| 118 | reg-shift = <2>; |
| 119 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 120 | clocks = <&tegra_car TEGRA124_CLK_UARTA>; |
Stephen Warren | f71e4f0 | 2013-11-07 12:20:57 -0700 | [diff] [blame] | 121 | resets = <&tegra_car 6>; |
| 122 | reset-names = "serial"; |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 123 | dmas = <&apbdma 8>, <&apbdma 8>; |
| 124 | dma-names = "rx", "tx"; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 125 | status = "disabled"; |
| 126 | }; |
| 127 | |
| 128 | serial@70006040 { |
| 129 | compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; |
| 130 | reg = <0x70006040 0x40>; |
| 131 | reg-shift = <2>; |
| 132 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 133 | clocks = <&tegra_car TEGRA124_CLK_UARTB>; |
Stephen Warren | f71e4f0 | 2013-11-07 12:20:57 -0700 | [diff] [blame] | 134 | resets = <&tegra_car 7>; |
| 135 | reset-names = "serial"; |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 136 | dmas = <&apbdma 9>, <&apbdma 9>; |
| 137 | dma-names = "rx", "tx"; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 138 | status = "disabled"; |
| 139 | }; |
| 140 | |
| 141 | serial@70006200 { |
| 142 | compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; |
| 143 | reg = <0x70006200 0x40>; |
| 144 | reg-shift = <2>; |
| 145 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 146 | clocks = <&tegra_car TEGRA124_CLK_UARTC>; |
Stephen Warren | f71e4f0 | 2013-11-07 12:20:57 -0700 | [diff] [blame] | 147 | resets = <&tegra_car 55>; |
| 148 | reset-names = "serial"; |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 149 | dmas = <&apbdma 10>, <&apbdma 10>; |
| 150 | dma-names = "rx", "tx"; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 151 | status = "disabled"; |
| 152 | }; |
| 153 | |
| 154 | serial@70006300 { |
| 155 | compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; |
| 156 | reg = <0x70006300 0x40>; |
| 157 | reg-shift = <2>; |
| 158 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 159 | clocks = <&tegra_car TEGRA124_CLK_UARTD>; |
Stephen Warren | f71e4f0 | 2013-11-07 12:20:57 -0700 | [diff] [blame] | 160 | resets = <&tegra_car 65>; |
| 161 | reset-names = "serial"; |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 162 | dmas = <&apbdma 19>, <&apbdma 19>; |
| 163 | dma-names = "rx", "tx"; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 164 | status = "disabled"; |
| 165 | }; |
| 166 | |
| 167 | serial@70006400 { |
| 168 | compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; |
| 169 | reg = <0x70006400 0x40>; |
| 170 | reg-shift = <2>; |
| 171 | interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 172 | clocks = <&tegra_car TEGRA124_CLK_UARTE>; |
Stephen Warren | f71e4f0 | 2013-11-07 12:20:57 -0700 | [diff] [blame] | 173 | resets = <&tegra_car 66>; |
| 174 | reset-names = "serial"; |
Stephen Warren | 2f5a913 | 2013-11-15 12:22:53 -0700 | [diff] [blame] | 175 | dmas = <&apbdma 20>, <&apbdma 20>; |
| 176 | dma-names = "rx", "tx"; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 177 | status = "disabled"; |
| 178 | }; |
| 179 | |
Thierry Reding | 111a1fc | 2013-11-18 17:00:34 +0100 | [diff] [blame] | 180 | pwm@7000a000 { |
| 181 | compatible = "nvidia,tegra124-pwm", "nvidia,tegra20-pwm"; |
| 182 | reg = <0x7000a000 0x100>; |
| 183 | #pwm-cells = <2>; |
| 184 | clocks = <&tegra_car TEGRA124_CLK_PWM>; |
| 185 | resets = <&tegra_car 17>; |
| 186 | reset-names = "pwm"; |
| 187 | status = "disabled"; |
| 188 | }; |
| 189 | |
Stephen Warren | 4f60746 | 2013-12-03 16:29:04 -0700 | [diff] [blame] | 190 | i2c@7000c000 { |
| 191 | compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; |
| 192 | reg = <0x7000c000 0x100>; |
| 193 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
| 194 | #address-cells = <1>; |
| 195 | #size-cells = <0>; |
| 196 | clocks = <&tegra_car TEGRA124_CLK_I2C1>; |
| 197 | clock-names = "div-clk"; |
| 198 | resets = <&tegra_car 12>; |
| 199 | reset-names = "i2c"; |
| 200 | dmas = <&apbdma 21>, <&apbdma 21>; |
| 201 | dma-names = "rx", "tx"; |
| 202 | status = "disabled"; |
| 203 | }; |
| 204 | |
| 205 | i2c@7000c400 { |
| 206 | compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; |
| 207 | reg = <0x7000c400 0x100>; |
| 208 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
| 209 | #address-cells = <1>; |
| 210 | #size-cells = <0>; |
| 211 | clocks = <&tegra_car TEGRA124_CLK_I2C2>; |
| 212 | clock-names = "div-clk"; |
| 213 | resets = <&tegra_car 54>; |
| 214 | reset-names = "i2c"; |
| 215 | dmas = <&apbdma 22>, <&apbdma 22>; |
| 216 | dma-names = "rx", "tx"; |
| 217 | status = "disabled"; |
| 218 | }; |
| 219 | |
| 220 | i2c@7000c500 { |
| 221 | compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; |
| 222 | reg = <0x7000c500 0x100>; |
| 223 | interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; |
| 224 | #address-cells = <1>; |
| 225 | #size-cells = <0>; |
| 226 | clocks = <&tegra_car TEGRA124_CLK_I2C3>; |
| 227 | clock-names = "div-clk"; |
| 228 | resets = <&tegra_car 67>; |
| 229 | reset-names = "i2c"; |
| 230 | dmas = <&apbdma 23>, <&apbdma 23>; |
| 231 | dma-names = "rx", "tx"; |
| 232 | status = "disabled"; |
| 233 | }; |
| 234 | |
| 235 | i2c@7000c700 { |
| 236 | compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; |
| 237 | reg = <0x7000c700 0x100>; |
| 238 | interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; |
| 239 | #address-cells = <1>; |
| 240 | #size-cells = <0>; |
| 241 | clocks = <&tegra_car TEGRA124_CLK_I2C4>; |
| 242 | clock-names = "div-clk"; |
| 243 | resets = <&tegra_car 103>; |
| 244 | reset-names = "i2c"; |
| 245 | dmas = <&apbdma 26>, <&apbdma 26>; |
| 246 | dma-names = "rx", "tx"; |
| 247 | status = "disabled"; |
| 248 | }; |
| 249 | |
| 250 | i2c@7000d000 { |
| 251 | compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; |
| 252 | reg = <0x7000d000 0x100>; |
| 253 | interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; |
| 254 | #address-cells = <1>; |
| 255 | #size-cells = <0>; |
| 256 | clocks = <&tegra_car TEGRA124_CLK_I2C5>; |
| 257 | clock-names = "div-clk"; |
| 258 | resets = <&tegra_car 47>; |
| 259 | reset-names = "i2c"; |
| 260 | dmas = <&apbdma 24>, <&apbdma 24>; |
| 261 | dma-names = "rx", "tx"; |
| 262 | status = "disabled"; |
| 263 | }; |
| 264 | |
| 265 | i2c@7000d100 { |
| 266 | compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; |
| 267 | reg = <0x7000d100 0x100>; |
| 268 | interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; |
| 269 | #address-cells = <1>; |
| 270 | #size-cells = <0>; |
| 271 | clocks = <&tegra_car TEGRA124_CLK_I2C6>; |
| 272 | clock-names = "div-clk"; |
| 273 | resets = <&tegra_car 166>; |
| 274 | reset-names = "i2c"; |
| 275 | dmas = <&apbdma 30>, <&apbdma 30>; |
| 276 | dma-names = "rx", "tx"; |
| 277 | status = "disabled"; |
| 278 | }; |
| 279 | |
Thierry Reding | 9f1ac56 | 2013-12-13 17:24:05 +0100 | [diff] [blame^] | 280 | spi@7000d400 { |
| 281 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
| 282 | reg = <0x7000d400 0x200>; |
| 283 | interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; |
| 284 | #address-cells = <1>; |
| 285 | #size-cells = <0>; |
| 286 | clocks = <&tegra_car TEGRA124_CLK_SBC1>; |
| 287 | clock-names = "spi"; |
| 288 | resets = <&tegra_car 41>; |
| 289 | reset-names = "spi"; |
| 290 | dmas = <&apbdma 15>, <&apbdma 15>; |
| 291 | dma-names = "rx", "tx"; |
| 292 | status = "disabled"; |
| 293 | }; |
| 294 | |
| 295 | spi@7000d600 { |
| 296 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
| 297 | reg = <0x7000d600 0x200>; |
| 298 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
| 299 | #address-cells = <1>; |
| 300 | #size-cells = <0>; |
| 301 | clocks = <&tegra_car TEGRA124_CLK_SBC2>; |
| 302 | clock-names = "spi"; |
| 303 | resets = <&tegra_car 44>; |
| 304 | reset-names = "spi"; |
| 305 | dmas = <&apbdma 16>, <&apbdma 16>; |
| 306 | dma-names = "rx", "tx"; |
| 307 | status = "disabled"; |
| 308 | }; |
| 309 | |
| 310 | spi@7000d800 { |
| 311 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
| 312 | reg = <0x7000d800 0x200>; |
| 313 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| 314 | #address-cells = <1>; |
| 315 | #size-cells = <0>; |
| 316 | clocks = <&tegra_car TEGRA124_CLK_SBC3>; |
| 317 | clock-names = "spi"; |
| 318 | resets = <&tegra_car 46>; |
| 319 | reset-names = "spi"; |
| 320 | dmas = <&apbdma 17>, <&apbdma 17>; |
| 321 | dma-names = "rx", "tx"; |
| 322 | status = "disabled"; |
| 323 | }; |
| 324 | |
| 325 | spi@7000da00 { |
| 326 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
| 327 | reg = <0x7000da00 0x200>; |
| 328 | interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; |
| 329 | #address-cells = <1>; |
| 330 | #size-cells = <0>; |
| 331 | clocks = <&tegra_car TEGRA124_CLK_SBC4>; |
| 332 | clock-names = "spi"; |
| 333 | resets = <&tegra_car 68>; |
| 334 | reset-names = "spi"; |
| 335 | dmas = <&apbdma 18>, <&apbdma 18>; |
| 336 | dma-names = "rx", "tx"; |
| 337 | status = "disabled"; |
| 338 | }; |
| 339 | |
| 340 | spi@7000dc00 { |
| 341 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
| 342 | reg = <0x7000dc00 0x200>; |
| 343 | interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; |
| 344 | #address-cells = <1>; |
| 345 | #size-cells = <0>; |
| 346 | clocks = <&tegra_car TEGRA124_CLK_SBC5>; |
| 347 | clock-names = "spi"; |
| 348 | resets = <&tegra_car 104>; |
| 349 | reset-names = "spi"; |
| 350 | dmas = <&apbdma 27>, <&apbdma 27>; |
| 351 | dma-names = "rx", "tx"; |
| 352 | status = "disabled"; |
| 353 | }; |
| 354 | |
| 355 | spi@7000de00 { |
| 356 | compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; |
| 357 | reg = <0x7000de00 0x200>; |
| 358 | interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; |
| 359 | #address-cells = <1>; |
| 360 | #size-cells = <0>; |
| 361 | clocks = <&tegra_car TEGRA124_CLK_SBC6>; |
| 362 | clock-names = "spi"; |
| 363 | resets = <&tegra_car 105>; |
| 364 | reset-names = "spi"; |
| 365 | dmas = <&apbdma 28>, <&apbdma 28>; |
| 366 | dma-names = "rx", "tx"; |
| 367 | status = "disabled"; |
| 368 | }; |
| 369 | |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 370 | rtc@7000e000 { |
| 371 | compatible = "nvidia,tegra124-rtc", "nvidia,tegra20-rtc"; |
| 372 | reg = <0x7000e000 0x100>; |
| 373 | interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 374 | clocks = <&tegra_car TEGRA124_CLK_RTC>; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 375 | }; |
| 376 | |
| 377 | pmc@7000e400 { |
| 378 | compatible = "nvidia,tegra124-pmc"; |
| 379 | reg = <0x7000e400 0x400>; |
Joseph Lo | 3b86baf | 2013-10-08 15:47:40 +0800 | [diff] [blame] | 380 | clocks = <&tegra_car TEGRA124_CLK_PCLK>, <&clk32k_in>; |
| 381 | clock-names = "pclk", "clk32k_in"; |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 382 | }; |
| 383 | |
Stephen Warren | 784c744 | 2013-10-31 17:23:05 -0600 | [diff] [blame] | 384 | sdhci@700b0000 { |
| 385 | compatible = "nvidia,tegra124-sdhci"; |
| 386 | reg = <0x700b0000 0x200>; |
| 387 | interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
| 388 | clocks = <&tegra_car TEGRA124_CLK_SDMMC1>; |
| 389 | resets = <&tegra_car 14>; |
| 390 | reset-names = "sdhci"; |
| 391 | status = "disable"; |
| 392 | }; |
| 393 | |
| 394 | sdhci@700b0200 { |
| 395 | compatible = "nvidia,tegra124-sdhci"; |
| 396 | reg = <0x700b0200 0x200>; |
| 397 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 398 | clocks = <&tegra_car TEGRA124_CLK_SDMMC2>; |
| 399 | resets = <&tegra_car 9>; |
| 400 | reset-names = "sdhci"; |
| 401 | status = "disable"; |
| 402 | }; |
| 403 | |
| 404 | sdhci@700b0400 { |
| 405 | compatible = "nvidia,tegra124-sdhci"; |
| 406 | reg = <0x700b0400 0x200>; |
| 407 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
| 408 | clocks = <&tegra_car TEGRA124_CLK_SDMMC3>; |
| 409 | resets = <&tegra_car 69>; |
| 410 | reset-names = "sdhci"; |
| 411 | status = "disable"; |
| 412 | }; |
| 413 | |
| 414 | sdhci@700b0600 { |
| 415 | compatible = "nvidia,tegra124-sdhci"; |
| 416 | reg = <0x700b0600 0x200>; |
| 417 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
| 418 | clocks = <&tegra_car TEGRA124_CLK_SDMMC4>; |
| 419 | resets = <&tegra_car 15>; |
| 420 | reset-names = "sdhci"; |
| 421 | status = "disable"; |
| 422 | }; |
| 423 | |
Stephen Warren | e665557 | 2013-12-04 15:05:51 -0700 | [diff] [blame] | 424 | ahub@70300000 { |
| 425 | compatible = "nvidia,tegra124-ahub"; |
| 426 | reg = <0x70300000 0x200>, |
| 427 | <0x70300800 0x800>, |
| 428 | <0x70300200 0x600>; |
| 429 | interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; |
| 430 | clocks = <&tegra_car TEGRA124_CLK_D_AUDIO>, |
| 431 | <&tegra_car TEGRA124_CLK_APBIF>; |
| 432 | clock-names = "d_audio", "apbif"; |
| 433 | resets = <&tegra_car 106>, /* d_audio */ |
| 434 | <&tegra_car 107>, /* apbif */ |
| 435 | <&tegra_car 30>, /* i2s0 */ |
| 436 | <&tegra_car 11>, /* i2s1 */ |
| 437 | <&tegra_car 18>, /* i2s2 */ |
| 438 | <&tegra_car 101>, /* i2s3 */ |
| 439 | <&tegra_car 102>, /* i2s4 */ |
| 440 | <&tegra_car 108>, /* dam0 */ |
| 441 | <&tegra_car 109>, /* dam1 */ |
| 442 | <&tegra_car 110>, /* dam2 */ |
| 443 | <&tegra_car 10>, /* spdif */ |
| 444 | <&tegra_car 153>, /* amx */ |
| 445 | <&tegra_car 185>, /* amx1 */ |
| 446 | <&tegra_car 154>, /* adx */ |
| 447 | <&tegra_car 180>, /* adx1 */ |
| 448 | <&tegra_car 186>, /* afc0 */ |
| 449 | <&tegra_car 187>, /* afc1 */ |
| 450 | <&tegra_car 188>, /* afc2 */ |
| 451 | <&tegra_car 189>, /* afc3 */ |
| 452 | <&tegra_car 190>, /* afc4 */ |
| 453 | <&tegra_car 191>; /* afc5 */ |
| 454 | reset-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2", |
| 455 | "i2s3", "i2s4", "dam0", "dam1", "dam2", |
| 456 | "spdif", "amx", "amx1", "adx", "adx1", |
| 457 | "afc0", "afc1", "afc2", "afc3", "afc4", "afc5"; |
| 458 | dmas = <&apbdma 1>, <&apbdma 1>, |
| 459 | <&apbdma 2>, <&apbdma 2>, |
| 460 | <&apbdma 3>, <&apbdma 3>, |
| 461 | <&apbdma 4>, <&apbdma 4>, |
| 462 | <&apbdma 6>, <&apbdma 6>, |
| 463 | <&apbdma 7>, <&apbdma 7>, |
| 464 | <&apbdma 12>, <&apbdma 12>, |
| 465 | <&apbdma 13>, <&apbdma 13>, |
| 466 | <&apbdma 14>, <&apbdma 14>, |
| 467 | <&apbdma 29>, <&apbdma 29>; |
| 468 | dma-names = "rx0", "tx0", "rx1", "tx1", "rx2", "tx2", |
| 469 | "rx3", "tx3", "rx4", "tx4", "rx5", "tx5", |
| 470 | "rx6", "tx6", "rx7", "tx7", "rx8", "tx8", |
| 471 | "rx9", "tx9"; |
| 472 | ranges; |
| 473 | #address-cells = <1>; |
| 474 | #size-cells = <1>; |
| 475 | |
| 476 | tegra_i2s0: i2s@70301000 { |
| 477 | compatible = "nvidia,tegra124-i2s"; |
| 478 | reg = <0x70301000 0x100>; |
| 479 | nvidia,ahub-cif-ids = <4 4>; |
| 480 | clocks = <&tegra_car TEGRA124_CLK_I2S0>; |
| 481 | resets = <&tegra_car 30>; |
| 482 | reset-names = "i2s"; |
| 483 | status = "disabled"; |
| 484 | }; |
| 485 | |
| 486 | tegra_i2s1: i2s@70301100 { |
| 487 | compatible = "nvidia,tegra124-i2s"; |
| 488 | reg = <0x70301100 0x100>; |
| 489 | nvidia,ahub-cif-ids = <5 5>; |
| 490 | clocks = <&tegra_car TEGRA124_CLK_I2S1>; |
| 491 | resets = <&tegra_car 11>; |
| 492 | reset-names = "i2s"; |
| 493 | status = "disabled"; |
| 494 | }; |
| 495 | |
| 496 | tegra_i2s2: i2s@70301200 { |
| 497 | compatible = "nvidia,tegra124-i2s"; |
| 498 | reg = <0x70301200 0x100>; |
| 499 | nvidia,ahub-cif-ids = <6 6>; |
| 500 | clocks = <&tegra_car TEGRA124_CLK_I2S2>; |
| 501 | resets = <&tegra_car 18>; |
| 502 | reset-names = "i2s"; |
| 503 | status = "disabled"; |
| 504 | }; |
| 505 | |
| 506 | tegra_i2s3: i2s@70301300 { |
| 507 | compatible = "nvidia,tegra124-i2s"; |
| 508 | reg = <0x70301300 0x100>; |
| 509 | nvidia,ahub-cif-ids = <7 7>; |
| 510 | clocks = <&tegra_car TEGRA124_CLK_I2S3>; |
| 511 | resets = <&tegra_car 101>; |
| 512 | reset-names = "i2s"; |
| 513 | status = "disabled"; |
| 514 | }; |
| 515 | |
| 516 | tegra_i2s4: i2s@70301400 { |
| 517 | compatible = "nvidia,tegra124-i2s"; |
| 518 | reg = <0x70301400 0x100>; |
| 519 | nvidia,ahub-cif-ids = <8 8>; |
| 520 | clocks = <&tegra_car TEGRA124_CLK_I2S4>; |
| 521 | resets = <&tegra_car 102>; |
| 522 | reset-names = "i2s"; |
| 523 | status = "disabled"; |
| 524 | }; |
| 525 | }; |
| 526 | |
Joseph Lo | ad03b1a | 2013-10-08 12:50:05 +0800 | [diff] [blame] | 527 | cpus { |
| 528 | #address-cells = <1>; |
| 529 | #size-cells = <0>; |
| 530 | |
| 531 | cpu@0 { |
| 532 | device_type = "cpu"; |
| 533 | compatible = "arm,cortex-a15"; |
| 534 | reg = <0>; |
| 535 | }; |
| 536 | |
| 537 | cpu@1 { |
| 538 | device_type = "cpu"; |
| 539 | compatible = "arm,cortex-a15"; |
| 540 | reg = <1>; |
| 541 | }; |
| 542 | |
| 543 | cpu@2 { |
| 544 | device_type = "cpu"; |
| 545 | compatible = "arm,cortex-a15"; |
| 546 | reg = <2>; |
| 547 | }; |
| 548 | |
| 549 | cpu@3 { |
| 550 | device_type = "cpu"; |
| 551 | compatible = "arm,cortex-a15"; |
| 552 | reg = <3>; |
| 553 | }; |
| 554 | }; |
| 555 | |
| 556 | timer { |
| 557 | compatible = "arm,armv7-timer"; |
| 558 | interrupts = <GIC_PPI 13 |
| 559 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 560 | <GIC_PPI 14 |
| 561 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 562 | <GIC_PPI 11 |
| 563 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 564 | <GIC_PPI 10 |
| 565 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; |
| 566 | }; |
| 567 | }; |