From patchwork Wed Jan 13 20:19:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steen Hegelund X-Patchwork-Id: 12017791 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=-17.0 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 CD635C433DB for ; Wed, 13 Jan 2021 20:21:36 +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 752332251F for ; Wed, 13 Jan 2021 20:21:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 752332251F 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=AhpSAYuDB81zJfn/aeklG+ZzZnhF85jl8UuaHwh7eW8=; b=fMr/hVxe5Hih7G42mK4ZgyCd/ oaeIxoab5JFplPJN6L7dmy0gT41ycmY9rB8V2NHPI+PyDVlnCJObLwuIVIYviQxqpYVaLWR437iXq EtxdJ2iAaT8lLj8V1nukuDv2A4WM7h7wq6xi0J1/8tCvBsrt2+4VsS+Ep/ypwI6IqcIGdNb0pywvQ agFjP7jLfcy/NVe7j/GamEHUoGMmSvOC+ixlrwIabR0akTRfDxO9MUi3s3F4UTaqwf/7dRJ+jnVpO n0kw/iVrKTFJst9UZ7ov4ol0ff41t58k+MPEp+d/oeYFssxOTboGCOV1GTRa3xuZ3mGHkGaecaGJh x4dbsW53w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzmcN-0003zJ-4t; Wed, 13 Jan 2021 20:19:47 +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 1kzmcC-0003xT-9h for linux-arm-kernel@lists.infradead.org; Wed, 13 Jan 2021 20:19:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1610569176; x=1642105176; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=iidB/SH6YvMVxsRVtLw+6IrKQ/PkSr13r9FBSRtqThk=; b=RSpHsEM+OAWY5wu6IPTYwuVPqV1dRAFuhBM3oomSiyYvkACTzjX285/t y6kvSAyrzn0ngajZ76WDDE6A902JUXkTh6+w2SC+kXBGj+dKyFzDuk/wr 8XiPZD64MDcr9wNB6vOEV7L6GJ9AcZVtugW/d6yPB2u2JhnjnwOgrnCIk S4CIgSho7w14TYbnqf7zEOVxs+geOsJ5ldlSfH0GcKS13+ilPvJoSgwI5 zvQBmQQlVXzaxsjX1SfhJ6OnsQRazysmfvqkN9p9GB80QmZmqvIA90pqn XHvNsDS3W+SN1JR24oeh6x2MB+pMOqn9UilCcsV/JHeGNI9EQrCVsyT7o g==; IronPort-SDR: se4KIWRlK6R8G9HokD2o13mfrgxpEJhmpqV1JrHIOeW4YAFlGv8wsIOfXRrv8ngXME3kpE+rvw gseVaBICIACVrWEkV5NAVLjg+vmJJ+LO8RLAK8qVczO7qWihW1N0owZCyXuoD9fHMN43WdFlFS VMo92ag4z6DSG8+Ce1+65SrEfjSYtzMPn9ek+bEepScO1vf0MxBKdyNYOK5W0UKC9zJ1A61ETh DXIEyHhuUg9kjJnOEcf8682EKTJs2bDrn4ZPEw+NhmSqcQaVd1iD0sfjhozLQwgUfbJ1Zcgd31 ky8= X-IronPort-AV: E=Sophos;i="5.79,345,1602572400"; d="scan'208";a="105886843" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Jan 2021 13:19:35 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Wed, 13 Jan 2021 13:19:34 -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; Wed, 13 Jan 2021 13:19:32 -0700 From: Steen Hegelund To: Philipp Zabel , Rob Herring Subject: [PATCH 3/3] arm64: dts: reset: add microchip sparx5 switch reset driver Date: Wed, 13 Jan 2021 21:19:15 +0100 Message-ID: <20210113201915.2734205-4-steen.hegelund@microchip.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210113201915.2734205-1-steen.hegelund@microchip.com> References: <20210113201915.2734205-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-20210113_151936_524414_04CDCD68 X-CRM114-Status: GOOD ( 10.27 ) 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: devicetree@vger.kernel.org, Alexandre Belloni , 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 Signed-off-by: Steen Hegelund --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi index 380281f312d8..6f0a21c362e3 100644 --- a/arch/arm64/boot/dts/microchip/sparx5.dtsi +++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi @@ -132,9 +132,16 @@ mux: mux-controller { }; }; - reset@611010008 { - compatible = "microchip,sparx5-chip-reset"; - reg = <0x6 0x11010008 0x4>; + gcb_ctrl: syscon@611010000 { + compatible = "microchip,sparx5-gcb-syscon", "syscon"; + reg = <0x6 0x11010000 0x10000>; + }; + + reset: reset-controller@0 { + compatible = "microchip,sparx5-switch-reset"; + reg = <0x6 0x0 0x0>; + #reset-cells = <1>; + syscons = <&cpu_ctrl>,<&gcb_ctrl>; }; uart0: serial@600100000 {