]> git.ipfire.org Git - people/arne_f/kernel.git/blob - arch/arm/boot/dts/armada-370-rd.dts
sun7i: dts: add bananapro.
[people/arne_f/kernel.git] / arch / arm / boot / dts / armada-370-rd.dts
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/;
15 #include "armada-370.dtsi"
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 {
31 ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000
32 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
33
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
50 internal-regs {
51 serial@12000 {
52 clock-frequency = <200000000>;
53 status = "okay";
54 };
55 sata@a0000 {
56 nr-ports = <2>;
57 status = "okay";
58 };
59
60 mdio {
61 phy0: ethernet-phy@0 {
62 reg = <0>;
63 };
64
65 phy1: ethernet-phy@1 {
66 reg = <1>;
67 };
68 };
69
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 };
80
81 mvsdio@d4000 {
82 pinctrl-0 = <&sdio_pins1>;
83 pinctrl-names = "default";
84 status = "okay";
85 /* No CD or WP GPIOs */
86 broken-cd;
87 };
88
89 usb@50000 {
90 status = "okay";
91 };
92
93 usb@51000 {
94 status = "okay";
95 };
96
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 };
107
108 nand@d0000 {
109 status = "okay";
110 num-cs = <1>;
111 marvell,nand-keep-config;
112 marvell,nand-enable-arbiter;
113 nand-on-flash-bbt;
114
115 partition@0 {
116 label = "U-Boot";
117 reg = <0 0x800000>;
118 };
119 partition@800000 {
120 label = "Linux";
121 reg = <0x800000 0x800000>;
122 };
123 partition@1000000 {
124 label = "Filesystem";
125 reg = <0x1000000 0x3f000000>;
126 };
127 };
128 };
129 };
130 };