From patchwork Sat May 5 08:29:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10382041 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 A02EF60236 for ; Sat, 5 May 2018 08:37:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E69329455 for ; Sat, 5 May 2018 08:37:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8314529581; Sat, 5 May 2018 08:37:43 +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 BF39F29455 for ; Sat, 5 May 2018 08:37:42 +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=lXPrkTI97tL6wfjpMA0OWXpSSUOSsUS/4SqjfKT2hGE=; b=jIveHoyjuhIdOZ oegiZgFOxH+oIB+bj3DUOofbcEICbwSE6F2OPwW1W6zdLQXLRLF8iUNCNDdEy3f/PXDhQ8pZetab8 zUABxTHL98ERaBcQzhtubs0GGqAS7UB5l1lhRevMUqr4vjUCLhP+g9gfslKBvEF74Oq7isWJ0GWkQ Z5kXfehsZOwTe9f69Zq2zeL5rn+6fZSo5o7FMYV4o+BzaLMXMgBmobNRNQvtvsZTeUJi2bmKNDd/w ywctlmzsIUX+gnVZTSm4qIjXj3AB6qZTfXEj1gyrOBkLvsmc6QVse7tE9GisoRTVnwyt5xvYp8EI1 7YNRK20tlniZtYtSfyCQ==; 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 1fEsh9-0004PB-Pn; Sat, 05 May 2018 08:37:31 +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 1fEsdC-0001OW-7V for linux-arm-kernel@lists.infradead.org; Sat, 05 May 2018 08:33:27 +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=5+MKg/VZRAorbHkhztqa4fMirnAwPa/LKpKjWS4sJ7Q=; b=tWDfGV3Yb95IUQ4iP9Ab0108YPc+q9GTlWEARUDv07xcHIUNQqeUQh1kLrBWXvtVpB+1Re9+ASbMOjA5+1QJodmo5/IPF5K8gXvnl977D6ZNE3bvRlEUtds0JWmumhGEro+V6J1z6BLKc77OjQVhMi66N8JQLEdmTQIdWXz2yjY= 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:18 +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 6/7] ARM: dts: imx6sx-sabreauto: add debug LED support Date: Sat, 5 May 2018 16:29:22 +0800 Message-Id: <1525508963-7986-6-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:h1Nu22GWTKph+AUt1wD3YxiKrVviMmR7U/NoX7xlJ6hZzSSwy8KCLx8TAzH0RJ4h0EOLqiQSHKkVCl4dZWuuvryUzbA2Zng2V2CKLSXD0+sJQjsOY9mzYRLUjw2lFaB/0rwt9RIP6nSwD/ZD3dvmLQE91MQem87EeOooHaI2Mlo8mq2Drg9RSOxBVY4mEKJaOMMUaeMETfI2bQ1lt6cuV5/eKnpNFpH0NLgQxvU8E/SJ6XocvpvhId3V9aRqa8U4; 25:qxURWi79rUHxCUr6oM5IA7oMPuorxmCz5jtftBOSEm0JyoEtI4o4a44d2sb1GujJ+2kuboz3jpq7NF3LHA3YHHScCeMUyjkFWgRrBiZS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089ZxxeloPwdg5a3S5ZpejVyhyVmGsQnM8W1G+dTK5Y8hu2e/BzKDjboWxwjqDVgu+begZGcM8P3nGyxyvYc2NNrLUjYNoI3iASTa+Q5eCLF6ESLTVGnFUnhM59nOXpLmA5zfnfiE7F0xLejiUWRAUhc5nGU1qjLUmUPBL+bXOstglAn41gqyeihFebWEfSVIycXXETMXt94ndBIZVZxt4J8y8oIGuM8Qr6VVUqevp7mbzTOuw28K41n2mPU1KU3OvLeFJEcO82FreZe5CQIQ4fLwlpCdN1cOK+cyySf7xMBn7gqeTJqWTU/HQm 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)(575784001)(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)(473944003); 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-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM3PR04MB1315; 23:wmsJxvV1G/XkpN6W0fzFhv3fPZwz1sr6e75VFtj8Y?= =?us-ascii?Q?MrXzD4gO0F5lYQlAd0r50PRskoqPmGRLyVY3e6zZCdiwmGQIkWA3mjAlVgq1?= =?us-ascii?Q?R8jAffcL6PxaVcCPqTAH0KzWY0xKjbn/6QgpytWiSyFPPcRoDlOEwADbO0hz?= =?us-ascii?Q?x+qLuCSfn0h5M9esPU+4osuJ1n3PadpA4VrkVYZ8Jaq9EgHGEY2FsSKsIrgi?= =?us-ascii?Q?0wwJglBP1vRnS2phft47rSQbloCt3akA4wbLZRr2SVuAcCw8YaYlYWDw4f64?= =?us-ascii?Q?EhYoHXmdV7lSmSgQlpt0A74+zvLPLOZ3a/MKaMLi0AXX4bivF8uoGTDZhSQL?= =?us-ascii?Q?6TUhaRaEiS8pePVeOCRYJZN1BV/VWJyOTeWLjcgy3Lp++ffpJOTbKu+7kVWh?= =?us-ascii?Q?JzbJDc9PKNpFZLjKVHWIfSbJVyPHn/IK1YoYfHsJdeqFULrIlzc810DCB1aT?= =?us-ascii?Q?m112m/09ABobDQ+N3gi8dYfvvoWzAwFHEAlltNPn42+K1YDPFJhTPHKWc9MG?= =?us-ascii?Q?nDcnSwNonl1KjjFbRDN09f/G5wTDM2w9hRMDh9cfRMgqImO2UgRpa+cieVPU?= =?us-ascii?Q?HV/hLKMWRjKxSxOAU3xtoNyguW9g+qpuOiv7rfW2RI78cY2GYwW8JVJrw5vR?= =?us-ascii?Q?2udQXdVEDxYLcedgIapjtoohcQesO6rGVjr41IOsDrsErMV6RwJttBr39Wjv?= =?us-ascii?Q?SIYPTkArk76jskXz5FJyAiDp6rPtEYjBcgOEC0XAGAm65B+Hwe6LerzVHJkn?= =?us-ascii?Q?64RI5aXoGMX9n4RWX4IjRpE9ger59WccrbqERBBRaxuS0WgJ3wAU7GR8qw6C?= =?us-ascii?Q?7JjyGuaJphEXUJGWHHx02Qe6H/nu01Cc+wduMPn+OKlFbh9hAcTA1bSW3FF4?= =?us-ascii?Q?8E8kQffoCS2+LGX3kXHh7pqOcXnO0zQN1eOlro383q45fxWV5A8fWuBwTorU?= =?us-ascii?Q?DxkqGOZ9nSY+kwiymusLRHXOCGgYvCm/dc8xP10mx66cpzNsCp38dUldiA5a?= =?us-ascii?Q?n9QRMnQvlQEUg80EoPswerpHXtfsENmThf9pQu4ORgQfw6IotTY6ulhtCwv8?= =?us-ascii?Q?jjUKZ3GTuTe30b+dhE4qdfp2x6AIAatTYF9Qi1jIeFcTdWjfW620lBGsdaib?= =?us-ascii?Q?6sGta6SlB55q/TerBxUYGlplvPBdFMRaGQzH53/DM0Q1Es/IuD2wrvcINK9M?= =?us-ascii?Q?dH/UOkrVcVLF0K5KHHuv1LDCbqpEdvGHm38BhofeQtOACKZ3Q6NqgWAunnIZ?= =?us-ascii?Q?FIEvop7x4Y0gq64cRA=3D?= X-Microsoft-Antispam-Message-Info: MoQ9ahHIxIkuGAeOXplK42gGTXal131EVtfiGIHaoAo8P4lTqW69t4pMsZwt2Qrn94PFGu5n5h7/Mp4Vpg1PV46B0oEMeX1Hr/kizKb+XRGlZA8RgGp/JQKZRJuSXqW9AyxzfwAonN+r0UN53RMwSKfxahvVRULrkMU1MSoTo5lkyokGSAhx6h35Ub0gGTfn X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1315; 6:GLlAomEsj2v3a+47j/EEYP6ObHNGx6iVIdgseqa+0sMihVWlrK3E4ARM1TE3AnmNTydb5RNJGQ4R4k2XMHly1Nb3Geb9Hr7VjFL8wZA2I1/BKEbGXBubF6lQnhlfGcMnAqBU7n9jhzeNkJ0BQzAxBx2qyEultL+SJbfCcuOuKZWm4JZTvlqAISJhs5smtLBO0AaShqPG8M+TRIl4EoLgI+BW6lsYN0VE9Z3+RL73445HAdTfaP0e4k0SULOz/zHFA8ZNYLv9ASYLAT15Oo4RrJZrAXoyinY/Ntf6HdsB5bLdIl1vicExdWPqyI3Om67gn4pEG5h0TbJhbHkPSLzK0/MU10Q44Mr6TdbgSkdKHLGdypvhjdJPgeFryF4ptX94P0Rm3mdu/gVHBYDdsv8kkDI584UUrO6gbY1FCLPcD4pUTPR4cwRUolqtrXHeASIKOI51ezi+vgxpX6cZ0R7UCg==; 5:o8e+6MdAsGlGHW2CkkjtJHjDNpcXezQk74Mr+8N+rOLRKa1WtPIhYUJ4JAzf8CBeuiBLARBeKDXmhtel0vevMwHOP54lYB97J2scd8sA/3JmqghCgl5ZK0hzuZcXOGv10NiwfWzDNfYIhyucE8IoOR/6gKM2+FdjVhTOLPjHo94=; 24:0Lt5ravBHRjbUfFgnMNVLBXLbcDfdoATwcmB3sTrO71MnTxAE2Vd2lhQX8IY2ZuTXU9Lpp0HrPkAKmwWn7H932mRcbdjD6aCBmOXK6WmJa4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB1315; 7:xRXZycGXJN+q2a8zpaK1Ap3gEgdj1vur+6yIBn4nEa/YVhk6UzSMp1ePp+mq5FV1dX+vnND0xaLfCUlJaQLC51Rf0lFDcABo4pBl2zKuZOu8CRuIBFhmiwnTvbKTmtNDMbIT3W2hfOKAP9pw09kENYdGs667FAVpxDuk48YaJPY4671wWz01uOAUWldzTVY3604Qw6AxeDLXJLUt5TcFUUuBbWqUAPjS2oF698tymnuVyLBAof0gKgUFcCRxayDS X-MS-Office365-Filtering-Correlation-Id: 094b6832-b389-4e15-ad84-08d5b262dd31 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2018 08:33:18.2222 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 094b6832-b389-4e15-ad84-08d5b262dd31 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_013326_343902_6EED7A4C X-CRM114-Status: GOOD ( 12.05 ) 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 --- 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 13de77b..1dc5b58 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"; + }; + }; + reg_fec: fec_io_supply { compatible = "regulator-gpio"; regulator-name = "1.8V_1.5V_FEC"; @@ -160,6 +172,12 @@ >; }; + pinctrl_led: ledgrp { + fsl,pins = < + MX6SX_PAD_CSI_PIXCLK__GPIO1_IO_24 0x17059 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6SX_PAD_GPIO1_IO04__UART1_TX 0x1b0b1