Commit | Line | Data |
---|---|---|
9ae6f740 TP |
1 | /* |
2 | * Device Tree file for Marvell Armada 370 evaluation board | |
3 | * (DB-88F6710-BP-DDR3) | |
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 | * | |
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 | ||
16 | /dts-v1/; | |
38149887 | 17 | #include "armada-370.dtsi" |
9ae6f740 TP |
18 | |
19 | / { | |
20 | model = "Marvell Armada 370 Evaluation Board"; | |
21 | compatible = "marvell,a370-db", "marvell,armada370", "marvell,armada-370-xp"; | |
22 | ||
23 | chosen { | |
24 | bootargs = "console=ttyS0,115200 earlyprintk"; | |
25 | }; | |
26 | ||
27 | memory { | |
28 | device_type = "memory"; | |
11d5993d | 29 | reg = <0x00000000 0x40000000>; /* 1 GB */ |
9ae6f740 TP |
30 | }; |
31 | ||
32 | soc { | |
0cd3754a EG |
33 | ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000 |
34 | MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>; | |
5e12a613 | 35 | |
467f54b2 GC |
36 | internal-regs { |
37 | serial@12000 { | |
38 | clock-frequency = <200000000>; | |
39 | status = "okay"; | |
f01959a9 | 40 | }; |
467f54b2 GC |
41 | sata@a0000 { |
42 | nr-ports = <2>; | |
43 | status = "okay"; | |
f01959a9 | 44 | }; |
f01959a9 | 45 | |
467f54b2 GC |
46 | mdio { |
47 | phy0: ethernet-phy@0 { | |
48 | reg = <0>; | |
49 | }; | |
b6150c71 | 50 | |
467f54b2 GC |
51 | phy1: ethernet-phy@1 { |
52 | reg = <1>; | |
53 | }; | |
54 | }; | |
200506b1 | 55 | |
467f54b2 GC |
56 | ethernet@70000 { |
57 | status = "okay"; | |
58 | phy = <&phy0>; | |
59 | phy-mode = "rgmii-id"; | |
60 | }; | |
61 | ethernet@74000 { | |
62 | status = "okay"; | |
63 | phy = <&phy1>; | |
64 | phy-mode = "rgmii-id"; | |
65 | }; | |
200506b1 | 66 | |
467f54b2 GC |
67 | mvsdio@d4000 { |
68 | pinctrl-0 = <&sdio_pins1>; | |
69 | pinctrl-names = "default"; | |
70 | /* | |
71 | * This device is disabled by default, because | |
72 | * using the SD card connector requires | |
73 | * changing the default CON40 connector | |
74 | * "DB-88F6710_MPP_2xRGMII_DEVICE_Jumper" to a | |
75 | * different connector | |
76 | * "DB-88F6710_MPP_RGMII_SD_Jumper". | |
77 | */ | |
78 | status = "disabled"; | |
79 | /* No CD or WP GPIOs */ | |
d87b5fbb | 80 | broken-cd; |
467f54b2 | 81 | }; |
04e09b72 | 82 | |
467f54b2 GC |
83 | usb@50000 { |
84 | status = "okay"; | |
85 | }; | |
04e09b72 | 86 | |
467f54b2 GC |
87 | usb@51000 { |
88 | status = "okay"; | |
04e09b72 | 89 | }; |
3b723ae8 | 90 | |
467f54b2 | 91 | spi0: spi@10600 { |
3b723ae8 | 92 | status = "okay"; |
467f54b2 GC |
93 | |
94 | spi-flash@0 { | |
95 | #address-cells = <1>; | |
96 | #size-cells = <1>; | |
97 | compatible = "mx25l25635e"; | |
98 | reg = <0>; /* Chip select 0 */ | |
99 | spi-max-frequency = <50000000>; | |
100 | }; | |
3b723ae8 | 101 | }; |
96039f73 | 102 | }; |
467f54b2 | 103 | |
96039f73 TP |
104 | pcie-controller { |
105 | status = "okay"; | |
106 | /* | |
107 | * The two PCIe units are accessible through | |
108 | * both standard PCIe slots and mini-PCIe | |
109 | * slots on the board. | |
110 | */ | |
111 | pcie@1,0 { | |
112 | /* Port 0, Lane 0 */ | |
113 | status = "okay"; | |
114 | }; | |
115 | pcie@2,0 { | |
116 | /* Port 1, Lane 0 */ | |
3b723ae8 TP |
117 | status = "okay"; |
118 | }; | |
119 | }; | |
9ae6f740 TP |
120 | }; |
121 | }; |