Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 1 | /include/ "skeleton.dtsi" |
| 2 | |
| 3 | / { |
| 4 | compatible = "nvidia,tegra114"; |
| 5 | interrupt-parent = <&gic>; |
| 6 | |
Laxman Dewangan | 0fb2209 | 2013-03-14 01:19:52 +0530 | [diff] [blame^] | 7 | aliases { |
| 8 | serial0 = &uarta; |
| 9 | serial1 = &uartb; |
| 10 | serial2 = &uartc; |
| 11 | serial3 = &uartd; |
| 12 | }; |
| 13 | |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 14 | gic: interrupt-controller { |
| 15 | compatible = "arm,cortex-a15-gic"; |
| 16 | #interrupt-cells = <3>; |
| 17 | interrupt-controller; |
| 18 | reg = <0x50041000 0x1000>, |
| 19 | <0x50042000 0x1000>, |
| 20 | <0x50044000 0x2000>, |
| 21 | <0x50046000 0x2000>; |
| 22 | interrupts = <1 9 0xf04>; |
| 23 | }; |
| 24 | |
| 25 | timer@60005000 { |
| 26 | compatible = "nvidia,tegra114-timer", "nvidia,tegra20-timer"; |
| 27 | reg = <0x60005000 0x400>; |
| 28 | interrupts = <0 0 0x04 |
| 29 | 0 1 0x04 |
| 30 | 0 41 0x04 |
| 31 | 0 42 0x04 |
| 32 | 0 121 0x04 |
| 33 | 0 122 0x04>; |
Peter De Schrijver | 672d889 | 2013-04-03 17:40:48 +0300 | [diff] [blame] | 34 | clocks = <&tegra_car 5>; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 35 | }; |
| 36 | |
| 37 | tegra_car: clock { |
Peter De Schrijver | 672d889 | 2013-04-03 17:40:48 +0300 | [diff] [blame] | 38 | compatible = "nvidia,tegra114-car"; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 39 | reg = <0x60006000 0x1000>; |
| 40 | #clock-cells = <1>; |
| 41 | }; |
| 42 | |
Laxman Dewangan | c5d9da4 | 2013-03-14 01:19:50 +0530 | [diff] [blame] | 43 | apbdma: dma { |
| 44 | compatible = "nvidia,tegra114-apbdma"; |
| 45 | reg = <0x6000a000 0x1400>; |
| 46 | interrupts = <0 104 0x04 |
| 47 | 0 105 0x04 |
| 48 | 0 106 0x04 |
| 49 | 0 107 0x04 |
| 50 | 0 108 0x04 |
| 51 | 0 109 0x04 |
| 52 | 0 110 0x04 |
| 53 | 0 111 0x04 |
| 54 | 0 112 0x04 |
| 55 | 0 113 0x04 |
| 56 | 0 114 0x04 |
| 57 | 0 115 0x04 |
| 58 | 0 116 0x04 |
| 59 | 0 117 0x04 |
| 60 | 0 118 0x04 |
| 61 | 0 119 0x04 |
| 62 | 0 128 0x04 |
| 63 | 0 129 0x04 |
| 64 | 0 130 0x04 |
| 65 | 0 131 0x04 |
| 66 | 0 132 0x04 |
| 67 | 0 133 0x04 |
| 68 | 0 134 0x04 |
| 69 | 0 135 0x04 |
| 70 | 0 136 0x04 |
| 71 | 0 137 0x04 |
| 72 | 0 138 0x04 |
| 73 | 0 139 0x04 |
| 74 | 0 140 0x04 |
| 75 | 0 141 0x04 |
| 76 | 0 142 0x04 |
| 77 | 0 143 0x04>; |
| 78 | clocks = <&tegra_car 34>; |
| 79 | }; |
| 80 | |
Hiroshi Doyu | 0dfe42e | 2013-01-15 10:17:27 +0200 | [diff] [blame] | 81 | ahb: ahb { |
| 82 | compatible = "nvidia,tegra114-ahb", "nvidia,tegra30-ahb"; |
| 83 | reg = <0x6000c004 0x14c>; |
| 84 | }; |
| 85 | |
Laxman Dewangan | b16f918 | 2013-01-29 18:26:18 +0530 | [diff] [blame] | 86 | gpio: gpio { |
| 87 | compatible = "nvidia,tegra114-gpio", "nvidia,tegra30-gpio"; |
| 88 | reg = <0x6000d000 0x1000>; |
| 89 | interrupts = <0 32 0x04 |
| 90 | 0 33 0x04 |
| 91 | 0 34 0x04 |
| 92 | 0 35 0x04 |
| 93 | 0 55 0x04 |
| 94 | 0 87 0x04 |
| 95 | 0 89 0x04 |
| 96 | 0 125 0x04>; |
| 97 | #gpio-cells = <2>; |
| 98 | gpio-controller; |
| 99 | #interrupt-cells = <2>; |
| 100 | interrupt-controller; |
| 101 | }; |
| 102 | |
Laxman Dewangan | 031b77a | 2013-01-29 18:26:20 +0530 | [diff] [blame] | 103 | pinmux: pinmux { |
| 104 | compatible = "nvidia,tegra114-pinmux"; |
| 105 | reg = <0x70000868 0x148 /* Pad control registers */ |
| 106 | 0x70003000 0x40c>; /* Mux registers */ |
| 107 | }; |
| 108 | |
Laxman Dewangan | 0fb2209 | 2013-03-14 01:19:52 +0530 | [diff] [blame^] | 109 | /* |
| 110 | * There are two serial driver i.e. 8250 based simple serial |
| 111 | * driver and APB DMA based serial driver for higher baudrate |
| 112 | * and performace. To enable the 8250 based driver, the compatible |
| 113 | * is "nvidia,tegra114-uart", "nvidia,tegra20-uart" and to enable |
| 114 | * the APB DMA based serial driver, the comptible is |
| 115 | * "nvidia,tegra114-hsuart", "nvidia,tegra30-hsuart". |
| 116 | */ |
| 117 | uarta: serial@70006000 { |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 118 | compatible = "nvidia,tegra114-uart", "nvidia,tegra20-uart"; |
| 119 | reg = <0x70006000 0x40>; |
| 120 | reg-shift = <2>; |
| 121 | interrupts = <0 36 0x04>; |
Laxman Dewangan | 0fb2209 | 2013-03-14 01:19:52 +0530 | [diff] [blame^] | 122 | nvidia,dma-request-selector = <&apbdma 8>; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 123 | status = "disabled"; |
Peter De Schrijver | 672d889 | 2013-04-03 17:40:48 +0300 | [diff] [blame] | 124 | clocks = <&tegra_car 6>; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 125 | }; |
| 126 | |
Laxman Dewangan | 0fb2209 | 2013-03-14 01:19:52 +0530 | [diff] [blame^] | 127 | uartb: serial@70006040 { |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 128 | compatible = "nvidia,tegra114-uart", "nvidia,tegra20-uart"; |
| 129 | reg = <0x70006040 0x40>; |
| 130 | reg-shift = <2>; |
| 131 | interrupts = <0 37 0x04>; |
Laxman Dewangan | 0fb2209 | 2013-03-14 01:19:52 +0530 | [diff] [blame^] | 132 | nvidia,dma-request-selector = <&apbdma 9>; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 133 | status = "disabled"; |
Peter De Schrijver | 672d889 | 2013-04-03 17:40:48 +0300 | [diff] [blame] | 134 | clocks = <&tegra_car 192>; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 135 | }; |
| 136 | |
Laxman Dewangan | 0fb2209 | 2013-03-14 01:19:52 +0530 | [diff] [blame^] | 137 | uartc: serial@70006200 { |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 138 | compatible = "nvidia,tegra114-uart", "nvidia,tegra20-uart"; |
| 139 | reg = <0x70006200 0x100>; |
| 140 | reg-shift = <2>; |
| 141 | interrupts = <0 46 0x04>; |
Laxman Dewangan | 0fb2209 | 2013-03-14 01:19:52 +0530 | [diff] [blame^] | 142 | nvidia,dma-request-selector = <&apbdma 10>; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 143 | status = "disabled"; |
Peter De Schrijver | 672d889 | 2013-04-03 17:40:48 +0300 | [diff] [blame] | 144 | clocks = <&tegra_car 55>; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 145 | }; |
| 146 | |
Laxman Dewangan | 0fb2209 | 2013-03-14 01:19:52 +0530 | [diff] [blame^] | 147 | uartd: serial@70006300 { |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 148 | compatible = "nvidia,tegra114-uart", "nvidia,tegra20-uart"; |
| 149 | reg = <0x70006300 0x100>; |
| 150 | reg-shift = <2>; |
| 151 | interrupts = <0 90 0x04>; |
Laxman Dewangan | 0fb2209 | 2013-03-14 01:19:52 +0530 | [diff] [blame^] | 152 | nvidia,dma-request-selector = <&apbdma 19>; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 153 | status = "disabled"; |
Peter De Schrijver | 672d889 | 2013-04-03 17:40:48 +0300 | [diff] [blame] | 154 | clocks = <&tegra_car 65>; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 155 | }; |
| 156 | |
Andrew Chew | 6c716db | 2013-03-12 16:40:50 -0700 | [diff] [blame] | 157 | pwm: pwm { |
| 158 | compatible = "nvidia,tegra114-pwm", "nvidia,tegra20-pwm"; |
| 159 | reg = <0x7000a000 0x100>; |
| 160 | #pwm-cells = <2>; |
| 161 | clocks = <&tegra_car 17>; |
| 162 | status = "disabled"; |
| 163 | }; |
| 164 | |
Laxman Dewangan | 3fc2f94 | 2013-03-14 01:19:51 +0530 | [diff] [blame] | 165 | i2c@7000c000 { |
| 166 | compatible = "nvidia,tegra114-i2c"; |
| 167 | reg = <0x7000c000 0x100>; |
| 168 | interrupts = <0 38 0x04>; |
| 169 | #address-cells = <1>; |
| 170 | #size-cells = <0>; |
| 171 | clocks = <&tegra_car 12>; |
| 172 | clock-names = "div-clk"; |
| 173 | status = "disabled"; |
| 174 | }; |
| 175 | |
| 176 | i2c@7000c400 { |
| 177 | compatible = "nvidia,tegra114-i2c"; |
| 178 | reg = <0x7000c400 0x100>; |
| 179 | interrupts = <0 84 0x04>; |
| 180 | #address-cells = <1>; |
| 181 | #size-cells = <0>; |
| 182 | clocks = <&tegra_car 54>; |
| 183 | clock-names = "div-clk"; |
| 184 | status = "disabled"; |
| 185 | }; |
| 186 | |
| 187 | i2c@7000c500 { |
| 188 | compatible = "nvidia,tegra114-i2c"; |
| 189 | reg = <0x7000c500 0x100>; |
| 190 | interrupts = <0 92 0x04>; |
| 191 | #address-cells = <1>; |
| 192 | #size-cells = <0>; |
| 193 | clocks = <&tegra_car 67>; |
| 194 | clock-names = "div-clk"; |
| 195 | status = "disabled"; |
| 196 | }; |
| 197 | |
| 198 | i2c@7000c700 { |
| 199 | compatible = "nvidia,tegra114-i2c"; |
| 200 | reg = <0x7000c700 0x100>; |
| 201 | interrupts = <0 120 0x04>; |
| 202 | #address-cells = <1>; |
| 203 | #size-cells = <0>; |
| 204 | clocks = <&tegra_car 103>; |
| 205 | clock-names = "div-clk"; |
| 206 | status = "disabled"; |
| 207 | }; |
| 208 | |
| 209 | i2c@7000d000 { |
| 210 | compatible = "nvidia,tegra114-i2c"; |
| 211 | reg = <0x7000d000 0x100>; |
| 212 | interrupts = <0 53 0x04>; |
| 213 | #address-cells = <1>; |
| 214 | #size-cells = <0>; |
| 215 | clocks = <&tegra_car 47>; |
| 216 | clock-names = "div-clk"; |
| 217 | status = "disabled"; |
| 218 | }; |
| 219 | |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 220 | rtc { |
| 221 | compatible = "nvidia,tegra114-rtc", "nvidia,tegra20-rtc"; |
| 222 | reg = <0x7000e000 0x100>; |
| 223 | interrupts = <0 2 0x04>; |
Peter De Schrijver | 672d889 | 2013-04-03 17:40:48 +0300 | [diff] [blame] | 224 | clocks = <&tegra_car 4>; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 225 | }; |
| 226 | |
| 227 | pmc { |
Joseph Lo | 2b84e53 | 2013-02-26 16:27:43 +0000 | [diff] [blame] | 228 | compatible = "nvidia,tegra114-pmc"; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 229 | reg = <0x7000e400 0x400>; |
Joseph Lo | 7021d12 | 2013-04-03 19:31:27 +0800 | [diff] [blame] | 230 | clocks = <&tegra_car 261>, <&clk32k_in>; |
| 231 | clock-names = "pclk", "clk32k_in"; |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 232 | }; |
| 233 | |
Hiroshi Doyu | 2da1396 | 2013-01-15 10:17:28 +0200 | [diff] [blame] | 234 | iommu { |
| 235 | compatible = "nvidia,tegra114-smmu", "nvidia,tegra30-smmu"; |
| 236 | reg = <0x7000f010 0x02c |
| 237 | 0x7000f1f0 0x010 |
| 238 | 0x7000f228 0x074>; |
| 239 | nvidia,#asids = <4>; |
| 240 | dma-window = <0 0x40000000>; |
| 241 | nvidia,swgroups = <0x18659fe>; |
| 242 | nvidia,ahb = <&ahb>; |
| 243 | }; |
| 244 | |
Pritesh Raithatha | 933d87a | 2013-02-20 13:35:14 -0500 | [diff] [blame] | 245 | sdhci@78000000 { |
| 246 | compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; |
| 247 | reg = <0x78000000 0x200>; |
| 248 | interrupts = <0 14 0x04>; |
| 249 | clocks = <&tegra_car 14>; |
| 250 | status = "disable"; |
| 251 | }; |
| 252 | |
| 253 | sdhci@78000200 { |
| 254 | compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; |
| 255 | reg = <0x78000200 0x200>; |
| 256 | interrupts = <0 15 0x04>; |
| 257 | clocks = <&tegra_car 9>; |
| 258 | status = "disable"; |
| 259 | }; |
| 260 | |
| 261 | sdhci@78000400 { |
| 262 | compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; |
| 263 | reg = <0x78000400 0x200>; |
| 264 | interrupts = <0 19 0x04>; |
| 265 | clocks = <&tegra_car 69>; |
| 266 | status = "disable"; |
| 267 | }; |
| 268 | |
| 269 | sdhci@78000600 { |
| 270 | compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; |
| 271 | reg = <0x78000600 0x200>; |
| 272 | interrupts = <0 31 0x04>; |
| 273 | clocks = <&tegra_car 15>; |
| 274 | status = "disable"; |
| 275 | }; |
| 276 | |
Hiroshi Doyu | 18a4df7 | 2013-01-24 01:10:23 +0000 | [diff] [blame] | 277 | cpus { |
| 278 | #address-cells = <1>; |
| 279 | #size-cells = <0>; |
| 280 | |
| 281 | cpu@0 { |
| 282 | device_type = "cpu"; |
| 283 | compatible = "arm,cortex-a15"; |
| 284 | reg = <0>; |
| 285 | }; |
| 286 | |
| 287 | cpu@1 { |
| 288 | device_type = "cpu"; |
| 289 | compatible = "arm,cortex-a15"; |
| 290 | reg = <1>; |
| 291 | }; |
| 292 | |
| 293 | cpu@2 { |
| 294 | device_type = "cpu"; |
| 295 | compatible = "arm,cortex-a15"; |
| 296 | reg = <2>; |
| 297 | }; |
| 298 | |
| 299 | cpu@3 { |
| 300 | device_type = "cpu"; |
| 301 | compatible = "arm,cortex-a15"; |
| 302 | reg = <3>; |
| 303 | }; |
| 304 | }; |
| 305 | |
| 306 | timer { |
| 307 | compatible = "arm,armv7-timer"; |
| 308 | interrupts = <1 13 0xf08>, |
| 309 | <1 14 0xf08>, |
| 310 | <1 11 0xf08>, |
| 311 | <1 10 0xf08>; |
| 312 | }; |
| 313 | }; |