From patchwork Sun Nov 23 16:08:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamino Galvani X-Patchwork-Id: 5361861 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 1F7F19F319 for ; Sun, 23 Nov 2014 16:14:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 71C1F20253 for ; Sun, 23 Nov 2014 16:14:50 +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 3075620251 for ; Sun, 23 Nov 2014 16:14:49 +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 1XsZlH-0003z6-Fl; Sun, 23 Nov 2014 16:11:43 +0000 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XsZlF-0003xl-3F for linux-arm-kernel@lists.infradead.org; Sun, 23 Nov 2014 16:11:41 +0000 Received: by mail-wi0-f172.google.com with SMTP id n3so3487898wiv.11 for ; Sun, 23 Nov 2014 08:11:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=II1iZSxMOWRqoNhRJ6VQ6mwc8Lda9NFVivHEb8nGwF0=; b=wfvc7mPA3LpSunNIrBldzUlC5hh8MVUxTWqmsg0AI1NOcGKRWOYBYPduuMWWBAkiKK nDhPeJn1Lae1z41OD2Aw/i/xClKD4ZYDNDVX9otQ8ApTs70aOaWot6ZPZ34pauoDOtiU am0YzVJx+5+3Tmz7G/Zs48aKCXXIPRPVkZmlMIBY6IhMJCj4dRyONvEWMKnxJlYOnKgx ZPWsG56/3zMgpK94X0EBx4uWKfdz0F2Oky9ccDhxOJ3MAk7mAYwj6iPE/Q8mZRh9az/R S/7/yEWXtC+aOk/6+D69lwTh7kvdQGOOkj7l3qUqpRd+qmY282PmnYNpZChRNMkd+WQ4 QE4g== X-Received: by 10.180.96.10 with SMTP id do10mr14471666wib.16.1416759077784; Sun, 23 Nov 2014 08:11:17 -0800 (PST) Received: from sark.local (host115-93-dynamic.40-79-r.retail.telecomitalia.it. [79.40.93.115]) by mx.google.com with ESMTPSA id mw7sm7964601wib.14.2014.11.23.08.11.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Nov 2014 08:11:16 -0800 (PST) From: Beniamino Galvani To: Carlo Caione Subject: [PATCH] ARM: dts: meson: enable Ethernet controller Date: Sun, 23 Nov 2014 17:08:48 +0100 Message-Id: <1416758928-12640-1-git-send-email-b.galvani@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141123_081141_294884_7145E3EA X-CRM114-Status: UNSURE ( 9.34 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: devicetree@vger.kernel.org, Victor Wan , linux-kernel@vger.kernel.org, Beniamino Galvani , Jerry Cao , linux-arm-kernel@lists.infradead.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.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 Add a node for the Ethernet controller to Meson DTS file and enable it on the Geniatech ATV1200 board. Signed-off-by: Beniamino Galvani Tested-by: Carlo Caione --- arch/arm/boot/dts/meson.dtsi | 11 +++++++++++ arch/arm/boot/dts/meson6-atv1200.dts | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index 03bcff8..4704b95 100644 --- a/arch/arm/boot/dts/meson.dtsi +++ b/arch/arm/boot/dts/meson.dtsi @@ -143,5 +143,16 @@ #size-cells = <0>; status = "disabled"; }; + + ethmac: ethernet@c9410000 { + compatible = "amlogic,meson6-dwmac", "snps,dwmac"; + reg = <0xc9410000 0x10000 + 0xc1108108 0x4>; + interrupts = <0 8 1>; + interrupt-names = "macirq"; + clocks = <&clk81>; + clock-names = "stmmaceth"; + status = "disabled"; + }; }; }; /* end of / */ diff --git a/arch/arm/boot/dts/meson6-atv1200.dts b/arch/arm/boot/dts/meson6-atv1200.dts index d7d351a..1237faa 100644 --- a/arch/arm/boot/dts/meson6-atv1200.dts +++ b/arch/arm/boot/dts/meson6-atv1200.dts @@ -64,3 +64,7 @@ &uart_AO { status = "okay"; }; + +ðmac { + status = "okay"; +};