From patchwork Tue Oct 28 12:24:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 5176381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8531C9F3ED for ; Tue, 28 Oct 2014 12:24:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B7000201B4 for ; Tue, 28 Oct 2014 12:24:15 +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 F1F412021F for ; Tue, 28 Oct 2014 12:24:14 +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 1Xj5mp-0002kR-71; Tue, 28 Oct 2014 12:22:07 +0000 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xj5mJ-0002Zw-EQ; Tue, 28 Oct 2014 12:21:36 +0000 Received: by mail-wi0-f182.google.com with SMTP id d1so1378842wiv.3 for ; Tue, 28 Oct 2014 05:21:13 -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=iBeJX6LpuuY4hIkKX6aWFLnhYLaC41rX7d3WqbUK1Nw=; b=L2P4JRw62F52J1bpMhayvfYw476NXijPIB2HIi1BoLuV0JVGoKgwJQf7kETkNeW49E fFh8ZvX8MEt/4I5u5HtNmEln8PJZoLKTHX2UBt6afP8UJExb0NIK+sGH+GOja+G3a9Gy AEqsSbn5hVbGDOVrTWyeUOnS/XJnqTMZkT4zcHXMZn9U29bEsT/ZQ7OkF0lGjgDEFI6D h68OflWfdnri/xf44P4ONeI+O1efAPclsOpNp/4YtoOLHW48gE1aH/FTaFsCs1lheQ4j jBSKSepCDppl/FiYvQA75gjp7ZsbJ47ToTcwwwN2/RTEPcM0O6iQyAo6LuxwjPad5Kel zZQg== X-Received: by 10.195.13.161 with SMTP id ez1mr2614804wjd.126.1414498873127; Tue, 28 Oct 2014 05:21:13 -0700 (PDT) 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 ws2sm1643833wjc.32.2014.10.28.05.21.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Oct 2014 05:21:12 -0700 (PDT) From: Romain Perier To: heiko@sntech.de Subject: [PATCH v1 4/4] ARM: dts: rockchip: Enable emac node in rk3066a-marsboard Date: Tue, 28 Oct 2014 12:24:22 +0000 Message-Id: <1414499062-23875-4-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1414499062-23875-1-git-send-email-romain.perier@gmail.com> References: <1414499062-23875-1-git-send-email-romain.perier@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141028_052135_680069_93AFCADE X-CRM114-Status: UNSURE ( 8.68 ) 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-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 enables EMAC Rockchip and adds initial ethernet support for the MarsBoard RK3066. Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3066a-marsboard.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/rk3066a-marsboard.dts b/arch/arm/boot/dts/rk3066a-marsboard.dts index 146bd61..560070c 100644 --- a/arch/arm/boot/dts/rk3066a-marsboard.dts +++ b/arch/arm/boot/dts/rk3066a-marsboard.dts @@ -122,6 +122,30 @@ /* must be included after &tps gets defined */ #include "tps65910.dtsi" +&emac { + status = "okay"; + + phy = <&phy0>; + phy-supply = <&vaux33_reg>; + + pinctrl-names = "default"; + pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>; + + phy0: ethernet-phy@0 { + reg = <0>; + interrupt-parent = <&gpio1>; + interrupts = <26 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +&pinctrl { + lan8720a { + phy_int: phy-int { + rockchip,pins = ; + }; + }; +}; + &uart0 { status = "okay"; };