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> |
Lee Jones | 841cd0c | 2013-09-18 09:53:10 +0100 | [diff] [blame] | 13 | #include <dt-bindings/mfd/dbx500-prcmu.h> |
Gabriel Fernandez | 807e883 | 2013-05-27 15:30:53 +0200 | [diff] [blame] | 14 | #include "skeleton.dtsi" |
Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 15 | |
| 16 | / { |
Gabriel Fernandez | b1ba143 | 2013-03-01 14:38:07 +0100 | [diff] [blame] | 17 | soc { |
Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 18 | #address-cells = <1>; |
| 19 | #size-cells = <1>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 20 | compatible = "stericsson,db8500"; |
Lee Jones | dab6487 | 2012-03-07 17:22:30 +0000 | [diff] [blame] | 21 | interrupt-parent = <&intc>; |
Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 22 | ranges; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 23 | |
Lee Jones | dab6487 | 2012-03-07 17:22:30 +0000 | [diff] [blame] | 24 | intc: interrupt-controller@a0411000 { |
| 25 | compatible = "arm,cortex-a9-gic"; |
| 26 | #interrupt-cells = <3>; |
| 27 | #address-cells = <1>; |
| 28 | interrupt-controller; |
Lee Jones | dab6487 | 2012-03-07 17:22:30 +0000 | [diff] [blame] | 29 | reg = <0xa0411000 0x1000>, |
| 30 | <0xa0410100 0x100>; |
| 31 | }; |
| 32 | |
Lee Jones | f1949ea | 2012-03-08 09:02:02 +0000 | [diff] [blame] | 33 | L2: l2-cache { |
| 34 | compatible = "arm,pl310-cache"; |
| 35 | reg = <0xa0412000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 36 | interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | f1949ea | 2012-03-08 09:02:02 +0000 | [diff] [blame] | 37 | cache-unified; |
| 38 | cache-level = <2>; |
| 39 | }; |
| 40 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 41 | pmu { |
| 42 | compatible = "arm,cortex-a9-pmu"; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 43 | interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 44 | }; |
| 45 | |
Lee Jones | 8132ed1 | 2013-09-18 09:54:07 +0100 | [diff] [blame] | 46 | |
Lee Jones | 841cd0c | 2013-09-18 09:53:10 +0100 | [diff] [blame] | 47 | clocks { |
| 48 | compatible = "stericsson,u8500-clks"; |
| 49 | |
| 50 | prcmu_clk: prcmu-clock { |
| 51 | #clock-cells = <1>; |
| 52 | }; |
Lee Jones | fcbe5e9 | 2013-06-06 10:51:04 +0100 | [diff] [blame] | 53 | |
| 54 | prcc_pclk: prcc-periph-clock { |
| 55 | #clock-cells = <2>; |
| 56 | }; |
Lee Jones | 2588fea | 2013-06-06 10:52:50 +0100 | [diff] [blame] | 57 | |
| 58 | prcc_kclk: prcc-kernel-clock { |
| 59 | #clock-cells = <2>; |
| 60 | }; |
Lee Jones | 589d983 | 2013-06-06 10:54:27 +0100 | [diff] [blame] | 61 | |
| 62 | rtc_clk: rtc32k-clock { |
| 63 | #clock-cells = <0>; |
| 64 | }; |
Lee Jones | 309012d | 2013-06-06 10:54:48 +0100 | [diff] [blame] | 65 | |
| 66 | smp_twd_clk: smp-twd-clock { |
| 67 | #clock-cells = <0>; |
| 68 | }; |
Lee Jones | 841cd0c | 2013-09-18 09:53:10 +0100 | [diff] [blame] | 69 | }; |
| 70 | |
Lee Jones | 8132ed1 | 2013-09-18 09:54:07 +0100 | [diff] [blame] | 71 | mtu@a03c6000 { |
| 72 | /* Nomadik System Timer */ |
| 73 | compatible = "st,nomadik-mtu"; |
| 74 | reg = <0xa03c6000 0x1000>; |
| 75 | interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>; |
| 76 | |
| 77 | clocks = <&prcmu_clk PRCMU_TIMCLK>, <&prcc_pclk 6 6>; |
| 78 | clock-names = "timclk", "apb_pclk"; |
| 79 | }; |
| 80 | |
Lee Jones | 71de5c4 | 2012-03-16 09:53:24 +0000 | [diff] [blame] | 81 | timer@a0410600 { |
| 82 | compatible = "arm,cortex-a9-twd-timer"; |
| 83 | reg = <0xa0410600 0x20>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 84 | interrupts = <1 13 0x304>; /* IRQ level high per-CPU */ |
Lee Jones | a8acb1e | 2013-06-05 12:26:52 +0100 | [diff] [blame] | 85 | |
| 86 | clocks = <&smp_twd_clk>; |
Lee Jones | 71de5c4 | 2012-03-16 09:53:24 +0000 | [diff] [blame] | 87 | }; |
| 88 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 89 | rtc@80154000 { |
Lee Jones | ddb3b99 | 2012-05-26 07:01:31 +0100 | [diff] [blame] | 90 | compatible = "arm,rtc-pl031", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 91 | reg = <0x80154000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 92 | interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | d299b5a | 2013-06-05 12:27:24 +0100 | [diff] [blame] | 93 | |
| 94 | clocks = <&rtc_clk>; |
| 95 | clock-names = "apb_pclk"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 96 | }; |
| 97 | |
| 98 | gpio0: gpio@8012e000 { |
| 99 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 100 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 101 | reg = <0x8012e000 0x80>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 102 | interrupts = <0 119 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 103 | interrupt-controller; |
| 104 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 105 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 106 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 107 | #gpio-cells = <2>; |
| 108 | gpio-bank = <0>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 109 | |
| 110 | clocks = <&prcc_pclk 1 9>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 111 | }; |
| 112 | |
| 113 | gpio1: gpio@8012e080 { |
| 114 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 115 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 116 | reg = <0x8012e080 0x80>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 117 | interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 118 | interrupt-controller; |
| 119 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 120 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 121 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 122 | #gpio-cells = <2>; |
| 123 | gpio-bank = <1>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 124 | |
| 125 | clocks = <&prcc_pclk 1 9>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 126 | }; |
| 127 | |
| 128 | gpio2: gpio@8000e000 { |
| 129 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 130 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 131 | reg = <0x8000e000 0x80>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 132 | interrupts = <0 121 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 133 | interrupt-controller; |
| 134 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 135 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 136 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 137 | #gpio-cells = <2>; |
| 138 | gpio-bank = <2>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 139 | |
| 140 | clocks = <&prcc_pclk 3 8>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 141 | }; |
| 142 | |
| 143 | gpio3: gpio@8000e080 { |
| 144 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 145 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 146 | reg = <0x8000e080 0x80>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 147 | interrupts = <0 122 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 148 | interrupt-controller; |
| 149 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 150 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 151 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 152 | #gpio-cells = <2>; |
| 153 | gpio-bank = <3>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 154 | |
| 155 | clocks = <&prcc_pclk 3 8>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 156 | }; |
| 157 | |
| 158 | gpio4: gpio@8000e100 { |
| 159 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 160 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 161 | reg = <0x8000e100 0x80>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 162 | interrupts = <0 123 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 163 | interrupt-controller; |
| 164 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 165 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 166 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 167 | #gpio-cells = <2>; |
| 168 | gpio-bank = <4>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 169 | |
| 170 | clocks = <&prcc_pclk 3 8>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 171 | }; |
| 172 | |
| 173 | gpio5: gpio@8000e180 { |
| 174 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 175 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 176 | reg = <0x8000e180 0x80>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 177 | interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 178 | interrupt-controller; |
| 179 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 180 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 181 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 182 | #gpio-cells = <2>; |
| 183 | gpio-bank = <5>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 184 | |
| 185 | clocks = <&prcc_pclk 3 8>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 186 | }; |
| 187 | |
| 188 | gpio6: gpio@8011e000 { |
| 189 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 190 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 191 | reg = <0x8011e000 0x80>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 192 | interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 193 | interrupt-controller; |
| 194 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 195 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 196 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 197 | #gpio-cells = <2>; |
| 198 | gpio-bank = <6>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 199 | |
Linus Walleij | d591640 | 2013-10-18 09:49:21 +0200 | [diff] [blame] | 200 | clocks = <&prcc_pclk 2 11>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 201 | }; |
| 202 | |
| 203 | gpio7: gpio@8011e080 { |
| 204 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 205 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 206 | reg = <0x8011e080 0x80>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 207 | interrupts = <0 126 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 208 | interrupt-controller; |
| 209 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 210 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 211 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 212 | #gpio-cells = <2>; |
| 213 | gpio-bank = <7>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 214 | |
Linus Walleij | d591640 | 2013-10-18 09:49:21 +0200 | [diff] [blame] | 215 | clocks = <&prcc_pclk 2 11>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 216 | }; |
| 217 | |
| 218 | gpio8: gpio@a03fe000 { |
| 219 | compatible = "stericsson,db8500-gpio", |
Lee Jones | fd9a80b | 2012-04-13 15:05:03 +0100 | [diff] [blame] | 220 | "st,nomadik-gpio"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 221 | reg = <0xa03fe000 0x80>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 222 | interrupts = <0 127 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 93b5698 | 2012-05-29 14:17:36 +0800 | [diff] [blame] | 223 | interrupt-controller; |
| 224 | #interrupt-cells = <2>; |
Lee Jones | 61be498 | 2012-06-14 11:16:03 +0100 | [diff] [blame] | 225 | st,supports-sleepmode; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 226 | gpio-controller; |
Lee Jones | c0b133b | 2012-04-13 15:05:05 +0100 | [diff] [blame] | 227 | #gpio-cells = <2>; |
| 228 | gpio-bank = <8>; |
Lee Jones | 9d89107 | 2013-06-03 13:07:51 +0100 | [diff] [blame] | 229 | |
Linus Walleij | 84873cb | 2013-10-18 09:45:07 +0200 | [diff] [blame] | 230 | clocks = <&prcc_pclk 5 1>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 231 | }; |
| 232 | |
Lee Jones | 8979cfe | 2013-01-11 15:45:28 +0000 | [diff] [blame] | 233 | pinctrl { |
Lee Jones | 818d99a | 2013-05-22 15:22:55 +0100 | [diff] [blame] | 234 | compatible = "stericsson,db8500-pinctrl"; |
Lee Jones | 8979cfe | 2013-01-11 15:45:28 +0000 | [diff] [blame] | 235 | prcm = <&prcmu>; |
Lee Jones | 5910de9 | 2012-05-26 06:25:36 +0100 | [diff] [blame] | 236 | }; |
| 237 | |
Lee Jones | b32dc86 | 2013-05-03 15:31:51 +0100 | [diff] [blame] | 238 | usb_per5@a03e0000 { |
Sebastian Andrzej Siewior | 4a6cd43 | 2013-08-20 18:40:27 +0200 | [diff] [blame] | 239 | compatible = "stericsson,db8500-musb"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 240 | reg = <0xa03e0000 0x10000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 241 | interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | b32dc86 | 2013-05-03 15:31:51 +0100 | [diff] [blame] | 242 | interrupt-names = "mc"; |
| 243 | |
| 244 | dr_mode = "otg"; |
| 245 | |
| 246 | dmas = <&dma 38 0 0x2>, /* Logical - DevToMem */ |
| 247 | <&dma 38 0 0x0>, /* Logical - MemToDev */ |
| 248 | <&dma 37 0 0x2>, /* Logical - DevToMem */ |
| 249 | <&dma 37 0 0x0>, /* Logical - MemToDev */ |
| 250 | <&dma 36 0 0x2>, /* Logical - DevToMem */ |
| 251 | <&dma 36 0 0x0>, /* Logical - MemToDev */ |
| 252 | <&dma 19 0 0x2>, /* Logical - DevToMem */ |
| 253 | <&dma 19 0 0x0>, /* Logical - MemToDev */ |
| 254 | <&dma 18 0 0x2>, /* Logical - DevToMem */ |
| 255 | <&dma 18 0 0x0>, /* Logical - MemToDev */ |
| 256 | <&dma 17 0 0x2>, /* Logical - DevToMem */ |
| 257 | <&dma 17 0 0x0>, /* Logical - MemToDev */ |
| 258 | <&dma 16 0 0x2>, /* Logical - DevToMem */ |
| 259 | <&dma 16 0 0x0>, /* Logical - MemToDev */ |
| 260 | <&dma 39 0 0x2>, /* Logical - DevToMem */ |
| 261 | <&dma 39 0 0x0>; /* Logical - MemToDev */ |
| 262 | |
| 263 | dma-names = "iep_1_9", "oep_1_9", |
| 264 | "iep_2_10", "oep_2_10", |
| 265 | "iep_3_11", "oep_3_11", |
| 266 | "iep_4_12", "oep_4_12", |
| 267 | "iep_5_13", "oep_5_13", |
| 268 | "iep_6_14", "oep_6_14", |
| 269 | "iep_7_15", "oep_7_15", |
| 270 | "iep_8", "oep_8"; |
Lee Jones | e47339f | 2013-06-03 13:08:26 +0100 | [diff] [blame] | 271 | |
| 272 | clocks = <&prcc_pclk 5 0>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 273 | }; |
| 274 | |
Lee Jones | ba074ae | 2013-05-03 15:31:48 +0100 | [diff] [blame] | 275 | dma: dma-controller@801C0000 { |
| 276 | compatible = "stericsson,db8500-dma40", "stericsson,dma40"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 277 | reg = <0x801C0000 0x1000 0x40010000 0x800>; |
Lee Jones | 70d39a8 | 2013-05-03 15:31:47 +0100 | [diff] [blame] | 278 | reg-names = "base", "lcpa"; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 279 | interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | ba074ae | 2013-05-03 15:31:48 +0100 | [diff] [blame] | 280 | |
| 281 | #dma-cells = <3>; |
Lee Jones | d37fcdb | 2013-05-03 15:31:52 +0100 | [diff] [blame] | 282 | memcpy-channels = <56 57 58 59 60>; |
Lee Jones | e064cb2 | 2013-06-03 13:13:54 +0100 | [diff] [blame] | 283 | |
| 284 | clocks = <&prcmu_clk PRCMU_DMACLK>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 285 | }; |
| 286 | |
Lee Jones | 8979cfe | 2013-01-11 15:45:28 +0000 | [diff] [blame] | 287 | prcmu: prcmu@80157000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 288 | compatible = "stericsson,db8500-prcmu"; |
Linus Torvalds | 4d26aa3 | 2013-05-02 08:56:55 -0700 | [diff] [blame] | 289 | reg = <0x80157000 0x2000>, <0x801b0000 0x8000>, <0x801b8000 0x1000>; |
Lee Jones | e73081d | 2013-03-26 10:26:15 +0000 | [diff] [blame] | 290 | reg-names = "prcmu", "prcmu-tcpm", "prcmu-tcdm"; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 291 | interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 292 | #address-cells = <1>; |
Lee Jones | 3de3d74 | 2012-04-24 10:00:15 +0100 | [diff] [blame] | 293 | #size-cells = <1>; |
Lee Jones | c09090b | 2012-08-03 15:42:25 +0100 | [diff] [blame] | 294 | interrupt-controller; |
| 295 | #interrupt-cells = <2>; |
Lee Jones | 3de3d74 | 2012-04-24 10:00:15 +0100 | [diff] [blame] | 296 | ranges; |
| 297 | |
Lee Jones | ccf74f7 | 2012-05-28 16:50:49 +0800 | [diff] [blame] | 298 | prcmu-timer-4@80157450 { |
Lee Jones | 3de3d74 | 2012-04-24 10:00:15 +0100 | [diff] [blame] | 299 | compatible = "stericsson,db8500-prcmu-timer-4"; |
| 300 | reg = <0x80157450 0xC>; |
| 301 | }; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 302 | |
Lee Jones | 9858561 | 2013-09-18 16:07:44 +0100 | [diff] [blame] | 303 | cpufreq { |
| 304 | compatible = "stericsson,cpufreq-ux500"; |
| 305 | clocks = <&prcmu_clk PRCMU_ARMSS>; |
| 306 | clock-names = "armss"; |
| 307 | status = "disabled"; |
| 308 | }; |
| 309 | |
hongbo.zhang | dc1956b | 2012-11-15 18:56:43 +0800 | [diff] [blame] | 310 | thermal@801573c0 { |
| 311 | compatible = "stericsson,db8500-thermal"; |
| 312 | reg = <0x801573c0 0x40>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 313 | interrupts = <21 IRQ_TYPE_LEVEL_HIGH>, |
| 314 | <22 IRQ_TYPE_LEVEL_HIGH>; |
hongbo.zhang | dc1956b | 2012-11-15 18:56:43 +0800 | [diff] [blame] | 315 | interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH"; |
| 316 | status = "disabled"; |
Lee Jones | 1d3f99f | 2013-06-06 12:21:15 +0100 | [diff] [blame] | 317 | }; |
hongbo.zhang | dc1956b | 2012-11-15 18:56:43 +0800 | [diff] [blame] | 318 | |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 319 | db8500-prcmu-regulators { |
| 320 | compatible = "stericsson,db8500-prcmu-regulator"; |
| 321 | |
| 322 | // DB8500_REGULATOR_VAPE |
| 323 | db8500_vape_reg: db8500_vape { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 324 | regulator-compatible = "db8500_vape"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 325 | regulator-always-on; |
| 326 | }; |
| 327 | |
| 328 | // DB8500_REGULATOR_VARM |
| 329 | db8500_varm_reg: db8500_varm { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 330 | regulator-compatible = "db8500_varm"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 331 | }; |
| 332 | |
| 333 | // DB8500_REGULATOR_VMODEM |
| 334 | db8500_vmodem_reg: db8500_vmodem { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 335 | regulator-compatible = "db8500_vmodem"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 336 | }; |
| 337 | |
| 338 | // DB8500_REGULATOR_VPLL |
| 339 | db8500_vpll_reg: db8500_vpll { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 340 | regulator-compatible = "db8500_vpll"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 341 | }; |
| 342 | |
| 343 | // DB8500_REGULATOR_VSMPS1 |
| 344 | db8500_vsmps1_reg: db8500_vsmps1 { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 345 | regulator-compatible = "db8500_vsmps1"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 346 | }; |
| 347 | |
| 348 | // DB8500_REGULATOR_VSMPS2 |
| 349 | db8500_vsmps2_reg: db8500_vsmps2 { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 350 | regulator-compatible = "db8500_vsmps2"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 351 | }; |
| 352 | |
| 353 | // DB8500_REGULATOR_VSMPS3 |
| 354 | db8500_vsmps3_reg: db8500_vsmps3 { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 355 | regulator-compatible = "db8500_vsmps3"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 356 | }; |
| 357 | |
| 358 | // DB8500_REGULATOR_VRF1 |
| 359 | db8500_vrf1_reg: db8500_vrf1 { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 360 | regulator-compatible = "db8500_vrf1"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 361 | }; |
| 362 | |
| 363 | // DB8500_REGULATOR_SWITCH_SVAMMDSP |
| 364 | db8500_sva_mmdsp_reg: db8500_sva_mmdsp { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 365 | regulator-compatible = "db8500_sva_mmdsp"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 366 | }; |
| 367 | |
| 368 | // DB8500_REGULATOR_SWITCH_SVAMMDSPRET |
| 369 | db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 370 | regulator-compatible = "db8500_sva_mmdsp_ret"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 371 | }; |
| 372 | |
| 373 | // DB8500_REGULATOR_SWITCH_SVAPIPE |
| 374 | db8500_sva_pipe_reg: db8500_sva_pipe { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 375 | regulator-compatible = "db8500_sva_pipe"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 376 | }; |
| 377 | |
| 378 | // DB8500_REGULATOR_SWITCH_SIAMMDSP |
| 379 | db8500_sia_mmdsp_reg: db8500_sia_mmdsp { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 380 | regulator-compatible = "db8500_sia_mmdsp"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 381 | }; |
| 382 | |
| 383 | // DB8500_REGULATOR_SWITCH_SIAMMDSPRET |
| 384 | db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret { |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 385 | }; |
| 386 | |
| 387 | // DB8500_REGULATOR_SWITCH_SIAPIPE |
| 388 | db8500_sia_pipe_reg: db8500_sia_pipe { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 389 | regulator-compatible = "db8500_sia_pipe"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 390 | }; |
| 391 | |
| 392 | // DB8500_REGULATOR_SWITCH_SGA |
| 393 | db8500_sga_reg: db8500_sga { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 394 | regulator-compatible = "db8500_sga"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 395 | vin-supply = <&db8500_vape_reg>; |
| 396 | }; |
| 397 | |
| 398 | // DB8500_REGULATOR_SWITCH_B2R2_MCDE |
| 399 | db8500_b2r2_mcde_reg: db8500_b2r2_mcde { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 400 | regulator-compatible = "db8500_b2r2_mcde"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 401 | vin-supply = <&db8500_vape_reg>; |
| 402 | }; |
| 403 | |
| 404 | // DB8500_REGULATOR_SWITCH_ESRAM12 |
| 405 | db8500_esram12_reg: db8500_esram12 { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 406 | regulator-compatible = "db8500_esram12"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 407 | }; |
| 408 | |
| 409 | // DB8500_REGULATOR_SWITCH_ESRAM12RET |
| 410 | db8500_esram12_ret_reg: db8500_esram12_ret { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 411 | regulator-compatible = "db8500_esram12_ret"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 412 | }; |
| 413 | |
| 414 | // DB8500_REGULATOR_SWITCH_ESRAM34 |
| 415 | db8500_esram34_reg: db8500_esram34 { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 416 | regulator-compatible = "db8500_esram34"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 417 | }; |
| 418 | |
| 419 | // DB8500_REGULATOR_SWITCH_ESRAM34RET |
| 420 | db8500_esram34_ret_reg: db8500_esram34_ret { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 421 | regulator-compatible = "db8500_esram34_ret"; |
Lee Jones | e5999f2 | 2012-05-04 13:32:34 +0100 | [diff] [blame] | 422 | }; |
| 423 | }; |
| 424 | |
Arnd Bergmann | d52701d3 | 2013-03-12 09:39:01 +0100 | [diff] [blame] | 425 | ab8500 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 426 | compatible = "stericsson,ab8500"; |
Lee Jones | 8d4c6d4 | 2012-08-03 20:37:35 +0100 | [diff] [blame] | 427 | interrupt-parent = <&intc>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 428 | interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 732973c | 2012-05-29 10:49:33 +0800 | [diff] [blame] | 429 | interrupt-controller; |
| 430 | #interrupt-cells = <2>; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 431 | |
Lee Jones | 348f3bc | 2013-06-18 09:51:57 +0100 | [diff] [blame] | 432 | ab8500_gpio: ab8500-gpio { |
| 433 | gpio-controller; |
| 434 | #gpio-cells = <2>; |
| 435 | }; |
| 436 | |
Lee Jones | d4b29ac | 2012-05-26 07:03:48 +0100 | [diff] [blame] | 437 | ab8500-rtc { |
| 438 | compatible = "stericsson,ab8500-rtc"; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 439 | interrupts = <17 IRQ_TYPE_LEVEL_HIGH |
| 440 | 18 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | d4b29ac | 2012-05-26 07:03:48 +0100 | [diff] [blame] | 441 | interrupt-names = "60S", "ALARM"; |
| 442 | }; |
| 443 | |
Lee Jones | 4eda912 | 2012-05-28 16:59:26 +0800 | [diff] [blame] | 444 | ab8500-gpadc { |
| 445 | compatible = "stericsson,ab8500-gpadc"; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 446 | interrupts = <32 IRQ_TYPE_LEVEL_HIGH |
| 447 | 39 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 4eda912 | 2012-05-28 16:59:26 +0800 | [diff] [blame] | 448 | interrupt-names = "HW_CONV_END", "SW_CONV_END"; |
| 449 | vddadc-supply = <&ab8500_ldo_tvout_reg>; |
| 450 | }; |
| 451 | |
Rajanikanth H.V | e0f1abe | 2012-11-18 18:45:41 -0800 | [diff] [blame] | 452 | ab8500_battery: ab8500_battery { |
| 453 | stericsson,battery-type = "LIPO"; |
| 454 | thermistor-on-batctrl; |
| 455 | }; |
| 456 | |
| 457 | ab8500_fg { |
| 458 | compatible = "stericsson,ab8500-fg"; |
| 459 | battery = <&ab8500_battery>; |
| 460 | }; |
| 461 | |
Rajanikanth H.V | bd9e8ab | 2012-11-18 19:16:58 -0800 | [diff] [blame] | 462 | ab8500_btemp { |
| 463 | compatible = "stericsson,ab8500-btemp"; |
| 464 | battery = <&ab8500_battery>; |
| 465 | }; |
| 466 | |
Rajanikanth H.V | 4aef72d | 2012-11-18 19:17:47 -0800 | [diff] [blame] | 467 | ab8500_charger { |
| 468 | compatible = "stericsson,ab8500-charger"; |
| 469 | battery = <&ab8500_battery>; |
| 470 | vddadc-supply = <&ab8500_ldo_tvout_reg>; |
| 471 | }; |
| 472 | |
Rajanikanth H.V | a12810a | 2012-10-31 15:40:33 +0000 | [diff] [blame] | 473 | ab8500_chargalg { |
| 474 | compatible = "stericsson,ab8500-chargalg"; |
| 475 | battery = <&ab8500_battery>; |
| 476 | }; |
| 477 | |
Rajanikanth H.V | e0f1abe | 2012-11-18 18:45:41 -0800 | [diff] [blame] | 478 | ab8500_usb { |
Lee Jones | ee189ce | 2012-05-03 14:40:24 +0100 | [diff] [blame] | 479 | compatible = "stericsson,ab8500-usb"; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 480 | interrupts = < 90 IRQ_TYPE_LEVEL_HIGH |
| 481 | 96 IRQ_TYPE_LEVEL_HIGH |
| 482 | 14 IRQ_TYPE_LEVEL_HIGH |
| 483 | 15 IRQ_TYPE_LEVEL_HIGH |
| 484 | 79 IRQ_TYPE_LEVEL_HIGH |
| 485 | 74 IRQ_TYPE_LEVEL_HIGH |
| 486 | 75 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | ee189ce | 2012-05-03 14:40:24 +0100 | [diff] [blame] | 487 | interrupt-names = "ID_WAKEUP_R", |
| 488 | "ID_WAKEUP_F", |
| 489 | "VBUS_DET_F", |
| 490 | "VBUS_DET_R", |
| 491 | "USB_LINK_STATUS", |
| 492 | "USB_ADP_PROBE_PLUG", |
| 493 | "USB_ADP_PROBE_UNPLUG"; |
Fabio Baltieri | 99b38ee | 2013-04-09 11:16:56 +0200 | [diff] [blame] | 494 | vddulpivio18-supply = <&ab8500_ldo_intcore_reg>; |
Lee Jones | ee189ce | 2012-05-03 14:40:24 +0100 | [diff] [blame] | 495 | v-ape-supply = <&db8500_vape_reg>; |
| 496 | musb_1v8-supply = <&db8500_vsmps2_reg>; |
| 497 | }; |
| 498 | |
Lee Jones | 12cb7bd | 2012-05-02 08:45:40 +0100 | [diff] [blame] | 499 | ab8500-ponkey { |
Lee Jones | 7463070 | 2012-08-09 13:00:12 +0100 | [diff] [blame] | 500 | compatible = "stericsson,ab8500-poweron-key"; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 501 | interrupts = <6 IRQ_TYPE_LEVEL_HIGH |
| 502 | 7 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 12cb7bd | 2012-05-02 08:45:40 +0100 | [diff] [blame] | 503 | interrupt-names = "ONKEY_DBF", "ONKEY_DBR"; |
| 504 | }; |
| 505 | |
Lee Jones | 401cd1b | 2012-05-03 12:53:55 +0100 | [diff] [blame] | 506 | ab8500-sysctrl { |
| 507 | compatible = "stericsson,ab8500-sysctrl"; |
| 508 | }; |
| 509 | |
Lee Jones | 78451de | 2012-05-03 13:03:59 +0100 | [diff] [blame] | 510 | ab8500-pwm { |
| 511 | compatible = "stericsson,ab8500-pwm"; |
| 512 | }; |
| 513 | |
Lee Jones | 215891e | 2012-05-01 16:11:19 +0100 | [diff] [blame] | 514 | ab8500-debugfs { |
| 515 | compatible = "stericsson,ab8500-debug"; |
| 516 | }; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 517 | |
Lee Jones | 9c06af3 | 2012-07-25 12:50:13 +0100 | [diff] [blame] | 518 | codec: ab8500-codec { |
| 519 | compatible = "stericsson,ab8500-codec"; |
| 520 | |
Fabio Baltieri | f99808a6 | 2013-05-30 15:27:43 +0200 | [diff] [blame] | 521 | V-AUD-supply = <&ab8500_ldo_audio_reg>; |
| 522 | V-AMIC1-supply = <&ab8500_ldo_anamic1_reg>; |
| 523 | V-AMIC2-supply = <&ab8500_ldo_anamic2_reg>; |
| 524 | V-DMIC-supply = <&ab8500_ldo_dmic_reg>; |
| 525 | |
Lee Jones | 9c06af3 | 2012-07-25 12:50:13 +0100 | [diff] [blame] | 526 | stericsson,earpeice-cmv = <950>; /* Units in mV. */ |
| 527 | }; |
| 528 | |
Lee Jones | 62ebfe6 | 2013-06-07 17:11:19 +0100 | [diff] [blame] | 529 | ext_regulators: ab8500-ext-regulators { |
| 530 | compatible = "stericsson,ab8500-ext-regulator"; |
| 531 | |
| 532 | ab8500_ext1_reg: ab8500_ext1 { |
| 533 | regulator-compatible = "ab8500_ext1"; |
| 534 | regulator-min-microvolt = <1800000>; |
| 535 | regulator-max-microvolt = <1800000>; |
| 536 | regulator-boot-on; |
| 537 | regulator-always-on; |
| 538 | }; |
| 539 | |
| 540 | ab8500_ext2_reg: ab8500_ext2 { |
| 541 | regulator-compatible = "ab8500_ext2"; |
| 542 | regulator-min-microvolt = <1360000>; |
| 543 | regulator-max-microvolt = <1360000>; |
| 544 | regulator-boot-on; |
| 545 | regulator-always-on; |
| 546 | }; |
| 547 | |
| 548 | ab8500_ext3_reg: ab8500_ext3 { |
| 549 | regulator-compatible = "ab8500_ext3"; |
| 550 | regulator-min-microvolt = <3400000>; |
| 551 | regulator-max-microvolt = <3400000>; |
| 552 | regulator-boot-on; |
| 553 | }; |
| 554 | }; |
| 555 | |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 556 | ab8500-regulators { |
| 557 | compatible = "stericsson,ab8500-regulator"; |
Lee Jones | 75f0999a | 2013-06-07 17:11:20 +0100 | [diff] [blame] | 558 | vin-supply = <&ab8500_ext3_reg>; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 559 | |
| 560 | // supplies to the display/camera |
| 561 | ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 562 | regulator-compatible = "ab8500_ldo_aux1"; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 563 | regulator-min-microvolt = <2500000>; |
| 564 | regulator-max-microvolt = <2900000>; |
| 565 | regulator-boot-on; |
| 566 | /* BUG: If turned off MMC will be affected. */ |
| 567 | regulator-always-on; |
| 568 | }; |
| 569 | |
| 570 | // supplies to the on-board eMMC |
| 571 | ab8500_ldo_aux2_reg: ab8500_ldo_aux2 { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 572 | regulator-compatible = "ab8500_ldo_aux2"; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 573 | regulator-min-microvolt = <1100000>; |
| 574 | regulator-max-microvolt = <3300000>; |
| 575 | }; |
| 576 | |
| 577 | // supply for VAUX3; SDcard slots |
| 578 | ab8500_ldo_aux3_reg: ab8500_ldo_aux3 { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 579 | regulator-compatible = "ab8500_ldo_aux3"; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 580 | regulator-min-microvolt = <1100000>; |
| 581 | regulator-max-microvolt = <3300000>; |
| 582 | }; |
| 583 | |
| 584 | // supply for v-intcore12; VINTCORE12 LDO |
Fabio Baltieri | 99b38ee | 2013-04-09 11:16:56 +0200 | [diff] [blame] | 585 | ab8500_ldo_intcore_reg: ab8500_ldo_intcore { |
| 586 | regulator-compatible = "ab8500_ldo_intcore"; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 587 | }; |
| 588 | |
| 589 | // supply for tvout; gpadc; TVOUT LDO |
| 590 | ab8500_ldo_tvout_reg: ab8500_ldo_tvout { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 591 | regulator-compatible = "ab8500_ldo_tvout"; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 592 | }; |
| 593 | |
| 594 | // supply for ab8500-usb; USB LDO |
| 595 | ab8500_ldo_usb_reg: ab8500_ldo_usb { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 596 | regulator-compatible = "ab8500_ldo_usb"; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 597 | }; |
| 598 | |
| 599 | // supply for ab8500-vaudio; VAUDIO LDO |
| 600 | ab8500_ldo_audio_reg: ab8500_ldo_audio { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 601 | regulator-compatible = "ab8500_ldo_audio"; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 602 | }; |
| 603 | |
Fabio Baltieri | 4aa4487 | 2013-05-30 15:27:41 +0200 | [diff] [blame] | 604 | // supply for v-anamic1 VAMIC1 LDO |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 605 | ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 606 | regulator-compatible = "ab8500_ldo_anamic1"; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 607 | }; |
| 608 | |
| 609 | // supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1 |
Fabio Baltieri | 5510ed9 | 2013-05-30 15:27:42 +0200 | [diff] [blame] | 610 | ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 { |
| 611 | regulator-compatible = "ab8500_ldo_anamic2"; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 612 | }; |
| 613 | |
| 614 | // supply for v-dmic; VDMIC LDO |
| 615 | ab8500_ldo_dmic_reg: ab8500_ldo_dmic { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 616 | regulator-compatible = "ab8500_ldo_dmic"; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 617 | }; |
| 618 | |
| 619 | // supply for U8500 CSI/DSI; VANA LDO |
| 620 | ab8500_ldo_ana_reg: ab8500_ldo_ana { |
Laxman Dewangan | da26848 | 2012-06-20 17:53:05 +0530 | [diff] [blame] | 621 | regulator-compatible = "ab8500_ldo_ana"; |
Lee Jones | 4a85c7f | 2012-05-29 14:29:53 +0800 | [diff] [blame] | 622 | }; |
| 623 | }; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 624 | }; |
| 625 | }; |
| 626 | |
| 627 | i2c@80004000 { |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 628 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 629 | reg = <0x80004000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 630 | interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 35b33d2 | 2012-10-24 11:07:02 +0100 | [diff] [blame] | 631 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 632 | #address-cells = <1>; |
| 633 | #size-cells = <0>; |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 634 | v-i2c-supply = <&db8500_vape_reg>; |
| 635 | |
| 636 | clock-frequency = <400000>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 637 | clocks = <&prcc_kclk 3 3>, <&prcc_pclk 3 3>; |
| 638 | clock-names = "i2cclk", "apb_pclk"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 639 | }; |
| 640 | |
| 641 | i2c@80122000 { |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 642 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 643 | reg = <0x80122000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 644 | interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 35b33d2 | 2012-10-24 11:07:02 +0100 | [diff] [blame] | 645 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 646 | #address-cells = <1>; |
| 647 | #size-cells = <0>; |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 648 | v-i2c-supply = <&db8500_vape_reg>; |
| 649 | |
| 650 | clock-frequency = <400000>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 651 | |
| 652 | clocks = <&prcc_kclk 1 2>, <&prcc_pclk 1 2>; |
| 653 | clock-names = "i2cclk", "apb_pclk"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 654 | }; |
| 655 | |
| 656 | i2c@80128000 { |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 657 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 658 | reg = <0x80128000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 659 | interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 35b33d2 | 2012-10-24 11:07:02 +0100 | [diff] [blame] | 660 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 661 | #address-cells = <1>; |
| 662 | #size-cells = <0>; |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 663 | v-i2c-supply = <&db8500_vape_reg>; |
| 664 | |
| 665 | clock-frequency = <400000>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 666 | |
| 667 | clocks = <&prcc_kclk 1 6>, <&prcc_pclk 1 6>; |
| 668 | clock-names = "i2cclk", "apb_pclk"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 669 | }; |
| 670 | |
| 671 | i2c@80110000 { |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 672 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 673 | reg = <0x80110000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 674 | interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 35b33d2 | 2012-10-24 11:07:02 +0100 | [diff] [blame] | 675 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 676 | #address-cells = <1>; |
| 677 | #size-cells = <0>; |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 678 | v-i2c-supply = <&db8500_vape_reg>; |
| 679 | |
| 680 | clock-frequency = <400000>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 681 | |
| 682 | clocks = <&prcc_kclk 2 0>, <&prcc_pclk 2 0>; |
| 683 | clock-names = "i2cclk", "apb_pclk"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 684 | }; |
| 685 | |
| 686 | i2c@8012a000 { |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 687 | compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 688 | reg = <0x8012a000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 689 | interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 35b33d2 | 2012-10-24 11:07:02 +0100 | [diff] [blame] | 690 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 691 | #address-cells = <1>; |
| 692 | #size-cells = <0>; |
Lee Jones | d524fa7 | 2012-06-18 09:55:44 +0100 | [diff] [blame] | 693 | v-i2c-supply = <&db8500_vape_reg>; |
| 694 | |
| 695 | clock-frequency = <400000>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 696 | |
Linus Walleij | 72b3e24 | 2013-10-18 10:39:58 +0200 | [diff] [blame] | 697 | clocks = <&prcc_kclk 1 9>, <&prcc_pclk 1 10>; |
Lee Jones | afd653e | 2013-06-03 13:15:22 +0100 | [diff] [blame] | 698 | clock-names = "i2cclk", "apb_pclk"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 699 | }; |
| 700 | |
| 701 | ssp@80002000 { |
| 702 | compatible = "arm,pl022", "arm,primecell"; |
Lee Jones | c164fa6 | 2012-09-07 12:09:34 +0100 | [diff] [blame] | 703 | reg = <0x80002000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 704 | interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 705 | #address-cells = <1>; |
| 706 | #size-cells = <0>; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 707 | clocks = <&prcc_kclk 3 1>, <&prcc_pclk 3 1>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 708 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 709 | dmas = <&dma 8 0 0x2>, /* Logical - DevToMem */ |
| 710 | <&dma 8 0 0x0>; /* Logical - MemToDev */ |
| 711 | dma-names = "rx", "tx"; |
| 712 | }; |
| 713 | |
| 714 | ssp@80003000 { |
| 715 | compatible = "arm,pl022", "arm,primecell"; |
| 716 | reg = <0x80003000 0x1000>; |
| 717 | interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>; |
| 718 | #address-cells = <1>; |
| 719 | #size-cells = <0>; |
| 720 | clocks = <&prcc_kclk 3 2>, <&prcc_pclk 3 2>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 721 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 722 | dmas = <&dma 9 0 0x2>, /* Logical - DevToMem */ |
| 723 | <&dma 9 0 0x0>; /* Logical - MemToDev */ |
| 724 | dma-names = "rx", "tx"; |
| 725 | }; |
| 726 | |
| 727 | spi@8011a000 { |
| 728 | compatible = "arm,pl022", "arm,primecell"; |
| 729 | reg = <0x8011a000 0x1000>; |
| 730 | interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>; |
| 731 | #address-cells = <1>; |
| 732 | #size-cells = <0>; |
| 733 | /* Same clock wired to kernel and pclk */ |
| 734 | clocks = <&prcc_pclk 2 8>, <&prcc_pclk 2 8>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 735 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 736 | dmas = <&dma 0 0 0x2>, /* Logical - DevToMem */ |
| 737 | <&dma 0 0 0x0>; /* Logical - MemToDev */ |
| 738 | dma-names = "rx", "tx"; |
| 739 | }; |
| 740 | |
| 741 | spi@80112000 { |
| 742 | compatible = "arm,pl022", "arm,primecell"; |
| 743 | reg = <0x80112000 0x1000>; |
| 744 | interrupts = <0 96 IRQ_TYPE_LEVEL_HIGH>; |
| 745 | #address-cells = <1>; |
| 746 | #size-cells = <0>; |
| 747 | /* Same clock wired to kernel and pclk */ |
| 748 | clocks = <&prcc_pclk 2 2>, <&prcc_pclk 2 2>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 749 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 750 | dmas = <&dma 35 0 0x2>, /* Logical - DevToMem */ |
| 751 | <&dma 35 0 0x0>; /* Logical - MemToDev */ |
| 752 | dma-names = "rx", "tx"; |
| 753 | }; |
| 754 | |
| 755 | spi@80111000 { |
| 756 | compatible = "arm,pl022", "arm,primecell"; |
| 757 | reg = <0x80111000 0x1000>; |
| 758 | interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; |
| 759 | #address-cells = <1>; |
| 760 | #size-cells = <0>; |
| 761 | /* Same clock wired to kernel and pclk */ |
| 762 | clocks = <&prcc_pclk 2 1>, <&prcc_pclk 2 1>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 763 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 764 | dmas = <&dma 33 0 0x2>, /* Logical - DevToMem */ |
| 765 | <&dma 33 0 0x0>; /* Logical - MemToDev */ |
| 766 | dma-names = "rx", "tx"; |
| 767 | }; |
| 768 | |
| 769 | spi@80129000 { |
| 770 | compatible = "arm,pl022", "arm,primecell"; |
| 771 | reg = <0x80129000 0x1000>; |
| 772 | interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>; |
| 773 | #address-cells = <1>; |
| 774 | #size-cells = <0>; |
| 775 | /* Same clock wired to kernel and pclk */ |
| 776 | clocks = <&prcc_pclk 1 7>, <&prcc_pclk 1 7>; |
Linus Walleij | 80fbe30 | 2014-02-24 13:30:15 +0100 | [diff] [blame] | 777 | clock-names = "SSPCLK", "apb_pclk"; |
Linus Walleij | 6e1484c | 2013-10-18 10:25:52 +0200 | [diff] [blame] | 778 | dmas = <&dma 40 0 0x2>, /* Logical - DevToMem */ |
| 779 | <&dma 40 0 0x0>; /* Logical - MemToDev */ |
| 780 | dma-names = "rx", "tx"; |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 781 | }; |
| 782 | |
| 783 | uart@80120000 { |
| 784 | compatible = "arm,pl011", "arm,primecell"; |
| 785 | reg = <0x80120000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 786 | interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fbff01c | 2013-05-03 15:31:49 +0100 | [diff] [blame] | 787 | |
| 788 | dmas = <&dma 13 0 0x2>, /* Logical - DevToMem */ |
| 789 | <&dma 13 0 0x0>; /* Logical - MemToDev */ |
| 790 | dma-names = "rx", "tx"; |
| 791 | |
Lee Jones | 5a323fb | 2013-06-03 13:17:17 +0100 | [diff] [blame] | 792 | clocks = <&prcc_kclk 1 0>, <&prcc_pclk 1 0>; |
| 793 | clock-names = "uart", "apb_pclk"; |
| 794 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 795 | status = "disabled"; |
| 796 | }; |
Lee Jones | fbff01c | 2013-05-03 15:31:49 +0100 | [diff] [blame] | 797 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 798 | uart@80121000 { |
| 799 | compatible = "arm,pl011", "arm,primecell"; |
| 800 | reg = <0x80121000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 801 | interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fbff01c | 2013-05-03 15:31:49 +0100 | [diff] [blame] | 802 | |
| 803 | dmas = <&dma 12 0 0x2>, /* Logical - DevToMem */ |
| 804 | <&dma 12 0 0x0>; /* Logical - MemToDev */ |
| 805 | dma-names = "rx", "tx"; |
| 806 | |
Lee Jones | 5a323fb | 2013-06-03 13:17:17 +0100 | [diff] [blame] | 807 | clocks = <&prcc_kclk 1 1>, <&prcc_pclk 1 1>; |
| 808 | clock-names = "uart", "apb_pclk"; |
| 809 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 810 | status = "disabled"; |
| 811 | }; |
Lee Jones | fbff01c | 2013-05-03 15:31:49 +0100 | [diff] [blame] | 812 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 813 | uart@80007000 { |
| 814 | compatible = "arm,pl011", "arm,primecell"; |
| 815 | reg = <0x80007000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 816 | interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fbff01c | 2013-05-03 15:31:49 +0100 | [diff] [blame] | 817 | |
| 818 | dmas = <&dma 11 0 0x2>, /* Logical - DevToMem */ |
| 819 | <&dma 11 0 0x0>; /* Logical - MemToDev */ |
| 820 | dma-names = "rx", "tx"; |
| 821 | |
Lee Jones | 5a323fb | 2013-06-03 13:17:17 +0100 | [diff] [blame] | 822 | clocks = <&prcc_kclk 3 6>, <&prcc_pclk 3 6>; |
| 823 | clock-names = "uart", "apb_pclk"; |
| 824 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 825 | status = "disabled"; |
| 826 | }; |
| 827 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 828 | sdi0_per1@80126000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 829 | compatible = "arm,pl18x", "arm,primecell"; |
| 830 | reg = <0x80126000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 831 | interrupts = <0 60 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 498315b9 | 2013-05-03 15:31:50 +0100 | [diff] [blame] | 832 | |
| 833 | dmas = <&dma 29 0 0x2>, /* Logical - DevToMem */ |
| 834 | <&dma 29 0 0x0>; /* Logical - MemToDev */ |
| 835 | dma-names = "rx", "tx"; |
| 836 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 837 | clocks = <&prcc_kclk 1 5>, <&prcc_pclk 1 5>; |
| 838 | clock-names = "sdi", "apb_pclk"; |
| 839 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 840 | status = "disabled"; |
| 841 | }; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 842 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 843 | sdi1_per2@80118000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 844 | compatible = "arm,pl18x", "arm,primecell"; |
| 845 | reg = <0x80118000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 846 | interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 498315b9 | 2013-05-03 15:31:50 +0100 | [diff] [blame] | 847 | |
| 848 | dmas = <&dma 32 0 0x2>, /* Logical - DevToMem */ |
| 849 | <&dma 32 0 0x0>; /* Logical - MemToDev */ |
| 850 | dma-names = "rx", "tx"; |
| 851 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 852 | clocks = <&prcc_kclk 2 4>, <&prcc_pclk 2 6>; |
| 853 | clock-names = "sdi", "apb_pclk"; |
| 854 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 855 | status = "disabled"; |
| 856 | }; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 857 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 858 | sdi2_per3@80005000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 859 | compatible = "arm,pl18x", "arm,primecell"; |
| 860 | reg = <0x80005000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 861 | interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 498315b9 | 2013-05-03 15:31:50 +0100 | [diff] [blame] | 862 | |
| 863 | dmas = <&dma 28 0 0x2>, /* Logical - DevToMem */ |
| 864 | <&dma 28 0 0x0>; /* Logical - MemToDev */ |
| 865 | dma-names = "rx", "tx"; |
| 866 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 867 | clocks = <&prcc_kclk 3 4>, <&prcc_pclk 3 4>; |
| 868 | clock-names = "sdi", "apb_pclk"; |
| 869 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 870 | status = "disabled"; |
| 871 | }; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 872 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 873 | sdi3_per2@80119000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 874 | compatible = "arm,pl18x", "arm,primecell"; |
| 875 | reg = <0x80119000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 876 | interrupts = <0 59 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 877 | |
Linus Walleij | 14cdf8c | 2014-06-11 10:45:50 +0200 | [diff] [blame] | 878 | dmas = <&dma 41 0 0x2>, /* Logical - DevToMem */ |
| 879 | <&dma 41 0 0x0>; /* Logical - MemToDev */ |
| 880 | dma-names = "rx", "tx"; |
| 881 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 882 | clocks = <&prcc_kclk 2 5>, <&prcc_pclk 2 7>; |
| 883 | clock-names = "sdi", "apb_pclk"; |
| 884 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 885 | status = "disabled"; |
| 886 | }; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 887 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 888 | sdi4_per2@80114000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 889 | compatible = "arm,pl18x", "arm,primecell"; |
| 890 | reg = <0x80114000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 891 | interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 498315b9 | 2013-05-03 15:31:50 +0100 | [diff] [blame] | 892 | |
| 893 | dmas = <&dma 42 0 0x2>, /* Logical - DevToMem */ |
| 894 | <&dma 42 0 0x0>; /* Logical - MemToDev */ |
| 895 | dma-names = "rx", "tx"; |
| 896 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 897 | clocks = <&prcc_kclk 2 2>, <&prcc_pclk 2 4>; |
| 898 | clock-names = "sdi", "apb_pclk"; |
| 899 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 900 | status = "disabled"; |
| 901 | }; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 902 | |
Lee Jones | 81bf8c2 | 2012-09-26 12:55:56 +0100 | [diff] [blame] | 903 | sdi5_per3@80008000 { |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 904 | compatible = "arm,pl18x", "arm,primecell"; |
Lee Jones | 76ff4e4 | 2012-10-24 11:10:05 +0100 | [diff] [blame] | 905 | reg = <0x80008000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 906 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 907 | |
Linus Walleij | 14cdf8c | 2014-06-11 10:45:50 +0200 | [diff] [blame] | 908 | dmas = <&dma 43 0 0x2>, /* Logical - DevToMem */ |
| 909 | <&dma 43 0 0x0>; /* Logical - MemToDev */ |
| 910 | dma-names = "rx", "tx"; |
| 911 | |
Lee Jones | 604be89 | 2013-06-06 12:28:50 +0100 | [diff] [blame] | 912 | clocks = <&prcc_kclk 3 7>, <&prcc_pclk 3 7>; |
| 913 | clock-names = "sdi", "apb_pclk"; |
| 914 | |
Lee Jones | 7e0ce27 | 2012-03-15 16:46:17 +0000 | [diff] [blame] | 915 | status = "disabled"; |
| 916 | }; |
Lee Jones | bf76e06 | 2012-04-24 10:53:18 +0100 | [diff] [blame] | 917 | |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 918 | msp0: msp@80123000 { |
| 919 | compatible = "stericsson,ux500-msp-i2s"; |
| 920 | reg = <0x80123000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 921 | interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 922 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 923 | |
Lee Jones | 618111c | 2013-11-06 10:16:16 +0000 | [diff] [blame] | 924 | dmas = <&dma 31 0 0x12>, /* Logical - DevToMem - HighPrio */ |
| 925 | <&dma 31 0 0x10>; /* Logical - MemToDev - HighPrio */ |
| 926 | dma-names = "rx", "tx"; |
| 927 | |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 928 | clocks = <&prcc_kclk 1 3>, <&prcc_pclk 1 3>; |
| 929 | clock-names = "msp", "apb_pclk"; |
| 930 | |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 931 | status = "disabled"; |
| 932 | }; |
| 933 | |
| 934 | msp1: msp@80124000 { |
| 935 | compatible = "stericsson,ux500-msp-i2s"; |
| 936 | reg = <0x80124000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 937 | interrupts = <0 62 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 938 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 939 | |
Linus Walleij | 14cdf8c | 2014-06-11 10:45:50 +0200 | [diff] [blame] | 940 | /* This DMA channel only exist on DB8500 v1 */ |
Lee Jones | 618111c | 2013-11-06 10:16:16 +0000 | [diff] [blame] | 941 | dmas = <&dma 30 0 0x10>; /* Logical - MemToDev - HighPrio */ |
| 942 | dma-names = "tx"; |
| 943 | |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 944 | clocks = <&prcc_kclk 1 4>, <&prcc_pclk 1 4>; |
| 945 | clock-names = "msp", "apb_pclk"; |
| 946 | |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 947 | status = "disabled"; |
| 948 | }; |
| 949 | |
| 950 | // HDMI sound |
| 951 | msp2: msp@80117000 { |
| 952 | compatible = "stericsson,ux500-msp-i2s"; |
| 953 | reg = <0x80117000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 954 | interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 955 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 956 | |
Lee Jones | 618111c | 2013-11-06 10:16:16 +0000 | [diff] [blame] | 957 | dmas = <&dma 14 0 0x12>, /* Logical - DevToMem - HighPrio */ |
| 958 | <&dma 14 1 0x19>; /* Physical Chan 1 - MemToDev |
| 959 | HighPrio - Fixed */ |
| 960 | dma-names = "rx", "tx"; |
| 961 | |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 962 | clocks = <&prcc_kclk 2 3>, <&prcc_pclk 2 5>; |
| 963 | clock-names = "msp", "apb_pclk"; |
| 964 | |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 965 | status = "disabled"; |
| 966 | }; |
| 967 | |
| 968 | msp3: msp@80125000 { |
| 969 | compatible = "stericsson,ux500-msp-i2s"; |
| 970 | reg = <0x80125000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 971 | interrupts = <0 62 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 972 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 973 | |
Linus Walleij | 14cdf8c | 2014-06-11 10:45:50 +0200 | [diff] [blame] | 974 | /* This DMA channel only exist on DB8500 v2 */ |
Lee Jones | 618111c | 2013-11-06 10:16:16 +0000 | [diff] [blame] | 975 | dmas = <&dma 30 0 0x12>; /* Logical - DevToMem - HighPrio */ |
| 976 | dma-names = "rx"; |
| 977 | |
Lee Jones | 133e602 | 2013-06-03 13:18:00 +0100 | [diff] [blame] | 978 | clocks = <&prcc_kclk 1 10>, <&prcc_pclk 1 11>; |
| 979 | clock-names = "msp", "apb_pclk"; |
| 980 | |
Lee Jones | fe16452 | 2012-07-31 12:37:16 +0100 | [diff] [blame] | 981 | status = "disabled"; |
| 982 | }; |
| 983 | |
Lee Jones | bf76e06 | 2012-04-24 10:53:18 +0100 | [diff] [blame] | 984 | external-bus@50000000 { |
| 985 | compatible = "simple-bus"; |
| 986 | reg = <0x50000000 0x4000000>; |
| 987 | #address-cells = <1>; |
| 988 | #size-cells = <1>; |
| 989 | ranges = <0 0x50000000 0x4000000>; |
| 990 | status = "disabled"; |
| 991 | }; |
hongbo.zhang | dc1956b | 2012-11-15 18:56:43 +0800 | [diff] [blame] | 992 | |
| 993 | cpufreq-cooling { |
| 994 | compatible = "stericsson,db8500-cpufreq-cooling"; |
| 995 | status = "disabled"; |
Lee Jones | d460d28 | 2013-09-18 16:05:04 +0100 | [diff] [blame] | 996 | }; |
hongbo.zhang | dc1956b | 2012-11-15 18:56:43 +0800 | [diff] [blame] | 997 | |
Lee Jones | 0563f63 | 2012-10-24 11:18:14 +0100 | [diff] [blame] | 998 | vmmci: regulator-gpio { |
| 999 | compatible = "regulator-gpio"; |
| 1000 | |
| 1001 | regulator-min-microvolt = <1800000>; |
Lee Jones | 4f902b4 | 2012-12-06 14:00:01 +0000 | [diff] [blame] | 1002 | regulator-max-microvolt = <2900000>; |
Lee Jones | 0563f63 | 2012-10-24 11:18:14 +0100 | [diff] [blame] | 1003 | regulator-name = "mmci-reg"; |
| 1004 | regulator-type = "voltage"; |
| 1005 | |
Lee Jones | 874c920 | 2012-12-07 13:46:01 +0000 | [diff] [blame] | 1006 | startup-delay-us = <100>; |
Lee Jones | e7bda30 | 2012-12-06 15:00:46 +0000 | [diff] [blame] | 1007 | enable-active-high; |
| 1008 | |
Lee Jones | 0563f63 | 2012-10-24 11:18:14 +0100 | [diff] [blame] | 1009 | states = <1800000 0x1 |
| 1010 | 2900000 0x0>; |
Lee Jones | c94a4ab | 2012-11-15 13:02:16 +0000 | [diff] [blame] | 1011 | |
| 1012 | status = "disabled"; |
Lee Jones | 0563f63 | 2012-10-24 11:18:14 +0100 | [diff] [blame] | 1013 | }; |
Lee Jones | fe2e9f9 | 2013-05-16 12:27:21 +0100 | [diff] [blame] | 1014 | |
Linus Walleij | 6e9a88a | 2013-11-14 15:21:00 +0100 | [diff] [blame] | 1015 | mcde@a0350000 { |
| 1016 | compatible = "stericsson,mcde"; |
| 1017 | reg = <0xa0350000 0x1000>, /* MCDE */ |
| 1018 | <0xa0351000 0x1000>, /* DSI link 1 */ |
| 1019 | <0xa0352000 0x1000>, /* DSI link 2 */ |
| 1020 | <0xa0353000 0x1000>; /* DSI link 3 */ |
| 1021 | interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>; |
| 1022 | clocks = <&prcmu_clk PRCMU_MCDECLK>, /* Main MCDE clock */ |
| 1023 | <&prcmu_clk PRCMU_LCDCLK>, /* LCD clock */ |
| 1024 | <&prcmu_clk PRCMU_PLLDSI>, /* HDMI clock */ |
| 1025 | <&prcmu_clk PRCMU_DSI0CLK>, /* DSI 0 */ |
| 1026 | <&prcmu_clk PRCMU_DSI1CLK>, /* DSI 1 */ |
| 1027 | <&prcmu_clk PRCMU_DSI0ESCCLK>, /* TVout clock 0 */ |
| 1028 | <&prcmu_clk PRCMU_DSI1ESCCLK>, /* TVout clock 1 */ |
| 1029 | <&prcmu_clk PRCMU_DSI2ESCCLK>; /* TVout clock 2 */ |
| 1030 | }; |
| 1031 | |
Lee Jones | fe2e9f9 | 2013-05-16 12:27:21 +0100 | [diff] [blame] | 1032 | cryp@a03cb000 { |
| 1033 | compatible = "stericsson,ux500-cryp"; |
| 1034 | reg = <0xa03cb000 0x1000>; |
Linus Walleij | 90c4025 | 2013-05-29 19:15:39 +0200 | [diff] [blame] | 1035 | interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>; |
Lee Jones | fe2e9f9 | 2013-05-16 12:27:21 +0100 | [diff] [blame] | 1036 | |
| 1037 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | d2f898c | 2013-09-18 16:05:52 +0100 | [diff] [blame] | 1038 | clocks = <&prcc_pclk 6 1>; |
Lee Jones | fe2e9f9 | 2013-05-16 12:27:21 +0100 | [diff] [blame] | 1039 | }; |
Lee Jones | 61122cf | 2013-05-16 12:27:22 +0100 | [diff] [blame] | 1040 | |
| 1041 | hash@a03c2000 { |
| 1042 | compatible = "stericsson,ux500-hash"; |
| 1043 | reg = <0xa03c2000 0x1000>; |
| 1044 | |
| 1045 | v-ape-supply = <&db8500_vape_reg>; |
Lee Jones | 024cfe8 | 2013-09-18 16:07:27 +0100 | [diff] [blame] | 1046 | clocks = <&prcc_pclk 6 2>; |
Lee Jones | 61122cf | 2013-05-16 12:27:22 +0100 | [diff] [blame] | 1047 | }; |
Arnd Bergmann | 5d0769f | 2012-03-02 23:07:21 +0000 | [diff] [blame] | 1048 | }; |
| 1049 | }; |