Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B5A46C433EF for ; Thu, 17 Feb 2022 16:17:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 19E7D83BDF; Thu, 17 Feb 2022 17:17:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=softathome.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=softathome1.onmicrosoft.com header.i=@softathome1.onmicrosoft.com header.b="rCSpXOn2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ECBDD83A9B; Thu, 17 Feb 2022 17:17:19 +0100 (CET) Received: from FRA01-MR2-obe.outbound.protection.outlook.com (mail-mr2fra01on062e.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e19::62e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BC4F283BEF for ; Thu, 17 Feb 2022 17:17:12 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=softathome.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=philippe.reynes@softathome.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k5/kVPL2Bs/eAyxnzoPUFWdrHVFYUHFbLAwNDHBZeq4CZxBd1GifgbsoxpyrOix2hRSiDWAtSVgQYyTEyrAW3S5hVq7A8R0sOrOORTOkuE4sTYXrUozeL4qUiQIB07FcYVnQbUQxWFKG2/rykttn6IW2VQfm6DbVBfMC4yB8UqmNG/UFtG870zk85oyIDTycEZlASaqZeq5s/Xgbdt9zAXxeD31mWrunUxXFjJuXRdtiDTFDZmkxpIT2WKoQRT1pCArdwquCYo1FJsdqiq+kc7voFSEKdI+iZ0Jdw5TpDpsA1nGPf+t7hR25I+e9sR5lCQceDuKHV9hW9L2/wqafnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BWTJjynk//sl67VaQyJ1vCQfNfCBpfyCZkPrefKmUuA=; b=Dyr29G10voHhN0CiBzGigiN8C1O4vUklRTdNfGb125f/VRTt5hdY7dJxIBZhWWI+9gddT/6Xl9HvnYCAI1xq81ryKmyB1H5MCHNuCxzbaIekVm/RenFtpiDbAhjBOKDYS0+AHSetSlIVJHrJmBKdc0woreNys/B/L4IU4PkVnPRV0XwOQxxQo+o6qiAD/9ZgIybW6bOy0seC9YpbXJyvgVSNkPq8/uCpBs90+4mJ0YwylM2NBHBphyhZlHam+KiG69jzSeC6/Czh/ivVifFJ+3qdeyeABoiTsY3bbavjRlDhAKQjMYGp8J8+GRI1sRMhsSr/JlaoO/ARuEioltLEbg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.6.166.170) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=softathome.com; dmarc=bestguesspass action=none header.from=softathome.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=softathome1.onmicrosoft.com; s=selector1-softathome1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BWTJjynk//sl67VaQyJ1vCQfNfCBpfyCZkPrefKmUuA=; b=rCSpXOn2/2Okz5CYoKypSKhmRhtljPKCkbb1kg9oYjbNXpyMhcK8UeLNTaEYObpqfp8zBAxos1jfFBUbTfxuJmE4OdTE8AVtbUE+O5q6PapPzcy7MOk2I4EZ/KtoxPILu7WWbNPP2B07Wqm5zgFBC3EnoZsFmubjcpIpWgCuXRLuu9aEhRsH7xsTV3STnzgpcgCsp6Yu5mwKrQuNMX+G4gQj/tlR/wULn7JzVMMGpW3UMcHmN0HAm2QPU7inkXtu/a/4CXdoRNGOCiQE3denjGpI7ns9NOCDMvCzAmzwFvxlIa+ifU9uPoIaD1XY6c4VUTL1aFdDpnDdNaWFe9LdsQ== Received: from MR2P264CA0039.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500::27) by PR0P264MB2407.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1e2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Thu, 17 Feb 2022 16:17:11 +0000 Received: from MR2FRA01FT012.eop-fra01.prod.protection.outlook.com (2603:10a6:500:0:cafe::de) by MR2P264CA0039.outlook.office365.com (2603:10a6:500::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.15 via Frontend Transport; Thu, 17 Feb 2022 16:17:11 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.6.166.170) smtp.mailfrom=softathome.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=softathome.com; Received-SPF: Pass (protection.outlook.com: domain of softathome.com designates 149.6.166.170 as permitted sender) receiver=protection.outlook.com; client-ip=149.6.166.170; helo=proxy.softathome.com; Received: from proxy.softathome.com (149.6.166.170) by MR2FRA01FT012.mail.protection.outlook.com (10.152.50.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11 via Frontend Transport; Thu, 17 Feb 2022 16:17:10 +0000 Received: from sah1lpt571.softathome.com (unknown [192.168.75.67]) by proxy.softathome.com (Postfix) with ESMTPSA id AC8EC202BE; Thu, 17 Feb 2022 17:17:10 +0100 (CET) From: Philippe Reynes To: u-boot@lists.denx.de Cc: Philippe Reynes Subject: [PATCH 3/4] arch: arm: dts: bcm96753ref: enable led support Date: Thu, 17 Feb 2022 17:17:06 +0100 Message-Id: <20220217161707.20212-3-philippe.reynes@softathome.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220217161707.20212-1-philippe.reynes@softathome.com> References: <20220217161707.20212-1-philippe.reynes@softathome.com> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: ba90ff80-8acc-46be-70a8-08d9f230f3ac X-MS-TrafficTypeDiagnostic: PR0P264MB2407:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3276; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +BW5AaedwWkA8OOKE5Ef8lFa0JH9ckpwJvbbOIA5Vt9Z+9g4Pm6nd6byy2kms0dQBU4Wlfpex5ymdkcgXT2VcyYIuID8Yzu7eZVdRzEJB9cxEWNOnZExrcmOrWpDZ1q39UkF8IV1sgFNJakE4TK8GkPqhyIzF6Y6NJ/w1QsTLje6/7fh2ZXeKFMQIVEMJJYt6mSvEGxwmg6rz2bNAxetYTbTxgYKBmt9smEBix+sox4LeLI1QrRu8Mqg7DnAdxVdfgv3lYBYc83a40DG3eoIwDLeIyenUZJ9mrcOAxsU4wQtD6PT+4Rsmwai+viODkJdAwyaO2GNufJTbDKqcIXqSBIFBnh0GpwHzbx1RA7d+4B25Z52B3i/tPiAtbBqz71mmUyFN+JJuzirxVVgAph4JxLf68/cfD/V9VQoUDU1PCmZAarXne4BK8j9En60MMHAKmlFVdUfKYtVIXDzPRRjqcZ0xG4qs2nNBav0XM1vqxhQOj5TnTS5FkQFk4tlbOmU56XyFiFPLo00dW4ERnYHxga0yargkh8JVbFP8QrI1brForAhO4xxSCZAZ6XqUb3g7idssNXpfkEKgpt70B4wDl6EbfUeldOU9JxkHcaGqwCsj82PnvlQUfSHWIuTXRBtp6DHLNtd10Cc6QkuQMmgVJELG8cctdq0t6+8iEqcLripGxEc9gireQBop6kR9LPqEc443WlVkIgZWT+sQ0xq8A== X-Forefront-Antispam-Report: CIP:149.6.166.170; CTRY:FR; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:proxy.softathome.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230001)(4636009)(40470700004)(36840700001)(46966006)(70586007)(70206006)(6916009)(6966003)(86362001)(316002)(47076005)(6666004)(508600001)(81166007)(4326008)(356005)(8676002)(7696005)(36756003)(82310400004)(2906002)(82960400001)(40460700003)(5660300002)(44832011)(4744005)(8936002)(26005)(336012)(426003)(186003)(36860700001)(107886003)(6266002)(2616005)(1076003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: softathome.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2022 16:17:10.9371 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ba90ff80-8acc-46be-70a8-08d9f230f3ac X-MS-Exchange-CrossTenant-Id: aa10e044-e405-4c10-8353-36b4d0cce511 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=aa10e044-e405-4c10-8353-36b4d0cce511; Ip=[149.6.166.170]; Helo=[proxy.softathome.com] X-MS-Exchange-CrossTenant-AuthSource: MR2FRA01FT012.eop-fra01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR0P264MB2407 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Enable the led in the device tree of the refboard bcm96753ref. It also defines two leds (led_red ad led_green). Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm96753ref.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/dts/bcm96753ref.dts b/arch/arm/dts/bcm96753ref.dts index e27a5b552f..ca15ca5f10 100644 --- a/arch/arm/dts/bcm96753ref.dts +++ b/arch/arm/dts/bcm96753ref.dts @@ -78,3 +78,21 @@ brcm,nand-oob-sector-size = <16>; }; }; + +&leds { + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + brcm,serial-led-en-pol; + brcm,serial-led-data-ppol; + + led@0 { + reg = <0>; + label = "led_red"; + }; + + led@1 { + reg = <1>; + label = "led_green"; + }; +}; -- 2.17.1