Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Include file for Marvell Armada 38x family of SoCs. |
| 3 | * |
| 4 | * Copyright (C) 2014 Marvell |
| 5 | * |
| 6 | * Lior Amsalem <alior@marvell.com> |
| 7 | * Gregory CLEMENT <gregory.clement@free-electrons.com> |
| 8 | * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
| 9 | * |
Gregory CLEMENT | 7674432 | 2015-01-26 15:15:59 +0100 | [diff] [blame] | 10 | * This file is dual-licensed: you can use it either under the terms |
| 11 | * of the GPL or the X11 license, at your option. Note that this dual |
| 12 | * licensing only applies to this file, and not this project as a |
| 13 | * whole. |
| 14 | * |
| 15 | * a) This file is free software; you can redistribute it and/or |
| 16 | * modify it under the terms of the GNU General Public License as |
| 17 | * published by the Free Software Foundation; either version 2 of the |
| 18 | * License, or (at your option) any later version. |
| 19 | * |
Alexandre Belloni | 24f0b6f | 2016-12-27 22:36:42 +0100 | [diff] [blame] | 20 | * This file is distributed in the hope that it will be useful, |
Gregory CLEMENT | 7674432 | 2015-01-26 15:15:59 +0100 | [diff] [blame] | 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 23 | * GNU General Public License for more details. |
| 24 | * |
Alexandre Belloni | 24f0b6f | 2016-12-27 22:36:42 +0100 | [diff] [blame] | 25 | * Or, alternatively, |
Gregory CLEMENT | 7674432 | 2015-01-26 15:15:59 +0100 | [diff] [blame] | 26 | * |
| 27 | * b) Permission is hereby granted, free of charge, to any person |
| 28 | * obtaining a copy of this software and associated documentation |
| 29 | * files (the "Software"), to deal in the Software without |
Alexandre Belloni | 24f0b6f | 2016-12-27 22:36:42 +0100 | [diff] [blame] | 30 | * restriction, including without limitation the rights to use, |
Gregory CLEMENT | 7674432 | 2015-01-26 15:15:59 +0100 | [diff] [blame] | 31 | * copy, modify, merge, publish, distribute, sublicense, and/or |
| 32 | * sell copies of the Software, and to permit persons to whom the |
| 33 | * Software is furnished to do so, subject to the following |
| 34 | * conditions: |
| 35 | * |
| 36 | * The above copyright notice and this permission notice shall be |
| 37 | * included in all copies or substantial portions of the Software. |
| 38 | * |
Alexandre Belloni | 24f0b6f | 2016-12-27 22:36:42 +0100 | [diff] [blame] | 39 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
Gregory CLEMENT | 7674432 | 2015-01-26 15:15:59 +0100 | [diff] [blame] | 40 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
| 41 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 42 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
Alexandre Belloni | 24f0b6f | 2016-12-27 22:36:42 +0100 | [diff] [blame] | 43 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
Gregory CLEMENT | 7674432 | 2015-01-26 15:15:59 +0100 | [diff] [blame] | 44 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 45 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 46 | * OTHER DEALINGS IN THE SOFTWARE. |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 47 | */ |
| 48 | |
| 49 | #include "skeleton.dtsi" |
Thomas Petazzoni | f327d43 | 2014-02-20 12:11:30 +0100 | [diff] [blame] | 50 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 51 | #include <dt-bindings/interrupt-controller/irq.h> |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 52 | |
| 53 | #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) |
| 54 | |
| 55 | / { |
| 56 | model = "Marvell Armada 38x family SoC"; |
Gregory CLEMENT | 8dbdb8e | 2014-06-23 16:16:51 +0200 | [diff] [blame] | 57 | compatible = "marvell,armada380"; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 58 | |
| 59 | aliases { |
| 60 | gpio0 = &gpio0; |
| 61 | gpio1 = &gpio1; |
Thomas Petazzoni | bf6acf1 | 2015-03-03 15:41:01 +0100 | [diff] [blame] | 62 | serial0 = &uart0; |
| 63 | serial1 = &uart1; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 64 | }; |
| 65 | |
Ezequiel Garcia | 754c4b1 | 2015-03-03 11:43:19 +0100 | [diff] [blame] | 66 | pmu { |
| 67 | compatible = "arm,cortex-a9-pmu"; |
| 68 | interrupts-extended = <&mpic 3>; |
| 69 | }; |
| 70 | |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 71 | soc { |
Thomas Petazzoni | a9e274c | 2014-12-30 13:43:44 +0100 | [diff] [blame] | 72 | compatible = "marvell,armada380-mbus", "simple-bus"; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 73 | #address-cells = <2>; |
| 74 | #size-cells = <1>; |
| 75 | controller = <&mbusc>; |
| 76 | interrupt-parent = <&gic>; |
| 77 | pcie-mem-aperture = <0xe0000000 0x8000000>; |
| 78 | pcie-io-aperture = <0xe8000000 0x100000>; |
| 79 | |
| 80 | bootrom { |
| 81 | compatible = "marvell,bootrom"; |
| 82 | reg = <MBUS_ID(0x01, 0x1d) 0 0x200000>; |
| 83 | }; |
| 84 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 85 | devbus_bootcs: devbus-bootcs { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 86 | compatible = "marvell,mvebu-devbus"; |
| 87 | reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>; |
| 88 | ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>; |
| 89 | #address-cells = <1>; |
| 90 | #size-cells = <1>; |
| 91 | clocks = <&coreclk 0>; |
| 92 | status = "disabled"; |
| 93 | }; |
| 94 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 95 | devbus_cs0: devbus-cs0 { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 96 | compatible = "marvell,mvebu-devbus"; |
| 97 | reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>; |
| 98 | ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>; |
| 99 | #address-cells = <1>; |
| 100 | #size-cells = <1>; |
| 101 | clocks = <&coreclk 0>; |
| 102 | status = "disabled"; |
| 103 | }; |
| 104 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 105 | devbus_cs1: devbus-cs1 { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 106 | compatible = "marvell,mvebu-devbus"; |
| 107 | reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>; |
| 108 | ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>; |
| 109 | #address-cells = <1>; |
| 110 | #size-cells = <1>; |
| 111 | clocks = <&coreclk 0>; |
| 112 | status = "disabled"; |
| 113 | }; |
| 114 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 115 | devbus_cs2: devbus-cs2 { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 116 | compatible = "marvell,mvebu-devbus"; |
| 117 | reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>; |
| 118 | ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>; |
| 119 | #address-cells = <1>; |
| 120 | #size-cells = <1>; |
| 121 | clocks = <&coreclk 0>; |
| 122 | status = "disabled"; |
| 123 | }; |
| 124 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 125 | devbus_cs3: devbus-cs3 { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 126 | compatible = "marvell,mvebu-devbus"; |
| 127 | reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>; |
| 128 | ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>; |
| 129 | #address-cells = <1>; |
| 130 | #size-cells = <1>; |
| 131 | clocks = <&coreclk 0>; |
| 132 | status = "disabled"; |
| 133 | }; |
| 134 | |
| 135 | internal-regs { |
| 136 | compatible = "simple-bus"; |
| 137 | #address-cells = <1>; |
| 138 | #size-cells = <1>; |
| 139 | ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>; |
| 140 | |
| 141 | L2: cache-controller@8000 { |
| 142 | compatible = "arm,pl310-cache"; |
| 143 | reg = <0x8000 0x1000>; |
| 144 | cache-unified; |
| 145 | cache-level = <2>; |
Yan Markman | cda80a8 | 2016-10-16 00:22:32 +0300 | [diff] [blame] | 146 | arm,double-linefill-incr = <0>; |
Thomas Petazzoni | c8f5a87 | 2015-06-11 13:51:12 +0200 | [diff] [blame] | 147 | arm,double-linefill-wrap = <0>; |
Yan Markman | cda80a8 | 2016-10-16 00:22:32 +0300 | [diff] [blame] | 148 | arm,double-linefill = <0>; |
Thomas Petazzoni | c8f5a87 | 2015-06-11 13:51:12 +0200 | [diff] [blame] | 149 | prefetch-data = <1>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 150 | }; |
| 151 | |
Thomas Petazzoni | 964a615 | 2014-04-14 15:47:08 +0200 | [diff] [blame] | 152 | scu@c000 { |
| 153 | compatible = "arm,cortex-a9-scu"; |
| 154 | reg = <0xc000 0x58>; |
| 155 | }; |
| 156 | |
Marcin Wojtas | 0f01501 | 2017-08-01 18:36:23 +0200 | [diff] [blame] | 157 | timer@c200 { |
| 158 | compatible = "arm,cortex-a9-global-timer"; |
| 159 | reg = <0xc200 0x20>; |
| 160 | interrupts = <GIC_PPI 11 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>; |
| 161 | clocks = <&coreclk 2>; |
| 162 | }; |
| 163 | |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 164 | timer@c600 { |
| 165 | compatible = "arm,cortex-a9-twd-timer"; |
| 166 | reg = <0xc600 0x20>; |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 167 | interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 168 | clocks = <&coreclk 2>; |
| 169 | }; |
| 170 | |
| 171 | gic: interrupt-controller@d000 { |
| 172 | compatible = "arm,cortex-a9-gic"; |
| 173 | #interrupt-cells = <3>; |
| 174 | #size-cells = <0>; |
| 175 | interrupt-controller; |
| 176 | reg = <0xd000 0x1000>, |
| 177 | <0xc100 0x100>; |
| 178 | }; |
| 179 | |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 180 | i2c0: i2c@11000 { |
Kalyan Kinthada | fbffee7 | 2017-09-29 10:36:04 +1300 | [diff] [blame] | 181 | compatible = "marvell,mv78230-a0-i2c", "marvell,mv64xxx-i2c"; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 182 | reg = <0x11000 0x20>; |
| 183 | #address-cells = <1>; |
| 184 | #size-cells = <0>; |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 185 | interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 186 | timeout-ms = <1000>; |
| 187 | clocks = <&coreclk 0>; |
| 188 | status = "disabled"; |
| 189 | }; |
| 190 | |
| 191 | i2c1: i2c@11100 { |
Kalyan Kinthada | fbffee7 | 2017-09-29 10:36:04 +1300 | [diff] [blame] | 192 | compatible = "marvell,mv78230-a0-i2c", "marvell,mv64xxx-i2c"; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 193 | reg = <0x11100 0x20>; |
| 194 | #address-cells = <1>; |
| 195 | #size-cells = <0>; |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 196 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 197 | timeout-ms = <1000>; |
| 198 | clocks = <&coreclk 0>; |
| 199 | status = "disabled"; |
| 200 | }; |
| 201 | |
Gregory CLEMENT | 10c5c47 | 2015-01-08 18:38:11 +0100 | [diff] [blame] | 202 | uart0: serial@12000 { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 203 | compatible = "snps,dw-apb-uart"; |
| 204 | reg = <0x12000 0x100>; |
| 205 | reg-shift = <2>; |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 206 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 207 | reg-io-width = <1>; |
Thomas Petazzoni | 64939dc | 2014-04-18 09:41:46 +0200 | [diff] [blame] | 208 | clocks = <&coreclk 0>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 209 | status = "disabled"; |
| 210 | }; |
| 211 | |
Thomas Petazzoni | 8a48dcc | 2015-03-03 15:40:58 +0100 | [diff] [blame] | 212 | uart1: serial@12100 { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 213 | compatible = "snps,dw-apb-uart"; |
| 214 | reg = <0x12100 0x100>; |
| 215 | reg-shift = <2>; |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 216 | interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 217 | reg-io-width = <1>; |
Thomas Petazzoni | 64939dc | 2014-04-18 09:41:46 +0200 | [diff] [blame] | 218 | clocks = <&coreclk 0>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 219 | status = "disabled"; |
| 220 | }; |
| 221 | |
Gregory CLEMENT | 10c5c47 | 2015-01-08 18:38:11 +0100 | [diff] [blame] | 222 | pinctrl: pinctrl@18000 { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 223 | reg = <0x18000 0x20>; |
Maxime Ripard | 91b4c91 | 2015-01-08 18:38:08 +0100 | [diff] [blame] | 224 | |
| 225 | ge0_rgmii_pins: ge-rgmii-pins-0 { |
| 226 | marvell,pins = "mpp6", "mpp7", "mpp8", |
| 227 | "mpp9", "mpp10", "mpp11", |
| 228 | "mpp12", "mpp13", "mpp14", |
| 229 | "mpp15", "mpp16", "mpp17"; |
| 230 | marvell,function = "ge0"; |
| 231 | }; |
| 232 | |
Gregory CLEMENT | 3459850 | 2015-01-08 18:38:10 +0100 | [diff] [blame] | 233 | ge1_rgmii_pins: ge-rgmii-pins-1 { |
| 234 | marvell,pins = "mpp21", "mpp27", "mpp28", |
| 235 | "mpp29", "mpp30", "mpp31", |
| 236 | "mpp32", "mpp37", "mpp38", |
| 237 | "mpp39", "mpp40", "mpp41"; |
| 238 | marvell,function = "ge1"; |
| 239 | }; |
| 240 | |
Maxime Ripard | 91b4c91 | 2015-01-08 18:38:08 +0100 | [diff] [blame] | 241 | i2c0_pins: i2c-pins-0 { |
| 242 | marvell,pins = "mpp2", "mpp3"; |
| 243 | marvell,function = "i2c0"; |
| 244 | }; |
| 245 | |
| 246 | mdio_pins: mdio-pins { |
| 247 | marvell,pins = "mpp4", "mpp5"; |
| 248 | marvell,function = "ge"; |
| 249 | }; |
| 250 | |
| 251 | ref_clk0_pins: ref-clk-pins-0 { |
| 252 | marvell,pins = "mpp45"; |
| 253 | marvell,function = "ref"; |
| 254 | }; |
| 255 | |
Gregory CLEMENT | 3459850 | 2015-01-08 18:38:10 +0100 | [diff] [blame] | 256 | ref_clk1_pins: ref-clk-pins-1 { |
| 257 | marvell,pins = "mpp46"; |
| 258 | marvell,function = "ref"; |
| 259 | }; |
| 260 | |
| 261 | spi0_pins: spi-pins-0 { |
| 262 | marvell,pins = "mpp22", "mpp23", "mpp24", |
| 263 | "mpp25"; |
| 264 | marvell,function = "spi0"; |
| 265 | }; |
| 266 | |
Maxime Ripard | 91b4c91 | 2015-01-08 18:38:08 +0100 | [diff] [blame] | 267 | spi1_pins: spi-pins-1 { |
| 268 | marvell,pins = "mpp56", "mpp57", "mpp58", |
| 269 | "mpp59"; |
| 270 | marvell,function = "spi1"; |
| 271 | }; |
| 272 | |
Chris Packham | 4c0437d | 2016-08-24 11:21:15 +1200 | [diff] [blame] | 273 | nand_pins: nand-pins { |
| 274 | marvell,pins = "mpp22", "mpp34", "mpp23", |
| 275 | "mpp33", "mpp38", "mpp28", |
| 276 | "mpp40", "mpp42", "mpp35", |
| 277 | "mpp36", "mpp25", "mpp30", |
| 278 | "mpp32"; |
| 279 | marvell,function = "dev"; |
| 280 | }; |
| 281 | |
Maxime Ripard | 91b4c91 | 2015-01-08 18:38:08 +0100 | [diff] [blame] | 282 | uart0_pins: uart-pins-0 { |
| 283 | marvell,pins = "mpp0", "mpp1"; |
| 284 | marvell,function = "ua0"; |
| 285 | }; |
| 286 | |
| 287 | uart1_pins: uart-pins-1 { |
| 288 | marvell,pins = "mpp19", "mpp20"; |
| 289 | marvell,function = "ua1"; |
| 290 | }; |
Gregory CLEMENT | 3459850 | 2015-01-08 18:38:10 +0100 | [diff] [blame] | 291 | |
| 292 | sdhci_pins: sdhci-pins { |
| 293 | marvell,pins = "mpp48", "mpp49", "mpp50", |
| 294 | "mpp52", "mpp53", "mpp54", |
| 295 | "mpp55", "mpp57", "mpp58", |
| 296 | "mpp59"; |
| 297 | marvell,function = "sd0"; |
| 298 | }; |
| 299 | |
| 300 | sata0_pins: sata-pins-0 { |
| 301 | marvell,pins = "mpp20"; |
| 302 | marvell,function = "sata0"; |
| 303 | }; |
| 304 | |
| 305 | sata1_pins: sata-pins-1 { |
| 306 | marvell,pins = "mpp19"; |
| 307 | marvell,function = "sata1"; |
| 308 | }; |
| 309 | |
| 310 | sata2_pins: sata-pins-2 { |
| 311 | marvell,pins = "mpp47"; |
| 312 | marvell,function = "sata2"; |
| 313 | }; |
| 314 | |
| 315 | sata3_pins: sata-pins-3 { |
| 316 | marvell,pins = "mpp44"; |
| 317 | marvell,function = "sata3"; |
| 318 | }; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 319 | }; |
| 320 | |
| 321 | gpio0: gpio@18100 { |
Ralph Sennhauser | 7cb2acb | 2017-06-01 22:10:30 +0200 | [diff] [blame] | 322 | compatible = "marvell,armada-370-gpio", |
| 323 | "marvell,orion-gpio"; |
| 324 | reg = <0x18100 0x40>, <0x181c0 0x08>; |
| 325 | reg-names = "gpio", "pwm"; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 326 | ngpios = <32>; |
| 327 | gpio-controller; |
| 328 | #gpio-cells = <2>; |
Ralph Sennhauser | 7cb2acb | 2017-06-01 22:10:30 +0200 | [diff] [blame] | 329 | #pwm-cells = <2>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 330 | interrupt-controller; |
| 331 | #interrupt-cells = <2>; |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 332 | interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, |
| 333 | <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, |
| 334 | <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, |
| 335 | <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; |
Ralph Sennhauser | 7cb2acb | 2017-06-01 22:10:30 +0200 | [diff] [blame] | 336 | clocks = <&coreclk 0>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 337 | }; |
| 338 | |
| 339 | gpio1: gpio@18140 { |
Ralph Sennhauser | 7cb2acb | 2017-06-01 22:10:30 +0200 | [diff] [blame] | 340 | compatible = "marvell,armada-370-gpio", |
| 341 | "marvell,orion-gpio"; |
| 342 | reg = <0x18140 0x40>, <0x181c8 0x08>; |
| 343 | reg-names = "gpio", "pwm"; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 344 | ngpios = <28>; |
| 345 | gpio-controller; |
| 346 | #gpio-cells = <2>; |
Ralph Sennhauser | 7cb2acb | 2017-06-01 22:10:30 +0200 | [diff] [blame] | 347 | #pwm-cells = <2>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 348 | interrupt-controller; |
| 349 | #interrupt-cells = <2>; |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 350 | interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, |
| 351 | <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, |
| 352 | <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, |
| 353 | <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; |
Ralph Sennhauser | 7cb2acb | 2017-06-01 22:10:30 +0200 | [diff] [blame] | 354 | clocks = <&coreclk 0>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 355 | }; |
| 356 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 357 | systemc: system-controller@18200 { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 358 | compatible = "marvell,armada-380-system-controller", |
| 359 | "marvell,armada-370-xp-system-controller"; |
| 360 | reg = <0x18200 0x100>; |
| 361 | }; |
| 362 | |
| 363 | gateclk: clock-gating-control@18220 { |
| 364 | compatible = "marvell,armada-380-gating-clock"; |
| 365 | reg = <0x18220 0x4>; |
| 366 | clocks = <&coreclk 0>; |
| 367 | #clock-cells = <1>; |
| 368 | }; |
| 369 | |
| 370 | coreclk: mvebu-sar@18600 { |
| 371 | compatible = "marvell,armada-380-core-clock"; |
| 372 | reg = <0x18600 0x04>; |
| 373 | #clock-cells = <1>; |
| 374 | }; |
| 375 | |
| 376 | mbusc: mbus-controller@20000 { |
| 377 | compatible = "marvell,mbus-controller"; |
Gregory CLEMENT | b69f469 | 2017-02-16 17:29:28 +0100 | [diff] [blame] | 378 | reg = <0x20000 0x100>, <0x20180 0x20>, |
| 379 | <0x20250 0x8>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 380 | }; |
| 381 | |
Maxime Ripard | 1d7b083 | 2015-02-26 10:51:17 +0100 | [diff] [blame] | 382 | mpic: interrupt-controller@20a00 { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 383 | compatible = "marvell,mpic"; |
| 384 | reg = <0x20a00 0x2d0>, <0x21070 0x58>; |
| 385 | #interrupt-cells = <1>; |
| 386 | #size-cells = <1>; |
| 387 | interrupt-controller; |
| 388 | msi-controller; |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 389 | interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 390 | }; |
| 391 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 392 | timer: timer@20300 { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 393 | compatible = "marvell,armada-380-timer", |
| 394 | "marvell,armada-xp-timer"; |
| 395 | reg = <0x20300 0x30>, <0x21040 0x30>; |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 396 | interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, |
| 397 | <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, |
| 398 | <&gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, |
| 399 | <&gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 400 | <&mpic 5>, |
| 401 | <&mpic 6>; |
| 402 | clocks = <&coreclk 2>, <&refclk>; |
| 403 | clock-names = "nbclk", "fixed"; |
| 404 | }; |
| 405 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 406 | watchdog: watchdog@20300 { |
Ezequiel Garcia | 153a964 | 2014-04-14 10:23:32 -0300 | [diff] [blame] | 407 | compatible = "marvell,armada-380-wdt"; |
| 408 | reg = <0x20300 0x34>, <0x20704 0x4>, <0x18260 0x4>; |
| 409 | clocks = <&coreclk 2>, <&refclk>; |
| 410 | clock-names = "nbclk", "fixed"; |
| 411 | }; |
| 412 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 413 | cpurst: cpurst@20800 { |
Thomas Petazzoni | 19b06d7 | 2014-04-14 15:54:08 +0200 | [diff] [blame] | 414 | compatible = "marvell,armada-370-cpu-reset"; |
| 415 | reg = <0x20800 0x10>; |
| 416 | }; |
| 417 | |
Gregory CLEMENT | d7f3ec2 | 2014-07-09 15:40:14 +0200 | [diff] [blame] | 418 | mpcore-soc-ctrl@20d20 { |
| 419 | compatible = "marvell,armada-380-mpcore-soc-ctrl"; |
| 420 | reg = <0x20d20 0x6c>; |
| 421 | }; |
| 422 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 423 | coherencyfab: coherency-fabric@21010 { |
Thomas Petazzoni | 964a615 | 2014-04-14 15:47:08 +0200 | [diff] [blame] | 424 | compatible = "marvell,armada-380-coherency-fabric"; |
| 425 | reg = <0x21010 0x1c>; |
| 426 | }; |
| 427 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 428 | pmsu: pmsu@22000 { |
Thomas Petazzoni | 19b06d7 | 2014-04-14 15:54:08 +0200 | [diff] [blame] | 429 | compatible = "marvell,armada-380-pmsu"; |
| 430 | reg = <0x22000 0x1000>; |
| 431 | }; |
| 432 | |
Thomas Petazzoni | cb4f71c | 2016-01-27 16:08:19 +0100 | [diff] [blame] | 433 | /* |
| 434 | * As a special exception to the "order by |
| 435 | * register address" rule, the eth0 node is |
| 436 | * placed here to ensure that it gets |
| 437 | * registered as the first interface, since |
| 438 | * the network subsystem doesn't allow naming |
| 439 | * interfaces using DT aliases. Without this, |
| 440 | * the ordering of interfaces is different |
| 441 | * from the one used in U-Boot and the |
| 442 | * labeling of interfaces on the boards, which |
| 443 | * is very confusing for users. |
| 444 | */ |
| 445 | eth0: ethernet@70000 { |
| 446 | compatible = "marvell,armada-370-neta"; |
| 447 | reg = <0x70000 0x4000>; |
| 448 | interrupts-extended = <&mpic 8>; |
| 449 | clocks = <&gateclk 4>; |
| 450 | tx-csum-limit = <9800>; |
| 451 | status = "disabled"; |
| 452 | }; |
| 453 | |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 454 | eth1: ethernet@30000 { |
| 455 | compatible = "marvell,armada-370-neta"; |
| 456 | reg = <0x30000 0x4000>; |
| 457 | interrupts-extended = <&mpic 10>; |
| 458 | clocks = <&gateclk 3>; |
| 459 | status = "disabled"; |
| 460 | }; |
| 461 | |
| 462 | eth2: ethernet@34000 { |
| 463 | compatible = "marvell,armada-370-neta"; |
| 464 | reg = <0x34000 0x4000>; |
| 465 | interrupts-extended = <&mpic 12>; |
| 466 | clocks = <&gateclk 2>; |
| 467 | status = "disabled"; |
| 468 | }; |
| 469 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 470 | usb0: usb@58000 { |
Gregory CLEMENT | 9e81775 | 2014-05-15 12:17:40 +0200 | [diff] [blame] | 471 | compatible = "marvell,orion-ehci"; |
| 472 | reg = <0x58000 0x500>; |
| 473 | interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; |
| 474 | clocks = <&gateclk 18>; |
| 475 | status = "disabled"; |
| 476 | }; |
| 477 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 478 | xor0: xor@60800 { |
Thomas Petazzoni | 449e1d6 | 2015-06-17 14:12:21 +0200 | [diff] [blame] | 479 | compatible = "marvell,armada-380-xor", "marvell,orion-xor"; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 480 | reg = <0x60800 0x100 |
| 481 | 0x60a00 0x100>; |
| 482 | clocks = <&gateclk 22>; |
| 483 | status = "okay"; |
| 484 | |
| 485 | xor00 { |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 486 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 487 | dmacap,memcpy; |
| 488 | dmacap,xor; |
| 489 | }; |
| 490 | xor01 { |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 491 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 492 | dmacap,memcpy; |
| 493 | dmacap,xor; |
| 494 | dmacap,memset; |
| 495 | }; |
| 496 | }; |
| 497 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 498 | xor1: xor@60900 { |
Thomas Petazzoni | 449e1d6 | 2015-06-17 14:12:21 +0200 | [diff] [blame] | 499 | compatible = "marvell,armada-380-xor", "marvell,orion-xor"; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 500 | reg = <0x60900 0x100 |
| 501 | 0x60b00 0x100>; |
| 502 | clocks = <&gateclk 28>; |
| 503 | status = "okay"; |
| 504 | |
| 505 | xor10 { |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 506 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 507 | dmacap,memcpy; |
| 508 | dmacap,xor; |
| 509 | }; |
| 510 | xor11 { |
Thomas Petazzoni | d11548e | 2014-02-20 12:11:31 +0100 | [diff] [blame] | 511 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 512 | dmacap,memcpy; |
| 513 | dmacap,xor; |
| 514 | dmacap,memset; |
| 515 | }; |
| 516 | }; |
| 517 | |
Imre Kaloz | 973ed08 | 2015-05-06 15:13:59 +0200 | [diff] [blame] | 518 | mdio: mdio@72004 { |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 519 | #address-cells = <1>; |
| 520 | #size-cells = <0>; |
| 521 | compatible = "marvell,orion-mdio"; |
| 522 | reg = <0x72004 0x4>; |
Thomas Petazzoni | 33faf20 | 2014-03-26 00:33:59 +0100 | [diff] [blame] | 523 | clocks = <&gateclk 4>; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 524 | }; |
Ezequiel Garcia | d6bd4b4 | 2014-03-13 17:24:30 -0300 | [diff] [blame] | 525 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 526 | cesa: crypto@90000 { |
Boris Brezillon | 35c99ec | 2015-08-18 10:08:58 +0200 | [diff] [blame] | 527 | compatible = "marvell,armada-38x-crypto"; |
| 528 | reg = <0x90000 0x10000>; |
| 529 | reg-names = "regs"; |
| 530 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, |
| 531 | <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
| 532 | clocks = <&gateclk 23>, <&gateclk 21>, |
| 533 | <&gateclk 14>, <&gateclk 16>; |
| 534 | clock-names = "cesa0", "cesa1", |
| 535 | "cesaz0", "cesaz1"; |
| 536 | marvell,crypto-srams = <&crypto_sram0>, |
| 537 | <&crypto_sram1>; |
| 538 | marvell,crypto-sram-size = <0x800>; |
| 539 | }; |
| 540 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 541 | rtc: rtc@a3800 { |
Gregory CLEMENT | a73c730 | 2015-02-13 14:41:18 -0800 | [diff] [blame] | 542 | compatible = "marvell,armada-380-rtc"; |
| 543 | reg = <0xa3800 0x20>, <0x184a0 0x0c>; |
| 544 | reg-names = "rtc", "rtc-soc"; |
| 545 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
| 546 | }; |
| 547 | |
Ralph Sennhauser | f3d1f759 | 2017-04-08 12:16:26 +0200 | [diff] [blame] | 548 | ahci0: sata@a8000 { |
Thomas Petazzoni | d175b6e | 2014-04-15 17:00:04 +0200 | [diff] [blame] | 549 | compatible = "marvell,armada-380-ahci"; |
| 550 | reg = <0xa8000 0x2000>; |
| 551 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
| 552 | clocks = <&gateclk 15>; |
| 553 | status = "disabled"; |
| 554 | }; |
| 555 | |
Marcin Wojtas | 4a547a5 | 2016-03-14 09:38:57 +0100 | [diff] [blame] | 556 | bm: bm@c8000 { |
| 557 | compatible = "marvell,armada-380-neta-bm"; |
| 558 | reg = <0xc8000 0xac>; |
| 559 | clocks = <&gateclk 13>; |
| 560 | internal-mem = <&bm_bppi>; |
| 561 | status = "disabled"; |
| 562 | }; |
| 563 | |
Ralph Sennhauser | f3d1f759 | 2017-04-08 12:16:26 +0200 | [diff] [blame] | 564 | ahci1: sata@e0000 { |
Thomas Petazzoni | d175b6e | 2014-04-15 17:00:04 +0200 | [diff] [blame] | 565 | compatible = "marvell,armada-380-ahci"; |
| 566 | reg = <0xe0000 0x2000>; |
| 567 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; |
| 568 | clocks = <&gateclk 30>; |
| 569 | status = "disabled"; |
| 570 | }; |
| 571 | |
Ezequiel Garcia | d6bd4b4 | 2014-03-13 17:24:30 -0300 | [diff] [blame] | 572 | coredivclk: clock@e4250 { |
| 573 | compatible = "marvell,armada-380-corediv-clock"; |
| 574 | reg = <0xe4250 0xc>; |
| 575 | #clock-cells = <1>; |
| 576 | clocks = <&mainpll>; |
| 577 | clock-output-names = "nand"; |
| 578 | }; |
Ezequiel Garcia | 93b5577 | 2014-03-13 17:24:31 -0300 | [diff] [blame] | 579 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 580 | thermal: thermal@e8078 { |
Ezequiel Garcia | c630829 | 2014-04-24 17:23:24 -0300 | [diff] [blame] | 581 | compatible = "marvell,armada380-thermal"; |
| 582 | reg = <0xe4078 0x4>, <0xe4074 0x4>; |
| 583 | status = "okay"; |
| 584 | }; |
| 585 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 586 | nand: flash@d0000 { |
Ezequiel Garcia | 93b5577 | 2014-03-13 17:24:31 -0300 | [diff] [blame] | 587 | compatible = "marvell,armada370-nand"; |
| 588 | reg = <0xd0000 0x54>; |
| 589 | #address-cells = <1>; |
| 590 | #size-cells = <1>; |
| 591 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
| 592 | clocks = <&coredivclk 0>; |
| 593 | status = "disabled"; |
| 594 | }; |
Thomas Petazzoni | 6eccc52 | 2014-04-14 16:41:16 +0200 | [diff] [blame] | 595 | |
Chris Packham | a126de7 | 2017-02-01 22:02:59 +1300 | [diff] [blame] | 596 | sdhci: sdhci@d8000 { |
Thomas Petazzoni | 6eccc52 | 2014-04-14 16:41:16 +0200 | [diff] [blame] | 597 | compatible = "marvell,armada-380-sdhci"; |
Gregory CLEMENT | ddbdc57 | 2015-01-29 12:36:29 +0100 | [diff] [blame] | 598 | reg-names = "sdhci", "mbus", "conf-sdio3"; |
| 599 | reg = <0xd8000 0x1000>, |
| 600 | <0xdc000 0x100>, |
| 601 | <0x18454 0x4>; |
Gregory CLEMENT | b757258 | 2015-01-29 12:36:28 +0100 | [diff] [blame] | 602 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
Thomas Petazzoni | 6eccc52 | 2014-04-14 16:41:16 +0200 | [diff] [blame] | 603 | clocks = <&gateclk 17>; |
| 604 | mrvl,clk-delay-cycles = <0x1F>; |
| 605 | status = "disabled"; |
| 606 | }; |
Gregory CLEMENT | 87e2fc3 | 2014-05-15 12:17:39 +0200 | [diff] [blame] | 607 | |
Ralph Sennhauser | f3d1f759 | 2017-04-08 12:16:26 +0200 | [diff] [blame] | 608 | usb3_0: usb3@f0000 { |
Gregory CLEMENT | 87e2fc3 | 2014-05-15 12:17:39 +0200 | [diff] [blame] | 609 | compatible = "marvell,armada-380-xhci"; |
| 610 | reg = <0xf0000 0x4000>,<0xf4000 0x4000>; |
| 611 | interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; |
| 612 | clocks = <&gateclk 9>; |
| 613 | status = "disabled"; |
| 614 | }; |
| 615 | |
Ralph Sennhauser | f3d1f759 | 2017-04-08 12:16:26 +0200 | [diff] [blame] | 616 | usb3_1: usb3@f8000 { |
Gregory CLEMENT | 87e2fc3 | 2014-05-15 12:17:39 +0200 | [diff] [blame] | 617 | compatible = "marvell,armada-380-xhci"; |
| 618 | reg = <0xf8000 0x4000>,<0xfc000 0x4000>; |
| 619 | interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; |
| 620 | clocks = <&gateclk 10>; |
| 621 | status = "disabled"; |
| 622 | }; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 623 | }; |
Boris Brezillon | 35c99ec | 2015-08-18 10:08:58 +0200 | [diff] [blame] | 624 | |
| 625 | crypto_sram0: sa-sram0 { |
| 626 | compatible = "mmio-sram"; |
| 627 | reg = <MBUS_ID(0x09, 0x19) 0 0x800>; |
| 628 | clocks = <&gateclk 23>; |
| 629 | #address-cells = <1>; |
| 630 | #size-cells = <1>; |
| 631 | ranges = <0 MBUS_ID(0x09, 0x19) 0 0x800>; |
| 632 | }; |
| 633 | |
| 634 | crypto_sram1: sa-sram1 { |
| 635 | compatible = "mmio-sram"; |
| 636 | reg = <MBUS_ID(0x09, 0x15) 0 0x800>; |
| 637 | clocks = <&gateclk 21>; |
| 638 | #address-cells = <1>; |
| 639 | #size-cells = <1>; |
| 640 | ranges = <0 MBUS_ID(0x09, 0x15) 0 0x800>; |
| 641 | }; |
Marcin Wojtas | 4a547a5 | 2016-03-14 09:38:57 +0100 | [diff] [blame] | 642 | |
| 643 | bm_bppi: bm-bppi { |
| 644 | compatible = "mmio-sram"; |
| 645 | reg = <MBUS_ID(0x0c, 0x04) 0 0x100000>; |
| 646 | ranges = <0 MBUS_ID(0x0c, 0x04) 0 0x100000>; |
| 647 | #address-cells = <1>; |
| 648 | #size-cells = <1>; |
| 649 | clocks = <&gateclk 13>; |
| 650 | no-memory-wc; |
| 651 | status = "disabled"; |
| 652 | }; |
Stefan Roese | 0160a4b | 2016-07-13 11:55:18 +0200 | [diff] [blame] | 653 | |
| 654 | spi0: spi@10600 { |
| 655 | compatible = "marvell,armada-380-spi", |
| 656 | "marvell,orion-spi"; |
| 657 | reg = <MBUS_ID(0xf0, 0x01) 0x10600 0x50>; |
| 658 | #address-cells = <1>; |
| 659 | #size-cells = <0>; |
| 660 | cell-index = <0>; |
| 661 | interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; |
| 662 | clocks = <&coreclk 0>; |
| 663 | status = "disabled"; |
| 664 | }; |
| 665 | |
| 666 | spi1: spi@10680 { |
| 667 | compatible = "marvell,armada-380-spi", |
| 668 | "marvell,orion-spi"; |
| 669 | reg = <MBUS_ID(0xf0, 0x01) 0x10680 0x50>; |
| 670 | #address-cells = <1>; |
| 671 | #size-cells = <0>; |
| 672 | cell-index = <1>; |
| 673 | interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; |
| 674 | clocks = <&coreclk 0>; |
| 675 | status = "disabled"; |
| 676 | }; |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 677 | }; |
| 678 | |
| 679 | clocks { |
Chris Packham | ad0de58 | 2016-10-26 12:52:42 +1300 | [diff] [blame] | 680 | /* 1 GHz fixed main PLL */ |
Ezequiel Garcia | 5bc94c9 | 2014-03-13 17:24:29 -0300 | [diff] [blame] | 681 | mainpll: mainpll { |
| 682 | compatible = "fixed-clock"; |
| 683 | #clock-cells = <0>; |
Gregory CLEMENT | ae142bd | 2015-04-27 08:55:18 +0200 | [diff] [blame] | 684 | clock-frequency = <1000000000>; |
Ezequiel Garcia | 5bc94c9 | 2014-03-13 17:24:29 -0300 | [diff] [blame] | 685 | }; |
| 686 | |
Thomas Petazzoni | 0d3d96a | 2014-02-17 15:23:28 +0100 | [diff] [blame] | 687 | /* 25 MHz reference crystal */ |
| 688 | refclk: oscillator { |
| 689 | compatible = "fixed-clock"; |
| 690 | #clock-cells = <0>; |
| 691 | clock-frequency = <25000000>; |
| 692 | }; |
| 693 | }; |
| 694 | }; |