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 | |
| 31 | mpic: interrupt-controller@d0020000 { |
| 32 | compatible = "marvell,mpic"; |
| 33 | #interrupt-cells = <1>; |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <1>; |
| 36 | interrupt-controller; |
| 37 | }; |
| 38 | |
Gregory CLEMENT | 009f131 | 2012-08-02 11:16:29 +0300 | [diff] [blame] | 39 | coherency-fabric@d0020200 { |
| 40 | compatible = "marvell,coherency-fabric"; |
Gregory CLEMENT | e60304f | 2012-10-12 19:20:36 +0200 | [diff] [blame] | 41 | reg = <0xd0020200 0xb0>, |
| 42 | <0xd0021810 0x1c>; |
Gregory CLEMENT | 009f131 | 2012-08-02 11:16:29 +0300 | [diff] [blame] | 43 | }; |
| 44 | |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 45 | soc { |
| 46 | #address-cells = <1>; |
| 47 | #size-cells = <1>; |
| 48 | compatible = "simple-bus"; |
| 49 | interrupt-parent = <&mpic>; |
| 50 | ranges; |
| 51 | |
| 52 | serial@d0012000 { |
Gregory CLEMENT | b24212f | 2012-12-04 18:04:59 +0100 | [diff] [blame] | 53 | compatible = "snps,dw-apb-uart"; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 54 | reg = <0xd0012000 0x100>; |
| 55 | reg-shift = <2>; |
| 56 | interrupts = <41>; |
Gregory CLEMENT | b24212f | 2012-12-04 18:04:59 +0100 | [diff] [blame] | 57 | reg-io-width = <4>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 58 | status = "disabled"; |
| 59 | }; |
| 60 | serial@d0012100 { |
Gregory CLEMENT | b24212f | 2012-12-04 18:04:59 +0100 | [diff] [blame] | 61 | compatible = "snps,dw-apb-uart"; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 62 | reg = <0xd0012100 0x100>; |
| 63 | reg-shift = <2>; |
| 64 | interrupts = <42>; |
Gregory CLEMENT | b24212f | 2012-12-04 18:04:59 +0100 | [diff] [blame] | 65 | reg-io-width = <4>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 66 | status = "disabled"; |
| 67 | }; |
| 68 | |
| 69 | timer@d0020300 { |
| 70 | compatible = "marvell,armada-370-xp-timer"; |
Gregory CLEMENT | e1dd464 | 2013-01-25 18:32:44 +0100 | [diff] [blame] | 71 | reg = <0xd0020300 0x30>, |
| 72 | <0xd0021040 0x30>; |
| 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 | |
| 77 | addr-decoding@d0020000 { |
| 78 | compatible = "marvell,armada-addr-decoding-controller"; |
| 79 | reg = <0xd0020000 0x258>; |
| 80 | }; |
Gregory CLEMENT | a6a6de1 | 2012-10-26 14:30:47 +0200 | [diff] [blame] | 81 | |
| 82 | sata@d00a0000 { |
| 83 | compatible = "marvell,orion-sata"; |
| 84 | reg = <0xd00a0000 0x2400>; |
| 85 | interrupts = <55>; |
| 86 | clocks = <&gateclk 15>, <&gateclk 30>; |
| 87 | clock-names = "0", "1"; |
| 88 | status = "disabled"; |
| 89 | }; |
| 90 | |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 91 | mdio { |
| 92 | #address-cells = <1>; |
| 93 | #size-cells = <0>; |
| 94 | compatible = "marvell,orion-mdio"; |
| 95 | reg = <0xd0072004 0x4>; |
| 96 | }; |
| 97 | |
| 98 | ethernet@d0070000 { |
| 99 | compatible = "marvell,armada-370-neta"; |
| 100 | reg = <0xd0070000 0x2500>; |
| 101 | interrupts = <8>; |
Thomas Petazzoni | 4aa935a | 2012-11-19 14:18:09 +0100 | [diff] [blame] | 102 | clocks = <&gateclk 4>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 103 | status = "disabled"; |
| 104 | }; |
| 105 | |
| 106 | ethernet@d0074000 { |
| 107 | compatible = "marvell,armada-370-neta"; |
| 108 | reg = <0xd0074000 0x2500>; |
| 109 | interrupts = <10>; |
Thomas Petazzoni | 4aa935a | 2012-11-19 14:18:09 +0100 | [diff] [blame] | 110 | clocks = <&gateclk 3>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 111 | status = "disabled"; |
| 112 | }; |
Nobuhiro Iwamatsu | 539eb5b | 2012-10-30 19:41:23 +0900 | [diff] [blame] | 113 | |
| 114 | i2c0: i2c@d0011000 { |
| 115 | compatible = "marvell,mv64xxx-i2c"; |
| 116 | reg = <0xd0011000 0x20>; |
| 117 | #address-cells = <1>; |
| 118 | #size-cells = <0>; |
| 119 | interrupts = <31>; |
| 120 | timeout-ms = <1000>; |
| 121 | clocks = <&coreclk 0>; |
| 122 | status = "disabled"; |
| 123 | }; |
| 124 | |
| 125 | i2c1: i2c@d0011100 { |
| 126 | compatible = "marvell,mv64xxx-i2c"; |
| 127 | reg = <0xd0011100 0x20>; |
| 128 | #address-cells = <1>; |
| 129 | #size-cells = <0>; |
| 130 | interrupts = <32>; |
| 131 | timeout-ms = <1000>; |
| 132 | clocks = <&coreclk 0>; |
| 133 | status = "disabled"; |
| 134 | }; |
Gregory CLEMENT | 0db9854 | 2012-12-12 10:06:24 +0100 | [diff] [blame] | 135 | |
| 136 | rtc@10300 { |
| 137 | compatible = "marvell,orion-rtc"; |
| 138 | reg = <0xd0010300 0x20>; |
| 139 | interrupts = <50>; |
| 140 | }; |
Thomas Petazzoni | 42bb531 | 2012-12-21 15:49:04 +0100 | [diff] [blame] | 141 | |
| 142 | mvsdio@d00d4000 { |
| 143 | compatible = "marvell,orion-sdio"; |
| 144 | reg = <0xd00d4000 0x200>; |
| 145 | interrupts = <54>; |
| 146 | clocks = <&gateclk 17>; |
| 147 | status = "disabled"; |
| 148 | }; |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 149 | |
| 150 | usb@d0050000 { |
| 151 | compatible = "marvell,orion-ehci"; |
| 152 | reg = <0xd0050000 0x500>; |
| 153 | interrupts = <45>; |
| 154 | status = "disabled"; |
| 155 | }; |
| 156 | |
| 157 | usb@d0051000 { |
| 158 | compatible = "marvell,orion-ehci"; |
| 159 | reg = <0xd0051000 0x500>; |
| 160 | interrupts = <46>; |
| 161 | status = "disabled"; |
| 162 | }; |
| 163 | |
Ezequiel Garcia | d5dc035 | 2013-02-06 10:06:21 -0300 | [diff] [blame^] | 164 | spi0: spi@d0010600 { |
| 165 | compatible = "marvell,orion-spi"; |
| 166 | reg = <0xd0010600 0x28>; |
| 167 | #address-cells = <1>; |
| 168 | #size-cells = <0>; |
| 169 | cell-index = <0>; |
| 170 | interrupts = <30>; |
| 171 | clocks = <&coreclk 0>; |
| 172 | status = "disabled"; |
| 173 | }; |
| 174 | |
| 175 | spi1: spi@d0010680 { |
| 176 | compatible = "marvell,orion-spi"; |
| 177 | reg = <0xd0010680 0x28>; |
| 178 | #address-cells = <1>; |
| 179 | #size-cells = <0>; |
| 180 | cell-index = <1>; |
| 181 | interrupts = <92>; |
| 182 | clocks = <&coreclk 0>; |
| 183 | status = "disabled"; |
| 184 | }; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 185 | }; |
| 186 | }; |
| 187 | |