Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 1 | #include <dt-bindings/clock/tegra20-car.h> |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame] | 2 | #include <dt-bindings/gpio/tegra-gpio.h> |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 3 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Stephen Warren | 3325f1b | 2013-02-12 17:25:15 -0700 | [diff] [blame] | 4 | |
Stephen Warren | 1bd0bd4 | 2012-10-17 16:38:21 -0600 | [diff] [blame] | 5 | #include "skeleton.dtsi" |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 6 | |
| 7 | / { |
| 8 | compatible = "nvidia,tegra20"; |
| 9 | interrupt-parent = <&intc>; |
| 10 | |
Laxman Dewangan | b6551bb | 2012-12-19 12:01:11 +0530 | [diff] [blame] | 11 | aliases { |
| 12 | serial0 = &uarta; |
| 13 | serial1 = &uartb; |
| 14 | serial2 = &uartc; |
| 15 | serial3 = &uartd; |
| 16 | serial4 = &uarte; |
| 17 | }; |
| 18 | |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 19 | host1x { |
| 20 | compatible = "nvidia,tegra20-host1x", "simple-bus"; |
| 21 | reg = <0x50000000 0x00024000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 22 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */ |
| 23 | <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */ |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 24 | clocks = <&tegra_car TEGRA20_CLK_HOST1X>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 25 | resets = <&tegra_car 28>; |
| 26 | reset-names = "host1x"; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 27 | |
| 28 | #address-cells = <1>; |
| 29 | #size-cells = <1>; |
| 30 | |
| 31 | ranges = <0x54000000 0x54000000 0x04000000>; |
| 32 | |
| 33 | mpe { |
| 34 | compatible = "nvidia,tegra20-mpe"; |
| 35 | reg = <0x54040000 0x00040000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 36 | interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 37 | clocks = <&tegra_car TEGRA20_CLK_MPE>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 38 | resets = <&tegra_car 60>; |
| 39 | reset-names = "mpe"; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | vi { |
| 43 | compatible = "nvidia,tegra20-vi"; |
| 44 | reg = <0x54080000 0x00040000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 45 | interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 46 | clocks = <&tegra_car TEGRA20_CLK_VI>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 47 | resets = <&tegra_car 20>; |
| 48 | reset-names = "vi"; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 49 | }; |
| 50 | |
| 51 | epp { |
| 52 | compatible = "nvidia,tegra20-epp"; |
| 53 | reg = <0x540c0000 0x00040000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 54 | interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 55 | clocks = <&tegra_car TEGRA20_CLK_EPP>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 56 | resets = <&tegra_car 19>; |
| 57 | reset-names = "epp"; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 58 | }; |
| 59 | |
| 60 | isp { |
| 61 | compatible = "nvidia,tegra20-isp"; |
| 62 | reg = <0x54100000 0x00040000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 63 | interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 64 | clocks = <&tegra_car TEGRA20_CLK_ISP>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 65 | resets = <&tegra_car 23>; |
| 66 | reset-names = "isp"; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 67 | }; |
| 68 | |
| 69 | gr2d { |
| 70 | compatible = "nvidia,tegra20-gr2d"; |
| 71 | reg = <0x54140000 0x00040000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 72 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 73 | clocks = <&tegra_car TEGRA20_CLK_GR2D>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 74 | resets = <&tegra_car 21>; |
| 75 | reset-names = "2d"; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 76 | }; |
| 77 | |
| 78 | gr3d { |
| 79 | compatible = "nvidia,tegra20-gr3d"; |
| 80 | reg = <0x54180000 0x00040000>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 81 | clocks = <&tegra_car TEGRA20_CLK_GR3D>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 82 | resets = <&tegra_car 24>; |
| 83 | reset-names = "3d"; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 84 | }; |
| 85 | |
| 86 | dc@54200000 { |
| 87 | compatible = "nvidia,tegra20-dc"; |
| 88 | reg = <0x54200000 0x00040000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 89 | interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 90 | clocks = <&tegra_car TEGRA20_CLK_DISP1>, |
| 91 | <&tegra_car TEGRA20_CLK_PLL_P>; |
Stephen Warren | d8f6479 | 2013-11-06 14:00:25 -0700 | [diff] [blame] | 92 | clock-names = "dc", "parent"; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 93 | resets = <&tegra_car 27>; |
| 94 | reset-names = "dc"; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 95 | |
| 96 | rgb { |
| 97 | status = "disabled"; |
| 98 | }; |
| 99 | }; |
| 100 | |
| 101 | dc@54240000 { |
| 102 | compatible = "nvidia,tegra20-dc"; |
| 103 | reg = <0x54240000 0x00040000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 104 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 105 | clocks = <&tegra_car TEGRA20_CLK_DISP2>, |
| 106 | <&tegra_car TEGRA20_CLK_PLL_P>; |
Stephen Warren | d8f6479 | 2013-11-06 14:00:25 -0700 | [diff] [blame] | 107 | clock-names = "dc", "parent"; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 108 | resets = <&tegra_car 26>; |
| 109 | reset-names = "dc"; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 110 | |
| 111 | rgb { |
| 112 | status = "disabled"; |
| 113 | }; |
| 114 | }; |
| 115 | |
| 116 | hdmi { |
| 117 | compatible = "nvidia,tegra20-hdmi"; |
| 118 | reg = <0x54280000 0x00040000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 119 | interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 120 | clocks = <&tegra_car TEGRA20_CLK_HDMI>, |
| 121 | <&tegra_car TEGRA20_CLK_PLL_D_OUT0>; |
Prashant Gaikwad | 8d8b43d | 2013-01-11 13:31:21 +0530 | [diff] [blame] | 122 | clock-names = "hdmi", "parent"; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 123 | resets = <&tegra_car 51>; |
| 124 | reset-names = "hdmi"; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 125 | status = "disabled"; |
| 126 | }; |
| 127 | |
| 128 | tvo { |
| 129 | compatible = "nvidia,tegra20-tvo"; |
| 130 | reg = <0x542c0000 0x00040000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 131 | interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 132 | clocks = <&tegra_car TEGRA20_CLK_TVO>; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 133 | status = "disabled"; |
| 134 | }; |
| 135 | |
| 136 | dsi { |
| 137 | compatible = "nvidia,tegra20-dsi"; |
| 138 | reg = <0x54300000 0x00040000>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 139 | clocks = <&tegra_car TEGRA20_CLK_DSI>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 140 | resets = <&tegra_car 48>; |
| 141 | reset-names = "dsi"; |
Thierry Reding | ed821f0 | 2012-11-15 22:07:54 +0100 | [diff] [blame] | 142 | status = "disabled"; |
| 143 | }; |
| 144 | }; |
| 145 | |
Stephen Warren | 73368ba | 2012-09-19 14:17:24 -0600 | [diff] [blame] | 146 | timer@50004600 { |
| 147 | compatible = "arm,cortex-a9-twd-timer"; |
| 148 | reg = <0x50040600 0x20>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 149 | interrupts = <GIC_PPI 13 |
| 150 | (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 151 | clocks = <&tegra_car TEGRA20_CLK_TWD>; |
Stephen Warren | 73368ba | 2012-09-19 14:17:24 -0600 | [diff] [blame] | 152 | }; |
| 153 | |
Stephen Warren | f9eb26a | 2012-05-11 16:17:47 -0600 | [diff] [blame] | 154 | intc: interrupt-controller { |
pdeschrijver@nvidia.com | 0d4f747 | 2011-11-29 18:29:19 -0700 | [diff] [blame] | 155 | compatible = "arm,cortex-a9-gic"; |
Stephen Warren | 5ff4888 | 2012-05-11 16:26:03 -0600 | [diff] [blame] | 156 | reg = <0x50041000 0x1000 |
| 157 | 0x50040100 0x0100>; |
Stephen Warren | 2eaab06 | 2012-05-11 17:12:52 -0600 | [diff] [blame] | 158 | interrupt-controller; |
| 159 | #interrupt-cells = <3>; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 160 | }; |
| 161 | |
Stephen Warren | bb2c1de | 2013-01-14 10:09:16 -0700 | [diff] [blame] | 162 | cache-controller { |
| 163 | compatible = "arm,pl310-cache"; |
| 164 | reg = <0x50043000 0x1000>; |
| 165 | arm,data-latency = <5 5 2>; |
| 166 | arm,tag-latency = <4 4 2>; |
| 167 | cache-unified; |
| 168 | cache-level = <2>; |
| 169 | }; |
| 170 | |
Stephen Warren | 2f2b7fb | 2012-09-19 12:02:31 -0600 | [diff] [blame] | 171 | timer@60005000 { |
| 172 | compatible = "nvidia,tegra20-timer"; |
| 173 | reg = <0x60005000 0x60>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 174 | interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, |
| 175 | <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, |
| 176 | <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, |
| 177 | <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 178 | clocks = <&tegra_car TEGRA20_CLK_TIMER>; |
Stephen Warren | 2f2b7fb | 2012-09-19 12:02:31 -0600 | [diff] [blame] | 179 | }; |
| 180 | |
Stephen Warren | 270f8ce | 2013-01-11 13:16:22 +0530 | [diff] [blame] | 181 | tegra_car: clock { |
| 182 | compatible = "nvidia,tegra20-car"; |
| 183 | reg = <0x60006000 0x1000>; |
| 184 | #clock-cells = <1>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 185 | #reset-cells = <1>; |
Stephen Warren | 270f8ce | 2013-01-11 13:16:22 +0530 | [diff] [blame] | 186 | }; |
| 187 | |
Stephen Warren | f9eb26a | 2012-05-11 16:17:47 -0600 | [diff] [blame] | 188 | apbdma: dma { |
Stephen Warren | 8051b75 | 2012-01-11 16:09:54 -0700 | [diff] [blame] | 189 | compatible = "nvidia,tegra20-apbdma"; |
| 190 | reg = <0x6000a000 0x1200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 191 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, |
| 192 | <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, |
| 193 | <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, |
| 194 | <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, |
| 195 | <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, |
| 196 | <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, |
| 197 | <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, |
| 198 | <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, |
| 199 | <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, |
| 200 | <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, |
| 201 | <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, |
| 202 | <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, |
| 203 | <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, |
| 204 | <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, |
| 205 | <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, |
| 206 | <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 207 | clocks = <&tegra_car TEGRA20_CLK_APBDMA>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 208 | resets = <&tegra_car 34>; |
| 209 | reset-names = "dma"; |
Stephen Warren | 8051b75 | 2012-01-11 16:09:54 -0700 | [diff] [blame] | 210 | }; |
| 211 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 212 | ahb { |
| 213 | compatible = "nvidia,tegra20-ahb"; |
| 214 | reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */ |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 215 | }; |
| 216 | |
Stephen Warren | f9eb26a | 2012-05-11 16:17:47 -0600 | [diff] [blame] | 217 | gpio: gpio { |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 218 | compatible = "nvidia,tegra20-gpio"; |
Stephen Warren | 95decf8 | 2012-05-11 16:11:38 -0600 | [diff] [blame] | 219 | reg = <0x6000d000 0x1000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 220 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, |
| 221 | <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, |
| 222 | <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>, |
| 223 | <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, |
| 224 | <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, |
| 225 | <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>, |
| 226 | <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 227 | #gpio-cells = <2>; |
| 228 | gpio-controller; |
Stephen Warren | 6f74dc9 | 2012-01-04 08:39:37 +0000 | [diff] [blame] | 229 | #interrupt-cells = <2>; |
| 230 | interrupt-controller; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 231 | }; |
| 232 | |
Stephen Warren | f9eb26a | 2012-05-11 16:17:47 -0600 | [diff] [blame] | 233 | pinmux: pinmux { |
Stephen Warren | f62f548 | 2011-10-11 16:16:13 -0600 | [diff] [blame] | 234 | compatible = "nvidia,tegra20-pinmux"; |
Stephen Warren | 95decf8 | 2012-05-11 16:11:38 -0600 | [diff] [blame] | 235 | reg = <0x70000014 0x10 /* Tri-state registers */ |
| 236 | 0x70000080 0x20 /* Mux registers */ |
| 237 | 0x700000a0 0x14 /* Pull-up/down registers */ |
| 238 | 0x70000868 0xa8>; /* Pad control registers */ |
Stephen Warren | f62f548 | 2011-10-11 16:16:13 -0600 | [diff] [blame] | 239 | }; |
| 240 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 241 | das { |
| 242 | compatible = "nvidia,tegra20-das"; |
| 243 | reg = <0x70000c00 0x80>; |
| 244 | }; |
Stephen Warren | fc5c306 | 2013-03-06 11:28:32 -0700 | [diff] [blame] | 245 | |
Lucas Stach | 0698ed1 | 2013-01-05 02:18:44 +0100 | [diff] [blame] | 246 | tegra_ac97: ac97 { |
| 247 | compatible = "nvidia,tegra20-ac97"; |
| 248 | reg = <0x70002000 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 249 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; |
Lucas Stach | 0698ed1 | 2013-01-05 02:18:44 +0100 | [diff] [blame] | 250 | nvidia,dma-request-selector = <&apbdma 12>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 251 | clocks = <&tegra_car TEGRA20_CLK_AC97>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 252 | resets = <&tegra_car 3>; |
| 253 | reset-names = "ac97"; |
Lucas Stach | 0698ed1 | 2013-01-05 02:18:44 +0100 | [diff] [blame] | 254 | status = "disabled"; |
| 255 | }; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 256 | |
| 257 | tegra_i2s1: i2s@70002800 { |
| 258 | compatible = "nvidia,tegra20-i2s"; |
| 259 | reg = <0x70002800 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 260 | interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 261 | nvidia,dma-request-selector = <&apbdma 2>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 262 | clocks = <&tegra_car TEGRA20_CLK_I2S1>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 263 | resets = <&tegra_car 11>; |
| 264 | reset-names = "i2s"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 265 | status = "disabled"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 266 | }; |
| 267 | |
| 268 | tegra_i2s2: i2s@70002a00 { |
| 269 | compatible = "nvidia,tegra20-i2s"; |
| 270 | reg = <0x70002a00 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 271 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 272 | nvidia,dma-request-selector = <&apbdma 1>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 273 | clocks = <&tegra_car TEGRA20_CLK_I2S2>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 274 | resets = <&tegra_car 18>; |
| 275 | reset-names = "i2s"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 276 | status = "disabled"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 277 | }; |
| 278 | |
Laxman Dewangan | b6551bb | 2012-12-19 12:01:11 +0530 | [diff] [blame] | 279 | /* |
| 280 | * There are two serial driver i.e. 8250 based simple serial |
| 281 | * driver and APB DMA based serial driver for higher baudrate |
| 282 | * and performace. To enable the 8250 based driver, the compatible |
| 283 | * is "nvidia,tegra20-uart" and to enable the APB DMA based serial |
| 284 | * driver, the comptible is "nvidia,tegra20-hsuart". |
| 285 | */ |
| 286 | uarta: serial@70006000 { |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 287 | compatible = "nvidia,tegra20-uart"; |
| 288 | reg = <0x70006000 0x40>; |
| 289 | reg-shift = <2>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 290 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
Laxman Dewangan | b6551bb | 2012-12-19 12:01:11 +0530 | [diff] [blame] | 291 | nvidia,dma-request-selector = <&apbdma 8>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 292 | clocks = <&tegra_car TEGRA20_CLK_UARTA>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 293 | resets = <&tegra_car 6>; |
| 294 | reset-names = "serial"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 295 | status = "disabled"; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 296 | }; |
| 297 | |
Laxman Dewangan | b6551bb | 2012-12-19 12:01:11 +0530 | [diff] [blame] | 298 | uartb: serial@70006040 { |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 299 | compatible = "nvidia,tegra20-uart"; |
| 300 | reg = <0x70006040 0x40>; |
| 301 | reg-shift = <2>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 302 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
Laxman Dewangan | b6551bb | 2012-12-19 12:01:11 +0530 | [diff] [blame] | 303 | nvidia,dma-request-selector = <&apbdma 9>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 304 | clocks = <&tegra_car TEGRA20_CLK_UARTB>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 305 | resets = <&tegra_car 7>; |
| 306 | reset-names = "serial"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 307 | status = "disabled"; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 308 | }; |
| 309 | |
Laxman Dewangan | b6551bb | 2012-12-19 12:01:11 +0530 | [diff] [blame] | 310 | uartc: serial@70006200 { |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 311 | compatible = "nvidia,tegra20-uart"; |
| 312 | reg = <0x70006200 0x100>; |
| 313 | reg-shift = <2>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 314 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
Laxman Dewangan | b6551bb | 2012-12-19 12:01:11 +0530 | [diff] [blame] | 315 | nvidia,dma-request-selector = <&apbdma 10>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 316 | clocks = <&tegra_car TEGRA20_CLK_UARTC>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 317 | resets = <&tegra_car 55>; |
| 318 | reset-names = "serial"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 319 | status = "disabled"; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 320 | }; |
| 321 | |
Laxman Dewangan | b6551bb | 2012-12-19 12:01:11 +0530 | [diff] [blame] | 322 | uartd: serial@70006300 { |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 323 | compatible = "nvidia,tegra20-uart"; |
| 324 | reg = <0x70006300 0x100>; |
| 325 | reg-shift = <2>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 326 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; |
Laxman Dewangan | b6551bb | 2012-12-19 12:01:11 +0530 | [diff] [blame] | 327 | nvidia,dma-request-selector = <&apbdma 19>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 328 | clocks = <&tegra_car TEGRA20_CLK_UARTD>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 329 | resets = <&tegra_car 65>; |
| 330 | reset-names = "serial"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 331 | status = "disabled"; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 332 | }; |
| 333 | |
Laxman Dewangan | b6551bb | 2012-12-19 12:01:11 +0530 | [diff] [blame] | 334 | uarte: serial@70006400 { |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 335 | compatible = "nvidia,tegra20-uart"; |
| 336 | reg = <0x70006400 0x100>; |
| 337 | reg-shift = <2>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 338 | interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; |
Laxman Dewangan | b6551bb | 2012-12-19 12:01:11 +0530 | [diff] [blame] | 339 | nvidia,dma-request-selector = <&apbdma 20>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 340 | clocks = <&tegra_car TEGRA20_CLK_UARTE>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 341 | resets = <&tegra_car 66>; |
| 342 | reset-names = "serial"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 343 | status = "disabled"; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 344 | }; |
| 345 | |
Thierry Reding | 2b8b15d | 2012-09-20 17:06:05 +0200 | [diff] [blame] | 346 | pwm: pwm { |
Thierry Reding | 140fd97 | 2011-12-21 08:04:13 +0100 | [diff] [blame] | 347 | compatible = "nvidia,tegra20-pwm"; |
| 348 | reg = <0x7000a000 0x100>; |
| 349 | #pwm-cells = <2>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 350 | clocks = <&tegra_car TEGRA20_CLK_PWM>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 351 | resets = <&tegra_car 17>; |
| 352 | reset-names = "pwm"; |
Andrew Chew | b69cd98 | 2013-03-12 16:40:51 -0700 | [diff] [blame] | 353 | status = "disabled"; |
Thierry Reding | 140fd97 | 2011-12-21 08:04:13 +0100 | [diff] [blame] | 354 | }; |
| 355 | |
Stephen Warren | 380e04a | 2012-09-19 12:13:16 -0600 | [diff] [blame] | 356 | rtc { |
| 357 | compatible = "nvidia,tegra20-rtc"; |
| 358 | reg = <0x7000e000 0x100>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 359 | interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 360 | clocks = <&tegra_car TEGRA20_CLK_RTC>; |
Stephen Warren | 380e04a | 2012-09-19 12:13:16 -0600 | [diff] [blame] | 361 | }; |
| 362 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 363 | i2c@7000c000 { |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 364 | compatible = "nvidia,tegra20-i2c"; |
| 365 | reg = <0x7000c000 0x100>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 366 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
Stephen Warren | 2eaab06 | 2012-05-11 17:12:52 -0600 | [diff] [blame] | 367 | #address-cells = <1>; |
| 368 | #size-cells = <0>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 369 | clocks = <&tegra_car TEGRA20_CLK_I2C1>, |
| 370 | <&tegra_car TEGRA20_CLK_PLL_P_OUT3>; |
Prashant Gaikwad | 8d8b43d | 2013-01-11 13:31:21 +0530 | [diff] [blame] | 371 | clock-names = "div-clk", "fast-clk"; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 372 | resets = <&tegra_car 12>; |
| 373 | reset-names = "i2c"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 374 | status = "disabled"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 375 | }; |
| 376 | |
Laxman Dewangan | fa98a11 | 2012-11-13 10:33:39 +0530 | [diff] [blame] | 377 | spi@7000c380 { |
| 378 | compatible = "nvidia,tegra20-sflash"; |
| 379 | reg = <0x7000c380 0x80>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 380 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; |
Laxman Dewangan | fa98a11 | 2012-11-13 10:33:39 +0530 | [diff] [blame] | 381 | nvidia,dma-request-selector = <&apbdma 11>; |
| 382 | #address-cells = <1>; |
| 383 | #size-cells = <0>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 384 | clocks = <&tegra_car TEGRA20_CLK_SPI>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 385 | resets = <&tegra_car 43>; |
| 386 | reset-names = "spi"; |
Laxman Dewangan | fa98a11 | 2012-11-13 10:33:39 +0530 | [diff] [blame] | 387 | status = "disabled"; |
| 388 | }; |
| 389 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 390 | i2c@7000c400 { |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 391 | compatible = "nvidia,tegra20-i2c"; |
| 392 | reg = <0x7000c400 0x100>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 393 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
Stephen Warren | 2eaab06 | 2012-05-11 17:12:52 -0600 | [diff] [blame] | 394 | #address-cells = <1>; |
| 395 | #size-cells = <0>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 396 | clocks = <&tegra_car TEGRA20_CLK_I2C2>, |
| 397 | <&tegra_car TEGRA20_CLK_PLL_P_OUT3>; |
Prashant Gaikwad | 8d8b43d | 2013-01-11 13:31:21 +0530 | [diff] [blame] | 398 | clock-names = "div-clk", "fast-clk"; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 399 | resets = <&tegra_car 54>; |
| 400 | reset-names = "i2c"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 401 | status = "disabled"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 402 | }; |
| 403 | |
| 404 | i2c@7000c500 { |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 405 | compatible = "nvidia,tegra20-i2c"; |
| 406 | reg = <0x7000c500 0x100>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 407 | interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; |
Stephen Warren | 2eaab06 | 2012-05-11 17:12:52 -0600 | [diff] [blame] | 408 | #address-cells = <1>; |
| 409 | #size-cells = <0>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 410 | clocks = <&tegra_car TEGRA20_CLK_I2C3>, |
| 411 | <&tegra_car TEGRA20_CLK_PLL_P_OUT3>; |
Prashant Gaikwad | 8d8b43d | 2013-01-11 13:31:21 +0530 | [diff] [blame] | 412 | clock-names = "div-clk", "fast-clk"; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 413 | resets = <&tegra_car 67>; |
| 414 | reset-names = "i2c"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 415 | status = "disabled"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 416 | }; |
| 417 | |
| 418 | i2c@7000d000 { |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 419 | compatible = "nvidia,tegra20-i2c-dvc"; |
| 420 | reg = <0x7000d000 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 421 | interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; |
Stephen Warren | 2eaab06 | 2012-05-11 17:12:52 -0600 | [diff] [blame] | 422 | #address-cells = <1>; |
| 423 | #size-cells = <0>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 424 | clocks = <&tegra_car TEGRA20_CLK_DVC>, |
| 425 | <&tegra_car TEGRA20_CLK_PLL_P_OUT3>; |
Prashant Gaikwad | 8d8b43d | 2013-01-11 13:31:21 +0530 | [diff] [blame] | 426 | clock-names = "div-clk", "fast-clk"; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 427 | resets = <&tegra_car 47>; |
| 428 | reset-names = "i2c"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 429 | status = "disabled"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 430 | }; |
| 431 | |
Laxman Dewangan | a86b0db | 2012-10-30 12:35:23 +0530 | [diff] [blame] | 432 | spi@7000d400 { |
| 433 | compatible = "nvidia,tegra20-slink"; |
| 434 | reg = <0x7000d400 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 435 | interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; |
Laxman Dewangan | a86b0db | 2012-10-30 12:35:23 +0530 | [diff] [blame] | 436 | nvidia,dma-request-selector = <&apbdma 15>; |
| 437 | #address-cells = <1>; |
| 438 | #size-cells = <0>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 439 | clocks = <&tegra_car TEGRA20_CLK_SBC1>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 440 | resets = <&tegra_car 41>; |
| 441 | reset-names = "spi"; |
Laxman Dewangan | a86b0db | 2012-10-30 12:35:23 +0530 | [diff] [blame] | 442 | status = "disabled"; |
| 443 | }; |
| 444 | |
| 445 | spi@7000d600 { |
| 446 | compatible = "nvidia,tegra20-slink"; |
| 447 | reg = <0x7000d600 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 448 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
Laxman Dewangan | a86b0db | 2012-10-30 12:35:23 +0530 | [diff] [blame] | 449 | nvidia,dma-request-selector = <&apbdma 16>; |
| 450 | #address-cells = <1>; |
| 451 | #size-cells = <0>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 452 | clocks = <&tegra_car TEGRA20_CLK_SBC2>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 453 | resets = <&tegra_car 44>; |
| 454 | reset-names = "spi"; |
Laxman Dewangan | a86b0db | 2012-10-30 12:35:23 +0530 | [diff] [blame] | 455 | status = "disabled"; |
| 456 | }; |
| 457 | |
| 458 | spi@7000d800 { |
| 459 | compatible = "nvidia,tegra20-slink"; |
Laxman Dewangan | 57471c8 | 2013-03-22 12:35:06 -0600 | [diff] [blame] | 460 | reg = <0x7000d800 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 461 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
Laxman Dewangan | a86b0db | 2012-10-30 12:35:23 +0530 | [diff] [blame] | 462 | nvidia,dma-request-selector = <&apbdma 17>; |
| 463 | #address-cells = <1>; |
| 464 | #size-cells = <0>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 465 | clocks = <&tegra_car TEGRA20_CLK_SBC3>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 466 | resets = <&tegra_car 46>; |
| 467 | reset-names = "spi"; |
Laxman Dewangan | a86b0db | 2012-10-30 12:35:23 +0530 | [diff] [blame] | 468 | status = "disabled"; |
| 469 | }; |
| 470 | |
| 471 | spi@7000da00 { |
| 472 | compatible = "nvidia,tegra20-slink"; |
| 473 | reg = <0x7000da00 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 474 | interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; |
Laxman Dewangan | a86b0db | 2012-10-30 12:35:23 +0530 | [diff] [blame] | 475 | nvidia,dma-request-selector = <&apbdma 18>; |
| 476 | #address-cells = <1>; |
| 477 | #size-cells = <0>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 478 | clocks = <&tegra_car TEGRA20_CLK_SBC4>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 479 | resets = <&tegra_car 68>; |
| 480 | reset-names = "spi"; |
Laxman Dewangan | a86b0db | 2012-10-30 12:35:23 +0530 | [diff] [blame] | 481 | status = "disabled"; |
| 482 | }; |
| 483 | |
Laxman Dewangan | 699ed4b | 2013-01-11 19:03:03 +0530 | [diff] [blame] | 484 | kbc { |
| 485 | compatible = "nvidia,tegra20-kbc"; |
| 486 | reg = <0x7000e200 0x100>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 487 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 488 | clocks = <&tegra_car TEGRA20_CLK_KBC>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 489 | resets = <&tegra_car 36>; |
| 490 | reset-names = "kbc"; |
Laxman Dewangan | 699ed4b | 2013-01-11 19:03:03 +0530 | [diff] [blame] | 491 | status = "disabled"; |
| 492 | }; |
| 493 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 494 | pmc { |
| 495 | compatible = "nvidia,tegra20-pmc"; |
| 496 | reg = <0x7000e400 0x400>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 497 | clocks = <&tegra_car TEGRA20_CLK_PCLK>, <&clk32k_in>; |
Joseph Lo | 7021d12 | 2013-04-03 19:31:27 +0800 | [diff] [blame] | 498 | clock-names = "pclk", "clk32k_in"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 499 | }; |
| 500 | |
Stephen Warren | bbfc33b | 2012-10-02 13:10:47 -0600 | [diff] [blame] | 501 | memory-controller@7000f000 { |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 502 | compatible = "nvidia,tegra20-mc"; |
| 503 | reg = <0x7000f000 0x024 |
| 504 | 0x7000f03c 0x3c4>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 505 | interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 506 | }; |
| 507 | |
Hiroshi Doyu | 109269e | 2013-01-29 10:30:30 +0200 | [diff] [blame] | 508 | iommu { |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 509 | compatible = "nvidia,tegra20-gart"; |
| 510 | reg = <0x7000f024 0x00000018 /* controller registers */ |
| 511 | 0x58000000 0x02000000>; /* GART aperture */ |
| 512 | }; |
| 513 | |
Stephen Warren | bbfc33b | 2012-10-02 13:10:47 -0600 | [diff] [blame] | 514 | memory-controller@7000f400 { |
Olof Johansson | 0c6700a | 2011-10-13 02:14:55 -0700 | [diff] [blame] | 515 | compatible = "nvidia,tegra20-emc"; |
| 516 | reg = <0x7000f400 0x200>; |
Stephen Warren | 2eaab06 | 2012-05-11 17:12:52 -0600 | [diff] [blame] | 517 | #address-cells = <1>; |
| 518 | #size-cells = <0>; |
Olof Johansson | 0c6700a | 2011-10-13 02:14:55 -0700 | [diff] [blame] | 519 | }; |
| 520 | |
Thierry Reding | 1b62b61 | 2013-08-09 16:49:19 +0200 | [diff] [blame] | 521 | pcie-controller { |
| 522 | compatible = "nvidia,tegra20-pcie"; |
| 523 | device_type = "pci"; |
| 524 | reg = <0x80003000 0x00000800 /* PADS registers */ |
| 525 | 0x80003800 0x00000200 /* AFI registers */ |
| 526 | 0x90000000 0x10000000>; /* configuration space */ |
| 527 | reg-names = "pads", "afi", "cs"; |
| 528 | interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH /* controller interrupt */ |
| 529 | GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */ |
| 530 | interrupt-names = "intr", "msi"; |
| 531 | |
| 532 | bus-range = <0x00 0xff>; |
| 533 | #address-cells = <3>; |
| 534 | #size-cells = <2>; |
| 535 | |
| 536 | ranges = <0x82000000 0 0x80000000 0x80000000 0 0x00001000 /* port 0 registers */ |
| 537 | 0x82000000 0 0x80001000 0x80001000 0 0x00001000 /* port 1 registers */ |
| 538 | 0x81000000 0 0 0x82000000 0 0x00010000 /* downstream I/O */ |
Jay Agarwal | d7283c1 | 2013-08-09 16:49:31 +0200 | [diff] [blame] | 539 | 0x82000000 0 0xa0000000 0xa0000000 0 0x08000000 /* non-prefetchable memory */ |
| 540 | 0xc2000000 0 0xa8000000 0xa8000000 0 0x18000000>; /* prefetchable memory */ |
Thierry Reding | 1b62b61 | 2013-08-09 16:49:19 +0200 | [diff] [blame] | 541 | |
| 542 | clocks = <&tegra_car TEGRA20_CLK_PEX>, |
| 543 | <&tegra_car TEGRA20_CLK_AFI>, |
| 544 | <&tegra_car TEGRA20_CLK_PCIE_XCLK>, |
| 545 | <&tegra_car TEGRA20_CLK_PLL_E>; |
| 546 | clock-names = "pex", "afi", "pcie_xclk", "pll_e"; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 547 | resets = <&tegra_car 70>, |
| 548 | <&tegra_car 72>, |
| 549 | <&tegra_car 74>; |
| 550 | reset-names = "pex", "afi", "pcie_x"; |
Thierry Reding | 1b62b61 | 2013-08-09 16:49:19 +0200 | [diff] [blame] | 551 | status = "disabled"; |
| 552 | |
| 553 | pci@1,0 { |
| 554 | device_type = "pci"; |
| 555 | assigned-addresses = <0x82000800 0 0x80000000 0 0x1000>; |
| 556 | reg = <0x000800 0 0 0 0>; |
| 557 | status = "disabled"; |
| 558 | |
| 559 | #address-cells = <3>; |
| 560 | #size-cells = <2>; |
| 561 | ranges; |
| 562 | |
| 563 | nvidia,num-lanes = <2>; |
| 564 | }; |
| 565 | |
| 566 | pci@2,0 { |
| 567 | device_type = "pci"; |
| 568 | assigned-addresses = <0x82001000 0 0x80001000 0 0x1000>; |
| 569 | reg = <0x001000 0 0 0 0>; |
| 570 | status = "disabled"; |
| 571 | |
| 572 | #address-cells = <3>; |
| 573 | #size-cells = <2>; |
| 574 | ranges; |
| 575 | |
| 576 | nvidia,num-lanes = <2>; |
| 577 | }; |
| 578 | }; |
| 579 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 580 | usb@c5000000 { |
| 581 | compatible = "nvidia,tegra20-ehci", "usb-ehci"; |
| 582 | reg = <0xc5000000 0x4000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 583 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 584 | phy_type = "utmi"; |
| 585 | nvidia,has-legacy-mode; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 586 | clocks = <&tegra_car TEGRA20_CLK_USBD>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 587 | resets = <&tegra_car 22>; |
| 588 | reset-names = "usb"; |
Venu Byravarasu | b4e0747 | 2012-12-13 20:59:07 +0000 | [diff] [blame] | 589 | nvidia,needs-double-reset; |
Venu Byravarasu | e374b65 | 2013-01-16 03:30:19 +0000 | [diff] [blame] | 590 | nvidia,phy = <&phy1>; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 591 | status = "disabled"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 592 | }; |
| 593 | |
Venu Byravarasu | 4c94c8b | 2013-05-16 19:42:57 +0530 | [diff] [blame] | 594 | phy1: usb-phy@c5000000 { |
Stephen Warren | 5d32441 | 2013-03-06 11:28:33 -0700 | [diff] [blame] | 595 | compatible = "nvidia,tegra20-usb-phy"; |
Venu Byravarasu | 4c94c8b | 2013-05-16 19:42:57 +0530 | [diff] [blame] | 596 | reg = <0xc5000000 0x4000 0xc5000000 0x4000>; |
Stephen Warren | 5d32441 | 2013-03-06 11:28:33 -0700 | [diff] [blame] | 597 | phy_type = "utmi"; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 598 | clocks = <&tegra_car TEGRA20_CLK_USBD>, |
| 599 | <&tegra_car TEGRA20_CLK_PLL_U>, |
| 600 | <&tegra_car TEGRA20_CLK_CLK_M>, |
| 601 | <&tegra_car TEGRA20_CLK_USBD>; |
Venu Byravarasu | 4c94c8b | 2013-05-16 19:42:57 +0530 | [diff] [blame] | 602 | clock-names = "reg", "pll_u", "timer", "utmi-pads"; |
Stephen Warren | 5d32441 | 2013-03-06 11:28:33 -0700 | [diff] [blame] | 603 | nvidia,has-legacy-mode; |
Mikko Perttunen | c49667e | 2013-07-17 09:31:00 +0300 | [diff] [blame] | 604 | nvidia,hssync-start-delay = <9>; |
| 605 | nvidia,idle-wait-delay = <17>; |
| 606 | nvidia,elastic-limit = <16>; |
| 607 | nvidia,term-range-adj = <6>; |
| 608 | nvidia,xcvr-setup = <9>; |
| 609 | nvidia,xcvr-lsfslew = <1>; |
| 610 | nvidia,xcvr-lsrslew = <1>; |
Venu Byravarasu | 4c94c8b | 2013-05-16 19:42:57 +0530 | [diff] [blame] | 611 | status = "disabled"; |
Stephen Warren | 5d32441 | 2013-03-06 11:28:33 -0700 | [diff] [blame] | 612 | }; |
| 613 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 614 | usb@c5004000 { |
| 615 | compatible = "nvidia,tegra20-ehci", "usb-ehci"; |
| 616 | reg = <0xc5004000 0x4000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 617 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 618 | phy_type = "ulpi"; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 619 | clocks = <&tegra_car TEGRA20_CLK_USB2>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 620 | resets = <&tegra_car 58>; |
| 621 | reset-names = "usb"; |
Venu Byravarasu | e374b65 | 2013-01-16 03:30:19 +0000 | [diff] [blame] | 622 | nvidia,phy = <&phy2>; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 623 | status = "disabled"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 624 | }; |
| 625 | |
Venu Byravarasu | 4c94c8b | 2013-05-16 19:42:57 +0530 | [diff] [blame] | 626 | phy2: usb-phy@c5004000 { |
Stephen Warren | 5d32441 | 2013-03-06 11:28:33 -0700 | [diff] [blame] | 627 | compatible = "nvidia,tegra20-usb-phy"; |
Venu Byravarasu | 4c94c8b | 2013-05-16 19:42:57 +0530 | [diff] [blame] | 628 | reg = <0xc5004000 0x4000>; |
Stephen Warren | 5d32441 | 2013-03-06 11:28:33 -0700 | [diff] [blame] | 629 | phy_type = "ulpi"; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 630 | clocks = <&tegra_car TEGRA20_CLK_USB2>, |
| 631 | <&tegra_car TEGRA20_CLK_PLL_U>, |
| 632 | <&tegra_car TEGRA20_CLK_CDEV2>; |
Venu Byravarasu | 4c94c8b | 2013-05-16 19:42:57 +0530 | [diff] [blame] | 633 | clock-names = "reg", "pll_u", "ulpi-link"; |
| 634 | status = "disabled"; |
Stephen Warren | 5d32441 | 2013-03-06 11:28:33 -0700 | [diff] [blame] | 635 | }; |
| 636 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 637 | usb@c5008000 { |
| 638 | compatible = "nvidia,tegra20-ehci", "usb-ehci"; |
| 639 | reg = <0xc5008000 0x4000>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 640 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 641 | phy_type = "utmi"; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 642 | clocks = <&tegra_car TEGRA20_CLK_USB3>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 643 | resets = <&tegra_car 59>; |
| 644 | reset-names = "usb"; |
Venu Byravarasu | e374b65 | 2013-01-16 03:30:19 +0000 | [diff] [blame] | 645 | nvidia,phy = <&phy3>; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 646 | status = "disabled"; |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 647 | }; |
| 648 | |
Venu Byravarasu | 4c94c8b | 2013-05-16 19:42:57 +0530 | [diff] [blame] | 649 | phy3: usb-phy@c5008000 { |
Stephen Warren | 5d32441 | 2013-03-06 11:28:33 -0700 | [diff] [blame] | 650 | compatible = "nvidia,tegra20-usb-phy"; |
Venu Byravarasu | 4c94c8b | 2013-05-16 19:42:57 +0530 | [diff] [blame] | 651 | reg = <0xc5008000 0x4000 0xc5000000 0x4000>; |
Stephen Warren | 5d32441 | 2013-03-06 11:28:33 -0700 | [diff] [blame] | 652 | phy_type = "utmi"; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 653 | clocks = <&tegra_car TEGRA20_CLK_USB3>, |
| 654 | <&tegra_car TEGRA20_CLK_PLL_U>, |
| 655 | <&tegra_car TEGRA20_CLK_CLK_M>, |
| 656 | <&tegra_car TEGRA20_CLK_USBD>; |
Venu Byravarasu | 4c94c8b | 2013-05-16 19:42:57 +0530 | [diff] [blame] | 657 | clock-names = "reg", "pll_u", "timer", "utmi-pads"; |
Mikko Perttunen | c49667e | 2013-07-17 09:31:00 +0300 | [diff] [blame] | 658 | nvidia,hssync-start-delay = <9>; |
| 659 | nvidia,idle-wait-delay = <17>; |
| 660 | nvidia,elastic-limit = <16>; |
| 661 | nvidia,term-range-adj = <6>; |
| 662 | nvidia,xcvr-setup = <9>; |
| 663 | nvidia,xcvr-lsfslew = <2>; |
| 664 | nvidia,xcvr-lsrslew = <2>; |
Venu Byravarasu | 4c94c8b | 2013-05-16 19:42:57 +0530 | [diff] [blame] | 665 | status = "disabled"; |
Stephen Warren | 5d32441 | 2013-03-06 11:28:33 -0700 | [diff] [blame] | 666 | }; |
| 667 | |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 668 | sdhci@c8000000 { |
| 669 | compatible = "nvidia,tegra20-sdhci"; |
| 670 | reg = <0xc8000000 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 671 | interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 672 | clocks = <&tegra_car TEGRA20_CLK_SDMMC1>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 673 | resets = <&tegra_car 14>; |
| 674 | reset-names = "sdhci"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 675 | status = "disabled"; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 676 | }; |
| 677 | |
| 678 | sdhci@c8000200 { |
| 679 | compatible = "nvidia,tegra20-sdhci"; |
| 680 | reg = <0xc8000200 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 681 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 682 | clocks = <&tegra_car TEGRA20_CLK_SDMMC2>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 683 | resets = <&tegra_car 9>; |
| 684 | reset-names = "sdhci"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 685 | status = "disabled"; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 686 | }; |
| 687 | |
| 688 | sdhci@c8000400 { |
| 689 | compatible = "nvidia,tegra20-sdhci"; |
| 690 | reg = <0xc8000400 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 691 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 692 | clocks = <&tegra_car TEGRA20_CLK_SDMMC3>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 693 | resets = <&tegra_car 69>; |
| 694 | reset-names = "sdhci"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 695 | status = "disabled"; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 696 | }; |
| 697 | |
| 698 | sdhci@c8000600 { |
| 699 | compatible = "nvidia,tegra20-sdhci"; |
| 700 | reg = <0xc8000600 0x200>; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 701 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
Hiroshi Doyu | 885a8cf | 2013-05-22 19:45:32 +0300 | [diff] [blame] | 702 | clocks = <&tegra_car TEGRA20_CLK_SDMMC4>; |
Stephen Warren | 3393d42 | 2013-11-06 14:01:16 -0700 | [diff] [blame^] | 703 | resets = <&tegra_car 15>; |
| 704 | reset-names = "sdhci"; |
Roland Stigge | 223ef78 | 2012-06-11 21:09:45 +0200 | [diff] [blame] | 705 | status = "disabled"; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 706 | }; |
Olof Johansson | c27317c | 2011-11-04 09:12:39 +0000 | [diff] [blame] | 707 | |
Hiroshi Doyu | 4dd2bd3 | 2013-01-11 15:26:55 +0200 | [diff] [blame] | 708 | cpus { |
| 709 | #address-cells = <1>; |
| 710 | #size-cells = <0>; |
| 711 | |
| 712 | cpu@0 { |
| 713 | device_type = "cpu"; |
| 714 | compatible = "arm,cortex-a9"; |
| 715 | reg = <0>; |
| 716 | }; |
| 717 | |
| 718 | cpu@1 { |
| 719 | device_type = "cpu"; |
| 720 | compatible = "arm,cortex-a9"; |
| 721 | reg = <1>; |
| 722 | }; |
| 723 | }; |
| 724 | |
Stephen Warren | c04abb3 | 2012-05-11 17:03:26 -0600 | [diff] [blame] | 725 | pmu { |
| 726 | compatible = "arm,cortex-a9-pmu"; |
Stephen Warren | 6cecf91 | 2013-02-13 12:51:51 -0700 | [diff] [blame] | 727 | interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, |
| 728 | <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; |
hdoyu@nvidia.com | 6a943e0 | 2012-05-09 21:45:33 +0000 | [diff] [blame] | 729 | }; |
Grant Likely | 8e267f3 | 2011-07-19 17:26:54 -0600 | [diff] [blame] | 730 | }; |