From patchwork Sun Nov 2 10:20:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 5211581 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 301D9C11AC for ; Sun, 2 Nov 2014 10:17:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 38AEF201BB for ; Sun, 2 Nov 2014 10:17:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6229E2015E for ; Sun, 2 Nov 2014 10:17:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XksDj-0006Kt-3P; Sun, 02 Nov 2014 10:17:15 +0000 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XksDb-0004nC-2a; Sun, 02 Nov 2014 10:17:07 +0000 Received: by mail-wi0-f169.google.com with SMTP id n3so4072747wiv.2 for ; Sun, 02 Nov 2014 02:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=y0sforREnPqvbHg9112fyyOcnpUWJ+RCALedavvdNt0=; b=KQVNUj+nLgkZ0vvH5K7mULqmpNJE/HrbBYbcZFnbB+Ub4Gagp2OA+n9r4YXTUEzOTD FizDcvXXVfsyZlsHg0QXZcd9iawa5K1dRFuOmomPg5oSPIJU5ItYi9kEugSVjwo1F//6 4pEr+PW/DrHKICAe3C3Y45zz50cF8rU8eKpifqha8E2HDjFIsJQ519n6DiwKIgGMVCVY J6DSfqKrrk5zBo2i7IpZXhsvZ00s0KrWuIat6WyMbQHi+NzZ1yLsgLxGYzZ3F9NaQuMw GJVBXRSop7dPDP4OppvXJSR+3+fTp9XEGt6mXCPtRr5hq4NhIFkwm+9WFyAOvfpKunbp fCTA== X-Received: by 10.180.211.206 with SMTP id ne14mr9022409wic.79.1414923404631; Sun, 02 Nov 2014 02:16:44 -0800 (PST) Received: from localhost.localdomain (AToulouse-554-1-48-253.w92-149.abo.wanadoo.fr. [92.149.239.253]) by mx.google.com with ESMTPSA id k10sm18117143wjb.28.2014.11.02.02.16.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 02 Nov 2014 02:16:43 -0800 (PST) From: Romain Perier To: heiko@sntech.de Subject: [PATCH v3 1/2] ARM: dts: rockchip: Add EMAC Rockchip for RK3066 SoCs Date: Sun, 2 Nov 2014 10:20:00 +0000 Message-Id: <1414923601-29504-2-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1414923601-29504-1-git-send-email-romain.perier@gmail.com> References: <1414923601-29504-1-git-send-email-romain.perier@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141102_021707_263253_AC1A88FB X-CRM114-Status: UNSURE ( 9.17 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the right pins topology for the MAC and MDIO found in RK3066 SoCs. Boards based on this SoC have an initial support for the emac-rockchip dt-binding. Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3066a.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi index ad9c2db..7bec55f 100644 --- a/arch/arm/boot/dts/rk3066a.dtsi +++ b/arch/arm/boot/dts/rk3066a.dtsi @@ -179,6 +179,24 @@ bias-disable; }; + emac { + emac_xfer: emac-xfer { + rockchip,pins = , /* mac_clk */ + , /* tx_en */ + , /* txd1 */ + , /* txd0 */ + , /* rx_err */ + , /* crs_dvalid */ + , /* rxd1 */ + ; /* rxd0 */ + }; + + emac_mdio: emac-mdio { + rockchip,pins = , /* mac_md */ + ; /* mac_mdclk */ + }; + }; + emmc { emmc_clk: emmc-clk { rockchip,pins = ; @@ -496,3 +514,7 @@ &wdt { compatible = "rockchip,rk3066-wdt", "snps,dw-wdt"; }; + +&emac { + compatible = "rockchip,rk3066-emac"; +};