From patchwork Wed Mar 3 08:11:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steen Hegelund X-Patchwork-Id: 12114007 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 CF145C433E0 for ; Wed, 3 Mar 2021 18:15:59 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 4D93F64E6F for ; Wed, 3 Mar 2021 18:15:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D93F64E6F 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: 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=HM5HxBSE2PaiAUtG3w6McjB4K61fFn9psAVlJg7I5+A=; b=HJ3KnZQElNh5dhthTZAcQ/rsz zkHnQAdUB/8pXK9Fc+rCj/YrUDwKVJT6whS6l6xRE8UZGFZ9dIXuq8cWnoPO7rSvSyP6m0i/uSrRf lmXKfPlXODwsYcr71H2MjPn8a1j8PwFrWkPELHVXKKVqfCH6emA05t/jQwwQGTzVt5p4VMfAVvF4B oXuJnp7o0VR41Qk+y8spmAUgonAw50CgiIyyy/KJ0YaPdbQk26B4BZBtCY4rzxEa3qevWRcTd0JGW pp+pitTbezJ5On9+0GPZBXSseX8/g0Lum3/rKZ39LJr3Ct85ZX9v+yAqmouojKAqET8sy2wbLnHiM 8JA0lfNJQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHW0X-005yJk-1M; Wed, 03 Mar 2021 18:14:01 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHSzA-005GdN-Fi for linux-arm-kernel@desiato.infradead.org; Wed, 03 Mar 2021 15:00:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=uvCBjb4JnRrggLSrUcBVcHRnbkKXJFQwimEL9xtxzpg=; b=W5u4n4QAlmzSyW3jf5Gh1kNSqP xaunnzJHALV9ttNDUuygLX03ZgWGPJ4mALBjC7FCgyJupojgQKX5GIT0wUzsmelG7j1Jti7cgF6KY sYy2t1ky2u4WArF+ZsLjeBiBpobhI3LTRtkuJHvuSuBTsgFSqf2jp7GZqCn81pAF126/XRf2kD6O5 ItmgReiJxdrvwSm8wlpntsvFNgVcTFJTDlM6T9XlgeMWM8HxzvImFqLGUO2WHUQxcq9ZEpVCVfrfJ WxY6mIw1F4y7AyqhIXKleX0lgEsTYdg1VFBmm1x7ZT4f+8m0brvKhd8aiyj3YNMFObGxGaDoP9Bm7 sktHlqEg==; Received: from esa.microchip.iphmx.com ([68.232.154.123]) by casper.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHMdF-001npT-Fo for linux-arm-kernel@lists.infradead.org; Wed, 03 Mar 2021 08:13:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1614759201; x=1646295201; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3l9hEFDNzDkUJtdNsrVkuF+4J4G7EYWCBVDB3gq68X4=; b=qGCbPXoCpFFXT15R+HhffCtv9WXN7C+VLtFVHHI9RGONCU4z7oWQAqRl tmleZOeBtwPDHWAkA4ZUftPjesojcTp374Eh1t1gBz8jNdDA2fUruq4n6 ty1L6ypGV5zd4LQGNsqgdGtHgDNZMRDUwT5E9wCoQzYhG7zr8WrSIrNGP mV/cZUxSCnXpbcyFLr0oCuz9Aql4bTHoNTT2vJERqzZYOJh1JRHSbQfSN Z+wfhet0TVndkZEnzJk7kV4IIv1ZTgpnLpxMfno1Y9A0xY1vgbSSNMlbS uP6+6H0eGhm0qiPRnQG5hFjusKJpBXhPFwzBz++7CvN6lfqYqTZlgymXs Q==; IronPort-SDR: iQYPVk9xanB4c2FbaocUi4c0evwkRflxIIbwFUGG3x8vCutk3HBetl/04nyQsAq1nECXADDnMJ P1AZc3bpYrD3duRhqIQ4E/MXFfL9Fnfaan4y1ApLRHk2jFNK6JF5Rfqgs/q3NBsBpQ/NAo52Bl fudmfx00yMLctWBqylaBeMHV/UfxqCeS2LJmmQSUMo8auf2hrpwXTmDTCFn1bcfdTZ4cSekYHs Oru8RtxWgLB9GDohnzmcrVYANBGomEEDgiZUOFdLcoChJV8xy2xbEjlEXuUVdlhfkHfdK9ew6N k2E= X-IronPort-AV: E=Sophos;i="5.81,219,1610434800"; d="scan'208";a="105779114" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 03 Mar 2021 01:12:14 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 3 Mar 2021 01:12:11 -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.2176.2 via Frontend Transport; Wed, 3 Mar 2021 01:12:09 -0700 From: Steen Hegelund To: Philipp Zabel , Rob Herring CC: Steen Hegelund , Andrew Lunn , Microchip Linux Driver Support , Alexandre Belloni , Gregory Clement , , , Subject: [PATCH v7 3/3] arm64: dts: reset: add microchip sparx5 switch reset driver Date: Wed, 3 Mar 2021 09:11:58 +0100 Message-ID: <20210303081158.684532-4-steen.hegelund@microchip.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210303081158.684532-1-steen.hegelund@microchip.com> References: <20210303081158.684532-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-20210303_081322_276297_921084E6 X-CRM114-Status: GOOD ( 10.35 ) 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: , 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 Reviewed-by: Alexandre Belloni --- 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 {