From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3328EC47088 for ; Wed, 26 May 2021 23:16:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0B650610A6 for ; Wed, 26 May 2021 23:16:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234735AbhEZXSG (ORCPT ); Wed, 26 May 2021 19:18:06 -0400 Received: from foss.arm.com ([217.140.110.172]:50656 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232367AbhEZXSF (ORCPT ); Wed, 26 May 2021 19:18:05 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8E0C413A1; Wed, 26 May 2021 16:16:33 -0700 (PDT) Received: from slackpad.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6847D3F719; Wed, 26 May 2021 16:16:32 -0700 (PDT) Date: Thu, 27 May 2021 00:16:14 +0100 From: Andre Przywara To: Andreas Rehn Cc: mripard@kernel.org, wens@csie.org, jernej.skrabec@gmail.com, rfried.dev@gmail.com, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] ARM: dts: sun8i: v3s: enable emac for zero Dock Message-ID: <20210527001614.2edfc630@slackpad.fritz.box> In-Reply-To: <20210525173159.183415-1-rehn.andreas86@gmail.com> References: <20210522205039.179486-1-rehn.andreas86@gmail.com> <20210525173159.183415-1-rehn.andreas86@gmail.com> Organization: Arm Ltd. X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 May 2021 19:31:59 +0200 Andreas Rehn wrote: > dwmac-sun8i supports v3s and > Licheepi-zero Dock provides an ethernet port > furthermore, align nodes in alphabetical order > > Signed-off-by: Andreas Rehn Reviewed-by: Andre Przywara Cheers, Andre > --- > Changes in v3: > - align nodes in alphabetical order > Changes in v2: > - add ethernet0 alias. > .../boot/dts/sun8i-v3s-licheepi-zero-dock.dts | 17 +++++++++++++---- > 1 file changed, 13 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts > index db5cd0b8574b..752ad05c8f83 100644 > --- a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts > +++ b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts > @@ -49,16 +49,18 @@ / { > compatible = "licheepi,licheepi-zero-dock", "licheepi,licheepi-zero", > "allwinner,sun8i-v3s"; > > + aliases { > + ethernet0 = &emac; > + }; > + > leds { > /* The LEDs use PG0~2 pins, which conflict with MMC1 */ > status = "disabled"; > }; > }; > > -&mmc1 { > - broken-cd; > - bus-width = <4>; > - vmmc-supply = <®_vcc3v3>; > +&emac { > + allwinner,leds-active-low; > status = "okay"; > }; > > @@ -94,3 +96,10 @@ button-800 { > voltage = <800000>; > }; > }; > + > +&mmc1 { > + broken-cd; > + bus-width = <4>; > + vmmc-supply = <®_vcc3v3>; > + status = "okay"; > +};