From patchwork Thu Feb 25 09:50:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steen Hegelund X-Patchwork-Id: 12103753 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=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT 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 8D302C433E6 for ; Thu, 25 Feb 2021 09:52:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1FB0764EC8 for ; Thu, 25 Feb 2021 09:51:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1FB0764EC8 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5VqugAz67fZrpGvvymIAC6ebfQzyT+f7dpFqacZI5Zw=; b=u5IGl3MZMtIMiZNDrDVeb96dP WAzFRIQCVbiEXwyFDprqn+Hs1CZWpUsoaufxVvFfImVsFeRnd2GnmadDxP5Lbh+yN9HvthpzkoY/U e24REZLMA8OtkDF5NpR3jExK4ZvVKDcBl1ObF5pY+5wdAu20szGTMjh7moNMXi1ilDu6NLSQm2u/1 62IbJ4gjqEe1OaX/TvwvNY5VIU4ZosC3bUR7ktGDAiyn8dv4tYR8iJXwGji1S5LxvqEUS3vcmSByb BzsMPL6DJqIPxsYaxxZCUXPjhC2ijPlZ1WQIuFytnkHFMGly+zUvI82aANn+yV1WXRPtT+ASJdwsw hWLs4Cg8Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lFDI9-0007TQ-55; Thu, 25 Feb 2021 09:50:41 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lFDHs-0007R2-UG for linux-arm-kernel@lists.infradead.org; Thu, 25 Feb 2021 09:50:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1614246624; x=1645782624; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VNoFr4Rzb5ZvCVXn33z1SjDCgMcKIqCrQjEL0ZRl/rs=; b=ukkv9YujBHNCajX9ni28/sz5ihkp+RGbR7yRpS0SqrrTRK0y6M8sMcoc pE+oBuzTT9b1XOFLIzxlDtpKLCwCeQIbOuWdijRLOpGezsuk1UkKEXtUA Kf3Sga4GjS3lnpdKHonDY6JaM36IIJkm/rPj4VZwgAYy2W4Czix4RrJrk mXHXZxomUdisUtVpbo+o98l20cUJP2JQ2apCjMyEf9gp8GK5V16bTgN6c hKLBcJ3hRFpPmuZr55xARSE8z+JApoGXOy0MU11mHAIIVO6qgXpqYBPpo hyhm3hfe5j/ZBRDMpd7kjsuAOpLaaN8jI9rZb4fhMnOCvsgrYLrmIQ1lC A==; IronPort-SDR: bG86HA0kGMCUY37hKoIbbSmqddPC0E0x2JAU8t99R4NvtcmipZrWJXn8zyjEdkETHh3WwSB485 F+yYLIi9HaXRPci4+XRdlIm3es1ytoKN762/r4QUQcT6oeeM0CTIUi6Hr6wEVh34v7lfnpPlb2 Ft/Dc3pSLmOmQQLi2e5OTOjgZ1Kb4L+bmUJZG4t/0J/yWj7jqp/EQ/M4546dqpqgNWDp5keDBX pl0jWs0UAXXRxHN4BD/jTH6nDLnPzzH/+blvIf90OUJsec/A+a95clxs7rA7+rypy6GCuGJJ1T CKg= X-IronPort-AV: E=Sophos;i="5.81,205,1610434800"; d="scan'208";a="116583080" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 25 Feb 2021 02:50:22 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Thu, 25 Feb 2021 02:50:22 -0700 Received: from mchp-dev-shegelun.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Thu, 25 Feb 2021 02:50:20 -0700 From: Steen Hegelund To: Philipp Zabel , Rob Herring Subject: [PATCH v6 3/3] arm64: dts: reset: add microchip sparx5 switch reset driver Date: Thu, 25 Feb 2021 10:50:05 +0100 Message-ID: <20210225095005.1510846-4-steen.hegelund@microchip.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210225095005.1510846-1-steen.hegelund@microchip.com> References: <20210225095005.1510846-1-steen.hegelund@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210225_045025_155984_E2BDB8AB X-CRM114-Status: GOOD ( 11.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Alexandre Belloni , devicetree@vger.kernel.org, Steen Hegelund , linux-kernel@vger.kernel.org, Microchip Linux Driver Support , Gregory Clement , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This provides reset driver support for the Microchip Sparx5 PCB134 and PCB135 reference boards. Signed-off-by: Steen Hegelund --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi index 380281f312d8..dc3ada5cf9fc 100644 --- a/arch/arm64/boot/dts/microchip/sparx5.dtsi +++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi @@ -132,9 +132,12 @@ mux: mux-controller { }; }; - reset@611010008 { - compatible = "microchip,sparx5-chip-reset"; + reset: reset-controller@611010008 { + compatible = "microchip,sparx5-switch-reset"; reg = <0x6 0x11010008 0x4>; + reg-names = "gcb"; + #reset-cells = <1>; + cpu-syscon = <&cpu_ctrl>; }; uart0: serial@600100000 {