Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Include file for Marvell Armada 370 and Armada XP SoC |
| 3 | * |
| 4 | * Copyright (C) 2012 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 | * Ben Dooks <ben.dooks@codethink.co.uk> |
| 10 | * |
| 11 | * This file is licensed under the terms of the GNU General Public |
| 12 | * License version 2. This program is licensed "as is" without any |
| 13 | * warranty of any kind, whether express or implied. |
| 14 | * |
| 15 | * This file contains the definitions that are common to the Armada |
| 16 | * 370 and Armada XP SoC. |
| 17 | */ |
| 18 | |
| 19 | /include/ "skeleton.dtsi" |
| 20 | |
| 21 | / { |
| 22 | model = "Marvell Armada 370 and XP SoC"; |
Thomas Petazzoni | 92ece1c | 2012-11-09 16:29:17 +0100 | [diff] [blame] | 23 | compatible = "marvell,armada-370-xp"; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 24 | |
| 25 | cpus { |
| 26 | cpu@0 { |
| 27 | compatible = "marvell,sheeva-v7"; |
| 28 | }; |
| 29 | }; |
| 30 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 31 | |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 32 | soc { |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <1>; |
| 35 | compatible = "simple-bus"; |
| 36 | interrupt-parent = <&mpic>; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 37 | ranges = <0 0xd0000000 0x100000>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 38 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 39 | mpic: interrupt-controller@20000 { |
| 40 | compatible = "marvell,mpic"; |
| 41 | #interrupt-cells = <1>; |
| 42 | #size-cells = <1>; |
| 43 | interrupt-controller; |
Thomas Petazzoni | b18ea4d | 2013-04-12 16:29:07 +0200 | [diff] [blame] | 44 | }; |
| 45 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 46 | coherency-fabric@20200 { |
| 47 | compatible = "marvell,coherency-fabric"; |
| 48 | reg = <0x20200 0xb0>, |
| 49 | <0x21810 0x1c>; |
Thomas Petazzoni | b18ea4d | 2013-04-12 16:29:07 +0200 | [diff] [blame] | 50 | }; |
| 51 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 52 | serial@12000 { |
Gregory CLEMENT | b24212f | 2012-12-04 18:04:59 +0100 | [diff] [blame] | 53 | compatible = "snps,dw-apb-uart"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 54 | reg = <0x12000 0x100>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 55 | reg-shift = <2>; |
| 56 | interrupts = <41>; |
Heikki Krogerus | e366154 | 2013-03-06 11:23:33 +0100 | [diff] [blame] | 57 | reg-io-width = <1>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 58 | status = "disabled"; |
| 59 | }; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 60 | serial@12100 { |
Gregory CLEMENT | b24212f | 2012-12-04 18:04:59 +0100 | [diff] [blame] | 61 | compatible = "snps,dw-apb-uart"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 62 | reg = <0x12100 0x100>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 63 | reg-shift = <2>; |
| 64 | interrupts = <42>; |
Heikki Krogerus | e366154 | 2013-03-06 11:23:33 +0100 | [diff] [blame] | 65 | reg-io-width = <1>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 66 | status = "disabled"; |
| 67 | }; |
| 68 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 69 | timer@20300 { |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 70 | compatible = "marvell,armada-370-xp-timer"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 71 | reg = <0x20300 0x30>, |
| 72 | <0x21040 0x30>; |
Gregory CLEMENT | e1dd464 | 2013-01-25 18:32:44 +0100 | [diff] [blame] | 73 | interrupts = <37>, <38>, <39>, <40>, <5>, <6>; |
Gregory CLEMENT | 307c2bf | 2012-11-17 15:22:25 +0100 | [diff] [blame] | 74 | clocks = <&coreclk 2>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 75 | }; |
Thomas Petazzoni | 5b40bae | 2012-09-11 14:27:30 +0200 | [diff] [blame] | 76 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 77 | sata@a0000 { |
Gregory CLEMENT | a6a6de1 | 2012-10-26 14:30:47 +0200 | [diff] [blame] | 78 | compatible = "marvell,orion-sata"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 79 | reg = <0xa0000 0x2400>; |
Gregory CLEMENT | a6a6de1 | 2012-10-26 14:30:47 +0200 | [diff] [blame] | 80 | interrupts = <55>; |
| 81 | clocks = <&gateclk 15>, <&gateclk 30>; |
| 82 | clock-names = "0", "1"; |
| 83 | status = "disabled"; |
| 84 | }; |
| 85 | |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 86 | mdio { |
| 87 | #address-cells = <1>; |
| 88 | #size-cells = <0>; |
| 89 | compatible = "marvell,orion-mdio"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 90 | reg = <0x72004 0x4>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 91 | }; |
| 92 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 93 | ethernet@70000 { |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 94 | compatible = "marvell,armada-370-neta"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 95 | reg = <0x70000 0x2500>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 96 | interrupts = <8>; |
Thomas Petazzoni | 4aa935a | 2012-11-19 14:18:09 +0100 | [diff] [blame] | 97 | clocks = <&gateclk 4>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 98 | status = "disabled"; |
| 99 | }; |
| 100 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 101 | ethernet@74000 { |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 102 | compatible = "marvell,armada-370-neta"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 103 | reg = <0x74000 0x2500>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 104 | interrupts = <10>; |
Thomas Petazzoni | 4aa935a | 2012-11-19 14:18:09 +0100 | [diff] [blame] | 105 | clocks = <&gateclk 3>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 106 | status = "disabled"; |
| 107 | }; |
Nobuhiro Iwamatsu | 539eb5b | 2012-10-30 19:41:23 +0900 | [diff] [blame] | 108 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 109 | i2c0: i2c@11000 { |
Nobuhiro Iwamatsu | 539eb5b | 2012-10-30 19:41:23 +0900 | [diff] [blame] | 110 | compatible = "marvell,mv64xxx-i2c"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 111 | reg = <0x11000 0x20>; |
Nobuhiro Iwamatsu | 539eb5b | 2012-10-30 19:41:23 +0900 | [diff] [blame] | 112 | #address-cells = <1>; |
| 113 | #size-cells = <0>; |
| 114 | interrupts = <31>; |
| 115 | timeout-ms = <1000>; |
| 116 | clocks = <&coreclk 0>; |
| 117 | status = "disabled"; |
| 118 | }; |
| 119 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 120 | i2c1: i2c@11100 { |
Nobuhiro Iwamatsu | 539eb5b | 2012-10-30 19:41:23 +0900 | [diff] [blame] | 121 | compatible = "marvell,mv64xxx-i2c"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 122 | reg = <0x11100 0x20>; |
Nobuhiro Iwamatsu | 539eb5b | 2012-10-30 19:41:23 +0900 | [diff] [blame] | 123 | #address-cells = <1>; |
| 124 | #size-cells = <0>; |
| 125 | interrupts = <32>; |
| 126 | timeout-ms = <1000>; |
| 127 | clocks = <&coreclk 0>; |
| 128 | status = "disabled"; |
| 129 | }; |
Gregory CLEMENT | 0db9854 | 2012-12-12 10:06:24 +0100 | [diff] [blame] | 130 | |
| 131 | rtc@10300 { |
| 132 | compatible = "marvell,orion-rtc"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 133 | reg = <0x10300 0x20>; |
Gregory CLEMENT | 0db9854 | 2012-12-12 10:06:24 +0100 | [diff] [blame] | 134 | interrupts = <50>; |
| 135 | }; |
Thomas Petazzoni | 42bb531 | 2012-12-21 15:49:04 +0100 | [diff] [blame] | 136 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 137 | mvsdio@d4000 { |
Thomas Petazzoni | 42bb531 | 2012-12-21 15:49:04 +0100 | [diff] [blame] | 138 | compatible = "marvell,orion-sdio"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 139 | reg = <0xd4000 0x200>; |
Thomas Petazzoni | 42bb531 | 2012-12-21 15:49:04 +0100 | [diff] [blame] | 140 | interrupts = <54>; |
| 141 | clocks = <&gateclk 17>; |
| 142 | status = "disabled"; |
| 143 | }; |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 144 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 145 | usb@50000 { |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 146 | compatible = "marvell,orion-ehci"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 147 | reg = <0x50000 0x500>; |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 148 | interrupts = <45>; |
| 149 | status = "disabled"; |
| 150 | }; |
| 151 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 152 | usb@51000 { |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 153 | compatible = "marvell,orion-ehci"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 154 | reg = <0x51000 0x500>; |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 155 | interrupts = <46>; |
| 156 | status = "disabled"; |
| 157 | }; |
| 158 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 159 | spi0: spi@10600 { |
Ezequiel Garcia | d5dc035 | 2013-02-06 10:06:21 -0300 | [diff] [blame] | 160 | compatible = "marvell,orion-spi"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 161 | reg = <0x10600 0x28>; |
Ezequiel Garcia | d5dc035 | 2013-02-06 10:06:21 -0300 | [diff] [blame] | 162 | #address-cells = <1>; |
| 163 | #size-cells = <0>; |
| 164 | cell-index = <0>; |
| 165 | interrupts = <30>; |
| 166 | clocks = <&coreclk 0>; |
| 167 | status = "disabled"; |
| 168 | }; |
| 169 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 170 | spi1: spi@10680 { |
Ezequiel Garcia | d5dc035 | 2013-02-06 10:06:21 -0300 | [diff] [blame] | 171 | compatible = "marvell,orion-spi"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 172 | reg = <0x10680 0x28>; |
Ezequiel Garcia | d5dc035 | 2013-02-06 10:06:21 -0300 | [diff] [blame] | 173 | #address-cells = <1>; |
| 174 | #size-cells = <0>; |
| 175 | cell-index = <1>; |
| 176 | interrupts = <92>; |
| 177 | clocks = <&coreclk 0>; |
| 178 | status = "disabled"; |
| 179 | }; |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 180 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 181 | devbus-bootcs@10400 { |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 182 | compatible = "marvell,mvebu-devbus"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 183 | reg = <0x10400 0x8>; |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 184 | #address-cells = <1>; |
| 185 | #size-cells = <1>; |
| 186 | clocks = <&coreclk 0>; |
| 187 | status = "disabled"; |
| 188 | }; |
| 189 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 190 | devbus-cs0@10408 { |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 191 | compatible = "marvell,mvebu-devbus"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 192 | reg = <0x10408 0x8>; |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 193 | #address-cells = <1>; |
| 194 | #size-cells = <1>; |
| 195 | clocks = <&coreclk 0>; |
| 196 | status = "disabled"; |
| 197 | }; |
| 198 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 199 | devbus-cs1@10410 { |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 200 | compatible = "marvell,mvebu-devbus"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 201 | reg = <0x10410 0x8>; |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 202 | #address-cells = <1>; |
| 203 | #size-cells = <1>; |
| 204 | clocks = <&coreclk 0>; |
| 205 | status = "disabled"; |
| 206 | }; |
| 207 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 208 | devbus-cs2@10418 { |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 209 | compatible = "marvell,mvebu-devbus"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 210 | reg = <0x10418 0x8>; |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 211 | #address-cells = <1>; |
| 212 | #size-cells = <1>; |
| 213 | clocks = <&coreclk 0>; |
| 214 | status = "disabled"; |
| 215 | }; |
| 216 | |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 217 | devbus-cs3@10420 { |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 218 | compatible = "marvell,mvebu-devbus"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame^] | 219 | reg = <0x10420 0x8>; |
Ezequiel Garcia | 3d76e1f | 2013-04-10 16:04:01 -0300 | [diff] [blame] | 220 | #address-cells = <1>; |
| 221 | #size-cells = <1>; |
| 222 | clocks = <&coreclk 0>; |
| 223 | status = "disabled"; |
| 224 | }; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 225 | }; |
| 226 | }; |
| 227 | |