1 From fcc7654b592cb80cfb33c509db1005ce9252192b Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <florian@openwrt.org>
3 Date: Wed, 9 Jan 2013 20:39:55 +0100
4 Subject: [PATCH] arm: mvebu: add DTS file for Marvell RD-A370-A1 board
6 This patch adds the DTS file to support the Marvell RD-A370-A1
7 (Reference Design board) also known as RD-88F6710 board. It is almost
8 entirely similar to the DB-A370 board except that the first Ethernet PHY
9 is SGMII-wired and the second is a switch which is RGMII-wired.
11 Signed-off-by: Florian Fainelli <florian@openwrt.org>
13 arch/arm/boot/dts/Makefile | 1 +
14 arch/arm/boot/dts/armada-370-rd.dts | 61 +++++++++++++++++++++++++++++++++++
15 2 files changed, 62 insertions(+)
16 create mode 100644 arch/arm/boot/dts/armada-370-rd.dts
18 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
19 index b7246d6..7a75171 100644
20 --- a/arch/arm/boot/dts/Makefile
21 +++ b/arch/arm/boot/dts/Makefile
22 @@ -78,6 +78,7 @@ dtb-$(CONFIG_ARCH_MSM) += msm8660-surf.dtb \
24 dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
25 armada-370-mirabox.dtb \
28 armada-xp-openblocks-ax3-4.dtb
29 dtb-$(CONFIG_ARCH_MXC) += imx51-babbage.dtb \
30 diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts
32 index 0000000..d62dfac
34 +++ b/arch/arm/boot/dts/armada-370-rd.dts
37 + * Device Tree file for Marvell Armada 370 Reference Design board
40 + * Copied from arch/arm/boot/dts/armada-370-db.dts
42 + * Copyright (C) 2013 Florian Fainelli <florian@openwrt.org>
44 + * This file is licensed under the terms of the GNU General Public
45 + * License version 2. This program is licensed "as is" without any
46 + * warranty of any kind, whether express or implied.
50 +/include/ "armada-370.dtsi"
53 + model = "Marvell Armada 370 Reference Design";
54 + compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp";
57 + bootargs = "console=ttyS0,115200 earlyprintk";
61 + device_type = "memory";
62 + reg = <0x00000000 0x20000000>; /* 512 MB */
67 + clock-frequency = <200000000>;
76 + phy0: ethernet-phy@0 {
80 + phy1: ethernet-phy@1 {
93 + phy-mode = "rgmii-id";