Commit | Line | Data |
---|---|---|
49122145 FF |
1 | /* |
2 | * Device Tree file for Marvell Armada 370 Reference Design board | |
3 | * (RD-88F6710-A1) | |
4 | * | |
5 | * Copied from arch/arm/boot/dts/armada-370-db.dts | |
6 | * | |
7 | * Copyright (C) 2013 Florian Fainelli <florian@openwrt.org> | |
8 | * | |
9 | * This file is licensed under the terms of the GNU General Public | |
10 | * License version 2. This program is licensed "as is" without any | |
11 | * warranty of any kind, whether express or implied. | |
12 | */ | |
13 | ||
14 | /dts-v1/; | |
38149887 | 15 | #include "armada-370.dtsi" |
49122145 FF |
16 | |
17 | / { | |
18 | model = "Marvell Armada 370 Reference Design"; | |
19 | compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp"; | |
20 | ||
21 | chosen { | |
22 | bootargs = "console=ttyS0,115200 earlyprintk"; | |
23 | }; | |
24 | ||
25 | memory { | |
26 | device_type = "memory"; | |
27 | reg = <0x00000000 0x20000000>; /* 512 MB */ | |
28 | }; | |
29 | ||
30 | soc { | |
0cd3754a EG |
31 | ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000 |
32 | MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>; | |
5e12a613 | 33 | |
0af83305 EG |
34 | pcie-controller { |
35 | status = "okay"; | |
36 | ||
37 | /* Internal mini-PCIe connector */ | |
38 | pcie@1,0 { | |
39 | /* Port 0, Lane 0 */ | |
40 | status = "okay"; | |
41 | }; | |
42 | ||
43 | /* Internal mini-PCIe connector */ | |
44 | pcie@2,0 { | |
45 | /* Port 1, Lane 0 */ | |
46 | status = "okay"; | |
47 | }; | |
48 | }; | |
49 | ||
467f54b2 GC |
50 | internal-regs { |
51 | serial@12000 { | |
52 | clock-frequency = <200000000>; | |
53 | status = "okay"; | |
49122145 | 54 | }; |
467f54b2 GC |
55 | sata@a0000 { |
56 | nr-ports = <2>; | |
57 | status = "okay"; | |
58 | }; | |
59 | ||
60 | mdio { | |
61 | phy0: ethernet-phy@0 { | |
62 | reg = <0>; | |
63 | }; | |
49122145 | 64 | |
467f54b2 GC |
65 | phy1: ethernet-phy@1 { |
66 | reg = <1>; | |
67 | }; | |
49122145 | 68 | }; |
49122145 | 69 | |
467f54b2 GC |
70 | ethernet@70000 { |
71 | status = "okay"; | |
72 | phy = <&phy0>; | |
73 | phy-mode = "sgmii"; | |
74 | }; | |
75 | ethernet@74000 { | |
76 | status = "okay"; | |
77 | phy = <&phy1>; | |
78 | phy-mode = "rgmii-id"; | |
79 | }; | |
56499120 | 80 | |
467f54b2 GC |
81 | mvsdio@d4000 { |
82 | pinctrl-0 = <&sdio_pins1>; | |
83 | pinctrl-names = "default"; | |
84 | status = "okay"; | |
85 | /* No CD or WP GPIOs */ | |
d87b5fbb | 86 | broken-cd; |
467f54b2 | 87 | }; |
e822f75d | 88 | |
467f54b2 GC |
89 | usb@50000 { |
90 | status = "okay"; | |
91 | }; | |
e822f75d | 92 | |
467f54b2 GC |
93 | usb@51000 { |
94 | status = "okay"; | |
95 | }; | |
8c75e7b3 | 96 | |
467f54b2 GC |
97 | gpio-keys { |
98 | compatible = "gpio-keys"; | |
99 | #address-cells = <1>; | |
100 | #size-cells = <0>; | |
101 | button@1 { | |
102 | label = "Software Button"; | |
103 | linux,code = <116>; | |
104 | gpios = <&gpio0 6 1>; | |
105 | }; | |
106 | }; | |
8c75e7b3 EG |
107 | }; |
108 | }; | |
467f54b2 | 109 | }; |