Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Include file for Marvell Armada 1500-mini (Berlin BG2CD) SoC |
| 3 | * |
| 4 | * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> |
| 5 | * |
| 6 | * based on GPL'ed 2.6 kernel sources |
| 7 | * (c) Marvell International Ltd. |
| 8 | * |
Antoine Tenart | 94b0852 | 2015-04-27 21:39:47 +0200 | [diff] [blame] | 9 | * This file is dual-licensed: you can use it either under the terms |
| 10 | * of the GPL or the X11 license, at your option. Note that this dual |
| 11 | * licensing only applies to this file, and not this project as a |
| 12 | * whole. |
| 13 | * |
| 14 | * a) This file is licensed under the terms of the GNU General Public |
| 15 | * License version 2. This program is licensed "as is" without any |
| 16 | * warranty of any kind, whether express or implied. |
| 17 | * |
| 18 | * Or, alternatively, |
| 19 | * |
| 20 | * b) Permission is hereby granted, free of charge, to any person |
| 21 | * obtaining a copy of this software and associated documentation |
| 22 | * files (the "Software"), to deal in the Software without |
| 23 | * restriction, including without limitation the rights to use, |
| 24 | * copy, modify, merge, publish, distribute, sublicense, and/or |
| 25 | * sell copies of the Software, and to permit persons to whom the |
| 26 | * Software is furnished to do so, subject to the following |
| 27 | * conditions: |
| 28 | * |
| 29 | * The above copyright notice and this permission notice shall be |
| 30 | * included in all copies or substantial portions of the Software. |
| 31 | * |
| 32 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 33 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 34 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 35 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
| 36 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
| 37 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 38 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 39 | * OTHER DEALINGS IN THE SOFTWARE. |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 40 | */ |
| 41 | |
| 42 | #include "skeleton.dtsi" |
Sebastian Hesselbarth | 556f4a3 | 2014-05-10 15:22:48 +0200 | [diff] [blame] | 43 | #include <dt-bindings/clock/berlin2.h> |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 44 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 45 | |
| 46 | / { |
| 47 | model = "Marvell Armada 1500-mini (BG2CD) SoC"; |
| 48 | compatible = "marvell,berlin2cd", "marvell,berlin"; |
| 49 | |
Jisheng Zhang | 487eacb | 2015-09-14 14:42:12 +0800 | [diff] [blame] | 50 | aliases { |
| 51 | serial0 = &uart0; |
| 52 | serial1 = &uart1; |
| 53 | }; |
| 54 | |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 55 | cpus { |
| 56 | #address-cells = <1>; |
| 57 | #size-cells = <0>; |
| 58 | |
| 59 | cpu@0 { |
| 60 | compatible = "arm,cortex-a9"; |
| 61 | device_type = "cpu"; |
| 62 | next-level-cache = <&l2>; |
| 63 | reg = <0>; |
Antoine Tenart | 1e5c505 | 2015-09-17 12:15:04 +0200 | [diff] [blame] | 64 | |
| 65 | clocks = <&chip_clk CLKID_CPU>; |
| 66 | clock-latency = <100000>; |
| 67 | operating-points = < |
| 68 | /* kHz uV */ |
| 69 | 800000 1200000 |
| 70 | 600000 1200000 |
| 71 | >; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 72 | }; |
| 73 | }; |
| 74 | |
Sebastian Hesselbarth | 556f4a3 | 2014-05-10 15:22:48 +0200 | [diff] [blame] | 75 | refclk: oscillator { |
| 76 | compatible = "fixed-clock"; |
| 77 | #clock-cells = <0>; |
| 78 | clock-frequency = <25000000>; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 79 | }; |
| 80 | |
| 81 | soc { |
| 82 | compatible = "simple-bus"; |
| 83 | #address-cells = <1>; |
| 84 | #size-cells = <1>; |
| 85 | interrupt-parent = <&gic>; |
| 86 | |
| 87 | ranges = <0 0xf7000000 0x1000000>; |
| 88 | |
Jisheng Zhang | d4ce804 | 2014-12-26 16:57:59 +0800 | [diff] [blame] | 89 | pmu { |
| 90 | compatible = "arm,cortex-a9-pmu"; |
| 91 | interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; |
| 92 | }; |
| 93 | |
Sebastian Hesselbarth | 652538c | 2014-05-20 16:48:10 +0200 | [diff] [blame] | 94 | sdhci0: sdhci@ab0000 { |
| 95 | compatible = "mrvl,pxav3-mmc"; |
| 96 | reg = <0xab0000 0x200>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 97 | clocks = <&chip_clk CLKID_SDIO0XIN>, <&chip_clk CLKID_SDIO0>; |
Sebastian Hesselbarth | 652538c | 2014-05-20 16:48:10 +0200 | [diff] [blame] | 98 | clock-names = "io", "core"; |
| 99 | interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; |
| 100 | status = "disabled"; |
| 101 | }; |
| 102 | |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 103 | l2: l2-cache-controller@ac0000 { |
| 104 | compatible = "arm,pl310-cache"; |
| 105 | reg = <0xac0000 0x1000>; |
| 106 | cache-unified; |
| 107 | cache-level = <2>; |
| 108 | }; |
| 109 | |
| 110 | gic: interrupt-controller@ad1000 { |
| 111 | compatible = "arm,cortex-a9-gic"; |
| 112 | reg = <0xad1000 0x1000>, <0xad0100 0x0100>; |
| 113 | interrupt-controller; |
| 114 | #interrupt-cells = <3>; |
| 115 | }; |
| 116 | |
| 117 | local-timer@ad0600 { |
| 118 | compatible = "arm,cortex-a9-twd-timer"; |
| 119 | reg = <0xad0600 0x20>; |
Jisheng Zhang | 2356d2f | 2014-12-26 16:58:00 +0800 | [diff] [blame] | 120 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 121 | clocks = <&chip_clk CLKID_TWD>; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 122 | }; |
| 123 | |
Sebastian Hesselbarth | e802b3a | 2014-11-17 14:35:46 +0100 | [diff] [blame] | 124 | usb_phy0: usb-phy@b74000 { |
| 125 | compatible = "marvell,berlin2cd-usb-phy"; |
| 126 | reg = <0xb74000 0x128>; |
| 127 | #phy-cells = <0>; |
Antoine Tenart | 4322572 | 2015-05-16 00:50:40 +0200 | [diff] [blame] | 128 | resets = <&chip_rst 0x178 23>; |
Sebastian Hesselbarth | e802b3a | 2014-11-17 14:35:46 +0100 | [diff] [blame] | 129 | status = "disabled"; |
| 130 | }; |
| 131 | |
| 132 | usb_phy1: usb-phy@b78000 { |
| 133 | compatible = "marvell,berlin2cd-usb-phy"; |
| 134 | reg = <0xb78000 0x128>; |
| 135 | #phy-cells = <0>; |
Antoine Tenart | 4322572 | 2015-05-16 00:50:40 +0200 | [diff] [blame] | 136 | resets = <&chip_rst 0x178 24>; |
Sebastian Hesselbarth | e802b3a | 2014-11-17 14:35:46 +0100 | [diff] [blame] | 137 | status = "disabled"; |
| 138 | }; |
| 139 | |
Sebastian Hesselbarth | 631338a | 2014-10-22 20:26:50 +0200 | [diff] [blame] | 140 | eth1: ethernet@b90000 { |
| 141 | compatible = "marvell,pxa168-eth"; |
| 142 | reg = <0xb90000 0x10000>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 143 | clocks = <&chip_clk CLKID_GETH1>; |
Sebastian Hesselbarth | 631338a | 2014-10-22 20:26:50 +0200 | [diff] [blame] | 144 | interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; |
| 145 | /* set by bootloader */ |
| 146 | local-mac-address = [00 00 00 00 00 00]; |
| 147 | #address-cells = <1>; |
| 148 | #size-cells = <0>; |
| 149 | phy-connection-type = "mii"; |
| 150 | phy-handle = <ðphy1>; |
| 151 | status = "disabled"; |
| 152 | |
| 153 | ethphy1: ethernet-phy@0 { |
| 154 | reg = <0>; |
| 155 | }; |
| 156 | }; |
| 157 | |
| 158 | eth0: ethernet@e50000 { |
| 159 | compatible = "marvell,pxa168-eth"; |
| 160 | reg = <0xe50000 0x10000>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 161 | clocks = <&chip_clk CLKID_GETH0>; |
Sebastian Hesselbarth | 631338a | 2014-10-22 20:26:50 +0200 | [diff] [blame] | 162 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
| 163 | /* set by bootloader */ |
| 164 | local-mac-address = [00 00 00 00 00 00]; |
| 165 | #address-cells = <1>; |
| 166 | #size-cells = <0>; |
| 167 | phy-connection-type = "mii"; |
| 168 | phy-handle = <ðphy0>; |
| 169 | status = "disabled"; |
| 170 | |
| 171 | ethphy0: ethernet-phy@0 { |
| 172 | reg = <0>; |
| 173 | }; |
| 174 | }; |
| 175 | |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 176 | apb@e80000 { |
| 177 | compatible = "simple-bus"; |
| 178 | #address-cells = <1>; |
| 179 | #size-cells = <1>; |
| 180 | |
| 181 | ranges = <0 0xe80000 0x10000>; |
| 182 | interrupt-parent = <&aic>; |
| 183 | |
Antoine Tenart | c920a66 | 2014-04-17 10:45:29 +0200 | [diff] [blame] | 184 | gpio0: gpio@0400 { |
| 185 | compatible = "snps,dw-apb-gpio"; |
| 186 | reg = <0x0400 0x400>; |
| 187 | #address-cells = <1>; |
| 188 | #size-cells = <0>; |
| 189 | |
| 190 | porta: gpio-port@0 { |
| 191 | compatible = "snps,dw-apb-gpio-port"; |
| 192 | gpio-controller; |
| 193 | #gpio-cells = <2>; |
| 194 | snps,nr-gpios = <8>; |
| 195 | reg = <0>; |
| 196 | interrupt-controller; |
| 197 | #interrupt-cells = <2>; |
| 198 | interrupts = <0>; |
| 199 | }; |
| 200 | }; |
| 201 | |
| 202 | gpio1: gpio@0800 { |
| 203 | compatible = "snps,dw-apb-gpio"; |
| 204 | reg = <0x0800 0x400>; |
| 205 | #address-cells = <1>; |
| 206 | #size-cells = <0>; |
| 207 | |
| 208 | portb: gpio-port@1 { |
| 209 | compatible = "snps,dw-apb-gpio-port"; |
| 210 | gpio-controller; |
| 211 | #gpio-cells = <2>; |
| 212 | snps,nr-gpios = <8>; |
| 213 | reg = <0>; |
| 214 | interrupt-controller; |
| 215 | #interrupt-cells = <2>; |
| 216 | interrupts = <1>; |
| 217 | }; |
| 218 | }; |
| 219 | |
| 220 | gpio2: gpio@0c00 { |
| 221 | compatible = "snps,dw-apb-gpio"; |
| 222 | reg = <0x0c00 0x400>; |
| 223 | #address-cells = <1>; |
| 224 | #size-cells = <0>; |
| 225 | |
| 226 | portc: gpio-port@2 { |
| 227 | compatible = "snps,dw-apb-gpio-port"; |
| 228 | gpio-controller; |
| 229 | #gpio-cells = <2>; |
| 230 | snps,nr-gpios = <8>; |
| 231 | reg = <0>; |
| 232 | interrupt-controller; |
| 233 | #interrupt-cells = <2>; |
| 234 | interrupts = <2>; |
| 235 | }; |
| 236 | }; |
| 237 | |
| 238 | gpio3: gpio@1000 { |
| 239 | compatible = "snps,dw-apb-gpio"; |
| 240 | reg = <0x1000 0x400>; |
| 241 | #address-cells = <1>; |
| 242 | #size-cells = <0>; |
| 243 | |
| 244 | portd: gpio-port@3 { |
| 245 | compatible = "snps,dw-apb-gpio-port"; |
| 246 | gpio-controller; |
| 247 | #gpio-cells = <2>; |
| 248 | snps,nr-gpios = <8>; |
| 249 | reg = <0>; |
| 250 | interrupt-controller; |
| 251 | #interrupt-cells = <2>; |
| 252 | interrupts = <3>; |
| 253 | }; |
| 254 | }; |
| 255 | |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 256 | timer0: timer@2c00 { |
| 257 | compatible = "snps,dw-apb-timer"; |
| 258 | reg = <0x2c00 0x14>; |
| 259 | interrupts = <8>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 260 | clocks = <&chip_clk CLKID_CFG>; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 261 | clock-names = "timer"; |
| 262 | status = "okay"; |
| 263 | }; |
| 264 | |
| 265 | timer1: timer@2c14 { |
| 266 | compatible = "snps,dw-apb-timer"; |
| 267 | reg = <0x2c14 0x14>; |
| 268 | interrupts = <9>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 269 | clocks = <&chip_clk CLKID_CFG>; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 270 | clock-names = "timer"; |
| 271 | status = "okay"; |
| 272 | }; |
| 273 | |
| 274 | timer2: timer@2c28 { |
| 275 | compatible = "snps,dw-apb-timer"; |
| 276 | reg = <0x2c28 0x14>; |
| 277 | interrupts = <10>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 278 | clocks = <&chip_clk CLKID_CFG>; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 279 | clock-names = "timer"; |
| 280 | status = "disabled"; |
| 281 | }; |
| 282 | |
| 283 | timer3: timer@2c3c { |
| 284 | compatible = "snps,dw-apb-timer"; |
| 285 | reg = <0x2c3c 0x14>; |
| 286 | interrupts = <11>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 287 | clocks = <&chip_clk CLKID_CFG>; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 288 | clock-names = "timer"; |
| 289 | status = "disabled"; |
| 290 | }; |
| 291 | |
| 292 | timer4: timer@2c50 { |
| 293 | compatible = "snps,dw-apb-timer"; |
| 294 | reg = <0x2c50 0x14>; |
| 295 | interrupts = <12>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 296 | clocks = <&chip_clk CLKID_CFG>; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 297 | clock-names = "timer"; |
| 298 | status = "disabled"; |
| 299 | }; |
| 300 | |
| 301 | timer5: timer@2c64 { |
| 302 | compatible = "snps,dw-apb-timer"; |
| 303 | reg = <0x2c64 0x14>; |
| 304 | interrupts = <13>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 305 | clocks = <&chip_clk CLKID_CFG>; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 306 | clock-names = "timer"; |
| 307 | status = "disabled"; |
| 308 | }; |
| 309 | |
| 310 | timer6: timer@2c78 { |
| 311 | compatible = "snps,dw-apb-timer"; |
| 312 | reg = <0x2c78 0x14>; |
| 313 | interrupts = <14>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 314 | clocks = <&chip_clk CLKID_CFG>; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 315 | clock-names = "timer"; |
| 316 | status = "disabled"; |
| 317 | }; |
| 318 | |
| 319 | timer7: timer@2c8c { |
| 320 | compatible = "snps,dw-apb-timer"; |
| 321 | reg = <0x2c8c 0x14>; |
| 322 | interrupts = <15>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 323 | clocks = <&chip_clk CLKID_CFG>; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 324 | clock-names = "timer"; |
| 325 | status = "disabled"; |
| 326 | }; |
| 327 | |
| 328 | aic: interrupt-controller@3000 { |
| 329 | compatible = "snps,dw-apb-ictl"; |
| 330 | reg = <0x3000 0xc00>; |
| 331 | interrupt-controller; |
| 332 | #interrupt-cells = <1>; |
| 333 | interrupt-parent = <&gic>; |
| 334 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
| 335 | }; |
| 336 | }; |
| 337 | |
Sebastian Hesselbarth | 556f4a3 | 2014-05-10 15:22:48 +0200 | [diff] [blame] | 338 | chip: chip-control@ea0000 { |
Antoine Tenart | f3f94f7 | 2015-05-16 01:54:58 +0200 | [diff] [blame] | 339 | compatible = "simple-mfd", "syscon"; |
Sebastian Hesselbarth | 556f4a3 | 2014-05-10 15:22:48 +0200 | [diff] [blame] | 340 | reg = <0xea0000 0x400>; |
Antoine Tenart | 50cc24f | 2014-05-18 20:15:57 +0200 | [diff] [blame] | 341 | |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 342 | chip_clk: clock { |
| 343 | compatible = "marvell,berlin2-clk"; |
| 344 | #clock-cells = <1>; |
| 345 | clocks = <&refclk>; |
| 346 | clock-names = "refclk"; |
| 347 | }; |
Antoine Tenart | 50cc24f | 2014-05-18 20:15:57 +0200 | [diff] [blame] | 348 | |
Antoine Tenart | 630c986 | 2015-05-16 01:18:07 +0200 | [diff] [blame] | 349 | soc_pinctrl: pin-controller { |
| 350 | compatible = "marvell,berlin2cd-soc-pinctrl"; |
| 351 | |
| 352 | uart0_pmux: uart0-pmux { |
| 353 | groups = "G6"; |
| 354 | function = "uart0"; |
| 355 | }; |
Antoine Tenart | 50cc24f | 2014-05-18 20:15:57 +0200 | [diff] [blame] | 356 | }; |
Antoine Tenart | 4322572 | 2015-05-16 00:50:40 +0200 | [diff] [blame] | 357 | |
| 358 | chip_rst: reset { |
| 359 | compatible = "marvell,berlin2-reset"; |
| 360 | #reset-cells = <2>; |
Sebastian Hesselbarth | 556f4a3 | 2014-05-10 15:22:48 +0200 | [diff] [blame] | 361 | }; |
| 362 | }; |
| 363 | |
Sebastian Hesselbarth | e802b3a | 2014-11-17 14:35:46 +0100 | [diff] [blame] | 364 | usb0: usb@ed0000 { |
| 365 | compatible = "chipidea,usb2"; |
| 366 | reg = <0xed0000 0x200>; |
| 367 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 368 | clocks = <&chip_clk CLKID_USB0>; |
Sebastian Hesselbarth | e802b3a | 2014-11-17 14:35:46 +0100 | [diff] [blame] | 369 | phys = <&usb_phy0>; |
| 370 | phy-names = "usb-phy"; |
| 371 | status = "disabled"; |
| 372 | }; |
| 373 | |
| 374 | usb1: usb@ee0000 { |
| 375 | compatible = "chipidea,usb2"; |
| 376 | reg = <0xee0000 0x200>; |
| 377 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
Antoine Tenart | b8b59d4 | 2015-05-16 01:48:08 +0200 | [diff] [blame] | 378 | clocks = <&chip_clk CLKID_USB1>; |
Sebastian Hesselbarth | e802b3a | 2014-11-17 14:35:46 +0100 | [diff] [blame] | 379 | phys = <&usb_phy1>; |
| 380 | phy-names = "usb-phy"; |
| 381 | status = "disabled"; |
| 382 | }; |
| 383 | |
Antoine Tenart | 5f5cdc0 | 2015-10-02 16:59:50 +0200 | [diff] [blame] | 384 | pwm: pwm@f20000 { |
| 385 | compatible = "marvell,berlin-pwm"; |
| 386 | reg = <0xf20000 0x40>; |
| 387 | clocks = <&chip_clk CLKID_CFG>; |
| 388 | #pwm-cells = <3>; |
| 389 | }; |
| 390 | |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 391 | apb@fc0000 { |
| 392 | compatible = "simple-bus"; |
| 393 | #address-cells = <1>; |
| 394 | #size-cells = <1>; |
| 395 | |
| 396 | ranges = <0 0xfc0000 0x10000>; |
| 397 | interrupt-parent = <&sic>; |
| 398 | |
Jisheng Zhang | 096d74d | 2015-11-16 19:09:48 +0800 | [diff] [blame] | 399 | wdt0: watchdog@1000 { |
| 400 | compatible = "snps,dw-wdt"; |
| 401 | reg = <0x1000 0x100>; |
| 402 | clocks = <&refclk>; |
| 403 | interrupts = <0>; |
| 404 | }; |
| 405 | |
| 406 | wdt1: watchdog@2000 { |
| 407 | compatible = "snps,dw-wdt"; |
| 408 | reg = <0x2000 0x100>; |
| 409 | clocks = <&refclk>; |
| 410 | interrupts = <1>; |
| 411 | status = "disabled"; |
| 412 | }; |
| 413 | |
| 414 | wdt2: watchdog@3000 { |
| 415 | compatible = "snps,dw-wdt"; |
| 416 | reg = <0x3000 0x100>; |
| 417 | clocks = <&refclk>; |
| 418 | interrupts = <2>; |
| 419 | status = "disabled"; |
| 420 | }; |
| 421 | |
Antoine Tenart | c920a66 | 2014-04-17 10:45:29 +0200 | [diff] [blame] | 422 | sm_gpio1: gpio@5000 { |
| 423 | compatible = "snps,dw-apb-gpio"; |
| 424 | reg = <0x5000 0x400>; |
| 425 | #address-cells = <1>; |
| 426 | #size-cells = <0>; |
| 427 | |
| 428 | portf: gpio-port@5 { |
| 429 | compatible = "snps,dw-apb-gpio-port"; |
| 430 | gpio-controller; |
| 431 | #gpio-cells = <2>; |
| 432 | snps,nr-gpios = <8>; |
| 433 | reg = <0>; |
| 434 | }; |
| 435 | }; |
| 436 | |
| 437 | sm_gpio0: gpio@c000 { |
| 438 | compatible = "snps,dw-apb-gpio"; |
| 439 | reg = <0xc000 0x400>; |
| 440 | #address-cells = <1>; |
| 441 | #size-cells = <0>; |
| 442 | |
| 443 | porte: gpio-port@4 { |
| 444 | compatible = "snps,dw-apb-gpio-port"; |
| 445 | gpio-controller; |
| 446 | #gpio-cells = <2>; |
| 447 | snps,nr-gpios = <8>; |
| 448 | reg = <0>; |
| 449 | }; |
| 450 | }; |
| 451 | |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 452 | uart0: serial@9000 { |
| 453 | compatible = "snps,dw-apb-uart"; |
| 454 | reg = <0x9000 0x100>; |
| 455 | reg-shift = <2>; |
| 456 | reg-io-width = <1>; |
| 457 | interrupts = <8>; |
Sebastian Hesselbarth | 556f4a3 | 2014-05-10 15:22:48 +0200 | [diff] [blame] | 458 | clocks = <&refclk>; |
Antoine Tenart | 50cc24f | 2014-05-18 20:15:57 +0200 | [diff] [blame] | 459 | pinctrl-0 = <&uart0_pmux>; |
| 460 | pinctrl-names = "default"; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 461 | status = "disabled"; |
| 462 | }; |
| 463 | |
| 464 | uart1: serial@a000 { |
| 465 | compatible = "snps,dw-apb-uart"; |
| 466 | reg = <0xa000 0x100>; |
| 467 | reg-shift = <2>; |
| 468 | reg-io-width = <1>; |
| 469 | interrupts = <9>; |
Sebastian Hesselbarth | 556f4a3 | 2014-05-10 15:22:48 +0200 | [diff] [blame] | 470 | clocks = <&refclk>; |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 471 | status = "disabled"; |
| 472 | }; |
| 473 | |
Antoine Tenart | 50cc24f | 2014-05-18 20:15:57 +0200 | [diff] [blame] | 474 | sysctrl: system-controller@d000 { |
Antoine Tenart | f3f94f7 | 2015-05-16 01:54:58 +0200 | [diff] [blame] | 475 | compatible = "simple-mfd", "syscon"; |
Antoine Tenart | 50cc24f | 2014-05-18 20:15:57 +0200 | [diff] [blame] | 476 | reg = <0xd000 0x100>; |
Antoine Tenart | 630c986 | 2015-05-16 01:18:07 +0200 | [diff] [blame] | 477 | |
| 478 | sys_pinctrl: pin-controller { |
| 479 | compatible = "marvell,berlin2cd-system-pinctrl"; |
| 480 | }; |
Antoine Tenart | 50cc24f | 2014-05-18 20:15:57 +0200 | [diff] [blame] | 481 | }; |
| 482 | |
Sebastian Hesselbarth | a909211 | 2013-11-05 12:40:22 +0100 | [diff] [blame] | 483 | sic: interrupt-controller@e000 { |
| 484 | compatible = "snps,dw-apb-ictl"; |
| 485 | reg = <0xe000 0x400>; |
| 486 | interrupt-controller; |
| 487 | #interrupt-cells = <1>; |
| 488 | interrupt-parent = <&gic>; |
| 489 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 490 | }; |
| 491 | }; |
| 492 | }; |
| 493 | }; |