From patchwork Fri Apr 27 06:58:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10367563 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 A01496038F for ; Fri, 27 Apr 2018 07:02:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E5D129217 for ; Fri, 27 Apr 2018 07:02:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 824F429231; Fri, 27 Apr 2018 07:02:59 +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 ECE2529217 for ; Fri, 27 Apr 2018 07:02:58 +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: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:In-Reply-To:References: List-Owner; bh=3yRlTNOMbkfFIl3Ocku/l1qWUo3NeJ1kP1zLMCw59Is=; b=l1VuYvHCyy2gBx QKfwny3M4LQrsBH9eNBB9sZFJniMtIEttHfrjFAxBvxxQhIkULpuSy3cmN6+ZRbXY6MbB1RgYi/t0 6GNdcIXzEePE1lfRNmoMIptIzcBK0CZaNPzXbuuNPnrHXA0qrwYJ5PVBYULx5PAIFQ3TwPtJ8iYbr K8WJ1OA0qDRLNEJxldn4SmuNiCpwQkA4CAOjJnc73DK+Z3aP6gwkETNK0IPXNGa0K94y5FPpeGDNm csTsGD1iYTAM6TPAajYq5NIoxyl3h0ibBrG8xAUQdvkvhu1eog+gdgY3E6TO+2OWwYyKoXB5/tpF1 GhXfCVjp1XZQVZTOLlwA==; 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 1fBxPD-0003jQ-Bn; Fri, 27 Apr 2018 07:02:55 +0000 Received: from mail-ve1eur01on0043.outbound.protection.outlook.com ([104.47.1.43] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBxP9-0003hd-1d for linux-arm-kernel@lists.infradead.org; Fri, 27 Apr 2018 07:02:53 +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=+FCf5TOOAak30uDZP/Dgo8KrCFFO9uiWA6aZItwCcKU=; b=IaPDyr0UiwqQpIChSwo3nKSAUQLg94pac+qJdRI9xY/JLDQiMpHj97/son+jlBpqo1gMz5GZf7a5ZPMYMXgoksYbucWg82T6Dm/bSVy+0LWVxIMlYtMKKbHML4q11x7mgnBR8YPF8KGDCSM2dBnyOGFKamh+mgjEmImttP7ZyvA= 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 VI1PR04MB1326.eurprd04.prod.outlook.com (2a01:111:e400:5187::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.15; Fri, 27 Apr 2018 07:02:29 +0000 From: Anson Huang To: shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH] ARM: dts: imx6sx-sabreauto: add debug LED support Date: Fri, 27 Apr 2018 14:58:08 +0800 Message-Id: <1524812288-799-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: TYAPR01CA0041.jpnprd01.prod.outlook.com (2603:1096:404:28::29) To VI1PR04MB1326.eurprd04.prod.outlook.com (2a01:111:e400:5187::12) 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:VI1PR04MB1326; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1326; 3:8obTLAZDv5cHZi4YjyNflj1RnNnjnVTSh0KaM74JopTNpWUFvhnxNQSFgvnckjEggC9OJSi2eaz5vbnL0LlhSSQZ1kHfCDhnAtDEUJoXzcCNCS+jGfRwbBHwVGMq4mWt0Sz4m0jKztC4XCxT5bRMOk+P7qczh2GFVbVMXiux8Vge/AdbB7kR3Uwh3mgw8vq9pbssGGYlp6r+AOqO2YUXAG14aMeI/MNQKxvP+AFXto5gVe6CTKc7WoTRc+UJd4tM; 25:5TU+OOgvKR9eU6xJcJtlbDovUnW4ims/XoW4wCmyjFX3v5cCNkikgshcYyUHjchjWFcetTrdjmh6Y1tE2nH6tAJZyjt3tN/ii6INX3Qk7/fj5+/0PdCptoK02KrBwf5mXmru8SznS3QrLq/MpPtAV9dVdeUZgZyamHaMscycdnmTgSPB9Hzeq6kMXBsWhfe8YNcaROTsB1Togr2rw50U1ekaJP5At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kS2n0OBRAc0A9OqMAlMVVVzB7Z7skLHcJ3b0+2RQwjzAYCfygDwo9ZgaK6ClY4Dkli3qJQiuLLya7ckWIq3vTpQ1MDwfhi8zNjERVF19npSvR+nOliCAXworSjrTXq/DyMVx9Qvn9iS/pgB8Od0ggOp+vNutwHAq+PSXNEFql2/vyUFYFM+ajek 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)(93006095)(93001095)(3002001)(10201501046)(3231232)(944501410)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:VI1PR04MB1326; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1326; X-Forefront-PRVS: 0655F9F006 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(346002)(376002)(366004)(39860400002)(199004)(189003)(2906002)(3846002)(51416003)(6116002)(48376002)(53936002)(486006)(6486002)(1857600001)(6512007)(47776003)(6506007)(386003)(50466002)(97736004)(186003)(50226002)(66066001)(8936002)(4326008)(86362001)(105586002)(575784001)(6666003)(106356001)(7736002)(305945005)(26005)(8676002)(16526019)(5660300001)(81166006)(81156014)(478600001)(2616005)(68736007)(476003)(36756003)(52116002)(316002)(16586007)(956004)(25786009)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1326; 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-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR04MB1326; 23:nI2+3Rb60cWd/q84TlOWxlW+uHElqu/je6LtmmJK+?= =?us-ascii?Q?Ol5SXIKRBqskvVAxkrHPUm5/4f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FS+eMT7k8STsXOFxVWslQqaV3c/sDVCOduxskndZ0K8PYOLApDzoc6mwqEPsntJICz+4SfNmuK6qWQOFFbWkMZljvfhTF0ukqlFO2Kg=; 24:60B2Czcmf5M79LOULfw12bw+91nn4cr9imJxQt/5uUxeztGbW9Hq6d7fygT/32iVUB1Pn8LP59xzCmcgPL2X96lBbLPqSRRU2uS3ynpzggg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1326; 7:yB5HSKA2wK6F3o52DeNjVSLEqKRtPbUyQF25bMW+V4+DBbdytGwVboAONpAJx4hOl/rVjDhaIWfYO1SQ37hd3JYlQGs86TJnuuCVxd7Y4MaMGQGU1X1BeMDLHll1yxU4QvaRQGbgqD8dAFevNODHgsrBkuJCHGpo2w2Vnr3LCOIH9t5SBONZkZPPqaQIG0tBrspGrjvDj4MpNZ1RbQH0dYzixPjQgxh/QCWvIHzcTIrolJBk0BfzpGYKs3YiQEc/ X-MS-Office365-Filtering-Correlation-Id: e4553905-6ff1-47ee-2a41-08d5ac0cd98d X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2018 07:02:29.1971 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e4553905-6ff1-47ee-2a41-08d5ac0cd98d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1326 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180427_000251_253048_28E0AFCF X-CRM114-Status: GOOD ( 11.52 ) 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 There is a debug LED(D11) connected to GPIO1_IO24, add support for it. Signed-off-by: Anson Huang --- this patch is based on patch series (ARM: dts: imx6sx-sabreauto: add wdog external reset support). arch/arm/boot/dts/imx6sx-sabreauto.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index eb1452c..6b94f24 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -18,6 +18,18 @@ reg = <0x80000000 0x80000000>; }; + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_led>; + + user { + label = "debug"; + gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + }; + }; + regulators { compatible = "simple-bus"; #address-cells = <1>; @@ -119,6 +131,12 @@ &iomuxc { imx6x-sabreauto { + pinctrl_led: ledgrp { + fsl,pins = < + MX6SX_PAD_CSI_PIXCLK__GPIO1_IO_24 0x17059 + >; + }; + pinctrl_enet1_1: enet1grp-1 { fsl,pins = < MX6SX_PAD_ENET1_MDIO__ENET1_MDIO 0xa0b1