Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3780222imw; Mon, 18 Jul 2022 14:29:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tikvk3kThO+odtvIloWvUQVCP7yZHc077yx9oa4Vn4ckSyI1oBvVhZnt/OYCj/7Ok8R4OC X-Received: by 2002:a05:6a00:230a:b0:52a:d0e8:c936 with SMTP id h10-20020a056a00230a00b0052ad0e8c936mr30783646pfh.67.1658179767241; Mon, 18 Jul 2022 14:29:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658179767; cv=none; d=google.com; s=arc-20160816; b=f4s+jG1o2Nm1uB76DXSHk5quvNfyLbc13n65f2or1aB7Uf33Jl8aoF1w6yis7nmvvR j7UkeeWWURv4qien1Ja0XG1ws5D7cgrvykjXMfdFxy6N8xQRRX7PRhjCKOppOcTS1n5G 8tMCzj8PKPYhQ5rraU7Bt2WaZqByvIlz9EjBvuitPYgH8TW/v1B4fsWSBIjgOU2w8tlt R8FErNAr4MdP5JHVKu28FYcBbWHATY5WD7pG8jYq5Y1C4RRVCRr5lzaRD9T9LK3VsLBR IHOzlF67sSD5E589invXVNftz1KkcN+Yl7jUdSuBkLL+49H/S6wpeSmcEzHbxIwGO7/y BVAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WMNFp9zNgE8RuRhLKWcqEmpyEJfS4H409NgMNkkce04=; b=ziKx+CIUz6MlzyaxMaoGZyY6xJVizOYn4ymEtbDZEvsau2Vfy2D8sfaOSQ/WlGC9N8 WbacBj1s434/VxrxqC58dPjBt7EOyZR2xm1Ms33cM9JuM7+mmh5BQ6vHS+2T8/75yY5S v2t2J5mZxBNC0TWi3OMx3OvclhaNF+CKvFfYmaJmAZyPZanIeomyBMvoPlz7Ty2JIcLh L/UZI59+skX+ezl7P9GPu04V8x9kRrosAcC8sUiziDfl9AUf+jhffGmhxCNtNhlCaOfy PKW32prcHCNpjPfUI31fI8P67Z0KLougxfaCuSGvh082JASPoJ9w50A77HFG4YuX1OK8 z90Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=qS+NJsEs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a1-20020a63cd41000000b00412943dfd8fsi16629281pgj.221.2022.07.18.14.29.12; Mon, 18 Jul 2022 14:29:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=qS+NJsEs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234723AbiGRV0X (ORCPT + 99 others); Mon, 18 Jul 2022 17:26:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233600AbiGRV0V (ORCPT ); Mon, 18 Jul 2022 17:26:21 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57CB12FFC2; Mon, 18 Jul 2022 14:26:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1658179581; x=1689715581; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yTMxPZT11uI8z3/idJoE8G2YYGC0jI6IgeTomr6k1+k=; b=qS+NJsEsL9wXAy1fznFFqnNZwBPGw0PJ3+ckwnJviUO8eq7PyrnL35B4 68QfBaXeblqmL76cz6bzkUkjXQgqRVmUgZYa+M/cF4GOxc6OQQCdz4w9w A9y3xYdAuFpdD/qITH26PdE118OcLqOnN4FJQwFWf/ocOEYjgY6xtXt2O V5UcdF/BpvPIf+DcOEEIrWOLdi5u7O6/mmmnYKimt2C7rAobMLzqYw5PI Uie7f+TOBb6/N4zLuCdZ2p1xhQIFHuPekDcYhW6/Ve3e/SPjUpRJvBK7/ R+eCFhlm9XRqX7SPa9W/mJ5uThBKnDGu724yp0O2rwtF9Xo/ZEUQfMlXP g==; X-IronPort-AV: E=Sophos;i="5.92,282,1650956400"; d="scan'208";a="168397639" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Jul 2022 14:26:20 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.2375.17; Mon, 18 Jul 2022 14:26:09 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Mon, 18 Jul 2022 14:26:07 -0700 From: Horatiu Vultur To: , CC: , , , , , , "Horatiu Vultur" Subject: [PATCH 1/3] ARM: dts: lan966x: Add gpio-restart Date: Mon, 18 Jul 2022 23:29:19 +0200 Message-ID: <20220718212921.1506984-2-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220718212921.1506984-1-horatiu.vultur@microchip.com> References: <20220718212921.1506984-1-horatiu.vultur@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pcb8291 can be rebooted by toggling the GPIO 56. Therefore enable this in DT. Signed-off-by: Horatiu Vultur --- arch/arm/boot/dts/lan966x-pcb8291.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/lan966x-pcb8291.dts b/arch/arm/boot/dts/lan966x-pcb8291.dts index d56d2054c38d..02fbf7371a8d 100644 --- a/arch/arm/boot/dts/lan966x-pcb8291.dts +++ b/arch/arm/boot/dts/lan966x-pcb8291.dts @@ -16,6 +16,12 @@ chosen { aliases { serial0 = &usart3; }; + + gpio-restart { + compatible = "gpio-restart"; + gpios = <&gpio 56 GPIO_ACTIVE_LOW>; + priority = <200>; + }; }; &gpio { -- 2.33.0