From patchwork Mon Sep 8 17:14:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 4864031 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 96D6BC0338 for ; Mon, 8 Sep 2014 17:13:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CE5A920154 for ; Mon, 8 Sep 2014 17:13: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 DE7F420117 for ; Mon, 8 Sep 2014 17:13: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 1XR2V9-0007Mn-KU; Mon, 08 Sep 2014 17:13:15 +0000 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XR2Ur-000712-N3; Mon, 08 Sep 2014 17:12:58 +0000 Received: by mail-wg0-f44.google.com with SMTP id y10so1448665wgg.3 for ; Mon, 08 Sep 2014 10:12:35 -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=26/x3drF7ej/Dzijp2bUCgnhPRUGX94x6e65ASvbmRg=; b=viB2DxCEesVOJqFR6Gq0ghKaPsVVIEeCBx8HXlviTlvdRP3zg4GDshmhEY2T+e61GO sLRCZoE/p3dlXwaGdrqCd7VdwejFc5VSk7qeE3uJKQI+OGaovKIfgvotbpeUXhVwJLAB NUekLomYlydxJvvwwN53a53QgqW063M9t5BAfmyS9XZYteGkTvJsveN/kRpdHh7+DvLd uBCsjno1IZ577T+Ogz1rvqJ+MC3JQW6D2W/AQI8FYQ7m+dWO4YRkY++9SJY4v8JEoyMn Dhkz9MQfavkkPz0Gf9H3Uh0dXc/h4C3m9Zwu5uEUHNerfEbVG7y418WR6RAJCryfvPCs z1eA== X-Received: by 10.180.95.169 with SMTP id dl9mr24222478wib.51.1410196355528; Mon, 08 Sep 2014 10:12:35 -0700 (PDT) Received: from localhost.localdomain (AToulouse-554-1-131-65.w90-60.abo.wanadoo.fr. [90.60.106.65]) by mx.google.com with ESMTPSA id ua8sm11812628wjc.7.2014.09.08.10.12.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Sep 2014 10:12:34 -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: Mon, 8 Sep 2014 17:14:50 +0000 Message-Id: <1410196490-5646-4-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1410196490-5646-1-git-send-email-romain.perier@gmail.com> References: <1410196490-5646-1-git-send-email-romain.perier@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140908_101257_901405_A1F68F8A X-CRM114-Status: UNSURE ( 8.87 ) 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=-4.3 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 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts index 5e4e3c23..d63d685 100644 --- a/arch/arm/boot/dts/rk3188-radxarock.dts +++ b/arch/arm/boot/dts/rk3188-radxarock.dts @@ -76,6 +76,22 @@ }; }; +&emac { + status = "okay"; + + 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 +217,12 @@ }; }; + lan8720a { + phy_int: phy-int { + rockchip,pins = ; + }; + }; + ir-receiver { ir_recv_pin: ir-recv-pin { rockchip,pins = ;