From patchwork Wed Jan 9 19:48:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 1954221 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 5B3BCDF2EB for ; Wed, 9 Jan 2013 19:51:18 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tt1dA-00067T-3F; Wed, 09 Jan 2013 19:48:08 +0000 Received: from mail-we0-f181.google.com ([74.125.82.181]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tt1d5-000668-5l for linux-arm-kernel@lists.infradead.org; Wed, 09 Jan 2013 19:48:04 +0000 Received: by mail-we0-f181.google.com with SMTP id t11so1237824wey.12 for ; Wed, 09 Jan 2013 11:48:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:organization :user-agent:mime-version:content-transfer-encoding:content-type; bh=rSsAxqVTEyhd/QntGCpZRrM/AzrmK3vlSIhkZjtphlM=; b=KZXTF95XaVMLKwHRxpHnEO6702ctcYPKzJsIuLZRff+L1+QzAvqawk2TpJaJnO609A JT354yH8gh2JTgBQpkc6T4ddoIzI1jbJUDsfoeI9eetPwHuN3YT4cyEpQrIFqAu0nM0h sIQmB8cbwDQvSTdwrLXBR+FTFf6CBvwW2AXmOuTUI64wgwucLoT8sr1GY78C/ZPsSlAn JLNVsiX/jSMrX5Zq38cVJg0ou6iEKhd2iVrN4QlTas8DvKzeDvoeP8i5+NDr0Hd3lnDO DKfmj+tegr1pC5IHhzq9PUcskEviMWzC9U/v0paRb8q4wl6HXwUx3Ftzbnn+cKkAS8Vh 4Fow== X-Received: by 10.194.76.7 with SMTP id g7mr31636137wjw.50.1357760881498; Wed, 09 Jan 2013 11:48:01 -0800 (PST) Received: from bender.localnet ([2a01:e35:2f70:4010:413e:4b88:51ed:98d8]) by mx.google.com with ESMTPS id i2sm5276660wiw.3.2013.01.09.11.48.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Jan 2013 11:48:00 -0800 (PST) From: Florian Fainelli To: linux ARM , andrew@lunn.ch, alior@marvell.com, gregory.clement@free-electrons.com, thomas.petazzoni@free-electrons.com Subject: [PATCH] arm: mvebu: add DTS file for Marvell RD-A370-A1 board Date: Wed, 09 Jan 2013 11:48:00 -0800 (PST) Message-ID: <1588881.pi23bvqp7D@bender> Organization: OpenWrt User-Agent: KMail/4.9.3 (Linux/3.5.0-21-generic; KDE/4.9.3; x86_64; ; ) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130109_144803_396776_72D13EEF X-CRM114-Status: GOOD ( 12.40 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (f.fainelli[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.181 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch adds the DTS file to support the Marvell RD-A370-A1 (Reference Design) board also known as RD-88F6710 board. It is almost entirely similar to the DB-A370 board except that the first Ethernet PHY is SGMII-wired and the second is a switch which is RGMII-wired. Signed-off-by: Florian Fainelli --- Thomas, Clément, as support for other peripherals gets merged, I will update this DTS file to reflect this. Thanks! arch/arm/boot/dts/armada-370-rd.dts | 61 +++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 arch/arm/boot/dts/armada-370-rd.dts diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts new file mode 100644 index 0000000..d62dfac --- /dev/null +++ b/arch/arm/boot/dts/armada-370-rd.dts @@ -0,0 +1,61 @@ +/* + * Device Tree file for Marvell Armada 370 Reference Design board + * (RD-88F6710-A1) + * + * Copied from arch/arm/boot/dts/armada-370-db.dts + * + * Copyright (C) 2013 Florian Fainelli + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + */ + +/dts-v1/; +/include/ "armada-370.dtsi" + +/ { + model = "Marvell Armada 370 Reference Design"; + compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp"; + + chosen { + bootargs = "console=ttyS0,115200 earlyprintk"; + }; + + memory { + device_type = "memory"; + reg = <0x00000000 0x20000000>; /* 512 MB */ + }; + + soc { + serial@d0012000 { + clock-frequency = <200000000>; + status = "okay"; + }; + sata@d00a0000 { + nr-ports = <2>; + status = "okay"; + }; + + mdio { + phy0: ethernet-phy@0 { + reg = <0>; + }; + + phy1: ethernet-phy@1 { + reg = <1>; + }; + }; + + ethernet@d0070000 { + status = "okay"; + phy = <&phy0>; + phy-mode = "sgmii"; + }; + ethernet@d0074000 { + status = "okay"; + phy = <&phy1>; + phy-mode = "rgmii-id"; + }; + }; +};