Barry Song | 434e1c5 | 2012-08-23 10:47:53 +0800 | [diff] [blame] | 1 | /* |
| 2 | * DTS file for CSR SiRFprimaII SoC |
| 3 | * |
| 4 | * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company. |
| 5 | * |
| 6 | * Licensed under GPLv2 or later. |
| 7 | */ |
| 8 | |
| 9 | /include/ "skeleton.dtsi" |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 10 | / { |
Barry Song | 434e1c5 | 2012-08-23 10:47:53 +0800 | [diff] [blame] | 11 | compatible = "sirf,prima2"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 12 | #address-cells = <1>; |
| 13 | #size-cells = <1>; |
| 14 | interrupt-parent = <&intc>; |
| 15 | |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 16 | cpus { |
| 17 | #address-cells = <1>; |
| 18 | #size-cells = <0>; |
| 19 | |
| 20 | cpu@0 { |
Lorenzo Pieralisi | cc73f87 | 2013-04-23 14:15:49 +0100 | [diff] [blame] | 21 | compatible = "arm,cortex-a9"; |
| 22 | device_type = "cpu"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 23 | reg = <0x0>; |
| 24 | d-cache-line-size = <32>; |
| 25 | i-cache-line-size = <32>; |
| 26 | d-cache-size = <32768>; |
| 27 | i-cache-size = <32768>; |
| 28 | /* from bootloader */ |
| 29 | timebase-frequency = <0>; |
| 30 | bus-frequency = <0>; |
| 31 | clock-frequency = <0>; |
Rongjun Ying | 683659f | 2014-01-09 12:14:37 +0800 | [diff] [blame] | 32 | clocks = <&clks 12>; |
| 33 | operating-points = < |
| 34 | /* kHz uV */ |
| 35 | 200000 1025000 |
| 36 | 400000 1025000 |
| 37 | 664000 1050000 |
| 38 | 800000 1100000 |
| 39 | >; |
| 40 | clock-latency = <150000>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 41 | }; |
| 42 | }; |
| 43 | |
| 44 | axi { |
| 45 | compatible = "simple-bus"; |
| 46 | #address-cells = <1>; |
| 47 | #size-cells = <1>; |
| 48 | ranges = <0x40000000 0x40000000 0x80000000>; |
| 49 | |
| 50 | l2-cache-controller@80040000 { |
Barry Song | 917d853 | 2011-09-15 19:16:28 -0700 | [diff] [blame] | 51 | compatible = "arm,pl310-cache", "sirf,prima2-pl310-cache"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 52 | reg = <0x80040000 0x1000>; |
| 53 | interrupts = <59>; |
Barry Song | 917d853 | 2011-09-15 19:16:28 -0700 | [diff] [blame] | 54 | arm,tag-latency = <1 1 1>; |
| 55 | arm,data-latency = <1 1 1>; |
| 56 | arm,filter-ranges = <0 0x40000000>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 57 | }; |
| 58 | |
| 59 | intc: interrupt-controller@80020000 { |
| 60 | #interrupt-cells = <1>; |
| 61 | interrupt-controller; |
| 62 | compatible = "sirf,prima2-intc"; |
| 63 | reg = <0x80020000 0x1000>; |
| 64 | }; |
| 65 | |
| 66 | sys-iobg { |
| 67 | compatible = "simple-bus"; |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <1>; |
| 70 | ranges = <0x88000000 0x88000000 0x40000>; |
| 71 | |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 72 | clks: clock-controller@88000000 { |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 73 | compatible = "sirf,prima2-clkc"; |
| 74 | reg = <0x88000000 0x1000>; |
| 75 | interrupts = <3>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 76 | #clock-cells = <1>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 77 | }; |
| 78 | |
Barry Song | e7eda91 | 2014-01-10 03:15:42 +0000 | [diff] [blame] | 79 | rstc: reset-controller@88010000 { |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 80 | compatible = "sirf,prima2-rstc"; |
| 81 | reg = <0x88010000 0x1000>; |
Barry Song | e7eda91 | 2014-01-10 03:15:42 +0000 | [diff] [blame] | 82 | #reset-cells = <1>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 83 | }; |
Barry Song | 073adf4 | 2011-09-04 22:15:16 -0700 | [diff] [blame] | 84 | |
| 85 | rsc-controller@88020000 { |
| 86 | compatible = "sirf,prima2-rsc"; |
| 87 | reg = <0x88020000 0x1000>; |
| 88 | }; |
Barry Song | 0671840 | 2013-09-22 18:21:03 +0800 | [diff] [blame] | 89 | |
| 90 | cphifbg@88030000 { |
| 91 | compatible = "sirf,prima2-cphifbg"; |
| 92 | reg = <0x88030000 0x1000>; |
Barry Song | 794f8b2 | 2014-01-09 12:02:53 +0800 | [diff] [blame] | 93 | clocks = <&clks 42>; |
Barry Song | 0671840 | 2013-09-22 18:21:03 +0800 | [diff] [blame] | 94 | }; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 95 | }; |
| 96 | |
| 97 | mem-iobg { |
| 98 | compatible = "simple-bus"; |
| 99 | #address-cells = <1>; |
| 100 | #size-cells = <1>; |
| 101 | ranges = <0x90000000 0x90000000 0x10000>; |
| 102 | |
| 103 | memory-controller@90000000 { |
| 104 | compatible = "sirf,prima2-memc"; |
Ye He | 5fadea2 | 2013-09-22 17:00:51 +0800 | [diff] [blame] | 105 | reg = <0x90000000 0x2000>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 106 | interrupts = <27>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 107 | clocks = <&clks 5>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 108 | }; |
Ye He | 5fadea2 | 2013-09-22 17:00:51 +0800 | [diff] [blame] | 109 | |
| 110 | memc-monitor { |
| 111 | compatible = "sirf,prima2-memcmon"; |
| 112 | reg = <0x90002000 0x200>; |
| 113 | interrupts = <4>; |
| 114 | clocks = <&clks 32>; |
| 115 | }; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 116 | }; |
| 117 | |
| 118 | disp-iobg { |
| 119 | compatible = "simple-bus"; |
| 120 | #address-cells = <1>; |
| 121 | #size-cells = <1>; |
| 122 | ranges = <0x90010000 0x90010000 0x30000>; |
| 123 | |
| 124 | display@90010000 { |
| 125 | compatible = "sirf,prima2-lcd"; |
| 126 | reg = <0x90010000 0x20000>; |
| 127 | interrupts = <30>; |
| 128 | }; |
| 129 | |
| 130 | vpp@90020000 { |
| 131 | compatible = "sirf,prima2-vpp"; |
| 132 | reg = <0x90020000 0x10000>; |
| 133 | interrupts = <31>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 134 | clocks = <&clks 35>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 135 | }; |
| 136 | }; |
| 137 | |
| 138 | graphics-iobg { |
| 139 | compatible = "simple-bus"; |
| 140 | #address-cells = <1>; |
| 141 | #size-cells = <1>; |
| 142 | ranges = <0x98000000 0x98000000 0x8000000>; |
| 143 | |
| 144 | graphics@98000000 { |
| 145 | compatible = "powervr,sgx531"; |
| 146 | reg = <0x98000000 0x8000000>; |
| 147 | interrupts = <6>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 148 | clocks = <&clks 32>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 149 | }; |
| 150 | }; |
| 151 | |
| 152 | multimedia-iobg { |
| 153 | compatible = "simple-bus"; |
| 154 | #address-cells = <1>; |
| 155 | #size-cells = <1>; |
| 156 | ranges = <0xa0000000 0xa0000000 0x8000000>; |
| 157 | |
| 158 | multimedia@a0000000 { |
| 159 | compatible = "sirf,prima2-video-codec"; |
| 160 | reg = <0xa0000000 0x8000000>; |
| 161 | interrupts = <5>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 162 | clocks = <&clks 33>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 163 | }; |
| 164 | }; |
| 165 | |
| 166 | dsp-iobg { |
| 167 | compatible = "simple-bus"; |
| 168 | #address-cells = <1>; |
| 169 | #size-cells = <1>; |
| 170 | ranges = <0xa8000000 0xa8000000 0x2000000>; |
| 171 | |
| 172 | dspif@a8000000 { |
| 173 | compatible = "sirf,prima2-dspif"; |
| 174 | reg = <0xa8000000 0x10000>; |
| 175 | interrupts = <9>; |
| 176 | }; |
| 177 | |
| 178 | gps@a8010000 { |
| 179 | compatible = "sirf,prima2-gps"; |
| 180 | reg = <0xa8010000 0x10000>; |
| 181 | interrupts = <7>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 182 | clocks = <&clks 9>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 183 | }; |
| 184 | |
| 185 | dsp@a9000000 { |
| 186 | compatible = "sirf,prima2-dsp"; |
| 187 | reg = <0xa9000000 0x1000000>; |
| 188 | interrupts = <8>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 189 | clocks = <&clks 8>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 190 | }; |
| 191 | }; |
| 192 | |
| 193 | peri-iobg { |
| 194 | compatible = "simple-bus"; |
| 195 | #address-cells = <1>; |
| 196 | #size-cells = <1>; |
Barry Song | 9e85b9d | 2013-09-24 00:04:18 +0800 | [diff] [blame] | 197 | ranges = <0xb0000000 0xb0000000 0x180000>, |
| 198 | <0x56000000 0x56000000 0x1b00000>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 199 | |
| 200 | timer@b0020000 { |
| 201 | compatible = "sirf,prima2-tick"; |
| 202 | reg = <0xb0020000 0x1000>; |
| 203 | interrupts = <0>; |
Zhiwu Song | c7cff54 | 2014-05-05 19:30:04 +0800 | [diff] [blame^] | 204 | clocks = <&clks 11>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 205 | }; |
| 206 | |
| 207 | nand@b0030000 { |
| 208 | compatible = "sirf,prima2-nand"; |
| 209 | reg = <0xb0030000 0x10000>; |
| 210 | interrupts = <41>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 211 | clocks = <&clks 26>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 212 | }; |
| 213 | |
| 214 | audio@b0040000 { |
| 215 | compatible = "sirf,prima2-audio"; |
| 216 | reg = <0xb0040000 0x10000>; |
| 217 | interrupts = <35>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 218 | clocks = <&clks 27>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 219 | }; |
| 220 | |
| 221 | uart0: uart@b0050000 { |
| 222 | cell-index = <0>; |
| 223 | compatible = "sirf,prima2-uart"; |
Qipan Li | a136997 | 2013-09-23 23:15:08 +0800 | [diff] [blame] | 224 | reg = <0xb0050000 0x1000>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 225 | interrupts = <17>; |
Qipan Li | a136997 | 2013-09-23 23:15:08 +0800 | [diff] [blame] | 226 | fifosize = <128>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 227 | clocks = <&clks 13>; |
Qipan Li | 9be16b3 | 2014-01-30 13:57:29 +0800 | [diff] [blame] | 228 | dmas = <&dmac1 5>, <&dmac0 2>; |
| 229 | dma-names = "rx", "tx"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 230 | }; |
| 231 | |
| 232 | uart1: uart@b0060000 { |
| 233 | cell-index = <1>; |
| 234 | compatible = "sirf,prima2-uart"; |
Qipan Li | a136997 | 2013-09-23 23:15:08 +0800 | [diff] [blame] | 235 | reg = <0xb0060000 0x1000>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 236 | interrupts = <18>; |
Qipan Li | a136997 | 2013-09-23 23:15:08 +0800 | [diff] [blame] | 237 | fifosize = <32>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 238 | clocks = <&clks 14>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 239 | }; |
| 240 | |
| 241 | uart2: uart@b0070000 { |
| 242 | cell-index = <2>; |
| 243 | compatible = "sirf,prima2-uart"; |
Qipan Li | a136997 | 2013-09-23 23:15:08 +0800 | [diff] [blame] | 244 | reg = <0xb0070000 0x1000>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 245 | interrupts = <19>; |
Qipan Li | a136997 | 2013-09-23 23:15:08 +0800 | [diff] [blame] | 246 | fifosize = <128>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 247 | clocks = <&clks 15>; |
Qipan Li | 9be16b3 | 2014-01-30 13:57:29 +0800 | [diff] [blame] | 248 | dmas = <&dmac0 6>, <&dmac0 7>; |
| 249 | dma-names = "rx", "tx"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 250 | }; |
| 251 | |
| 252 | usp0: usp@b0080000 { |
| 253 | cell-index = <0>; |
| 254 | compatible = "sirf,prima2-usp"; |
| 255 | reg = <0xb0080000 0x10000>; |
| 256 | interrupts = <20>; |
Qipan Li | a136997 | 2013-09-23 23:15:08 +0800 | [diff] [blame] | 257 | fifosize = <128>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 258 | clocks = <&clks 28>; |
Qipan Li | 9be16b3 | 2014-01-30 13:57:29 +0800 | [diff] [blame] | 259 | dmas = <&dmac1 1>, <&dmac1 2>; |
| 260 | dma-names = "rx", "tx"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 261 | }; |
| 262 | |
| 263 | usp1: usp@b0090000 { |
| 264 | cell-index = <1>; |
| 265 | compatible = "sirf,prima2-usp"; |
| 266 | reg = <0xb0090000 0x10000>; |
| 267 | interrupts = <21>; |
Qipan Li | a136997 | 2013-09-23 23:15:08 +0800 | [diff] [blame] | 268 | fifosize = <128>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 269 | clocks = <&clks 29>; |
Qipan Li | 9be16b3 | 2014-01-30 13:57:29 +0800 | [diff] [blame] | 270 | dmas = <&dmac0 14>, <&dmac0 15>; |
| 271 | dma-names = "rx", "tx"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 272 | }; |
| 273 | |
| 274 | usp2: usp@b00a0000 { |
| 275 | cell-index = <2>; |
| 276 | compatible = "sirf,prima2-usp"; |
| 277 | reg = <0xb00a0000 0x10000>; |
| 278 | interrupts = <22>; |
Qipan Li | a136997 | 2013-09-23 23:15:08 +0800 | [diff] [blame] | 279 | fifosize = <128>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 280 | clocks = <&clks 30>; |
Qipan Li | 9be16b3 | 2014-01-30 13:57:29 +0800 | [diff] [blame] | 281 | dmas = <&dmac0 10>, <&dmac0 11>; |
| 282 | dma-names = "rx", "tx"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 283 | }; |
| 284 | |
| 285 | dmac0: dma-controller@b00b0000 { |
| 286 | cell-index = <0>; |
| 287 | compatible = "sirf,prima2-dmac"; |
| 288 | reg = <0xb00b0000 0x10000>; |
| 289 | interrupts = <12>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 290 | clocks = <&clks 24>; |
Barry Song | 2e041c9 | 2014-03-27 15:49:31 +0800 | [diff] [blame] | 291 | #dma-cells = <1>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 292 | }; |
| 293 | |
| 294 | dmac1: dma-controller@b0160000 { |
| 295 | cell-index = <1>; |
| 296 | compatible = "sirf,prima2-dmac"; |
| 297 | reg = <0xb0160000 0x10000>; |
| 298 | interrupts = <13>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 299 | clocks = <&clks 25>; |
Barry Song | 2e041c9 | 2014-03-27 15:49:31 +0800 | [diff] [blame] | 300 | #dma-cells = <1>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 301 | }; |
| 302 | |
| 303 | vip@b00C0000 { |
| 304 | compatible = "sirf,prima2-vip"; |
| 305 | reg = <0xb00C0000 0x10000>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 306 | clocks = <&clks 31>; |
Renwei Wu | 262bcc1 | 2013-09-23 23:57:11 +0800 | [diff] [blame] | 307 | interrupts = <14>; |
| 308 | sirf,vip-dma-rx-channel = <16>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 309 | }; |
| 310 | |
| 311 | spi0: spi@b00d0000 { |
| 312 | cell-index = <0>; |
| 313 | compatible = "sirf,prima2-spi"; |
| 314 | reg = <0xb00d0000 0x10000>; |
| 315 | interrupts = <15>; |
Barry Song | 6f42511 | 2013-09-23 23:29:56 +0800 | [diff] [blame] | 316 | sirf,spi-num-chipselects = <1>; |
| 317 | sirf,spi-dma-rx-channel = <25>; |
| 318 | sirf,spi-dma-tx-channel = <20>; |
| 319 | #address-cells = <1>; |
| 320 | #size-cells = <0>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 321 | clocks = <&clks 19>; |
Barry Song | 6f42511 | 2013-09-23 23:29:56 +0800 | [diff] [blame] | 322 | status = "disabled"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 323 | }; |
| 324 | |
| 325 | spi1: spi@b0170000 { |
| 326 | cell-index = <1>; |
| 327 | compatible = "sirf,prima2-spi"; |
| 328 | reg = <0xb0170000 0x10000>; |
| 329 | interrupts = <16>; |
Barry Song | 6f42511 | 2013-09-23 23:29:56 +0800 | [diff] [blame] | 330 | sirf,spi-num-chipselects = <1>; |
| 331 | sirf,spi-dma-rx-channel = <12>; |
| 332 | sirf,spi-dma-tx-channel = <13>; |
| 333 | #address-cells = <1>; |
| 334 | #size-cells = <0>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 335 | clocks = <&clks 20>; |
Barry Song | 6f42511 | 2013-09-23 23:29:56 +0800 | [diff] [blame] | 336 | status = "disabled"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 337 | }; |
| 338 | |
| 339 | i2c0: i2c@b00e0000 { |
| 340 | cell-index = <0>; |
| 341 | compatible = "sirf,prima2-i2c"; |
| 342 | reg = <0xb00e0000 0x10000>; |
| 343 | interrupts = <24>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 344 | clocks = <&clks 17>; |
Renwei Wu | 7a54a4b | 2013-09-23 23:37:42 +0800 | [diff] [blame] | 345 | #address-cells = <1>; |
| 346 | #size-cells = <0>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 347 | }; |
| 348 | |
| 349 | i2c1: i2c@b00f0000 { |
| 350 | cell-index = <1>; |
| 351 | compatible = "sirf,prima2-i2c"; |
| 352 | reg = <0xb00f0000 0x10000>; |
| 353 | interrupts = <25>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 354 | clocks = <&clks 18>; |
Renwei Wu | 7a54a4b | 2013-09-23 23:37:42 +0800 | [diff] [blame] | 355 | #address-cells = <1>; |
| 356 | #size-cells = <0>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 357 | }; |
| 358 | |
| 359 | tsc@b0110000 { |
| 360 | compatible = "sirf,prima2-tsc"; |
| 361 | reg = <0xb0110000 0x10000>; |
| 362 | interrupts = <33>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 363 | clocks = <&clks 16>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 364 | }; |
| 365 | |
Barry Song | 056876f | 2012-08-23 10:47:54 +0800 | [diff] [blame] | 366 | gpio: pinctrl@b0120000 { |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 367 | #gpio-cells = <2>; |
| 368 | #interrupt-cells = <2>; |
Barry Song | 056876f | 2012-08-23 10:47:54 +0800 | [diff] [blame] | 369 | compatible = "sirf,prima2-pinctrl"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 370 | reg = <0xb0120000 0x10000>; |
Barry Song | 500b6ae | 2012-08-23 10:47:52 +0800 | [diff] [blame] | 371 | interrupts = <43 44 45 46 47>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 372 | gpio-controller; |
| 373 | interrupt-controller; |
Barry Song | 056876f | 2012-08-23 10:47:54 +0800 | [diff] [blame] | 374 | |
| 375 | lcd_16pins_a: lcd0@0 { |
| 376 | lcd { |
| 377 | sirf,pins = "lcd_16bitsgrp"; |
| 378 | sirf,function = "lcd_16bits"; |
| 379 | }; |
| 380 | }; |
| 381 | lcd_18pins_a: lcd0@1 { |
| 382 | lcd { |
| 383 | sirf,pins = "lcd_18bitsgrp"; |
| 384 | sirf,function = "lcd_18bits"; |
| 385 | }; |
| 386 | }; |
| 387 | lcd_24pins_a: lcd0@2 { |
| 388 | lcd { |
| 389 | sirf,pins = "lcd_24bitsgrp"; |
| 390 | sirf,function = "lcd_24bits"; |
| 391 | }; |
| 392 | }; |
| 393 | lcdrom_pins_a: lcdrom0@0 { |
| 394 | lcd { |
| 395 | sirf,pins = "lcdromgrp"; |
| 396 | sirf,function = "lcdrom"; |
| 397 | }; |
| 398 | }; |
| 399 | uart0_pins_a: uart0@0 { |
| 400 | uart { |
| 401 | sirf,pins = "uart0grp"; |
| 402 | sirf,function = "uart0"; |
| 403 | }; |
| 404 | }; |
Qipan Li | fb85f42 | 2013-09-29 22:27:57 +0800 | [diff] [blame] | 405 | uart0_noflow_pins_a: uart0@1 { |
| 406 | uart { |
| 407 | sirf,pins = "uart0_nostreamctrlgrp"; |
| 408 | sirf,function = "uart0_nostreamctrl"; |
| 409 | }; |
| 410 | }; |
Barry Song | 056876f | 2012-08-23 10:47:54 +0800 | [diff] [blame] | 411 | uart1_pins_a: uart1@0 { |
| 412 | uart { |
| 413 | sirf,pins = "uart1grp"; |
| 414 | sirf,function = "uart1"; |
| 415 | }; |
| 416 | }; |
| 417 | uart2_pins_a: uart2@0 { |
| 418 | uart { |
| 419 | sirf,pins = "uart2grp"; |
| 420 | sirf,function = "uart2"; |
| 421 | }; |
| 422 | }; |
| 423 | uart2_noflow_pins_a: uart2@1 { |
| 424 | uart { |
| 425 | sirf,pins = "uart2_nostreamctrlgrp"; |
| 426 | sirf,function = "uart2_nostreamctrl"; |
| 427 | }; |
| 428 | }; |
| 429 | spi0_pins_a: spi0@0 { |
| 430 | spi { |
| 431 | sirf,pins = "spi0grp"; |
| 432 | sirf,function = "spi0"; |
| 433 | }; |
| 434 | }; |
| 435 | spi1_pins_a: spi1@0 { |
| 436 | spi { |
| 437 | sirf,pins = "spi1grp"; |
| 438 | sirf,function = "spi1"; |
| 439 | }; |
| 440 | }; |
| 441 | i2c0_pins_a: i2c0@0 { |
| 442 | i2c { |
| 443 | sirf,pins = "i2c0grp"; |
| 444 | sirf,function = "i2c0"; |
| 445 | }; |
| 446 | }; |
| 447 | i2c1_pins_a: i2c1@0 { |
| 448 | i2c { |
| 449 | sirf,pins = "i2c1grp"; |
| 450 | sirf,function = "i2c1"; |
| 451 | }; |
| 452 | }; |
| 453 | pwm0_pins_a: pwm0@0 { |
| 454 | pwm { |
| 455 | sirf,pins = "pwm0grp"; |
| 456 | sirf,function = "pwm0"; |
| 457 | }; |
| 458 | }; |
| 459 | pwm1_pins_a: pwm1@0 { |
| 460 | pwm { |
| 461 | sirf,pins = "pwm1grp"; |
| 462 | sirf,function = "pwm1"; |
| 463 | }; |
| 464 | }; |
| 465 | pwm2_pins_a: pwm2@0 { |
| 466 | pwm { |
| 467 | sirf,pins = "pwm2grp"; |
| 468 | sirf,function = "pwm2"; |
| 469 | }; |
| 470 | }; |
| 471 | pwm3_pins_a: pwm3@0 { |
| 472 | pwm { |
| 473 | sirf,pins = "pwm3grp"; |
| 474 | sirf,function = "pwm3"; |
| 475 | }; |
| 476 | }; |
| 477 | gps_pins_a: gps@0 { |
| 478 | gps { |
| 479 | sirf,pins = "gpsgrp"; |
| 480 | sirf,function = "gps"; |
| 481 | }; |
| 482 | }; |
| 483 | vip_pins_a: vip@0 { |
| 484 | vip { |
| 485 | sirf,pins = "vipgrp"; |
| 486 | sirf,function = "vip"; |
| 487 | }; |
| 488 | }; |
| 489 | sdmmc0_pins_a: sdmmc0@0 { |
| 490 | sdmmc0 { |
| 491 | sirf,pins = "sdmmc0grp"; |
| 492 | sirf,function = "sdmmc0"; |
| 493 | }; |
| 494 | }; |
| 495 | sdmmc1_pins_a: sdmmc1@0 { |
| 496 | sdmmc1 { |
| 497 | sirf,pins = "sdmmc1grp"; |
| 498 | sirf,function = "sdmmc1"; |
| 499 | }; |
| 500 | }; |
| 501 | sdmmc2_pins_a: sdmmc2@0 { |
| 502 | sdmmc2 { |
| 503 | sirf,pins = "sdmmc2grp"; |
| 504 | sirf,function = "sdmmc2"; |
| 505 | }; |
| 506 | }; |
| 507 | sdmmc3_pins_a: sdmmc3@0 { |
| 508 | sdmmc3 { |
| 509 | sirf,pins = "sdmmc3grp"; |
| 510 | sirf,function = "sdmmc3"; |
| 511 | }; |
| 512 | }; |
| 513 | sdmmc4_pins_a: sdmmc4@0 { |
| 514 | sdmmc4 { |
| 515 | sirf,pins = "sdmmc4grp"; |
| 516 | sirf,function = "sdmmc4"; |
| 517 | }; |
| 518 | }; |
| 519 | sdmmc5_pins_a: sdmmc5@0 { |
| 520 | sdmmc5 { |
| 521 | sirf,pins = "sdmmc5grp"; |
| 522 | sirf,function = "sdmmc5"; |
| 523 | }; |
| 524 | }; |
| 525 | i2s_pins_a: i2s@0 { |
| 526 | i2s { |
| 527 | sirf,pins = "i2sgrp"; |
| 528 | sirf,function = "i2s"; |
| 529 | }; |
| 530 | }; |
| 531 | ac97_pins_a: ac97@0 { |
| 532 | ac97 { |
| 533 | sirf,pins = "ac97grp"; |
| 534 | sirf,function = "ac97"; |
| 535 | }; |
| 536 | }; |
| 537 | nand_pins_a: nand@0 { |
| 538 | nand { |
| 539 | sirf,pins = "nandgrp"; |
| 540 | sirf,function = "nand"; |
| 541 | }; |
| 542 | }; |
| 543 | usp0_pins_a: usp0@0 { |
| 544 | usp0 { |
| 545 | sirf,pins = "usp0grp"; |
| 546 | sirf,function = "usp0"; |
| 547 | }; |
| 548 | }; |
Qipan Li | af614b2 | 2013-09-29 22:27:58 +0800 | [diff] [blame] | 549 | usp0_uart_nostreamctrl_pins_a: usp0@1 { |
| 550 | usp0 { |
| 551 | sirf,pins = |
| 552 | "usp0_uart_nostreamctrl_grp"; |
| 553 | sirf,function = |
| 554 | "usp0_uart_nostreamctrl"; |
| 555 | }; |
| 556 | }; |
Rongjun Ying | 73f68c0 | 2014-01-03 10:59:26 +0800 | [diff] [blame] | 557 | usp0_only_utfs_pins_a: usp0@2 { |
| 558 | usp0 { |
| 559 | sirf,pins = "usp0_only_utfs_grp"; |
| 560 | sirf,function = "usp0_only_utfs"; |
| 561 | }; |
| 562 | }; |
| 563 | usp0_only_urfs_pins_a: usp0@3 { |
| 564 | usp0 { |
| 565 | sirf,pins = "usp0_only_urfs_grp"; |
| 566 | sirf,function = "usp0_only_urfs"; |
| 567 | }; |
| 568 | }; |
Barry Song | 056876f | 2012-08-23 10:47:54 +0800 | [diff] [blame] | 569 | usp1_pins_a: usp1@0 { |
| 570 | usp1 { |
| 571 | sirf,pins = "usp1grp"; |
| 572 | sirf,function = "usp1"; |
| 573 | }; |
| 574 | }; |
Qipan Li | af614b2 | 2013-09-29 22:27:58 +0800 | [diff] [blame] | 575 | usp1_uart_nostreamctrl_pins_a: usp1@1 { |
| 576 | usp1 { |
| 577 | sirf,pins = |
| 578 | "usp1_uart_nostreamctrl_grp"; |
| 579 | sirf,function = |
| 580 | "usp1_uart_nostreamctrl"; |
| 581 | }; |
| 582 | }; |
Barry Song | 056876f | 2012-08-23 10:47:54 +0800 | [diff] [blame] | 583 | usp2_pins_a: usp2@0 { |
| 584 | usp2 { |
| 585 | sirf,pins = "usp2grp"; |
| 586 | sirf,function = "usp2"; |
| 587 | }; |
| 588 | }; |
Qipan Li | af614b2 | 2013-09-29 22:27:58 +0800 | [diff] [blame] | 589 | usp2_uart_nostreamctrl_pins_a: usp2@1 { |
| 590 | usp2 { |
| 591 | sirf,pins = |
| 592 | "usp2_uart_nostreamctrl_grp"; |
| 593 | sirf,function = |
| 594 | "usp2_uart_nostreamctrl"; |
| 595 | }; |
| 596 | }; |
Barry Song | 056876f | 2012-08-23 10:47:54 +0800 | [diff] [blame] | 597 | usb0_utmi_drvbus_pins_a: usb0_utmi_drvbus@0 { |
| 598 | usb0_utmi_drvbus { |
| 599 | sirf,pins = "usb0_utmi_drvbusgrp"; |
| 600 | sirf,function = "usb0_utmi_drvbus"; |
| 601 | }; |
| 602 | }; |
| 603 | usb1_utmi_drvbus_pins_a: usb1_utmi_drvbus@0 { |
| 604 | usb1_utmi_drvbus { |
| 605 | sirf,pins = "usb1_utmi_drvbusgrp"; |
| 606 | sirf,function = "usb1_utmi_drvbus"; |
| 607 | }; |
| 608 | }; |
Rong Wang | 6a08a92 | 2013-09-29 22:27:59 +0800 | [diff] [blame] | 609 | usb1_dp_dn_pins_a: usb1_dp_dn@0 { |
| 610 | usb1_dp_dn { |
| 611 | sirf,pins = "usb1_dp_dngrp"; |
| 612 | sirf,function = "usb1_dp_dn"; |
| 613 | }; |
| 614 | }; |
| 615 | uart1_route_io_usb1_pins_a: uart1_route_io_usb1@0 { |
| 616 | uart1_route_io_usb1 { |
| 617 | sirf,pins = "uart1_route_io_usb1grp"; |
| 618 | sirf,function = "uart1_route_io_usb1"; |
| 619 | }; |
| 620 | }; |
Barry Song | 056876f | 2012-08-23 10:47:54 +0800 | [diff] [blame] | 621 | warm_rst_pins_a: warm_rst@0 { |
| 622 | warm_rst { |
| 623 | sirf,pins = "warm_rstgrp"; |
| 624 | sirf,function = "warm_rst"; |
| 625 | }; |
| 626 | }; |
| 627 | pulse_count_pins_a: pulse_count@0 { |
| 628 | pulse_count { |
| 629 | sirf,pins = "pulse_countgrp"; |
| 630 | sirf,function = "pulse_count"; |
| 631 | }; |
| 632 | }; |
Barry Song | c8078de | 2013-07-04 15:55:27 +0800 | [diff] [blame] | 633 | cko0_pins_a: cko0@0 { |
| 634 | cko0 { |
| 635 | sirf,pins = "cko0grp"; |
| 636 | sirf,function = "cko0"; |
Barry Song | 056876f | 2012-08-23 10:47:54 +0800 | [diff] [blame] | 637 | }; |
| 638 | }; |
Barry Song | c8078de | 2013-07-04 15:55:27 +0800 | [diff] [blame] | 639 | cko1_pins_a: cko1@0 { |
| 640 | cko1 { |
| 641 | sirf,pins = "cko1grp"; |
| 642 | sirf,function = "cko1"; |
Barry Song | 056876f | 2012-08-23 10:47:54 +0800 | [diff] [blame] | 643 | }; |
| 644 | }; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 645 | }; |
| 646 | |
| 647 | pwm@b0130000 { |
| 648 | compatible = "sirf,prima2-pwm"; |
| 649 | reg = <0xb0130000 0x10000>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 650 | clocks = <&clks 21>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 651 | }; |
| 652 | |
| 653 | efusesys@b0140000 { |
| 654 | compatible = "sirf,prima2-efuse"; |
| 655 | reg = <0xb0140000 0x10000>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 656 | clocks = <&clks 22>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 657 | }; |
| 658 | |
| 659 | pulsec@b0150000 { |
| 660 | compatible = "sirf,prima2-pulsec"; |
| 661 | reg = <0xb0150000 0x10000>; |
| 662 | interrupts = <48>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 663 | clocks = <&clks 23>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 664 | }; |
| 665 | |
| 666 | pci-iobg { |
| 667 | compatible = "sirf,prima2-pciiobg", "simple-bus"; |
| 668 | #address-cells = <1>; |
| 669 | #size-cells = <1>; |
| 670 | ranges = <0x56000000 0x56000000 0x1b00000>; |
| 671 | |
| 672 | sd0: sdhci@56000000 { |
| 673 | cell-index = <0>; |
| 674 | compatible = "sirf,prima2-sdhc"; |
| 675 | reg = <0x56000000 0x100000>; |
| 676 | interrupts = <38>; |
Bin Shi | 7f97c30 | 2014-01-09 12:08:46 +0800 | [diff] [blame] | 677 | status = "disabled"; |
| 678 | bus-width = <8>; |
| 679 | clocks = <&clks 36>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 680 | }; |
| 681 | |
| 682 | sd1: sdhci@56100000 { |
| 683 | cell-index = <1>; |
| 684 | compatible = "sirf,prima2-sdhc"; |
| 685 | reg = <0x56100000 0x100000>; |
| 686 | interrupts = <38>; |
Bin Shi | 7f97c30 | 2014-01-09 12:08:46 +0800 | [diff] [blame] | 687 | status = "disabled"; |
| 688 | bus-width = <4>; |
| 689 | clocks = <&clks 36>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 690 | }; |
| 691 | |
| 692 | sd2: sdhci@56200000 { |
| 693 | cell-index = <2>; |
| 694 | compatible = "sirf,prima2-sdhc"; |
| 695 | reg = <0x56200000 0x100000>; |
| 696 | interrupts = <23>; |
Bin Shi | 7f97c30 | 2014-01-09 12:08:46 +0800 | [diff] [blame] | 697 | status = "disabled"; |
| 698 | clocks = <&clks 37>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 699 | }; |
| 700 | |
| 701 | sd3: sdhci@56300000 { |
| 702 | cell-index = <3>; |
| 703 | compatible = "sirf,prima2-sdhc"; |
| 704 | reg = <0x56300000 0x100000>; |
| 705 | interrupts = <23>; |
Bin Shi | 7f97c30 | 2014-01-09 12:08:46 +0800 | [diff] [blame] | 706 | status = "disabled"; |
| 707 | clocks = <&clks 37>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 708 | }; |
| 709 | |
| 710 | sd4: sdhci@56400000 { |
| 711 | cell-index = <4>; |
| 712 | compatible = "sirf,prima2-sdhc"; |
| 713 | reg = <0x56400000 0x100000>; |
| 714 | interrupts = <39>; |
Bin Shi | 7f97c30 | 2014-01-09 12:08:46 +0800 | [diff] [blame] | 715 | status = "disabled"; |
| 716 | clocks = <&clks 38>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 717 | }; |
| 718 | |
| 719 | sd5: sdhci@56500000 { |
| 720 | cell-index = <5>; |
| 721 | compatible = "sirf,prima2-sdhc"; |
| 722 | reg = <0x56500000 0x100000>; |
| 723 | interrupts = <39>; |
Bin Shi | 7f97c30 | 2014-01-09 12:08:46 +0800 | [diff] [blame] | 724 | clocks = <&clks 38>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 725 | }; |
| 726 | |
| 727 | pci-copy@57900000 { |
| 728 | compatible = "sirf,prima2-pcicp"; |
| 729 | reg = <0x57900000 0x100000>; |
| 730 | interrupts = <40>; |
| 731 | }; |
| 732 | |
| 733 | rom-interface@57a00000 { |
| 734 | compatible = "sirf,prima2-romif"; |
| 735 | reg = <0x57a00000 0x100000>; |
| 736 | }; |
| 737 | }; |
| 738 | }; |
| 739 | |
| 740 | rtc-iobg { |
Xianglong Du | e88b815 | 2013-07-03 15:08:04 -0700 | [diff] [blame] | 741 | compatible = "sirf,prima2-rtciobg", "sirf-prima2-rtciobg-bus", "simple-bus"; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 742 | #address-cells = <1>; |
| 743 | #size-cells = <1>; |
| 744 | reg = <0x80030000 0x10000>; |
| 745 | |
| 746 | gpsrtc@1000 { |
| 747 | compatible = "sirf,prima2-gpsrtc"; |
| 748 | reg = <0x1000 0x1000>; |
| 749 | interrupts = <55 56 57>; |
| 750 | }; |
| 751 | |
| 752 | sysrtc@2000 { |
| 753 | compatible = "sirf,prima2-sysrtc"; |
| 754 | reg = <0x2000 0x1000>; |
| 755 | interrupts = <52 53 54>; |
| 756 | }; |
| 757 | |
Xianglong Du | 423ef79 | 2014-01-09 12:23:09 +0800 | [diff] [blame] | 758 | minigpsrtc@2000 { |
| 759 | compatible = "sirf,prima2-minigpsrtc"; |
| 760 | reg = <0x2000 0x1000>; |
| 761 | interrupts = <54>; |
| 762 | }; |
| 763 | |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 764 | pwrc@3000 { |
| 765 | compatible = "sirf,prima2-pwrc"; |
| 766 | reg = <0x3000 0x1000>; |
| 767 | interrupts = <32>; |
| 768 | }; |
| 769 | }; |
| 770 | |
| 771 | uus-iobg { |
| 772 | compatible = "simple-bus"; |
| 773 | #address-cells = <1>; |
| 774 | #size-cells = <1>; |
| 775 | ranges = <0xb8000000 0xb8000000 0x40000>; |
| 776 | |
| 777 | usb0: usb@b00e0000 { |
| 778 | compatible = "chipidea,ci13611a-prima2"; |
| 779 | reg = <0xb8000000 0x10000>; |
| 780 | interrupts = <10>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 781 | clocks = <&clks 40>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 782 | }; |
| 783 | |
| 784 | usb1: usb@b00f0000 { |
| 785 | compatible = "chipidea,ci13611a-prima2"; |
| 786 | reg = <0xb8010000 0x10000>; |
| 787 | interrupts = <11>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 788 | clocks = <&clks 41>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 789 | }; |
| 790 | |
| 791 | sata@b00f0000 { |
| 792 | compatible = "synopsys,dwc-ahsata"; |
| 793 | reg = <0xb8020000 0x10000>; |
| 794 | interrupts = <37>; |
| 795 | }; |
| 796 | |
| 797 | security@b00f0000 { |
| 798 | compatible = "sirf,prima2-security"; |
| 799 | reg = <0xb8030000 0x10000>; |
| 800 | interrupts = <42>; |
Barry Song | eb8b8f2 | 2012-12-20 16:51:31 +0800 | [diff] [blame] | 801 | clocks = <&clks 7>; |
Binghua Duan | 02c981c | 2011-07-08 17:40:12 +0800 | [diff] [blame] | 802 | }; |
| 803 | }; |
| 804 | }; |
| 805 | }; |