From patchwork Wed Sep 3 10:27:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 4832501 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 8EE499F32E for ; Wed, 3 Sep 2014 10:32:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9529920220 for ; Wed, 3 Sep 2014 10:32:32 +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 83E152021A for ; Wed, 3 Sep 2014 10:32:30 +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 1XP7l9-0002yt-I1; Wed, 03 Sep 2014 10:25:51 +0000 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XP7kp-0002kr-FY; Wed, 03 Sep 2014 10:25:32 +0000 Received: by mail-we0-f174.google.com with SMTP id u57so8297372wes.5 for ; Wed, 03 Sep 2014 03:25:09 -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=bBpzE79xQ8N0ls84moedJHGNK5rqr9P1OFMCBQscZRI=; b=Yw3IcpZbQQHbsNgYGg6bs3pfGnua25Ln8BqLZ/5roxyTrlaBdYLU0fEf8q2nCO/230 vFQ9eIHpO/U/R+dfNrniDyqQdeTm6WzUW7yFbYJ4kmc9aDOBAT9lGNHiwTaGROeY7fwv P/8OVX8YfANESwSyxbJ2//buiPB0eVvwKQ1Q0x/ZLBO3Xs+AY89i+jWalJ1K6WfYBqmT GONmjE0T+hDWMxogq+yZNehpF06U6U3jmVKWRY6/i03dxSgRc495f1Kp8nUPwzf8H4XR BZtuI896TOWsYk/AHWg17GXNumWtKhywbyuHJ4NctTK9YyPhc/eHKlOw4drxRnyJtLJf ogtw== X-Received: by 10.194.209.205 with SMTP id mo13mr1655854wjc.122.1409739909117; Wed, 03 Sep 2014 03:25:09 -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 z5sm3780139wib.20.2014.09.03.03.25.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Sep 2014 03:25:08 -0700 (PDT) From: Romain Perier To: heiko@sntech.de Subject: [PATCH 4/4] ARM: dts: Enable emac node on the rk3188-radxarock boards Date: Wed, 3 Sep 2014 10:27:16 +0000 Message-Id: <1409740036-8117-4-git-send-email-romain.perier@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1409740036-8117-1-git-send-email-romain.perier@gmail.com> References: <1409740036-8117-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_032531_671844_2E7312F8 X-CRM114-Status: UNSURE ( 8.36 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) 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-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=-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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts index 5e4e3c23..e1358d3 100644 --- a/arch/arm/boot/dts/rk3188-radxarock.dts +++ b/arch/arm/boot/dts/rk3188-radxarock.dts @@ -76,6 +76,24 @@ }; }; +&emac { + status = "okay"; + compatible = "rockchip,rk3188-emac"; + + pinctrl-names = "default"; + pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>; + + mac-address = [ c6 ef 91 8e 60 4b ]; + 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 +219,12 @@ }; }; + lan8720a { + phy_int: phy-int { + rockchip,pins = ; + }; + }; + ir-receiver { ir_recv_pin: ir-recv-pin { rockchip,pins = ;