~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/armada-370-xp.dtsi

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Device Tree Include file for Marvell Armada 370 and Armada XP SoC
  4  *
  5  * Copyright (C) 2012 Marvell
  6  *
  7  * Lior Amsalem <alior@marvell.com>
  8  * Gregory CLEMENT <gregory.clement@free-electrons.com>
  9  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 10  * Ben Dooks <ben.dooks@codethink.co.uk>
 11  *
 12  * This file contains the definitions that are common to the Armada
 13  * 370 and Armada XP SoC.
 14  */
 15 
 16 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
 17 
 18 / {
 19         model = "Marvell Armada 370 and XP SoC";
 20         compatible = "marvell,armada-370-xp";
 21 
 22         aliases {
 23                 serial0 = &uart0;
 24                 serial1 = &uart1;
 25         };
 26 
 27         cpus {
 28                 #address-cells = <1>;
 29                 #size-cells = <0>;
 30                 cpu@0 {
 31                         compatible = "marvell,sheeva-v7";
 32                         device_type = "cpu";
 33                         reg = <0>;
 34                 };
 35         };
 36 
 37         pmu {
 38                 compatible = "arm,cortex-a9-pmu";
 39                 interrupts-extended = <&mpic 3>;
 40         };
 41 
 42         soc {
 43                 #address-cells = <2>;
 44                 #size-cells = <1>;
 45                 controller = <&mbusc>;
 46                 interrupt-parent = <&mpic>;
 47                 pcie-mem-aperture = <0xf8000000 0x7e00000>;
 48                 pcie-io-aperture  = <0xffe00000 0x100000>;
 49 
 50                 devbus_bootcs: devbus-bootcs {
 51                         compatible = "marvell,mvebu-devbus";
 52                         reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
 53                         ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
 54                         #address-cells = <1>;
 55                         #size-cells = <1>;
 56                         clocks = <&coreclk 0>;
 57                         status = "disabled";
 58                 };
 59 
 60                 devbus_cs0: devbus-cs0 {
 61                         compatible = "marvell,mvebu-devbus";
 62                         reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
 63                         ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
 64                         #address-cells = <1>;
 65                         #size-cells = <1>;
 66                         clocks = <&coreclk 0>;
 67                         status = "disabled";
 68                 };
 69 
 70                 devbus_cs1: devbus-cs1 {
 71                         compatible = "marvell,mvebu-devbus";
 72                         reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
 73                         ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
 74                         #address-cells = <1>;
 75                         #size-cells = <1>;
 76                         clocks = <&coreclk 0>;
 77                         status = "disabled";
 78                 };
 79 
 80                 devbus_cs2: devbus-cs2 {
 81                         compatible = "marvell,mvebu-devbus";
 82                         reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
 83                         ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
 84                         #address-cells = <1>;
 85                         #size-cells = <1>;
 86                         clocks = <&coreclk 0>;
 87                         status = "disabled";
 88                 };
 89 
 90                 devbus_cs3: devbus-cs3 {
 91                         compatible = "marvell,mvebu-devbus";
 92                         reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
 93                         ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
 94                         #address-cells = <1>;
 95                         #size-cells = <1>;
 96                         clocks = <&coreclk 0>;
 97                         status = "disabled";
 98                 };
 99 
100                 internal-regs {
101                         compatible = "simple-bus";
102                         #address-cells = <1>;
103                         #size-cells = <1>;
104                         ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
105 
106                         rtc: rtc@10300 {
107                                 compatible = "marvell,orion-rtc";
108                                 reg = <0x10300 0x20>;
109                                 interrupts = <50>;
110                         };
111 
112                         i2c0: i2c@11000 {
113                                 compatible = "marvell,mv64xxx-i2c";
114                                 #address-cells = <1>;
115                                 #size-cells = <0>;
116                                 interrupts = <31>;
117                                 clocks = <&coreclk 0>;
118                                 status = "disabled";
119                         };
120 
121                         i2c1: i2c@11100 {
122                                 compatible = "marvell,mv64xxx-i2c";
123                                 #address-cells = <1>;
124                                 #size-cells = <0>;
125                                 interrupts = <32>;
126                                 clocks = <&coreclk 0>;
127                                 status = "disabled";
128                         };
129 
130                         uart0: serial@12000 {
131                                 compatible = "snps,dw-apb-uart";
132                                 reg = <0x12000 0x100>;
133                                 reg-shift = <2>;
134                                 interrupts = <41>;
135                                 reg-io-width = <1>;
136                                 clocks = <&coreclk 0>;
137                                 status = "disabled";
138                         };
139 
140                         uart1: serial@12100 {
141                                 compatible = "snps,dw-apb-uart";
142                                 reg = <0x12100 0x100>;
143                                 reg-shift = <2>;
144                                 interrupts = <42>;
145                                 reg-io-width = <1>;
146                                 clocks = <&coreclk 0>;
147                                 status = "disabled";
148                         };
149 
150                         pinctrl: pin-ctrl@18000 {
151                                 reg = <0x18000 0x38>;
152                         };
153 
154                         coredivclk: corediv-clock@18740 {
155                                 compatible = "marvell,armada-370-corediv-clock";
156                                 reg = <0x18740 0xc>;
157                                 #clock-cells = <1>;
158                                 clocks = <&mainpll>;
159                                 clock-output-names = "nand";
160                         };
161 
162                         mbusc: mbus-controller@20000 {
163                                 compatible = "marvell,mbus-controller";
164                                 reg = <0x20000 0x100>, <0x20180 0x20>,
165                                       <0x20250 0x8>;
166                         };
167 
168                         mpic: interrupt-controller@20a00 {
169                                 compatible = "marvell,mpic";
170                                 #interrupt-cells = <1>;
171                                 interrupt-controller;
172                                 msi-controller;
173                         };
174 
175                         coherencyfab: coherency-fabric@20200 {
176                                 compatible = "marvell,coherency-fabric";
177                                 reg = <0x20200 0xb0>, <0x21010 0x1c>;
178                         };
179 
180                         timer: timer@20300 {
181                                 reg = <0x20300 0x30>, <0x21040 0x30>;
182                                 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
183                         };
184 
185                         watchdog: watchdog@20300 {
186                                 reg = <0x20300 0x34>, <0x20704 0x4>;
187                         };
188 
189                         cpurst: cpurst@20800 {
190                                 compatible = "marvell,armada-370-cpu-reset";
191                                 reg = <0x20800 0x8>;
192                         };
193 
194                         pmsu: pmsu@22000 {
195                                 compatible = "marvell,armada-370-pmsu";
196                                 reg = <0x22000 0x1000>;
197                         };
198 
199                         usb0: usb@50000 {
200                                 compatible = "marvell,orion-ehci";
201                                 reg = <0x50000 0x500>;
202                                 interrupts = <45>;
203                                 status = "disabled";
204                         };
205 
206                         usb1: usb@51000 {
207                                 compatible = "marvell,orion-ehci";
208                                 reg = <0x51000 0x500>;
209                                 interrupts = <46>;
210                                 status = "disabled";
211                         };
212 
213                         eth0: ethernet@70000 {
214                                 reg = <0x70000 0x4000>;
215                                 interrupts = <8>;
216                                 clocks = <&gateclk 4>;
217                                 status = "disabled";
218                         };
219 
220                         mdio: mdio@72004 {
221                                 #address-cells = <1>;
222                                 #size-cells = <0>;
223                                 compatible = "marvell,orion-mdio";
224                                 reg = <0x72004 0x4>;
225                                 clocks = <&gateclk 4>;
226                         };
227 
228                         eth1: ethernet@74000 {
229                                 reg = <0x74000 0x4000>;
230                                 interrupts = <10>;
231                                 clocks = <&gateclk 3>;
232                                 status = "disabled";
233                         };
234 
235                         sata: sata@a0000 {
236                                 compatible = "marvell,armada-370-sata";
237                                 reg = <0xa0000 0x5000>;
238                                 interrupts = <55>;
239                                 clocks = <&gateclk 15>, <&gateclk 30>;
240                                 clock-names = "0", "1";
241                                 status = "disabled";
242                         };
243 
244                         nand_controller: nand-controller@d0000 {
245                                 compatible = "marvell,armada370-nand-controller";
246                                 reg = <0xd0000 0x54>;
247                                 #address-cells = <1>;
248                                 #size-cells = <0>;
249                                 interrupts = <113>;
250                                 clocks = <&coredivclk 0>;
251                                 status = "disabled";
252                         };
253 
254                         sdio: mvsdio@d4000 {
255                                 compatible = "marvell,orion-sdio";
256                                 reg = <0xd4000 0x200>;
257                                 interrupts = <54>;
258                                 clocks = <&gateclk 17>;
259                                 bus-width = <4>;
260                                 cap-sdio-irq;
261                                 cap-sd-highspeed;
262                                 cap-mmc-highspeed;
263                                 status = "disabled";
264                         };
265                 };
266 
267                 spi0: spi@10600 {
268                         reg = <MBUS_ID(0xf0, 0x01) 0x10600 0x28>, /* control */
269                               <MBUS_ID(0x01, 0x1e) 0 0xffffffff>, /* CS0 */
270                               <MBUS_ID(0x01, 0x5e) 0 0xffffffff>, /* CS1 */
271                               <MBUS_ID(0x01, 0x9e) 0 0xffffffff>, /* CS2 */
272                               <MBUS_ID(0x01, 0xde) 0 0xffffffff>, /* CS3 */
273                               <MBUS_ID(0x01, 0x1f) 0 0xffffffff>, /* CS4 */
274                               <MBUS_ID(0x01, 0x5f) 0 0xffffffff>, /* CS5 */
275                               <MBUS_ID(0x01, 0x9f) 0 0xffffffff>, /* CS6 */
276                               <MBUS_ID(0x01, 0xdf) 0 0xffffffff>; /* CS7 */
277                         #address-cells = <1>;
278                         #size-cells = <0>;
279                         cell-index = <0>;
280                         interrupts = <30>;
281                         clocks = <&coreclk 0>;
282                         status = "disabled";
283                 };
284 
285                 spi1: spi@10680 {
286                         reg = <MBUS_ID(0xf0, 0x01) 0x10680 0x28>, /* control */
287                               <MBUS_ID(0x01, 0x1a) 0 0xffffffff>, /* CS0 */
288                               <MBUS_ID(0x01, 0x5a) 0 0xffffffff>, /* CS1 */
289                               <MBUS_ID(0x01, 0x9a) 0 0xffffffff>, /* CS2 */
290                               <MBUS_ID(0x01, 0xda) 0 0xffffffff>, /* CS3 */
291                               <MBUS_ID(0x01, 0x1b) 0 0xffffffff>, /* CS4 */
292                               <MBUS_ID(0x01, 0x5b) 0 0xffffffff>, /* CS5 */
293                               <MBUS_ID(0x01, 0x9b) 0 0xffffffff>, /* CS6 */
294                               <MBUS_ID(0x01, 0xdb) 0 0xffffffff>; /* CS7 */
295                         #address-cells = <1>;
296                         #size-cells = <0>;
297                         cell-index = <1>;
298                         interrupts = <92>;
299                         clocks = <&coreclk 0>;
300                         status = "disabled";
301                 };
302         };
303 
304         clocks {
305                 /* 2 GHz fixed main PLL */
306                 mainpll: mainpll {
307                         compatible = "fixed-clock";
308                         #clock-cells = <0>;
309                         clock-frequency = <2000000000>;
310                 };
311         };
312  };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php