Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp671102ybt; Fri, 19 Jun 2020 10:40:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzG5wnoQP575JqD/9COOsyvozCwxN8piyr7CYueGTWXPySSK09MXTfcIt/HxH3gATc1iiXy X-Received: by 2002:a50:d09b:: with SMTP id v27mr4386556edd.235.1592588420782; Fri, 19 Jun 2020 10:40:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592588420; cv=none; d=google.com; s=arc-20160816; b=uMGmljcflyPc8/gJ0F7Nycs85DNIqxoFVt/By+bBpNaeGW7bPmtSJwFfpzYL/z9MTG 2HTJBvBCr/ygU2FNoUnKVqPuqczHcksy1/D4toapDpKEDyzltUW0b5teSpCTl+HHOJ/G iDXRiSDOAXgzXqrGW6LRrocMkKk+4NAhswmbgxfxxQYVtK1mrHmW8L7X1fs3EHW6k2GK ZqWPRegx2ZTDM0WN1SvL0Hgqfh+DiogkMrqldtDbL4JohbZj8kIQXmku1Jtwjf617xeb Yj3ka8cZj758hfwkqIOEcRBluEQGtyKuKad5Kk6lwzzKuToQQ5qU+EoPrFAmo2UNRbVB mITA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=+n8dLxnQiBdwBD0oswlhxi1We51NYiYms4jgVCjccrc=; b=o/6SldMZSt8CIlSVuzGF7mYwilws+MtAXyIBqbrBrhjdoB2CFylVYLeElDhHJsCZsZ M8gGGKG/F2ATcaLXTwIQuMGe/Ymx4v2byQtR/w8tqvuCNtm3akDzXsyTMIPvlGfzPMyv +xrSrA8T8vJYerPkBRevI1DL25gnTvNqzVdmOCPiMkaIjKUhvZj7i+6poxkyLVUmEhgP 1lS/tezY0NZoErVTJIMNCJDjLORzfTB3C4umgKMeyOO+6kjU9OhqpHixw7r1MLzaw3M4 SW9KvmGDZVzzvyfg2Co54MER6H056/lbYdLlAUMZErYBheCK+2i2HCekgbsAij3H2OBj XUpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id md18si4383848ejb.275.2020.06.19.10.39.44; Fri, 19 Jun 2020 10:40:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733099AbgFSM1E (ORCPT + 99 others); Fri, 19 Jun 2020 08:27:04 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:59931 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733036AbgFSMZY (ORCPT ); Fri, 19 Jun 2020 08:25:24 -0400 Received: from localhost (lfbn-tou-1-1075-236.w90-76.abo.wanadoo.fr [90.76.143.236]) (Authenticated sender: antoine.tenart@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 3A7D024000F; Fri, 19 Jun 2020 12:25:22 +0000 (UTC) From: Antoine Tenart To: davem@davemloft.net, andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com, richardcochran@gmail.com, alexandre.belloni@bootlin.com, UNGLinuxDriver@microchip.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, allan.nielsen@microchip.com, foss@0leil.net, antoine.tenart@bootlin.com Subject: [PATCH net-next v3 8/8] MIPS: dts: ocelot: describe the load/save GPIO Date: Fri, 19 Jun 2020 14:23:00 +0200 Message-Id: <20200619122300.2510533-9-antoine.tenart@bootlin.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200619122300.2510533-1-antoine.tenart@bootlin.com> References: <20200619122300.2510533-1-antoine.tenart@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Quentin Schulz This patch adds a description of the load/save GPIN pin, used in the VSC8584 PHY for timestamping operations. The related pinctrl description is also added. Signed-off-by: Quentin Schulz Signed-off-by: Antoine Tenart --- arch/mips/boot/dts/mscc/ocelot_pcb120.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/mips/boot/dts/mscc/ocelot_pcb120.dts b/arch/mips/boot/dts/mscc/ocelot_pcb120.dts index 33991fd209f5..897de5025d7f 100644 --- a/arch/mips/boot/dts/mscc/ocelot_pcb120.dts +++ b/arch/mips/boot/dts/mscc/ocelot_pcb120.dts @@ -3,6 +3,7 @@ /dts-v1/; +#include #include #include #include "ocelot.dtsi" @@ -25,6 +26,11 @@ phy_int_pins: phy_int_pins { pins = "GPIO_4"; function = "gpio"; }; + + phy_load_save_pins: phy_load_save_pins { + pins = "GPIO_10"; + function = "ptp2"; + }; }; &mdio0 { @@ -34,27 +40,31 @@ &mdio0 { &mdio1 { status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&miim1>, <&phy_int_pins>; + pinctrl-0 = <&miim1>, <&phy_int_pins>, <&phy_load_save_pins>; phy7: ethernet-phy@0 { reg = <0>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; interrupt-parent = <&gpio>; + load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>; }; phy6: ethernet-phy@1 { reg = <1>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; interrupt-parent = <&gpio>; + load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>; }; phy5: ethernet-phy@2 { reg = <2>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; interrupt-parent = <&gpio>; + load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>; }; phy4: ethernet-phy@3 { reg = <3>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; interrupt-parent = <&gpio>; + load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>; }; }; -- 2.26.2