Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Include file for Marvell Armada XP family 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 | * |
Thomas Petazzoni | 10b683c | 2012-08-02 17:13:47 +0200 | [diff] [blame] | 15 | * Contains definitions specific to the Armada XP SoC that are not |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 16 | * common to all Armada SoCs. |
| 17 | */ |
| 18 | |
Ezequiel Garcia | 3814988 | 2013-07-26 10:17:56 -0300 | [diff] [blame^] | 19 | #include "armada-370-xp.dtsi" |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 20 | |
| 21 | / { |
| 22 | model = "Marvell Armada XP family SoC"; |
| 23 | compatible = "marvell,armadaxp", "marvell,armada-370-xp"; |
| 24 | |
Willy Tarreau | be5a938 | 2013-06-03 18:47:36 +0200 | [diff] [blame] | 25 | aliases { |
| 26 | eth2 = ð2; |
| 27 | }; |
| 28 | |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 29 | soc { |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 30 | internal-regs { |
| 31 | L2: l2-cache { |
| 32 | compatible = "marvell,aurora-system-cache"; |
| 33 | reg = <0x08000 0x1000>; |
| 34 | cache-id-part = <0x100>; |
| 35 | wt-override; |
| 36 | }; |
Thomas Petazzoni | b18ea4d | 2013-04-12 16:29:07 +0200 | [diff] [blame] | 37 | |
Thomas Petazzoni | be3cd26 | 2013-04-09 23:26:18 +0200 | [diff] [blame] | 38 | interrupt-controller@20000 { |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 39 | reg = <0x20a00 0x2d0>, <0x21070 0x58>; |
| 40 | }; |
Thomas Petazzoni | b18ea4d | 2013-04-12 16:29:07 +0200 | [diff] [blame] | 41 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 42 | armada-370-xp-pmsu@22000 { |
| 43 | compatible = "marvell,armada-370-xp-pmsu"; |
| 44 | reg = <0x22100 0x430>, <0x20800 0x20>; |
| 45 | }; |
Thomas Petazzoni | b18ea4d | 2013-04-12 16:29:07 +0200 | [diff] [blame] | 46 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 47 | serial@12200 { |
Gregory CLEMENT | b24212f | 2012-12-04 18:04:59 +0100 | [diff] [blame] | 48 | compatible = "snps,dw-apb-uart"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame] | 49 | reg = <0x12200 0x100>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 50 | reg-shift = <2>; |
| 51 | interrupts = <43>; |
Heikki Krogerus | e366154 | 2013-03-06 11:23:33 +0100 | [diff] [blame] | 52 | reg-io-width = <1>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 53 | status = "disabled"; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 54 | }; |
| 55 | serial@12300 { |
Gregory CLEMENT | b24212f | 2012-12-04 18:04:59 +0100 | [diff] [blame] | 56 | compatible = "snps,dw-apb-uart"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame] | 57 | reg = <0x12300 0x100>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 58 | reg-shift = <2>; |
| 59 | interrupts = <44>; |
Heikki Krogerus | e366154 | 2013-03-06 11:23:33 +0100 | [diff] [blame] | 60 | reg-io-width = <1>; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 61 | status = "disabled"; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 62 | }; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 63 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 64 | timer@20300 { |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 65 | marvell,timer-25Mhz; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 66 | }; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 67 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 68 | coreclk: mvebu-sar@18230 { |
| 69 | compatible = "marvell,armada-xp-core-clock"; |
| 70 | reg = <0x18230 0x08>; |
| 71 | #clock-cells = <1>; |
| 72 | }; |
Gregory CLEMENT | 9d20278 | 2012-11-17 15:22:24 +0100 | [diff] [blame] | 73 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 74 | cpuclk: clock-complex@18700 { |
| 75 | #clock-cells = <1>; |
| 76 | compatible = "marvell,armada-xp-cpu-clock"; |
| 77 | reg = <0x18700 0xA0>; |
| 78 | clocks = <&coreclk 1>; |
| 79 | }; |
Gregory CLEMENT | 9d20278 | 2012-11-17 15:22:24 +0100 | [diff] [blame] | 80 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 81 | gateclk: clock-gating-control@18220 { |
| 82 | compatible = "marvell,armada-xp-gating-clock"; |
| 83 | reg = <0x18220 0x4>; |
| 84 | clocks = <&coreclk 0>; |
| 85 | #clock-cells = <1>; |
| 86 | }; |
Gregory CLEMENT | 9d20278 | 2012-11-17 15:22:24 +0100 | [diff] [blame] | 87 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 88 | system-controller@18200 { |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 89 | compatible = "marvell,armada-370-xp-system-controller"; |
Gregory CLEMENT | 82a6826 | 2013-04-12 16:29:08 +0200 | [diff] [blame] | 90 | reg = <0x18200 0x500>; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 91 | }; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 92 | |
Willy Tarreau | be5a938 | 2013-06-03 18:47:36 +0200 | [diff] [blame] | 93 | eth2: ethernet@30000 { |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 94 | compatible = "marvell,armada-370-neta"; |
Thomas Petazzoni | cf8088c | 2013-05-21 12:33:27 +0200 | [diff] [blame] | 95 | reg = <0x30000 0x4000>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 96 | interrupts = <12>; |
Thomas Petazzoni | 4aa935a | 2012-11-19 14:18:09 +0100 | [diff] [blame] | 97 | clocks = <&gateclk 2>; |
Thomas Petazzoni | 323c101 | 2012-09-04 15:06:43 +0200 | [diff] [blame] | 98 | status = "disabled"; |
Thomas Petazzoni | a1d53da | 2012-11-20 16:03:19 +0100 | [diff] [blame] | 99 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 100 | |
| 101 | xor@60900 { |
| 102 | compatible = "marvell,orion-xor"; |
| 103 | reg = <0x60900 0x100 |
| 104 | 0x60b00 0x100>; |
| 105 | clocks = <&gateclk 22>; |
| 106 | status = "okay"; |
| 107 | |
| 108 | xor10 { |
| 109 | interrupts = <51>; |
| 110 | dmacap,memcpy; |
| 111 | dmacap,xor; |
| 112 | }; |
| 113 | xor11 { |
| 114 | interrupts = <52>; |
| 115 | dmacap,memcpy; |
| 116 | dmacap,xor; |
| 117 | dmacap,memset; |
| 118 | }; |
Thomas Petazzoni | a1d53da | 2012-11-20 16:03:19 +0100 | [diff] [blame] | 119 | }; |
Thomas Petazzoni | a1d53da | 2012-11-20 16:03:19 +0100 | [diff] [blame] | 120 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 121 | xor@f0900 { |
| 122 | compatible = "marvell,orion-xor"; |
| 123 | reg = <0xF0900 0x100 |
| 124 | 0xF0B00 0x100>; |
| 125 | clocks = <&gateclk 28>; |
| 126 | status = "okay"; |
Thomas Petazzoni | a1d53da | 2012-11-20 16:03:19 +0100 | [diff] [blame] | 127 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 128 | xor00 { |
| 129 | interrupts = <94>; |
| 130 | dmacap,memcpy; |
| 131 | dmacap,xor; |
| 132 | }; |
| 133 | xor01 { |
| 134 | interrupts = <95>; |
| 135 | dmacap,memcpy; |
| 136 | dmacap,xor; |
| 137 | dmacap,memset; |
| 138 | }; |
Thomas Petazzoni | a1d53da | 2012-11-20 16:03:19 +0100 | [diff] [blame] | 139 | }; |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 140 | |
| 141 | usb@50000 { |
| 142 | clocks = <&gateclk 18>; |
Thomas Petazzoni | a1d53da | 2012-11-20 16:03:19 +0100 | [diff] [blame] | 143 | }; |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 144 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 145 | usb@51000 { |
| 146 | clocks = <&gateclk 19>; |
| 147 | }; |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 148 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 149 | usb@52000 { |
| 150 | compatible = "marvell,orion-ehci"; |
| 151 | reg = <0x52000 0x500>; |
| 152 | interrupts = <47>; |
| 153 | clocks = <&gateclk 20>; |
| 154 | status = "disabled"; |
| 155 | }; |
Ezequiel Garcia | b2bb806 | 2013-01-23 12:26:30 -0300 | [diff] [blame] | 156 | |
Gregory CLEMENT | 467f54b | 2013-04-12 16:29:09 +0200 | [diff] [blame] | 157 | thermal@182b0 { |
| 158 | compatible = "marvell,armadaxp-thermal"; |
| 159 | reg = <0x182b0 0x4 |
| 160 | 0x184d0 0x4>; |
| 161 | status = "okay"; |
| 162 | }; |
Ezequiel Garcia | 693a56e | 2013-03-26 07:16:26 -0300 | [diff] [blame] | 163 | }; |
Thomas Petazzoni | 9ae6f74 | 2012-06-13 19:01:28 +0200 | [diff] [blame] | 164 | }; |
| 165 | }; |