From patchwork Sat Sep 1 19:29:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10584887 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E14A6112B for ; Sat, 1 Sep 2018 19:31:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6C232A09F for ; Sat, 1 Sep 2018 19:31:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA4E42A0AA; Sat, 1 Sep 2018 19:31:10 +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=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 5FEAE2A09F for ; Sat, 1 Sep 2018 19:31:10 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=p7pQ084ab5B6VomEi1H64pNTGmIkBFO1rnQeDuusuXQ=; b=DB6 ooOorQA09x4qQ8HyQwQkU96CDCjtb46uTjFLP94bnnUo6/tEHNQS3oOAPp+hbUrGdLF7T1yEELKXd 0Em6eAy35S1SgyujE1B3PjF7CB5aSkQG5ybU4rjku05anhZqAHP/SK6Jvh/PkwwzSWwqlINzUtPJ7 ZUb8AXD0nCXw5PJzTXQb47znX36zc3BBxOX1qJCaeRnQcSZAw7RhuJ/plZ2sQI00SivLl2ldRD9X7 wWSH7zLYRU2v2bogNum2xy00ZqOSUlevcWC9jKQp1YgucvLnGoJ0QsrwcYlV2nIadQnkJ2+opu0eB 2bN90pgM2Kmlrm1oB9z/bS+aY5AWnFQ==; 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 1fwBbu-0007R1-UU; Sat, 01 Sep 2018 19:31:06 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fwBbr-0007QC-Tf; Sat, 01 Sep 2018 19:31:05 +0000 Received: from localhost.localdomain ([37.4.249.97]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.167]) with ESMTPSA (Nemesis) id 0Mah5x-1gBmdy0XiT-00K6jh; Sat, 01 Sep 2018 21:30:39 +0200 From: Stefan Wahren To: Florian Fainelli Subject: [PATCH] ARM: dts: bcm283x-rpi-lan7515: Enable Ethernet LEDs Date: Sat, 1 Sep 2018 21:29:41 +0200 Message-Id: <1535830181-17254-1-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K1:gQd8sngX3F7SFmuLKBuQbm722Y+LOE9OdrwfiT+Qo9P/7xeUGDT 8o+8tYufnI5Wkysqr2386nodFNUnCgEYKk3iRIc/1OBzekk7Zbodox3fGTAjQB4V75qedbW CS+rfZ7X2P5om87jhPI4dP76tOSAW2tltAW+GFg5qrk10K+4L9GHhvWpCn7FdqdsDEYlos1 e0N880Zga2UYaLUWXWg/A== X-UI-Out-Filterresults: notjunk:1;V01:K0:SVO9JEC1n6k=:4ZTYXJ5hYSvMU8unS50d8b Aq761MYvcM+JFGtYMlaRCJaRZgrENisULbEfpJ0wMH0WWm46iVXWuKuLH9hzeL2IkpiMXc0QH UMTAA3dnmOt/+TGrA27QYOaqM0pANpv9B+WzStzwotP389iFIauUleckhU+WWW71zDiVGYHr/ qqcnR2n2XuppRyW+ydgWl31hQ67QwIgvLULOQfJkFJxBMaK+m9d7cPi/bWtRZlMAFiOU/c+s5 f/JPCmeSFXpzpDKWS2BrgovGbLwex19vPgEJTD7T6DnSasTbVQhFvum52ymX/a5HXv7lipwHe AmXGg8AhgtOAyrpgoD9JygInB9DzS5EASKI2lYVTsycdLK0V/VXg9ISG7z3JzhEt0mLqUzCHo QLU8qctrHtaodfEP208KF7UBV4X71kxq5imvmNSY6vkdlqHZraivf7vc64SQbKn1S5qLvnb0M tgGCdQ3mc+TinhVLOVQpHm69Jj1iGYFnksjYo3eENeDO/mvgeeUEoDbQ70nabKlsDn9t8MGl8 ISDMMc15//UDrplERLX21jlfcCFJkhcYk/ejtchS+q6QZdzh/JeH9zWzhSXzaQ7WvZ4kFqmxA r7gaFPUa3dgqIsZM3eHb4GkAPL4bPbGJc8ROBdfFuCMWJaBpjTBkbt+ADdFXWtT6CN4dwW47d evhsuu6vx+OeaoXANxyula9GoFC3EXEVyyHShEzx44WS9r3OeaU5L5hDxK7Furh8d1FY= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180901_123104_259389_A6973914 X-CRM114-Status: GOOD ( 13.10 ) 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: Mark Rutland , devicetree@vger.kernel.org, Arnd Bergmann , Scott Branden , Ray Jui , Stefan Wahren , Phil Elwell , Alexander Graf , Eric Anholt , Rob Herring , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 Since the LAN7515 on Raspberry Pi 3B+ doesn't have an EEPROM and the OTP is empty, we need to enable the Ethernet LEDs via Device Tree. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi b/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi index 9403da0..70bece6 100644 --- a/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi +++ b/arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi @@ -1,4 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 +#include + / { aliases { ethernet0 = ðernet; @@ -21,6 +23,18 @@ ethernet: ethernet@1 { compatible = "usb424,7800"; reg = <1>; + + mdio { + #address-cells = <0x1>; + #size-cells = <0x0>; + eth_phy: ethernet-phy@1 { + reg = <1>; + microchip,led-modes = < + LAN78XX_LINK_1000_ACTIVITY + LAN78XX_LINK_10_100_ACTIVITY + >; + }; + }; }; }; };