From patchwork Fri Nov 18 00:15:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 21995 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp707734wrr; Thu, 17 Nov 2022 16:53:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf4jXvmsQZn5riDfh3j/sVrY1w4FKLvVkt8vGE5xRcC1pI0UAt8PkzGGH+1VYca2nkz2yM9P X-Received: by 2002:a17:902:6943:b0:186:8568:be82 with SMTP id k3-20020a170902694300b001868568be82mr5299514plt.110.1668732787706; Thu, 17 Nov 2022 16:53:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668732787; cv=none; d=google.com; s=arc-20160816; b=taW8juVW+xVrrvgaENBx/PJfXVznY+XvE2JbDuFgm0oIOIW0OOmnY2KaBECjGdA06Z IEZTyUlquqzy7nUGVnMSp1jvzs1LVXew/03Okityll1TuYzMhM3lFGqgqUdHI6dslZK6 8DHbrCYG5wILMHCEHduJ0sTuhcj6T4TWwOYLOFg8u66qF4u15pmf6plIQ83CNjJS36sB L+QdA9zogiRQEEQk3sAXOT7b4qvwF2B8K96RMziFcsP3OnbgufIiLvr7dtP2odp3Gw2R zEZsdCG7FAIuty1bnrS5QWKMlH0r9iXay7zIYu/cqrqzEjonUqu7lQR4Rc5aHt8rIlQs EkhA== 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; bh=bjAgKTJ8Niv0UxtYEvBgy3ePxlEVoIN++6Sz2ef2Dz4=; b=J28LBqWUSxNgBj1q/zO5TolyWAWAcbnMI50yhsetHHHxXVZa77RXihMVZHjfC9fL1v gnag3+bO5PLB2hzhBwtrl5cUo7Phe+p3fDxNvwpHZe8Ay6AP4ufKzUldh0n/ZDuck40D BHh3+EV3SALKxlxhzYpdW8ZzAhMQhV8sbR0l6hf0f5AKLTRlgcN38A9Bhl5B4CzlZWUN vQ8dbrXV1yNV86DitPhJJ+Awts2u08vzu9p17cJGK37WqSpjO8GYcbq9DDhn6ci6sjP0 yRWPAuip+XPqShkSngalPIXKDONvoevGe9o2YecIsT5bygaxG/B1jiuxiEltywAiJM8O Dqbg== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b17-20020a17090a991100b0020a8db1da7bsi1877655pjp.170.2022.11.17.16.52.53; Thu, 17 Nov 2022 16:53:07 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240594AbiKRAoO (ORCPT + 99 others); Thu, 17 Nov 2022 19:44:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234080AbiKRAoM (ORCPT ); Thu, 17 Nov 2022 19:44:12 -0500 X-Greylist: delayed 1693 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 17 Nov 2022 16:44:11 PST Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F358248EC; Thu, 17 Nov 2022 16:44:08 -0800 (PST) Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.93) (envelope-from ) id 1ovp2v-000nxs-GZ; Fri, 18 Nov 2022 00:15:53 +0000 From: Tim Harvey To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, Andrew Lunn , Heiner Kallweit , Russell King , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Rob Herring , Krzysztof Kozlowski Cc: Tim Harvey Subject: [PATCH 3/3] arm64: dts: imx8m*-venice: add dp83867 PHY LED mode configuration Date: Thu, 17 Nov 2022 16:15:48 -0800 Message-Id: <20221118001548.635752-4-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221118001548.635752-1-tharvey@gateworks.com> References: <20221118001548.635752-1-tharvey@gateworks.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749793151382035891?= X-GMAIL-MSGID: =?utf-8?q?1749793151382035891?= Add configuration for dp83867 PHY LED mode via ti,led-modes property. Signed-off-by: Tim Harvey --- arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi | 6 ++++++ arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts | 6 ++++++ arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi index c305e325d007..bb9928153ff0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw700x.dtsi @@ -111,6 +111,12 @@ ethphy0: ethernet-phy@0 { reg = <0>; ti,rx-internal-delay = ; ti,tx-internal-delay = ; + ti,led-modes = < + DP83867_LED_SEL_LINK + DP83867_LED_SEL_LINK_1000BT + DP83867_LED_SEL_LINK_ACT + DP83867_LED_SEL_LINK + >; tx-fifo-depth = ; rx-fifo-depth = ; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts index 11481e09c75b..d7de555cf5e1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts @@ -253,6 +253,12 @@ ethphy0: ethernet-phy@0 { reg = <0>; ti,rx-internal-delay = ; ti,tx-internal-delay = ; + ti,led-modes = < + DP83867_LED_SEL_LINK + DP83867_LED_SEL_LINK_1000BT + DP83867_LED_SEL_LINK_ACT + DP83867_LED_SEL_LINK + >; tx-fifo-depth = ; rx-fifo-depth = ; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts b/arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts index 97582db71ca8..8e61966c8dd0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts @@ -248,6 +248,12 @@ ethphy0: ethernet-phy@0 { reg = <0>; ti,rx-internal-delay = ; ti,tx-internal-delay = ; + ti,led-modes = < + DP83867_LED_SEL_LINK + DP83867_LED_SEL_LINK_1000BT + DP83867_LED_SEL_LINK_ACT + DP83867_LED_SEL_LINK + >; tx-fifo-depth = ; rx-fifo-depth = ; };