From patchwork Wed Sep 3 16:52:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 4835851 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 AFC23C0338 for ; Wed, 3 Sep 2014 16:51:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78CDF20221 for ; Wed, 3 Sep 2014 16:51:09 +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 B66B820219 for ; Wed, 3 Sep 2014 16:51:08 +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 1XPDm0-0005vj-DB; Wed, 03 Sep 2014 16:51:08 +0000 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XPDlr-0005hw-PX; Wed, 03 Sep 2014 16:51:00 +0000 Received: by mail-wg0-f48.google.com with SMTP id n12so8758759wgh.19 for ; Wed, 03 Sep 2014 09:50:40 -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=/8aJv8zZnHAN8f5uk9xpX+kSiWY9RCzy3nC9gnkFnGo=; b=yIfPOAnLKsgIw2rY2WZNKlSb1xsvZzslcqs0l8FrmrHFhzJG1vCm/kLfGQ0vFRlDvj tcC/vZLMdvQgV4PpmIGsJNTePrpARh4WVRRgKr+MUHgZgfqKZ9lbrNafGLk5F6CojZrf azUdcg5U+l1CfxEbJDd2vn+EGNk2KdE+YrKy5jskZz/2GjD8qlgF2kAGF0ioOLbgOD4u WMpf4mtXQdUZU2itXbBh/zMsdpKTFpELDr0q+K7U76f9XSBA22ThDzIYzogCNiGSHmQi s3u9daFP03IN6IblcNmIFYioPcaS3SngRDAj8fz8CtJEUtacURW5vfTn0Rm1WQNFkK9C Koaw== X-Received: by 10.194.63.37 with SMTP id d5mr12190011wjs.92.1409763038963; Wed, 03 Sep 2014 09:50:38 -0700 (PDT) Received: from localhost.localdomain (AToulouse-554-1-44-245.w92-149.abo.wanadoo.fr. [92.149.235.245]) by mx.google.com with ESMTPSA id h6sm16557703wjb.33.2014.09.03.09.50.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Sep 2014 09:50:38 -0700 (PDT) From: Romain Perier To: heiko@sntech.de Subject: [PATCH v2 4/4] ARM: dts: Enable emac node on the rk3188-radxarock boards Date: Wed, 3 Sep 2014 16:52:45 +0000 Message-Id: <1409763165-16461-4-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1409763165-16461-1-git-send-email-romain.perier@gmail.com> References: <1409763165-16461-1-git-send-email-romain.perier@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140903_095100_006721_25AAF434 X-CRM114-Status: UNSURE ( 8.24 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) Cc: linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, netdev@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=-3.5 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 support on radxa rock boards. Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3188-radxarock.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts index 5e4e3c23..c27543d 100644 --- a/arch/arm/boot/dts/rk3188-radxarock.dts +++ b/arch/arm/boot/dts/rk3188-radxarock.dts @@ -76,6 +76,23 @@ }; }; +&emac { + status = "okay"; + compatible = "rockchip,rk3188-emac"; + + pinctrl-names = "default"; + pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>; + + phy = <&phy0>; + phy-supply = <&vcc_rmii>; + + phy0: ethernet-phy@0 { + reg = <0>; + interrupt-parent = <&gpio3>; + interrupts = <26 IRQ_TYPE_LEVEL_LOW>; + }; +}; + &i2c1 { status = "okay"; clock-frequency = <400000>; @@ -201,6 +218,12 @@ }; }; + lan8720a { + phy_int: phy-int { + rockchip,pins = ; + }; + }; + ir-receiver { ir_recv_pin: ir-recv-pin { rockchip,pins = ;