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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 77C9FC433EF for ; Mon, 9 May 2022 08:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jz6a4E+I/4RkUbWIuHOxNTrIjwQHWiVUmHa/J2hOVRk=; b=CVrqOEQrZqj4v9 CceSdZ0t0n0YKtUgukxcp+LPvBnhO10/Gi3EF++B6d8tKzkUp68pz/V/Nlrqp72YGXC2UJnuR+GG1 i0GnSIH8xxOp3uAcD2sYBCxv3g9SK8HQUC/uIH0aJrpRE9VUFisUOmMpQt0mf91hVzedgGUv/gGqs oMXRUr2tW+BmOWEAmF0AFsyn9/f9CcT0MQl0FLF3JsWUD3bpx07DxJutEyGibdsmAQXOVYoCMrT94 J+rk6rmlZXmfHLBQhHAoKleExFfyLW3Y9DiMIJxGjdFwYRW1uxwp57aj1XH+3PTFhSc7H1uPlgy6h IfKHF/juncCxavWSSzZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nnzE2-00DHrv-Jt; Mon, 09 May 2022 08:58:43 +0000 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nnzDt-00DHon-MP for linux-arm-kernel@lists.infradead.org; Mon, 09 May 2022 08:58:35 +0000 Received: (Authenticated sender: gregory.clement@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 4040060007; Mon, 9 May 2022 08:58:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1652086709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=U5akIdDJMA918kHVeaD7i8OAyc7tkvrEggEeV1bPsrU=; b=iKuTHEQnWjVPXjepUTc+lXdj3UOlHjvQqyp6A+KGvVdAoOfTv5cQYMWxYE/+5vvbatIdmC MKeceG5AJh86KzuemZUzBCFSdOIU9x30h+6rtJEyHz4AD3wQLzogKPoJ6go/Oq5RKUggsS M+oUM9vFXMsvD7lfFru9oQsazbI/RKiomPtNDFvqJYDVNXEbKhoBqi6RmUkfjXlkYiF8ns OCMobAtojXyx9h4J3qYLjGKbuRnyGFg78WmjOvQGjDfW94fuZVGdo5yJQciWaLJIqOCm5c ypXrRknf0Ccnjvhj0c5aWyIycEayIgQEiBhYIHRaO2ImGbMktqXl6vs44r54hg== From: Gregory CLEMENT To: Robert Marko , andrew@lunn.ch, sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, pali@kernel.org Cc: Robert Marko Subject: Re: [PATCH v3 2/3] arm64: dts: marvell: espressobin-ultra: add PHY and switch reset pins In-Reply-To: <20210928170919.691845-2-robert.marko@sartura.hr> References: <20210928170919.691845-1-robert.marko@sartura.hr> <20210928170919.691845-2-robert.marko@sartura.hr> Date: Mon, 09 May 2022 10:57:33 +0200 Message-ID: <87h75zrsle.fsf@BL-laptop> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_015833_932100_470BE8D6 X-CRM114-Status: GOOD ( 15.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Robert Marko writes: > Both the Topaz switch and 88E1512 PHY have their reset and interrupts > connected to the SoC. > > So, define the Topaz and 88E1512 reset pins in the DTS. > > Defining the interrupt pins wont work as both the 88E1512 and the > Topaz switch uses active LOW IRQ signals but the A37xx GPIO controller > only supports edge triggers. > 88E1512 would require special setup anyway as its INT pin is shared with > the LED2 and you first need to configure it as INT. > > Signed-off-by: Robert Marko > Reviewed-by: Andrew Lunn Applied on mvebu/dt64 Thanks, Gregory > --- > arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts > index 610ff6f385c7..7c786d218f1b 100644 > --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts > +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts > @@ -114,12 +114,16 @@ &usb3 { > &mdio { > extphy: ethernet-phy@1 { > reg = <1>; > + > + reset-gpios = <&gpionb 2 GPIO_ACTIVE_LOW>; > }; > }; > > &switch0 { > reg = <3>; > > + reset-gpios = <&gpiosb 23 GPIO_ACTIVE_LOW>; > + > ports { > switch0port1: port@1 { > reg = <1>; > -- > 2.31.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel