From patchwork Sun Oct 26 13:23:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 5154181 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 88237C11AD for ; Sun, 26 Oct 2014 13:21:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE698202F2 for ; Sun, 26 Oct 2014 13:21:23 +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 E1C0020340 for ; Sun, 26 Oct 2014 13:21:22 +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 1XiNl3-0003Y3-RH; Sun, 26 Oct 2014 13:21:21 +0000 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XiNkn-0003U0-4b; Sun, 26 Oct 2014 13:21:06 +0000 Received: by mail-wg0-f47.google.com with SMTP id a1so213437wgh.6 for ; Sun, 26 Oct 2014 06:20:42 -0700 (PDT) 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=hNPOlfIBQvGn7M/uj6ZGx0v3bQAXTwWnPuFeCQX6LFzv4yBbYKel8G0F0c2oIRvr21 ToTxsIs0ATnAHPKqIGF7lVaJGPtiC0yc4TFrKUfY5xKykDTZ2qTFNfyWwc7i/15ULyDi owwN7zyyfrGv7QRvm0uapoinH3mmvplumtl1zzwmNclQ3u+k1eJ8t9gTZyIU9bB4OOa2 JKBbKuEAdpwICAQWfCFWxBnwKDO4RYV9imXmuGdHt6qdg2ZG8IkNMoI5GDBrCZzMo1kV b50g24qZ2f3HNe8VxTqYIhulilWs35bLDuUvSqNlmKgdcEcvHxviFXCvQB9KDGVMfUzt kfKA== X-Received: by 10.180.77.79 with SMTP id q15mr15236238wiw.8.1414329642323; Sun, 26 Oct 2014 06:20:42 -0700 (PDT) Received: from localhost.localdomain (AToulouse-554-1-17-219.w92-149.abo.wanadoo.fr. [92.149.96.219]) by mx.google.com with ESMTPSA id bg10sm11978193wjc.47.2014.10.26.06.20.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 26 Oct 2014 06:20:41 -0700 (PDT) From: Romain Perier To: heiko@sntech.de Subject: [PATCH v1 3/4] ARM: dts: rockchip: Add EMAC Rockchip for RK3066 SoCs Date: Sun, 26 Oct 2014 13:23:48 +0000 Message-Id: <1414329829-8031-3-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1414329829-8031-1-git-send-email-romain.perier@gmail.com> References: <1414329829-8031-1-git-send-email-romain.perier@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141026_062105_362424_A4E166F1 X-CRM114-Status: GOOD ( 10.03 ) X-Spam-Score: -0.8 (/) 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"; +};