Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Linaro Ltd |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 12 | #include <dt-bindings/interrupt-controller/irq.h> |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 13 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Lee Jones | 841cd0c | 2013-09-18 09:53:10 +0100 | [diff] [blame] | 14 | #include <dt-bindings/mfd/dbx500-prcmu.h> |
Ulf Hansson | 067adde | 2014-10-14 11:12:59 +0200 | [diff] [blame] | 15 | #include <dt-bindings/arm/ux500_pm_domains.h> |
Linus Walleij | 1b1e8e0 | 2016-03-24 15:29:30 +0100 | [diff] [blame] | 16 | #include <dt-bindings/gpio/gpio.h> |
Linus Walleij | 9aea151 | 2017-02-26 01:02:09 +0100 | [diff] [blame] | 17 | #include <dt-bindings/clock/ste-ab8500.h> |
Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 18 | |
| 19 | / { |
Linus Walleij | ee8119a | 2018-07-03 10:03:47 +0200 | [diff] [blame] | 20 | #address-cells = <1>; |
| 21 | #size-cells = <1>; |
| 22 | |
| 23 | chosen { |
| 24 | }; |
| 25 | |
Linus Walleij | bf64dd2 | 2015-08-03 09:26:41 +0200 | [diff] [blame] | 26 | cpus { |
| 27 | #address-cells = <1>; |
| 28 | #size-cells = <0>; |
| 29 | enable-method = "ste,dbx500-smp"; |
| 30 | |
| 31 | cpu-map { |
| 32 | cluster0 { |
| 33 | core0 { |
| 34 | cpu = <&CPU0>; |
| 35 | }; |
| 36 | core1 { |
| 37 | cpu = <&CPU1>; |
| 38 | }; |
| 39 | }; |
| 40 | }; |
| 41 | CPU0: cpu@300 { |
| 42 | device_type = "cpu"; |
| 43 | compatible = "arm,cortex-a9"; |
| 44 | reg = <0x300>; |
Linus Walleij | a435adb | 2017-08-22 09:28:20 +0200 | [diff] [blame] | 45 | /* cpufreq controls */ |
| 46 | operating-points = <998400 0 |
| 47 | 800000 0 |
| 48 | 400000 0 |
| 49 | 200000 0>; |
| 50 | clocks = <&prcmu_clk PRCMU_ARMSS>; |
| 51 | clock-names = "cpu"; |
| 52 | clock-latency = <20000>; |
Linus Walleij | bf64dd2 | 2015-08-03 09:26:41 +0200 | [diff] [blame] | 53 | }; |
| 54 | CPU1: cpu@301 { |
| 55 | device_type = "cpu"; |
| 56 | compatible = "arm,cortex-a9"; |
| 57 | reg = <0x301>; |
| 58 | }; |
| 59 | }; |
| 60 | |
Gabriel Fernandez | b1ba143 | 2013-03-01 14:38:07 +0100 | [diff] [blame] | 61 | soc { |
Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 62 | #address-cells = <1>; |
| 63 | #size-cells = <1>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 64 | compatible = "stericsson,db8500"; |
Lee Jones | dab6487 | 2012-03-07 17:22:30 +0000 | [diff] [blame] | 65 | interrupt-parent = <&intc>; |
Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 66 | ranges; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 67 | |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 68 | ptm@801ae000 { |
| 69 | compatible = "arm,coresight-etm3x", "arm,primecell"; |
| 70 | reg = <0x801ae000 0x1000>; |
| 71 | |
| 72 | clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; |
| 73 | clock-names = "apb_pclk", "atclk"; |
| 74 | cpu = <&CPU0>; |
Suzuki K Poulose | 5b79984 | 2018-09-12 14:53:52 +0100 | [diff] [blame] | 75 | out-ports { |
| 76 | port { |
| 77 | ptm0_out_port: endpoint { |
| 78 | remote-endpoint = <&funnel_in_port0>; |
| 79 | }; |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 80 | }; |
| 81 | }; |
| 82 | }; |
| 83 | |
| 84 | ptm@801af000 { |
| 85 | compatible = "arm,coresight-etm3x", "arm,primecell"; |
| 86 | reg = <0x801af000 0x1000>; |
| 87 | |
| 88 | clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; |
| 89 | clock-names = "apb_pclk", "atclk"; |
| 90 | cpu = <&CPU1>; |
Suzuki K Poulose | 5b79984 | 2018-09-12 14:53:52 +0100 | [diff] [blame] | 91 | out-ports { |
| 92 | port { |
| 93 | ptm1_out_port: endpoint { |
| 94 | remote-endpoint = <&funnel_in_port1>; |
| 95 | }; |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 96 | }; |
| 97 | }; |
| 98 | }; |
| 99 | |
| 100 | funnel@801a6000 { |
| 101 | compatible = "arm,coresight-funnel", "arm,primecell"; |
| 102 | reg = <0x801a6000 0x1000>; |
| 103 | |
| 104 | clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; |
| 105 | clock-names = "apb_pclk", "atclk"; |
Suzuki K Poulose | 5b79984 | 2018-09-12 14:53:52 +0100 | [diff] [blame] | 106 | out-ports { |
| 107 | port { |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 108 | funnel_out_port: endpoint { |
| 109 | remote-endpoint = |
| 110 | <&replicator_in_port0>; |
| 111 | }; |
| 112 | }; |
Suzuki K Poulose | 5b79984 | 2018-09-12 14:53:52 +0100 | [diff] [blame] | 113 | }; |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 114 | |
Suzuki K Poulose | 5b79984 | 2018-09-12 14:53:52 +0100 | [diff] [blame] | 115 | in-ports { |
| 116 | #address-cells = <1>; |
| 117 | #size-cells = <0>; |
| 118 | |
| 119 | port@0 { |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 120 | reg = <0>; |
| 121 | funnel_in_port0: endpoint { |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 122 | remote-endpoint = <&ptm0_out_port>; |
| 123 | }; |
| 124 | }; |
| 125 | |
Suzuki K Poulose | 5b79984 | 2018-09-12 14:53:52 +0100 | [diff] [blame] | 126 | port@1 { |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 127 | reg = <1>; |
| 128 | funnel_in_port1: endpoint { |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 129 | remote-endpoint = <&ptm1_out_port>; |
| 130 | }; |
| 131 | }; |
| 132 | }; |
| 133 | }; |
| 134 | |
| 135 | replicator { |
| 136 | compatible = "arm,coresight-replicator"; |
| 137 | clocks = <&prcmu_clk PRCMU_APEATCLK>; |
| 138 | clock-names = "atclk"; |
| 139 | |
Suzuki K Poulose | 5b79984 | 2018-09-12 14:53:52 +0100 | [diff] [blame] | 140 | out-ports { |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 141 | #address-cells = <1>; |
| 142 | #size-cells = <0>; |
| 143 | |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 144 | port@0 { |
| 145 | reg = <0>; |
| 146 | replicator_out_port0: endpoint { |
| 147 | remote-endpoint = <&tpiu_in_port>; |
| 148 | }; |
| 149 | }; |
| 150 | port@1 { |
| 151 | reg = <1>; |
| 152 | replicator_out_port1: endpoint { |
| 153 | remote-endpoint = <&etb_in_port>; |
| 154 | }; |
| 155 | }; |
Suzuki K Poulose | 5b79984 | 2018-09-12 14:53:52 +0100 | [diff] [blame] | 156 | }; |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 157 | |
Suzuki K Poulose | 5b79984 | 2018-09-12 14:53:52 +0100 | [diff] [blame] | 158 | in-ports { |
| 159 | port { |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 160 | replicator_in_port0: endpoint { |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 161 | remote-endpoint = <&funnel_out_port>; |
| 162 | }; |
| 163 | }; |
| 164 | }; |
| 165 | }; |
| 166 | |
| 167 | tpiu@80190000 { |
| 168 | compatible = "arm,coresight-tpiu", "arm,primecell"; |
| 169 | reg = <0x80190000 0x1000>; |
| 170 | |
| 171 | clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; |
| 172 | clock-names = "apb_pclk", "atclk"; |
Suzuki K Poulose | 5b79984 | 2018-09-12 14:53:52 +0100 | [diff] [blame] | 173 | in-ports { |
| 174 | port { |
| 175 | tpiu_in_port: endpoint { |
| 176 | remote-endpoint = <&replicator_out_port0>; |
| 177 | }; |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 178 | }; |
| 179 | }; |
| 180 | }; |
| 181 | |
| 182 | etb@801a4000 { |
| 183 | compatible = "arm,coresight-etb10", "arm,primecell"; |
| 184 | reg = <0x801a4000 0x1000>; |
| 185 | |
| 186 | clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; |
| 187 | clock-names = "apb_pclk", "atclk"; |
Suzuki K Poulose | 5b79984 | 2018-09-12 14:53:52 +0100 | [diff] [blame] | 188 | in-ports { |
| 189 | port { |
| 190 | etb_in_port: endpoint { |
| 191 | remote-endpoint = <&replicator_out_port1>; |
| 192 | }; |
Linus Walleij | b557457 | 2015-04-16 09:08:15 +0200 | [diff] [blame] | 193 | }; |
| 194 | }; |
| 195 | }; |
| 196 | |
Lee Jones | dab6487 | 2012-03-07 17:22:30 +0000 | [diff] [blame] | 197 | intc: interrupt-controller@a0411000 { |
| 198 | compatible = "arm,cortex-a9-gic"; |
| 199 | #interrupt-cells = <3>; |
| 200 | #address-cells = <1>; |
| 201 | interrupt-controller; |
Lee Jones | dab6487 | 2012-03-07 17:22:30 +0000 | [diff] [blame] | 202 | reg = <0xa0411000 0x1000>, |
| 203 | <0xa0410100 0x100>; |
| 204 | }; |
| 205 | |
Geert Uytterhoeven | 2f217d2 | 2018-06-26 09:50:09 +0200 | [diff] [blame] | 206 | scu@a0410000 { |
Linus Walleij | 4879341 | 2015-05-14 11:22:34 +0200 | [diff] [blame] | 207 | compatible = "arm,cortex-a9-scu"; |
| 208 | reg = <0xa0410000 0x100>; |
| 209 | }; |
| 210 | |
Linus Walleij | 724814b | 2015-05-14 18:02:05 +0200 | [diff] [blame] | 211 | /* |
| 212 | * The backup RAM is used for retention during sleep |
| 213 | * and various things like spin tables |
| 214 | */ |
| 215 | backupram@80150000 { |
| 216 | compatible = "ste,dbx500-backupram"; |
| 217 | reg = <0x80150000 0x2000>; |
| 218 | }; |
| 219 | |
Lee Jones | f1949ea | 2012-03-08 09:02:02 +0000 | [diff] [blame] | 220 | L2: l2-cache { |
| 221 | compatible = "arm,pl310-cache"; |
| 222 | reg = <0xa0412000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 223 | interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | f1949ea | 2012-03-08 09:02:02 +0000 | [diff] [blame] | 224 | cache-unified; |
| 225 | cache-level = <2>; |
| 226 | }; |
| 227 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 228 | pmu { |
| 229 | compatible = "arm,cortex-a9-pmu"; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 230 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 231 | }; |
| 232 | |
Ulf Hansson | 6c66935 | 2014-10-14 11:12:58 +0200 | [diff] [blame] | 233 | pm_domains: pm_domains0 { |
| 234 | compatible = "stericsson,ux500-pm-domains"; |
| 235 | #power-domain-cells = <1>; |
| 236 | }; |
Lee Jones | 8132ed1 | 2013-09-18 09:54:07 +0100 | [diff] [blame] | 237 | |
Lee Jones | 841cd0c | 2013-09-18 09:53:10 +0100 | [diff] [blame] | 238 | clocks { |
| 239 | compatible = "stericsson,u8500-clks"; |
Linus Walleij | 5dc0fe19 | 2015-07-30 15:19:25 +0200 | [diff] [blame] | 240 | /* |
| 241 | * Registers for the CLKRST block on peripheral |
| 242 | * groups 1, 2, 3, 5, 6, |
| 243 | */ |
| 244 | reg = <0x8012f000 0x1000>, <0x8011f000 0x1000>, |
| 245 | <0x8000f000 0x1000>, <0xa03ff000 0x1000>, |
| 246 | <0xa03cf000 0x1000>; |
Lee Jones | 841cd0c | 2013-09-18 09:53:10 +0100 | [diff] [blame] | 247 | |
| 248 | prcmu_clk: prcmu-clock { |
| 249 | #clock-cells = <1>; |
| 250 | }; |
Lee Jones | fcbe5e9 | 2013-06-06 10:51:04 +0100 | [diff] [blame] | 251 | |
| 252 | prcc_pclk: prcc-periph-clock { |
| 253 | #clock-cells = <2>; |
| 254 | }; |
Lee Jones | 2588fea | 2013-06-06 10:52:50 +0100 | [diff] [blame] | 255 | |
| 256 | prcc_kclk: prcc-kernel-clock { |
| 257 | #clock-cells = <2>; |
| 258 | }; |
Lee Jones | 589d983 | 2013-06-06 10:54:27 +0100 | [diff] [blame] | 259 | |
| 260 | rtc_clk: rtc32k-clock { |
| 261 | #clock-cells = <0>; |
| 262 | }; |
Lee Jones | 309012d | 2013-06-06 10:54:48 +0100 | [diff] [blame] | 263 | |
| 264 | smp_twd_clk: smp-twd-clock { |
| 265 | #clock-cells = <0>; |
| 266 | }; |
Lee Jones | 841cd0c | 2013-09-18 09:53:10 +0100 | [diff] [blame] | 267 | }; |
| 268 | |
Lee Jones | 8132ed1 | 2013-09-18 09:54:07 +0100 | [diff] [blame] | 269 | mtu@a03c6000 { |
| 270 | /* Nomadik System Timer */ |
| 271 | compatible = "st,nomadik-mtu"; |
| 272 | reg = <0xa03c6000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 273 | interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 8132ed1 | 2013-09-18 09:54:07 +0100 | [diff] [blame] | 274 | |
| 275 | clocks = <&prcmu_clk PRCMU_TIMCLK>, <&prcc_pclk 6 6>; |
| 276 | clock-names = "timclk", "apb_pclk"; |
| 277 | }; |
| 278 | |
Lee Jones | 71de5c4 | 2012-03-16 09:53:24 +0000 | [diff] [blame] | 279 | timer@a0410600 { |
| 280 | compatible = "arm,cortex-a9-twd-timer"; |
| 281 | reg = <0xa0410600 0x20>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 282 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_HIGH)>; |
Lee Jones | a8acb1e | 2013-06-05 12:26:52 +0100 | [diff] [blame] | 283 | |
| 284 | clocks = <&smp_twd_clk>; |
Lee Jones | 71de5c4 | 2012-03-16 09:53:24 +0000 | [diff] [blame] | 285 | }; |
| 286 | |
Linus Walleij | 4879341 | 2015-05-14 11:22:34 +0200 | [diff] [blame] | 287 | watchdog@a0410620 { |
| 288 | compatible = "arm,cortex-a9-twd-wdt"; |
| 289 | reg = <0xa0410620 0x20>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 290 | interrupts = <GIC_PPI 14 (GIC_CPU_MASK_RAW(3) | IRQ_TYPE_LEVEL_HIGH)>; |
Linus Walleij | 4879341 | 2015-05-14 11:22:34 +0200 | [diff] [blame] | 291 | clocks = <&smp_twd_clk>; |
| 292 | }; |
| 293 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 294 | rtc@80154000 { |
Lee Jones | ddb3b99 | 2012-05-26 07:01:31 +0100 | [diff] [blame] | 295 | compatible = "arm,rtc-pl031", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 296 | reg = <0x80154000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 297 | interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | d299b5a | 2013-06-05 12:27:24 +0100 | [diff] [blame] | 298 | |
| 299 | clocks = <&rtc_clk>; |
| 300 | clock-names = "apb_pclk"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 301 | }; |
| 302 | |
| 303 | gpio0: gpio@8012e000 { |
| 304 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 305 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 306 | reg = <0x8012e000 0x80>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 307 | interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 308 | interrupt-controller; |
| 309 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 310 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 311 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 312 | #gpio-cells = <2>; |
| 313 | gpio-bank = <0>; |
Linus Walleij | ee04139 | 2015-07-23 09:09:49 +0200 | [diff] [blame] | 314 | gpio-ranges = <&pinctrl 0 0 32>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 315 | clocks = <&prcc_pclk 1 9>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 316 | }; |
| 317 | |
| 318 | gpio1: gpio@8012e080 { |
| 319 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 320 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 321 | reg = <0x8012e080 0x80>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 322 | interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 323 | interrupt-controller; |
| 324 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 325 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 326 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 327 | #gpio-cells = <2>; |
| 328 | gpio-bank = <1>; |
Linus Walleij | ee04139 | 2015-07-23 09:09:49 +0200 | [diff] [blame] | 329 | gpio-ranges = <&pinctrl 0 32 5>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 330 | clocks = <&prcc_pclk 1 9>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 331 | }; |
| 332 | |
| 333 | gpio2: gpio@8000e000 { |
| 334 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 335 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 336 | reg = <0x8000e000 0x80>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 337 | interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 338 | interrupt-controller; |
| 339 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 340 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 341 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 342 | #gpio-cells = <2>; |
| 343 | gpio-bank = <2>; |
Linus Walleij | ee04139 | 2015-07-23 09:09:49 +0200 | [diff] [blame] | 344 | gpio-ranges = <&pinctrl 0 64 32>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 345 | clocks = <&prcc_pclk 3 8>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 346 | }; |
| 347 | |
| 348 | gpio3: gpio@8000e080 { |
| 349 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 350 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 351 | reg = <0x8000e080 0x80>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 352 | interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 353 | interrupt-controller; |
| 354 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 355 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 356 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 357 | #gpio-cells = <2>; |
| 358 | gpio-bank = <3>; |
Linus Walleij | ee04139 | 2015-07-23 09:09:49 +0200 | [diff] [blame] | 359 | gpio-ranges = <&pinctrl 0 96 2>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 360 | clocks = <&prcc_pclk 3 8>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 361 | }; |
| 362 | |
| 363 | gpio4: gpio@8000e100 { |
| 364 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 365 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 366 | reg = <0x8000e100 0x80>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 367 | interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 368 | interrupt-controller; |
| 369 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 370 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 371 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 372 | #gpio-cells = <2>; |
| 373 | gpio-bank = <4>; |
Linus Walleij | ee04139 | 2015-07-23 09:09:49 +0200 | [diff] [blame] | 374 | gpio-ranges = <&pinctrl 0 128 32>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 375 | clocks = <&prcc_pclk 3 8>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 376 | }; |
| 377 | |
| 378 | gpio5: gpio@8000e180 { |
| 379 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 380 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 381 | reg = <0x8000e180 0x80>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 382 | interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 383 | interrupt-controller; |
| 384 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 385 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 386 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 387 | #gpio-cells = <2>; |
| 388 | gpio-bank = <5>; |
Linus Walleij | ee04139 | 2015-07-23 09:09:49 +0200 | [diff] [blame] | 389 | gpio-ranges = <&pinctrl 0 160 12>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 390 | clocks = <&prcc_pclk 3 8>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 391 | }; |
| 392 | |
| 393 | gpio6: gpio@8011e000 { |
| 394 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 395 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 396 | reg = <0x8011e000 0x80>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 397 | interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 398 | interrupt-controller; |
| 399 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 400 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 401 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 402 | #gpio-cells = <2>; |
| 403 | gpio-bank = <6>; |
Linus Walleij | ee04139 | 2015-07-23 09:09:49 +0200 | [diff] [blame] | 404 | gpio-ranges = <&pinctrl 0 192 32>; |
Linus Walleij | d591640 | 2013-10-18 09:49:21 +0200 | [diff] [blame] | 405 | clocks = <&prcc_pclk 2 11>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 406 | }; |
| 407 | |
| 408 | gpio7: gpio@8011e080 { |
| 409 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 410 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 411 | reg = <0x8011e080 0x80>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 412 | interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 413 | interrupt-controller; |
| 414 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 415 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 416 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 417 | #gpio-cells = <2>; |
| 418 | gpio-bank = <7>; |
Linus Walleij | ee04139 | 2015-07-23 09:09:49 +0200 | [diff] [blame] | 419 | gpio-ranges = <&pinctrl 0 224 7>; |
Linus Walleij | d591640 | 2013-10-18 09:49:21 +0200 | [diff] [blame] | 420 | clocks = <&prcc_pclk 2 11>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 421 | }; |
| 422 | |
| 423 | gpio8: gpio@a03fe000 { |
| 424 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 425 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 426 | reg = <0xa03fe000 0x80>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 427 | interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 428 | interrupt-controller; |
| 429 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 430 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 431 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 432 | #gpio-cells = <2>; |
| 433 | gpio-bank = <8>; |
Linus Walleij | ee04139 | 2015-07-23 09:09:49 +0200 | [diff] [blame] | 434 | gpio-ranges = <&pinctrl 0 256 12>; |
Linus Walleij | 84873cb | 2013-10-18 09:45:07 +0200 | [diff] [blame] | 435 | clocks = <&prcc_pclk 5 1>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 436 | }; |
| 437 | |
Linus Walleij | ee04139 | 2015-07-23 09:09:49 +0200 | [diff] [blame] | 438 | pinctrl: pinctrl { |
Lee Jones | 818d99a | 2013-05-22 15:22:55 +0100 | [diff] [blame] | 439 | compatible = "stericsson,db8500-pinctrl"; |
Linus Walleij | ee04139 | 2015-07-23 09:09:49 +0200 | [diff] [blame] | 440 | nomadik-gpio-chips = <&gpio0>, <&gpio1>, <&gpio2>, <&gpio3>, |
| 441 | <&gpio4>, <&gpio5>, <&gpio6>, <&gpio7>, |
| 442 | <&gpio8>; |
Lee Jones | 8979cfe | 2013-01-11 15:45:28 +0000 | [diff] [blame] | 443 | prcm = <&prcmu>; |
Lee Jones | 5910de9 | 2012-05-26 06:25:36 +0100 | [diff] [blame] | 444 | }; |
| 445 | |
Lee Jones | b32dc86 | 2013-05-03 15:31:51 +0100 | [diff] [blame] | 446 | usb_per5@a03e0000 { |
Sebastian Andrzej Siewior | 4a6cd43 | 2013-08-20 18:40:27 +0200 | [diff] [blame] | 447 | compatible = "stericsson,db8500-musb"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 448 | reg = <0xa03e0000 0x10000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 449 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | b32dc86 | 2013-05-03 15:31:51 +0100 | [diff] [blame] | 450 | interrupt-names = "mc"; |
| 451 | |
| 452 | dr_mode = "otg"; |
| 453 | |
| 454 | dmas = <&dma 38 0 0x2>, /* Logical - DevToMem */ |
| 455 | <&dma 38 0 0x0>, /* Logical - MemToDev */ |
| 456 | <&dma 37 0 0x2>, /* Logical - DevToMem */ |
| 457 | <&dma 37 0 0x0>, /* Logical - MemToDev */ |
| 458 | <&dma 36 0 0x2>, /* Logical - DevToMem */ |
| 459 | <&dma 36 0 0x0>, /* Logical - MemToDev */ |
| 460 | <&dma 19 0 0x2>, /* Logical - DevToMem */ |
| 461 | <&dma 19 0 0x0>, /* Logical - MemToDev */ |
| 462 | <&dma 18 0 0x2>, /* Logical - DevToMem */ |
| 463 | <&dma 18 0 0x0>, /* Logical - MemToDev */ |
| 464 | <&dma 17 0 0x2>, /* Logical - DevToMem */ |
| 465 | <&dma 17 0 0x0>, /* Logical - MemToDev */ |
| 466 | <&dma 16 0 0x2>, /* Logical - DevToMem */ |
| 467 | <&dma 16 0 0x0>, /* Logical - MemToDev */ |
| 468 | <&dma 39 0 0x2>, /* Logical - DevToMem */ |
| 469 | <&dma 39 0 0x0>; /* Logical - MemToDev */ |
| 470 | |
| 471 | dma-names = "iep_1_9", "oep_1_9", |
| 472 | "iep_2_10", "oep_2_10", |
| 473 | "iep_3_11", "oep_3_11", |
| 474 | "iep_4_12", "oep_4_12", |
| 475 | "iep_5_13", "oep_5_13", |
| 476 | "iep_6_14", "oep_6_14", |
| 477 | "iep_7_15", "oep_7_15", |
| 478 | "iep_8", "oep_8"; |
Lee Jones | e47339f | 2013-06-03 13:08:26 +0100 | [diff] [blame] | 479 | |
| 480 | clocks = <&prcc_pclk 5 0>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 481 | }; |
| 482 | |
Lee Jones | ba074ae | 2013-05-03 15:31:48 +0100 | [diff] [blame] | 483 | dma: dma-controller@801C0000 { |
| 484 | compatible = "stericsson,db8500-dma40", "stericsson,dma40"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 485 | reg = <0x801C0000 0x1000 0x40010000 0x800>; |
Lee Jones | 70d39a8 | 2013-05-03 15:31:47 +0100 | [diff] [blame] | 486 | reg-names = "base", "lcpa"; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 487 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | ba074ae | 2013-05-03 15:31:48 +0100 | [diff] [blame] | 488 | |
| 489 | #dma-cells = <3>; |
Lee Jones | d37fcdb | 2013-05-03 15:31:52 +0100 | [diff] [blame] | 490 | memcpy-channels = <56 57 58 59 60>; |
Lee Jones | e064cb2 | 2013-06-03 13:13:54 +0100 | [diff] [blame] | 491 | |
| 492 | clocks = <&prcmu_clk PRCMU_DMACLK>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 493 | }; |
| 494 | |
Lee Jones | 8979cfe | 2013-01-11 15:45:28 +0000 | [diff] [blame] | 495 | prcmu: prcmu@80157000 { |
Linus Walleij | 3be9349 | 2018-07-12 14:52:00 +0200 | [diff] [blame] | 496 | compatible = "stericsson,db8500-prcmu", "syscon"; |
Linus Torvalds | 4d26aa3 | 2013-05-02 08:56:55 -0700 | [diff] [blame] | 497 | reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>; |
Lee Jones | e73081d | 2013-03-26 10:26:15 +0000 | [diff] [blame] | 498 | reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm"; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 499 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 500 | #address-cells = <1>; |
Lee Jones | 3de3d74 | 2012-04-24 10:00:15 +0100 | [diff] [blame] | 501 | #size-cells = <1>; |
Lee Jones | c09090b | 2012-08-03 15:42:25 +0100 | [diff] [blame] | 502 | interrupt-controller; |
| 503 | #interrupt-cells = <2>; |
Lee Jones | 3de3d74 | 2012-04-24 10:00:15 +0100 | [diff] [blame] | 504 | ranges; |
| 505 | |
Lee Jones | ccf74f7 | 2012-05-28 16:50:49 +0800 | [diff] [blame] | 506 | prcmu-timer-4@80157450 { |
Lee Jones | 3de3d74 | 2012-04-24 10:00:15 +0100 | [diff] [blame] | 507 | compatible = "stericsson,db8500-prcmu-timer-4"; |
| 508 | reg = <0x80157450 0xC>; |
| 509 | }; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 510 | |
hongbo.zhang | dc1956b | 2012-11-15 18:56:43 +0800 | [diff] [blame] | 511 | thermal@801573c0 { |
| 512 | compatible = "stericsson,db8500-thermal"; |
| 513 | reg = <0x801573c0 0x40>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 514 | interrupts = <21 IRQ_TYPE_LEVEL_HIGH>, |
| 515 | <22 IRQ_TYPE_LEVEL_HIGH>; |
hongbo.zhang | dc1956b | 2012-11-15 18:56:43 +0800 | [diff] [blame] | 516 | interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH"; |
| 517 | status = "disabled"; |
Lee Jones | 1d3f99f | 2013-06-06 12:21:15 +0100 | [diff] [blame] | 518 | }; |
hongbo.zhang | dc1956b | 2012-11-15 18:56:43 +0800 | [diff] [blame] | 519 | |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 520 | db8500-prcmu-regulators { |
| 521 | compatible = "stericsson,db8500-prcmu-regulator"; |
| 522 | |
| 523 | // DB8500_REGULATOR_VAPE |
| 524 | db8500_vape_reg: db8500_vape { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 525 | regulator-always-on; |
| 526 | }; |
| 527 | |
| 528 | // DB8500_REGULATOR_VARM |
| 529 | db8500_varm_reg: db8500_varm { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 530 | }; |
| 531 | |
| 532 | // DB8500_REGULATOR_VMODEM |
| 533 | db8500_vmodem_reg: db8500_vmodem { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 534 | }; |
| 535 | |
| 536 | // DB8500_REGULATOR_VPLL |
| 537 | db8500_vpll_reg: db8500_vpll { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 538 | }; |
| 539 | |
| 540 | // DB8500_REGULATOR_VSMPS1 |
| 541 | db8500_vsmps1_reg: db8500_vsmps1 { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 542 | }; |
| 543 | |
| 544 | // DB8500_REGULATOR_VSMPS2 |
| 545 | db8500_vsmps2_reg: db8500_vsmps2 { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 546 | }; |
| 547 | |
| 548 | // DB8500_REGULATOR_VSMPS3 |
| 549 | db8500_vsmps3_reg: db8500_vsmps3 { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 550 | }; |
| 551 | |
| 552 | // DB8500_REGULATOR_VRF1 |
| 553 | db8500_vrf1_reg: db8500_vrf1 { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 554 | }; |
| 555 | |
| 556 | // DB8500_REGULATOR_SWITCH_SVAMMDSP |
| 557 | db8500_sva_mmdsp_reg: db8500_sva_mmdsp { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 558 | }; |
| 559 | |
| 560 | // DB8500_REGULATOR_SWITCH_SVAMMDSPRET |
| 561 | db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 562 | }; |
| 563 | |
| 564 | // DB8500_REGULATOR_SWITCH_SVAPIPE |
| 565 | db8500_sva_pipe_reg: db8500_sva_pipe { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 566 | }; |
| 567 | |
| 568 | // DB8500_REGULATOR_SWITCH_SIAMMDSP |
| 569 | db8500_sia_mmdsp_reg: db8500_sia_mmdsp { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 570 | }; |
| 571 | |
| 572 | // DB8500_REGULATOR_SWITCH_SIAMMDSPRET |
| 573 | db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 574 | }; |
| 575 | |
| 576 | // DB8500_REGULATOR_SWITCH_SIAPIPE |
| 577 | db8500_sia_pipe_reg: db8500_sia_pipe { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 578 | }; |
| 579 | |
| 580 | // DB8500_REGULATOR_SWITCH_SGA |
| 581 | db8500_sga_reg: db8500_sga { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 582 | vin-supply = <&db8500_vape_reg>; |
| 583 | }; |
| 584 | |
| 585 | // DB8500_REGULATOR_SWITCH_B2R2_MCDE |
| 586 | db8500_b2r2_mcde_reg: db8500_b2r2_mcde { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 587 | vin-supply = <&db8500_vape_reg>; |
| 588 | }; |
| 589 | |
| 590 | // DB8500_REGULATOR_SWITCH_ESRAM12 |
| 591 | db8500_esram12_reg: db8500_esram12 { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 592 | }; |
| 593 | |
| 594 | // DB8500_REGULATOR_SWITCH_ESRAM12RET |
| 595 | db8500_esram12_ret_reg: db8500_esram12_ret { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 596 | }; |
| 597 | |
| 598 | // DB8500_REGULATOR_SWITCH_ESRAM34 |
| 599 | db8500_esram34_reg: db8500_esram34 { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 600 | }; |
| 601 | |
| 602 | // DB8500_REGULATOR_SWITCH_ESRAM34RET |
| 603 | db8500_esram34_ret_reg: db8500_esram34_ret { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 604 | }; |
| 605 | }; |
| 606 | |
Arnd Bergmann | d52701d3 | 2013-03-12 09:39:01 +0100 | [diff] [blame] | 607 | ab8500 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 608 | compatible = "stericsson,ab8500"; |
Lee Jones | 8d4c6d4 | 2012-08-03 20:37:35 +0100 | [diff] [blame] | 609 | interrupt-parent = <&intc>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 610 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 732973c | 2012-05-29 10:49:33 +0800 | [diff] [blame] | 611 | interrupt-controller; |
| 612 | #interrupt-cells = <2>; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 613 | |
Linus Walleij | 9aea151 | 2017-02-26 01:02:09 +0100 | [diff] [blame] | 614 | ab8500_clock: clock-controller { |
| 615 | compatible = "stericsson,ab8500-clk"; |
| 616 | #clock-cells = <1>; |
| 617 | }; |
| 618 | |
Lee Jones | 348f3bc | 2013-06-18 09:51:57 +0100 | [diff] [blame] | 619 | ab8500_gpio: ab8500-gpio { |
Linus Walleij | ba3fb04 | 2016-04-21 09:59:05 +0200 | [diff] [blame] | 620 | compatible = "stericsson,ab8500-gpio"; |
Lee Jones | 348f3bc | 2013-06-18 09:51:57 +0100 | [diff] [blame] | 621 | gpio-controller; |
| 622 | #gpio-cells = <2>; |
| 623 | }; |
| 624 | |
Lee Jones | d4b29ac | 2012-05-26 07:03:48 +0100 | [diff] [blame] | 625 | ab8500-rtc { |
| 626 | compatible = "stericsson,ab8500-rtc"; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 627 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH |
| 628 | 18 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | d4b29ac | 2012-05-26 07:03:48 +0100 | [diff] [blame] | 629 | interrupt-names = "60S", "ALARM"; |
| 630 | }; |
| 631 | |
Lee Jones | 4eda912 | 2012-05-28 16:59:26 +0800 | [diff] [blame] | 632 | ab8500-gpadc { |
| 633 | compatible = "stericsson,ab8500-gpadc"; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 634 | interrupts = <32 IRQ_TYPE_LEVEL_HIGH |
| 635 | 39 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 4eda912 | 2012-05-28 16:59:26 +0800 | [diff] [blame] | 636 | interrupt-names = "HW_CONV_END", "SW_CONV_END"; |
| 637 | vddadc-supply = <&ab8500_ldo_tvout_reg>; |
| 638 | }; |
| 639 | |
Rajanikanth H.V | e0f1abe | 2012-11-18 18:45:41 -0800 | [diff] [blame] | 640 | ab8500_battery: ab8500_battery { |
| 641 | stericsson,battery-type = "LIPO"; |
| 642 | thermistor-on-batctrl; |
| 643 | }; |
| 644 | |
| 645 | ab8500_fg { |
| 646 | compatible = "stericsson,ab8500-fg"; |
| 647 | battery = <&ab8500_battery>; |
| 648 | }; |
| 649 | |
Rajanikanth H.V | bd9e8ab | 2012-11-18 19:16:58 -0800 | [diff] [blame] | 650 | ab8500_btemp { |
| 651 | compatible = "stericsson,ab8500-btemp"; |
| 652 | battery = <&ab8500_battery>; |
| 653 | }; |
| 654 | |
Rajanikanth H.V | 4aef72d | 2012-11-18 19:17:47 -0800 | [diff] [blame] | 655 | ab8500_charger { |
| 656 | compatible = "stericsson,ab8500-charger"; |
| 657 | battery = <&ab8500_battery>; |
| 658 | vddadc-supply = <&ab8500_ldo_tvout_reg>; |
| 659 | }; |
| 660 | |
Rajanikanth H.V | a12810a | 2012-10-31 15:40:33 +0000 | [diff] [blame] | 661 | ab8500_chargalg { |
| 662 | compatible = "stericsson,ab8500-chargalg"; |
| 663 | battery = <&ab8500_battery>; |
| 664 | }; |
| 665 | |
Rajanikanth H.V | e0f1abe | 2012-11-18 18:45:41 -0800 | [diff] [blame] | 666 | ab8500_usb { |
Lee Jones | ee189ce | 2012-05-03 14:40:24 +0100 | [diff] [blame] | 667 | compatible = "stericsson,ab8500-usb"; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 668 | interrupts = < 90 IRQ_TYPE_LEVEL_HIGH |
| 669 | 96 IRQ_TYPE_LEVEL_HIGH |
| 670 | 14 IRQ_TYPE_LEVEL_HIGH |
| 671 | 15 IRQ_TYPE_LEVEL_HIGH |
| 672 | 79 IRQ_TYPE_LEVEL_HIGH |
| 673 | 74 IRQ_TYPE_LEVEL_HIGH |
| 674 | 75 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | ee189ce | 2012-05-03 14:40:24 +0100 | [diff] [blame] | 675 | interrupt-names = "ID_WAKEUP_R", |
| 676 | "ID_WAKEUP_F", |
| 677 | "VBUS_DET_F", |
| 678 | "VBUS_DET_R", |
| 679 | "USB_LINK_STATUS", |
| 680 | "USB_ADP_PROBE_PLUG", |
| 681 | "USB_ADP_PROBE_UNPLUG"; |
Fabio Baltieri | 99b38ee | 2013-04-09 11:16:56 +0200 | [diff] [blame] | 682 | vddulpivio18-supply = <&ab8500_ldo_intcore_reg>; |
Lee Jones | ee189ce | 2012-05-03 14:40:24 +0100 | [diff] [blame] | 683 | v-ape-supply = <&db8500_vape_reg>; |
| 684 | musb_1v8-supply = <&db8500_vsmps2_reg>; |
Linus Walleij | 3015d3b | 2017-01-12 15:07:35 +0100 | [diff] [blame] | 685 | clocks = <&prcmu_clk PRCMU_SYSCLK>; |
| 686 | clock-names = "sysclk"; |
Lee Jones | ee189ce | 2012-05-03 14:40:24 +0100 | [diff] [blame] | 687 | }; |
| 688 | |
Lee Jones | 12cb7bd | 2012-05-02 08:45:40 +0100 | [diff] [blame] | 689 | ab8500-ponkey { |
Lee Jones | 7463070 | 2012-08-09 13:00:12 +0100 | [diff] [blame] | 690 | compatible = "stericsson,ab8500-poweron-key"; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 691 | interrupts = <6 IRQ_TYPE_LEVEL_HIGH |
| 692 | 7 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 12cb7bd | 2012-05-02 08:45:40 +0100 | [diff] [blame] | 693 | interrupt-names = "ONKEY_DBF", "ONKEY_DBR"; |
| 694 | }; |
| 695 | |
Lee Jones | 401cd1b | 2012-05-03 12:53:55 +0100 | [diff] [blame] | 696 | ab8500-sysctrl { |
| 697 | compatible = "stericsson,ab8500-sysctrl"; |
| 698 | }; |
| 699 | |
Lee Jones | 78451de | 2012-05-03 13:03:59 +0100 | [diff] [blame] | 700 | ab8500-pwm { |
| 701 | compatible = "stericsson,ab8500-pwm"; |
Linus Walleij | 9aea151 | 2017-02-26 01:02:09 +0100 | [diff] [blame] | 702 | clocks = <&ab8500_clock AB8500_SYSCLK_INT>; |
| 703 | clock-names = "intclk"; |
Lee Jones | 78451de | 2012-05-03 13:03:59 +0100 | [diff] [blame] | 704 | }; |
| 705 | |
Lee Jones | 215891e | 2012-05-01 16:11:19 +0100 | [diff] [blame] | 706 | ab8500-debugfs { |
| 707 | compatible = "stericsson,ab8500-debug"; |
| 708 | }; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 709 | |
Lee Jones | 9c06af3 | 2012-07-25 12:50:13 +0100 | [diff] [blame] | 710 | codec: ab8500-codec { |
| 711 | compatible = "stericsson,ab8500-codec"; |
| 712 | |
Fabio Baltieri | f99808a | 2013-05-30 15:27:43 +0200 | [diff] [blame] | 713 | V-AUD-supply = <&ab8500_ldo_audio_reg>; |
| 714 | V-AMIC1-supply = <&ab8500_ldo_anamic1_reg>; |
| 715 | V-AMIC2-supply = <&ab8500_ldo_anamic2_reg>; |
| 716 | V-DMIC-supply = <&ab8500_ldo_dmic_reg>; |
| 717 | |
Linus Walleij | 9aea151 | 2017-02-26 01:02:09 +0100 | [diff] [blame] | 718 | clocks = <&ab8500_clock AB8500_SYSCLK_AUDIO>; |
| 719 | clock-names = "audioclk"; |
| 720 | |
Lee Jones | 9c06af3 | 2012-07-25 12:50:13 +0100 | [diff] [blame] | 721 | stericsson,earpeice-cmv = <950>; /* Units in mV. */ |
| 722 | }; |
| 723 | |
Lee Jones | 62ebfe6 | 2013-06-07 17:11:19 +0100 | [diff] [blame] | 724 | ext_regulators: ab8500-ext-regulators { |
| 725 | compatible = "stericsson,ab8500-ext-regulator"; |
| 726 | |
| 727 | ab8500_ext1_reg: ab8500_ext1 { |
Lee Jones | 62ebfe6 | 2013-06-07 17:11:19 +0100 | [diff] [blame] | 728 | regulator-min-microvolt = <1800000>; |
| 729 | regulator-max-microvolt = <1800000>; |
| 730 | regulator-boot-on; |
| 731 | regulator-always-on; |
| 732 | }; |
| 733 | |
| 734 | ab8500_ext2_reg: ab8500_ext2 { |
Lee Jones | 62ebfe6 | 2013-06-07 17:11:19 +0100 | [diff] [blame] | 735 | regulator-min-microvolt = <1360000>; |
| 736 | regulator-max-microvolt = <1360000>; |
| 737 | regulator-boot-on; |
| 738 | regulator-always-on; |
| 739 | }; |
| 740 | |
| 741 | ab8500_ext3_reg: ab8500_ext3 { |
Lee Jones | 62ebfe6 | 2013-06-07 17:11:19 +0100 | [diff] [blame] | 742 | regulator-min-microvolt = <3400000>; |
| 743 | regulator-max-microvolt = <3400000>; |
| 744 | regulator-boot-on; |
| 745 | }; |
| 746 | }; |
| 747 | |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 748 | ab8500-regulators { |
| 749 | compatible = "stericsson,ab8500-regulator"; |
Lee Jones | 75f0999 | 2013-06-07 17:11:20 +0100 | [diff] [blame] | 750 | vin-supply = <&ab8500_ext3_reg>; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 751 | |
| 752 | // supplies to the display/camera |
| 753 | ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 754 | regulator-min-microvolt = <2500000>; |
| 755 | regulator-max-microvolt = <2900000>; |
| 756 | regulator-boot-on; |
| 757 | /* BUG: If turned off MMC will be affected. */ |
| 758 | regulator-always-on; |
| 759 | }; |
| 760 | |
| 761 | // supplies to the on-board eMMC |
| 762 | ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 763 | regulator-min-microvolt = <1100000>; |
| 764 | regulator-max-microvolt = <3300000>; |
| 765 | }; |
| 766 | |
| 767 | // supply for VAUX3; SDcard slots |
| 768 | ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 769 | regulator-min-microvolt = <1100000>; |
| 770 | regulator-max-microvolt = <3300000>; |
| 771 | }; |
| 772 | |
| 773 | // supply for v-intcore12; VINTCORE12 LDO |
Fabio Baltieri | 99b38ee | 2013-04-09 11:16:56 +0200 | [diff] [blame] | 774 | ab8500_ldo_intcore_reg: ab8500_ldo_intcore { |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 775 | }; |
| 776 | |
| 777 | // supply for tvout; gpadc; TVOUT LDO |
| 778 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 779 | }; |
| 780 | |
| 781 | // supply for ab8500-usb; USB LDO |
| 782 | ab8500_ldo_usb_reg: ab8500_ldo_usb { |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 783 | }; |
| 784 | |
| 785 | // supply for ab8500-vaudio; VAUDIO LDO |
| 786 | ab8500_ldo_audio_reg: ab8500_ldo_audio { |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 787 | }; |
| 788 | |
Fabio Baltieri | 4aa4487 | 2013-05-30 15:27:41 +0200 | [diff] [blame] | 789 | // supply for v-anamic1 VAMIC1 LDO |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 790 | ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 791 | }; |
| 792 | |
| 793 | // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1 |
Fabio Baltieri | 5510ed9 | 2013-05-30 15:27:42 +0200 | [diff] [blame] | 794 | ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 { |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 795 | }; |
| 796 | |
| 797 | // supply for v-dmic; VDMIC LDO |
| 798 | ab8500_ldo_dmic_reg: ab8500_ldo_dmic { |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 799 | }; |
| 800 | |
| 801 | // supply for U8500 CSI/DSI; VANA LDO |
| 802 | ab8500_ldo_ana_reg: ab8500_ldo_ana { |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 803 | }; |
| 804 | }; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 805 | }; |
| 806 | }; |
| 807 | |
| 808 | i2c@80004000 { |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 809 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 810 | reg = <0x80004000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 811 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 35b33d2 | 2012-10-24 11:07:02 +0100 | [diff] [blame] | 812 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 813 | #address-cells = <1>; |
| 814 | #size-cells = <0>; |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 815 | v-i2c-supply = <&db8500_vape_reg>; |
| 816 | |
| 817 | clock-frequency = <400000>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 818 | clocks = <&prcc_kclk 3 3>, <&prcc_pclk 3 3>; |
| 819 | clock-names = "i2cclk", "apb_pclk"; |
Ulf Hansson | 29417fe | 2014-10-14 11:13:01 +0200 | [diff] [blame] | 820 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 821 | }; |
| 822 | |
| 823 | i2c@80122000 { |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 824 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 825 | reg = <0x80122000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 826 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 35b33d2 | 2012-10-24 11:07:02 +0100 | [diff] [blame] | 827 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 828 | #address-cells = <1>; |
| 829 | #size-cells = <0>; |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 830 | v-i2c-supply = <&db8500_vape_reg>; |
| 831 | |
| 832 | clock-frequency = <400000>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 833 | |
| 834 | clocks = <&prcc_kclk 1 2>, <&prcc_pclk 1 2>; |
| 835 | clock-names = "i2cclk", "apb_pclk"; |
Ulf Hansson | 29417fe | 2014-10-14 11:13:01 +0200 | [diff] [blame] | 836 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 837 | }; |
| 838 | |
| 839 | i2c@80128000 { |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 840 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 841 | reg = <0x80128000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 842 | interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 35b33d2 | 2012-10-24 11:07:02 +0100 | [diff] [blame] | 843 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 844 | #address-cells = <1>; |
| 845 | #size-cells = <0>; |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 846 | v-i2c-supply = <&db8500_vape_reg>; |
| 847 | |
| 848 | clock-frequency = <400000>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 849 | |
| 850 | clocks = <&prcc_kclk 1 6>, <&prcc_pclk 1 6>; |
| 851 | clock-names = "i2cclk", "apb_pclk"; |
Ulf Hansson | 29417fe | 2014-10-14 11:13:01 +0200 | [diff] [blame] | 852 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 853 | }; |
| 854 | |
| 855 | i2c@80110000 { |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 856 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 857 | reg = <0x80110000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 858 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 35b33d2 | 2012-10-24 11:07:02 +0100 | [diff] [blame] | 859 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 860 | #address-cells = <1>; |
| 861 | #size-cells = <0>; |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 862 | v-i2c-supply = <&db8500_vape_reg>; |
| 863 | |
| 864 | clock-frequency = <400000>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 865 | |
| 866 | clocks = <&prcc_kclk 2 0>, <&prcc_pclk 2 0>; |
| 867 | clock-names = "i2cclk", "apb_pclk"; |
Ulf Hansson | 29417fe | 2014-10-14 11:13:01 +0200 | [diff] [blame] | 868 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 869 | }; |
| 870 | |
| 871 | i2c@8012a000 { |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 872 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 873 | reg = <0x8012a000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 874 | interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 35b33d2 | 2012-10-24 11:07:02 +0100 | [diff] [blame] | 875 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 876 | #address-cells = <1>; |
| 877 | #size-cells = <0>; |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 878 | v-i2c-supply = <&db8500_vape_reg>; |
| 879 | |
| 880 | clock-frequency = <400000>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 881 | |
Linus Walleij | 72b3e24 | 2013-10-18 10:39:58 +0200 | [diff] [blame] | 882 | clocks = <&prcc_kclk 1 9>, <&prcc_pclk 1 10>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 883 | clock-names = "i2cclk", "apb_pclk"; |
Ulf Hansson | 29417fe | 2014-10-14 11:13:01 +0200 | [diff] [blame] | 884 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 885 | }; |
| 886 | |
Rob Herring | 2f967f9 | 2018-09-13 13:12:34 -0500 | [diff] [blame] | 887 | spi@80002000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 888 | compatible = "arm,pl022", "arm,primecell"; |
Lee Jones | c164fa6 | 2012-09-07 12:09:34 +0100 | [diff] [blame] | 889 | reg = <0x80002000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 890 | interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 891 | #address-cells = <1>; |
| 892 | #size-cells = <0>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 893 | clocks = <&prcc_kclk 3 1>, <&prcc_pclk 3 1>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 894 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 895 | dmas = <&dma 8 0 0x2>, /* Logical - DevToMem */ |
| 896 | <&dma 8 0 0x0>; /* Logical - MemToDev */ |
| 897 | dma-names = "rx", "tx"; |
Ulf Hansson | 770e2f6 | 2014-10-14 11:13:00 +0200 | [diff] [blame] | 898 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 899 | }; |
| 900 | |
Rob Herring | 2f967f9 | 2018-09-13 13:12:34 -0500 | [diff] [blame] | 901 | spi@80003000 { |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 902 | compatible = "arm,pl022", "arm,primecell"; |
| 903 | reg = <0x80003000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 904 | interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 905 | #address-cells = <1>; |
| 906 | #size-cells = <0>; |
| 907 | clocks = <&prcc_kclk 3 2>, <&prcc_pclk 3 2>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 908 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 909 | dmas = <&dma 9 0 0x2>, /* Logical - DevToMem */ |
| 910 | <&dma 9 0 0x0>; /* Logical - MemToDev */ |
| 911 | dma-names = "rx", "tx"; |
Ulf Hansson | 770e2f6 | 2014-10-14 11:13:00 +0200 | [diff] [blame] | 912 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 913 | }; |
| 914 | |
| 915 | spi@8011a000 { |
| 916 | compatible = "arm,pl022", "arm,primecell"; |
| 917 | reg = <0x8011a000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 918 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 919 | #address-cells = <1>; |
| 920 | #size-cells = <0>; |
| 921 | /* Same clock wired to kernel and pclk */ |
| 922 | clocks = <&prcc_pclk 2 8>, <&prcc_pclk 2 8>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 923 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 924 | dmas = <&dma 0 0 0x2>, /* Logical - DevToMem */ |
| 925 | <&dma 0 0 0x0>; /* Logical - MemToDev */ |
| 926 | dma-names = "rx", "tx"; |
Ulf Hansson | 770e2f6 | 2014-10-14 11:13:00 +0200 | [diff] [blame] | 927 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 928 | }; |
| 929 | |
| 930 | spi@80112000 { |
| 931 | compatible = "arm,pl022", "arm,primecell"; |
| 932 | reg = <0x80112000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 933 | interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 934 | #address-cells = <1>; |
| 935 | #size-cells = <0>; |
| 936 | /* Same clock wired to kernel and pclk */ |
| 937 | clocks = <&prcc_pclk 2 2>, <&prcc_pclk 2 2>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 938 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 939 | dmas = <&dma 35 0 0x2>, /* Logical - DevToMem */ |
| 940 | <&dma 35 0 0x0>; /* Logical - MemToDev */ |
| 941 | dma-names = "rx", "tx"; |
Ulf Hansson | 770e2f6 | 2014-10-14 11:13:00 +0200 | [diff] [blame] | 942 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 943 | }; |
| 944 | |
| 945 | spi@80111000 { |
| 946 | compatible = "arm,pl022", "arm,primecell"; |
| 947 | reg = <0x80111000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 948 | interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 949 | #address-cells = <1>; |
| 950 | #size-cells = <0>; |
| 951 | /* Same clock wired to kernel and pclk */ |
| 952 | clocks = <&prcc_pclk 2 1>, <&prcc_pclk 2 1>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 953 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 954 | dmas = <&dma 33 0 0x2>, /* Logical - DevToMem */ |
| 955 | <&dma 33 0 0x0>; /* Logical - MemToDev */ |
| 956 | dma-names = "rx", "tx"; |
Ulf Hansson | 770e2f6 | 2014-10-14 11:13:00 +0200 | [diff] [blame] | 957 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 958 | }; |
| 959 | |
| 960 | spi@80129000 { |
| 961 | compatible = "arm,pl022", "arm,primecell"; |
| 962 | reg = <0x80129000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 963 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 964 | #address-cells = <1>; |
| 965 | #size-cells = <0>; |
| 966 | /* Same clock wired to kernel and pclk */ |
| 967 | clocks = <&prcc_pclk 1 7>, <&prcc_pclk 1 7>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 968 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 969 | dmas = <&dma 40 0 0x2>, /* Logical - DevToMem */ |
| 970 | <&dma 40 0 0x0>; /* Logical - MemToDev */ |
| 971 | dma-names = "rx", "tx"; |
Ulf Hansson | 770e2f6 | 2014-10-14 11:13:00 +0200 | [diff] [blame] | 972 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 973 | }; |
| 974 | |
Linus Walleij | 109978d | 2015-07-10 11:32:15 +0200 | [diff] [blame] | 975 | ux500_serial0: uart@80120000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 976 | compatible = "arm,pl011", "arm,primecell"; |
| 977 | reg = <0x80120000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 978 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fbff01c | 2013-05-03 15:31:49 +0100 | [diff] [blame] | 979 | |
| 980 | dmas = <&dma 13 0 0x2>, /* Logical - DevToMem */ |
| 981 | <&dma 13 0 0x0>; /* Logical - MemToDev */ |
| 982 | dma-names = "rx", "tx"; |
| 983 | |
Lee Jones | 5a323fb | 2013-06-03 13:17:17 +0100 | [diff] [blame] | 984 | clocks = <&prcc_kclk 1 0>, <&prcc_pclk 1 0>; |
| 985 | clock-names = "uart", "apb_pclk"; |
| 986 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 987 | status = "disabled"; |
| 988 | }; |
Lee Jones | fbff01c | 2013-05-03 15:31:49 +0100 | [diff] [blame] | 989 | |
Linus Walleij | 109978d | 2015-07-10 11:32:15 +0200 | [diff] [blame] | 990 | ux500_serial1: uart@80121000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 991 | compatible = "arm,pl011", "arm,primecell"; |
| 992 | reg = <0x80121000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 993 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fbff01c | 2013-05-03 15:31:49 +0100 | [diff] [blame] | 994 | |
| 995 | dmas = <&dma 12 0 0x2>, /* Logical - DevToMem */ |
| 996 | <&dma 12 0 0x0>; /* Logical - MemToDev */ |
| 997 | dma-names = "rx", "tx"; |
| 998 | |
Lee Jones | 5a323fb | 2013-06-03 13:17:17 +0100 | [diff] [blame] | 999 | clocks = <&prcc_kclk 1 1>, <&prcc_pclk 1 1>; |
| 1000 | clock-names = "uart", "apb_pclk"; |
| 1001 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1002 | status = "disabled"; |
| 1003 | }; |
Lee Jones | fbff01c | 2013-05-03 15:31:49 +0100 | [diff] [blame] | 1004 | |
Linus Walleij | 109978d | 2015-07-10 11:32:15 +0200 | [diff] [blame] | 1005 | ux500_serial2: uart@80007000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1006 | compatible = "arm,pl011", "arm,primecell"; |
| 1007 | reg = <0x80007000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1008 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fbff01c | 2013-05-03 15:31:49 +0100 | [diff] [blame] | 1009 | |
| 1010 | dmas = <&dma 11 0 0x2>, /* Logical - DevToMem */ |
| 1011 | <&dma 11 0 0x0>; /* Logical - MemToDev */ |
| 1012 | dma-names = "rx", "tx"; |
| 1013 | |
Lee Jones | 5a323fb | 2013-06-03 13:17:17 +0100 | [diff] [blame] | 1014 | clocks = <&prcc_kclk 3 6>, <&prcc_pclk 3 6>; |
| 1015 | clock-names = "uart", "apb_pclk"; |
| 1016 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1017 | status = "disabled"; |
| 1018 | }; |
| 1019 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 1020 | sdi0_per1@80126000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1021 | compatible = "arm,pl18x", "arm,primecell"; |
| 1022 | reg = <0x80126000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1023 | interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 498315b9 | 2013-05-03 15:31:50 +0100 | [diff] [blame] | 1024 | |
| 1025 | dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */ |
| 1026 | <&dma 29 0 0x0>; /* Logical - MemToDev */ |
| 1027 | dma-names = "rx", "tx"; |
| 1028 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1029 | clocks = <&prcc_kclk 1 5>, <&prcc_pclk 1 5>; |
| 1030 | clock-names = "sdi", "apb_pclk"; |
Ulf Hansson | 067adde | 2014-10-14 11:12:59 +0200 | [diff] [blame] | 1031 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1032 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1033 | status = "disabled"; |
| 1034 | }; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 1035 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 1036 | sdi1_per2@80118000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1037 | compatible = "arm,pl18x", "arm,primecell"; |
| 1038 | reg = <0x80118000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1039 | interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 498315b9 | 2013-05-03 15:31:50 +0100 | [diff] [blame] | 1040 | |
| 1041 | dmas = <&dma 32 0 0x2>, /* Logical - DevToMem */ |
| 1042 | <&dma 32 0 0x0>; /* Logical - MemToDev */ |
| 1043 | dma-names = "rx", "tx"; |
| 1044 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1045 | clocks = <&prcc_kclk 2 4>, <&prcc_pclk 2 6>; |
| 1046 | clock-names = "sdi", "apb_pclk"; |
Ulf Hansson | 067adde | 2014-10-14 11:12:59 +0200 | [diff] [blame] | 1047 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1048 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1049 | status = "disabled"; |
| 1050 | }; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 1051 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 1052 | sdi2_per3@80005000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1053 | compatible = "arm,pl18x", "arm,primecell"; |
| 1054 | reg = <0x80005000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1055 | interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 498315b9 | 2013-05-03 15:31:50 +0100 | [diff] [blame] | 1056 | |
| 1057 | dmas = <&dma 28 0 0x2>, /* Logical - DevToMem */ |
| 1058 | <&dma 28 0 0x0>; /* Logical - MemToDev */ |
| 1059 | dma-names = "rx", "tx"; |
| 1060 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1061 | clocks = <&prcc_kclk 3 4>, <&prcc_pclk 3 4>; |
| 1062 | clock-names = "sdi", "apb_pclk"; |
Ulf Hansson | 067adde | 2014-10-14 11:12:59 +0200 | [diff] [blame] | 1063 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1064 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1065 | status = "disabled"; |
| 1066 | }; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 1067 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 1068 | sdi3_per2@80119000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1069 | compatible = "arm,pl18x", "arm,primecell"; |
| 1070 | reg = <0x80119000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1071 | interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1072 | |
Linus Walleij | 14cdf8c | 2014-06-11 10:45:50 +0200 | [diff] [blame] | 1073 | dmas = <&dma 41 0 0x2>, /* Logical - DevToMem */ |
| 1074 | <&dma 41 0 0x0>; /* Logical - MemToDev */ |
| 1075 | dma-names = "rx", "tx"; |
| 1076 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1077 | clocks = <&prcc_kclk 2 5>, <&prcc_pclk 2 7>; |
| 1078 | clock-names = "sdi", "apb_pclk"; |
Ulf Hansson | 067adde | 2014-10-14 11:12:59 +0200 | [diff] [blame] | 1079 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1080 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1081 | status = "disabled"; |
| 1082 | }; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 1083 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 1084 | sdi4_per2@80114000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1085 | compatible = "arm,pl18x", "arm,primecell"; |
| 1086 | reg = <0x80114000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1087 | interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 498315b9 | 2013-05-03 15:31:50 +0100 | [diff] [blame] | 1088 | |
| 1089 | dmas = <&dma 42 0 0x2>, /* Logical - DevToMem */ |
| 1090 | <&dma 42 0 0x0>; /* Logical - MemToDev */ |
| 1091 | dma-names = "rx", "tx"; |
| 1092 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1093 | clocks = <&prcc_kclk 2 2>, <&prcc_pclk 2 4>; |
| 1094 | clock-names = "sdi", "apb_pclk"; |
Ulf Hansson | 067adde | 2014-10-14 11:12:59 +0200 | [diff] [blame] | 1095 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1096 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1097 | status = "disabled"; |
| 1098 | }; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 1099 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 1100 | sdi5_per3@80008000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1101 | compatible = "arm,pl18x", "arm,primecell"; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 1102 | reg = <0x80008000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1103 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1104 | |
Linus Walleij | 14cdf8c | 2014-06-11 10:45:50 +0200 | [diff] [blame] | 1105 | dmas = <&dma 43 0 0x2>, /* Logical - DevToMem */ |
| 1106 | <&dma 43 0 0x0>; /* Logical - MemToDev */ |
| 1107 | dma-names = "rx", "tx"; |
| 1108 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1109 | clocks = <&prcc_kclk 3 7>, <&prcc_pclk 3 7>; |
| 1110 | clock-names = "sdi", "apb_pclk"; |
Ulf Hansson | 067adde | 2014-10-14 11:12:59 +0200 | [diff] [blame] | 1111 | power-domains = <&pm_domains DOMAIN_VAPE>; |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 1112 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 1113 | status = "disabled"; |
| 1114 | }; |
Lee Jones | bf76e06 | 2012-04-24 10:53:18 +0100 | [diff] [blame] | 1115 | |
Linus Walleij | 9aea151 | 2017-02-26 01:02:09 +0100 | [diff] [blame] | 1116 | sound { |
| 1117 | compatible = "stericsson,snd-soc-mop500"; |
| 1118 | stericsson,cpu-dai = <&msp1 &msp3>; |
| 1119 | stericsson,audio-codec = <&codec>; |
| 1120 | clocks = <&prcmu_clk PRCMU_SYSCLK>, <&ab8500_clock AB8500_SYSCLK_ULP>, <&ab8500_clock AB8500_SYSCLK_INT>; |
| 1121 | clock-names = "sysclk", "ulpclk", "intclk"; |
| 1122 | }; |
| 1123 | |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 1124 | msp0: msp@80123000 { |
| 1125 | compatible = "stericsson,ux500-msp-i2s"; |
| 1126 | reg = <0x80123000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1127 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 1128 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 1129 | |
Lee Jones | 618111c | 2013-11-06 10:16:16 +0000 | [diff] [blame] | 1130 | dmas = <&dma 31 0 0x12>, /* Logical - DevToMem - HighPrio */ |
| 1131 | <&dma 31 0 0x10>; /* Logical - MemToDev - HighPrio */ |
| 1132 | dma-names = "rx", "tx"; |
| 1133 | |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 1134 | clocks = <&prcc_kclk 1 3>, <&prcc_pclk 1 3>; |
| 1135 | clock-names = "msp", "apb_pclk"; |
| 1136 | |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 1137 | status = "disabled"; |
| 1138 | }; |
| 1139 | |
| 1140 | msp1: msp@80124000 { |
| 1141 | compatible = "stericsson,ux500-msp-i2s"; |
| 1142 | reg = <0x80124000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1143 | interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 1144 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 1145 | |
Linus Walleij | 14cdf8c | 2014-06-11 10:45:50 +0200 | [diff] [blame] | 1146 | /* This DMA channel only exist on DB8500 v1 */ |
Lee Jones | 618111c | 2013-11-06 10:16:16 +0000 | [diff] [blame] | 1147 | dmas = <&dma 30 0 0x10>; /* Logical - MemToDev - HighPrio */ |
| 1148 | dma-names = "tx"; |
| 1149 | |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 1150 | clocks = <&prcc_kclk 1 4>, <&prcc_pclk 1 4>; |
| 1151 | clock-names = "msp", "apb_pclk"; |
| 1152 | |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 1153 | status = "disabled"; |
| 1154 | }; |
| 1155 | |
| 1156 | // HDMI sound |
| 1157 | msp2: msp@80117000 { |
| 1158 | compatible = "stericsson,ux500-msp-i2s"; |
| 1159 | reg = <0x80117000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1160 | interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 1161 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 1162 | |
Lee Jones | 618111c | 2013-11-06 10:16:16 +0000 | [diff] [blame] | 1163 | dmas = <&dma 14 0 0x12>, /* Logical - DevToMem - HighPrio */ |
| 1164 | <&dma 14 1 0x19>; /* Physical Chan 1 - MemToDev |
| 1165 | HighPrio - Fixed */ |
| 1166 | dma-names = "rx", "tx"; |
| 1167 | |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 1168 | clocks = <&prcc_kclk 2 3>, <&prcc_pclk 2 5>; |
| 1169 | clock-names = "msp", "apb_pclk"; |
| 1170 | |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 1171 | status = "disabled"; |
| 1172 | }; |
| 1173 | |
| 1174 | msp3: msp@80125000 { |
| 1175 | compatible = "stericsson,ux500-msp-i2s"; |
| 1176 | reg = <0x80125000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1177 | interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 1178 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 1179 | |
Linus Walleij | 14cdf8c | 2014-06-11 10:45:50 +0200 | [diff] [blame] | 1180 | /* This DMA channel only exist on DB8500 v2 */ |
Lee Jones | 618111c | 2013-11-06 10:16:16 +0000 | [diff] [blame] | 1181 | dmas = <&dma 30 0 0x12>; /* Logical - DevToMem - HighPrio */ |
| 1182 | dma-names = "rx"; |
| 1183 | |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 1184 | clocks = <&prcc_kclk 1 10>, <&prcc_pclk 1 11>; |
| 1185 | clock-names = "msp", "apb_pclk"; |
| 1186 | |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 1187 | status = "disabled"; |
| 1188 | }; |
| 1189 | |
Lee Jones | bf76e06 | 2012-04-24 10:53:18 +0100 | [diff] [blame] | 1190 | external-bus@50000000 { |
| 1191 | compatible = "simple-bus"; |
| 1192 | reg = <0x50000000 0x4000000>; |
| 1193 | #address-cells = <1>; |
| 1194 | #size-cells = <1>; |
| 1195 | ranges = <0 0x50000000 0x4000000>; |
| 1196 | status = "disabled"; |
| 1197 | }; |
hongbo.zhang | dc1956b | 2012-11-15 18:56:43 +0800 | [diff] [blame] | 1198 | |
Linus Walleij | 61313fb | 2019-04-12 15:02:20 +0200 | [diff] [blame] | 1199 | gpu@a0300000 { |
| 1200 | /* |
| 1201 | * This block is referred to as "Smart Graphics Adapter SGA500" |
| 1202 | * in documentation but is in practice a pretty straight-forward |
| 1203 | * MALI-400 GPU block. |
| 1204 | */ |
| 1205 | compatible = "stericsson,db8500-mali", "arm,mali-400"; |
| 1206 | reg = <0xa0300000 0x10000>; |
| 1207 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, |
| 1208 | <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, |
| 1209 | <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, |
| 1210 | <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, |
| 1211 | <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; |
| 1212 | interrupt-names = "gp", |
| 1213 | "gpmmu", |
| 1214 | "pp0", |
| 1215 | "ppmmu0", |
| 1216 | "combined"; |
| 1217 | clocks = <&prcmu_clk PRCMU_ACLK>, <&prcmu_clk PRCMU_SGACLK>; |
| 1218 | clock-names = "bus", "core"; |
| 1219 | mali-supply = <&db8500_sga_reg>; |
| 1220 | power-domains = <&pm_domains DOMAIN_VAPE>; |
| 1221 | }; |
| 1222 | |
Linus Walleij | 6e9a88a | 2013-11-14 15:21:00 +0100 | [diff] [blame] | 1223 | mcde@a0350000 { |
Linus Walleij | f4bdfcc | 2018-10-08 13:27:55 +0200 | [diff] [blame] | 1224 | compatible = "ste,mcde"; |
| 1225 | reg = <0xa0350000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1226 | interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; |
Linus Walleij | f4bdfcc | 2018-10-08 13:27:55 +0200 | [diff] [blame] | 1227 | epod-supply = <&db8500_b2r2_mcde_reg>; |
| 1228 | vana-supply = <&ab8500_ldo_ana_reg>; |
Linus Walleij | 6e9a88a | 2013-11-14 15:21:00 +0100 | [diff] [blame] | 1229 | clocks = <&prcmu_clk PRCMU_MCDECLK>, /* Main MCDE clock */ |
| 1230 | <&prcmu_clk PRCMU_LCDCLK>, /* LCD clock */ |
Linus Walleij | f4bdfcc | 2018-10-08 13:27:55 +0200 | [diff] [blame] | 1231 | <&prcmu_clk PRCMU_PLLDSI>; /* HDMI clock */ |
| 1232 | clock-names = "mcde", "lcd", "hdmi"; |
| 1233 | #address-cells = <1>; |
| 1234 | #size-cells = <1>; |
| 1235 | ranges; |
| 1236 | status = "disabled"; |
| 1237 | |
| 1238 | dsi0: dsi@a0351000 { |
| 1239 | compatible = "ste,mcde-dsi"; |
| 1240 | reg = <0xa0351000 0x1000>; |
| 1241 | vana-supply = <&ab8500_ldo_ana_reg>; |
| 1242 | clocks = <&prcmu_clk PRCMU_DSI0CLK>, <&prcmu_clk PRCMU_DSI0ESCCLK>; |
| 1243 | clock-names = "hs", "lp"; |
| 1244 | #address-cells = <1>; |
| 1245 | #size-cells = <0>; |
| 1246 | }; |
| 1247 | dsi1: dsi@a0352000 { |
| 1248 | compatible = "ste,mcde-dsi"; |
| 1249 | reg = <0xa0352000 0x1000>; |
| 1250 | vana-supply = <&ab8500_ldo_ana_reg>; |
| 1251 | clocks = <&prcmu_clk PRCMU_DSI1CLK>, <&prcmu_clk PRCMU_DSI1ESCCLK>; |
| 1252 | clock-names = "hs", "lp"; |
| 1253 | #address-cells = <1>; |
| 1254 | #size-cells = <0>; |
| 1255 | }; |
| 1256 | dsi2: dsi@a0353000 { |
| 1257 | compatible = "ste,mcde-dsi"; |
| 1258 | reg = <0xa0353000 0x1000>; |
| 1259 | vana-supply = <&ab8500_ldo_ana_reg>; |
| 1260 | /* This DSI port only has the Low Power / Energy Save clock */ |
| 1261 | clocks = <&prcmu_clk PRCMU_DSI2ESCCLK>; |
| 1262 | clock-names = "lp"; |
| 1263 | #address-cells = <1>; |
| 1264 | #size-cells = <0>; |
| 1265 | }; |
Linus Walleij | 6e9a88a | 2013-11-14 15:21:00 +0100 | [diff] [blame] | 1266 | }; |
| 1267 | |
Lee Jones | fe2e9f9 | 2013-05-16 12:27:21 +0100 | [diff] [blame] | 1268 | cryp@a03cb000 { |
| 1269 | compatible = "stericsson,ux500-cryp"; |
| 1270 | reg = <0xa03cb000 0x1000>; |
Linus Walleij | 0bfe516 | 2016-03-24 15:48:47 +0100 | [diff] [blame] | 1271 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fe2e9f9 | 2013-05-16 12:27:21 +0100 | [diff] [blame] | 1272 | |
| 1273 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | d2f898c | 2013-09-18 16:05:52 +0100 | [diff] [blame] | 1274 | clocks = <&prcc_pclk 6 1>; |
Lee Jones | fe2e9f9 | 2013-05-16 12:27:21 +0100 | [diff] [blame] | 1275 | }; |
Lee Jones | 61122cf | 2013-05-16 12:27:22 +0100 | [diff] [blame] | 1276 | |
| 1277 | hash@a03c2000 { |
| 1278 | compatible = "stericsson,ux500-hash"; |
| 1279 | reg = <0xa03c2000 0x1000>; |
| 1280 | |
| 1281 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | 024cfe8 | 2013-09-18 16:07:27 +0100 | [diff] [blame] | 1282 | clocks = <&prcc_pclk 6 2>; |
Lee Jones | 61122cf | 2013-05-16 12:27:22 +0100 | [diff] [blame] | 1283 | }; |
Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 1284 | }; |
| 1285 | }; |