From patchwork Mon May 2 14:40:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chukun Pan X-Patchwork-Id: 12834268 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 27E6FC433EF for ; Mon, 2 May 2022 14:41:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=Is+wKu0dCVKz2OfEnJSWUMkTq9RZ3+oFE4F0QaELZI0=; b=UyPes0GrjU7En2 2Ae9RX+Jl3bbIiuk+RhYsZoxBXOzFCCE6gI3i03ZMFQ7QXTa7UxO3/qBwPMZyAeOXRzsQOQ7hbZWi arZc1dgHBVZLeU2vnubhaKKf02bsCv+JWgF3UekxsZWeQE1EqTS+1J1SbjwV75vqJUPzOu2AOQ56s 4ZRDOA9An6T/oZNZGCYbBVorMcb/PbJTKMGlOKTG/vCObtncNFMSgKaAp7Q+j9xGNwsZEDHaEhklw 9Z4wHDaltmTj/Kfdd0ZRVbfp5d5kFBIkECozfEhKyXq+uk3B8TXwpuexokc5tImltDbRrSqC081P+ 7YkOpzDhR18V9S+MmUZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nlXE0-001Pjv-Ga; Mon, 02 May 2022 14:40:32 +0000 Received: from mail-m17638.qiye.163.com ([59.111.176.38]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nlXDu-001PiS-9N for linux-arm-kernel@lists.infradead.org; Mon, 02 May 2022 14:40:31 +0000 Received: from localhost.localdomain (unknown [IPV6:2001:250:6801:5501:163d:f2ff:fecb:5632]) by mail-m17638.qiye.163.com (Hmail) with ESMTPA id E4B941C071B; Mon, 2 May 2022 22:40:16 +0800 (CST) From: Chukun Pan To: Chen-Yu Tsai Cc: Jernej Skrabec , Samuel Holland , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Chukun Pan Subject: [PATCH] arm64: dts: allwinner: define USB3 Ethernet on NanoPi R1S H5 Date: Mon, 2 May 2022 22:40:09 +0800 Message-Id: <20220502144009.44575-1-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZCBgUCR5ZQVlLVUtZV1 kWDxoPAgseWUFZKDYvK1lXWShZQUhPN1dZLVlBSVdZDwkaFQgSH1lBWRpMTUtWHR5IHkkZSBodHk lDVRMBExYaEhckFA4PWVdZFhoPEhUdFFlBWU9LSFVKSktISkNVS1kG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Oi46PBw5Kj0*TRU3NTcUEUwC FQgKCxhVSlVKTU5KTktJT0pMTktPVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUlL S0pBSU5LQU1DS0pBTk5LSkFKTUgfQR1JHR1BHR4YGUFOTUhJWVdZCAFZQUlKQkM3Bg++ X-HM-Tid: 0a8085370501d993kuwse4b941c071b X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220502_074026_531600_BC9A4FA5 X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The NanoPi R1S H5 has a Realtek RTL8153B USB 3.0 Ethernet chip connected to the USB 2.0 port of the Allwinner H5 SoC. Signed-off-by: Chukun Pan --- arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts index 55b369534a08..dd655a491549 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts @@ -21,7 +21,8 @@ / { aliases { ethernet0 = &emac; - ethernet1 = &rtl8189etv; + ethernet1 = &rtl8153; + ethernet2 = &rtl8189etv; serial0 = &uart0; }; @@ -116,6 +117,11 @@ &cpu0 { &ehci1 { status = "okay"; + + rtl8153: device@1 { + compatible = "usbbda,8153"; + reg = <1>; + }; }; &ehci2 {