From patchwork Sat May 5 08:29:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10382039 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8573760236 for ; Sat, 5 May 2018 08:36:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7498C294A0 for ; Sat, 5 May 2018 08:36:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 68A5B29581; Sat, 5 May 2018 08:36:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C3F00294A0 for ; Sat, 5 May 2018 08:36:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=R47U6+oX55G9gpr3a0Byx5x03kaTRZKf/h3MS6r2WyI=; b=QtARYiQN/q5qWl JNA3g/Tx9qzn2BXQx2ygkKJHxZbjeMGNkf6+VDImSZtKMkSBGs5OIJAQohgmSQAHPAPyTLObO7ELJ azCKE5zpeH7krdtPLI+1DkpW1iU4fTJmPJa6LuBvMzpfakC32WK+disLN2T0I/3sHXGNOOnaqrwN7 K0E1h9fOStcgY1VfYx8XXd/exZDVqICkcEt/ayvyxhwclUhHhK+q/366KxTH25uqD01Z6pdh45DdF KDa4bTpBV+o48A7fYB9x85lkEx647RNblcjVAIRuCXVUpsEYAaOKBYXuGAIemilCnrcOGrepKuljX m+FaZHOGDzK2gmFSoFNg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEsgN-00044T-CL; Sat, 05 May 2018 08:36:43 +0000 Received: from mail-he1eur01on0044.outbound.protection.outlook.com ([104.47.0.44] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEsd9-0001OW-Tp for linux-arm-kernel@lists.infradead.org; Sat, 05 May 2018 08:33:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6Lvp3w0Kd6buDlqLy3obT2TKV5F/f3Ksn8X0r7KoYyg=; b=fX/DTzBygXYyLqL0mkl8eyMjZjY6FnJN9ElHO5TzH+jJJ3DKkhW/PTPKWWqh8ivIi7/gUMnEnxRAOygKeZB5tE6ESHlF1Q/LU52n9CbZH11ffy4ng1rATahYna6GUY+7wbMGNEYY5+Ijb5uyTvQeoxSNfhXBZY0EwFl6vFQ/DtI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by AM3PR04MB1315.eurprd04.prod.outlook.com (2a01:111:e400:586e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.735.16; Sat, 5 May 2018 08:33:12 +0000 From: Anson Huang To: shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, haibo.chen@freescale.com, fugang.duan@nxp.com, aisheng.dong@nxp.com, yibin.gong@nxp.com Subject: [PATCH V6 5/7] ARM: dts: imx6sx-sabreauto: add wdog external reset Date: Sat, 5 May 2018 16:29:21 +0800 Message-Id: <1525508963-7986-5-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525508963-7986-1-git-send-email-Anson.Huang@nxp.com> References: <1525508963-7986-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: TY1PR01CA0199.jpnprd01.prod.outlook.com (2603:1096:403::29) To AM3PR04MB1315.eurprd04.prod.outlook.com (2a01:111:e400:586e::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM3PR04MB1315; X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1315; 3:ZG9sQ7eVmJ66yTuUoRlSo2nks6HPEuRb8o11nFr7I94i8VO2dNs/OCwW0HCHTwKjCJP8wNFaxHD+U1zCgvHUg/O63zlFifLYwweKzUVAnM2U/iYBPa0aVJAmFUblNhSc8ekbcrYBRvTlRptHgEVdrGOBSngqHh/8UxWPImM0VIneP8yYT4/m4JY3VVe3PEf9BvsdLZRG/I9h5zRj8D6/HHEg1kRmm6WFcav6ZVkgF0gf2sxc0LqofWOc08ss6D8k; 25:2680IAGoI/sy3I9mjd8cDi+fzLD2Y01AH3boxYuSeRSGwKbSQ2Vchmol3HYFDKm1AV9FEsTYB6xEDwVujdCXcbKZuaM0qooshNuOf/g45lpSXAvYq+y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FYguKv/hq2iBp2PgIuofwu2NKG6/V6gQuGCCAJbv3ztdDDA4JXsBKJguHCfFjaqWMrNzKN7KBwLYj6/sTAIjtcDS29IEfgi458IXe866wnk52Q2u8/VNetWOWhtjpBvP24wCLQqI6t/AO4mTM/55YqGfTtTdlNixVlctZOL/5daXWESO7n+xsrAcf9So5e1Geq4/aHflSFaKAxJTinK8Z6sKT58Xy/UBNBgPD3S+oXqrTWnPri1u5t2kt2QGCDDKGLzcWqAoCwxmZAE9RVqMDpDTKq8j7Sm481b5v10vAl0b+Tf0T8WTZyr X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:AM3PR04MB1315; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB1315; X-Forefront-PRVS: 0663390E1B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(346002)(39860400002)(396003)(39380400002)(376002)(199004)(189003)(6666003)(53936002)(81156014)(68736007)(6636002)(7736002)(50226002)(4326008)(6116002)(16586007)(6512007)(3846002)(8936002)(186003)(86362001)(97736004)(8676002)(25786009)(16526019)(66066001)(50466002)(52116002)(51416003)(478600001)(106356001)(105586002)(26005)(956004)(76176011)(305945005)(47776003)(386003)(2616005)(5660300001)(316002)(81166006)(48376002)(446003)(6486002)(6506007)(476003)(2906002)(11346002)(36756003)(486006)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB1315; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X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WoPwskACSyIVhRpddjBxPt+Bxa3MsNHCbBoWIXy9O4PcYt4KOiCAuI/d+QdIUX6kGdLUnosUPmyGKqcZ2kPZ3Z8BvEDnPnLe1k7zDqQ7jMFmYwor3r2iKeTtCA==; 5:Ov2KCV9g//itaKvywYiJSY2xmE4Fj8CSv+uzjMooENG9Ypy7NKJVn1fUDElTYjsxT2OW3IRtV+pq4waH6TOu7UHfcdg8yRKOQN6DHqg6AUvaYjbQH2bc9SDbW6I4Lo9Kv/KXKbG3S5A/qfynoF3LOC9DUmRc37eChYdtrixJPT8=; 24:+ID7rXtP1JefEpNSTmLC7LC25Tu0m8+9TXPRLei9SMu8JELZ552FPGVhhBo3XIZk/hy8edF1zaldUojamqZxH9AYiugMjMDvUlj0dAUMrgU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1315; 7:1Ro4aeQuhMWeNMNxadPJ93EBrrpJJ4owoiOZfj1YdOeY5ie1l7NKdGjfu9rKRk55/+wfX9Y/+/GUSfzVzwarXvDaKlTR8Xx0u0GLpehRAPNtvKG4re/znXs83FqIViRLwOaIjSZk2iZuaBqKcnjS8qFEI591psx3hZJQVC6LweHYY1WA2kktMN9+GF1yBt0O1jxK4Ky4TsBxgi4wUlDKJJX54UBq3fZn3HNzMrNeJwzZRk6w25hCoA0I+jHTYCEj X-MS-Office365-Filtering-Correlation-Id: bb3022a1-54cb-404e-32f8-08d5b262d9e3 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2018 08:33:12.6747 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bb3022a1-54cb-404e-32f8-08d5b262d9e3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB1315 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180505_013324_012384_2B1F0AE1 X-CRM114-Status: GOOD ( 11.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP i.MX6SX Sabre Auto board has GPIO1_IO13 pin can be MUXed as WDOG output to reset PMIC, add this function support. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6sx-sabreauto.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index 7dda741..13de77b 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -232,6 +232,12 @@ MX6SX_PAD_KEY_COL1__GPIO2_IO_11 0x17059 >; }; + + pinctrl_wdog: wdoggrp { + fsl,pins = < + MX6SX_PAD_GPIO1_IO13__WDOG1_WDOG_ANY 0x30b0 + >; + }; }; &i2c2 { @@ -370,3 +376,9 @@ #gpio-cells = <2>; }; }; + +&wdog1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdog>; + fsl,ext-reset-output; +};