Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CFF636A36D for ; Thu, 28 May 2026 23:24:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780010663; cv=none; b=XjTRBV7KU1k+wph2AT7TeErgiFXiupUxxdIg3dunPKX9lYmIJ5cir3+xKBYWhaULLYzQEdlvVprGwbOHpE1MPJdGO2UxlMmfpMDdLRGJ7ynQVWauIxaKI2jW9CUjOyumfSRku6qgocw/uf7y5SR2IptBAKDoKx+0rnXj/ka64Bg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780010663; c=relaxed/simple; bh=YgHZ0yr9U1aDRHZ5RyVmGgZlJFyGiB9O528NAFAmszw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LPw+uDRe7V/Qr4wNyA7Zs7BuRdFyYQWxAzxzfpvVtBbt07s3zrei6x4N2cBXThqA/PJijWfPmTytEluB+U7KEwQ0NWI6T1hdQ50vTLDjNLuWA//vtNh8oqZqOBDqHDP+emdNHTZvUbSFPCN2bhAdfLwMVCX0BJa7Kl+n1HFcHJ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b=hRSnCPVu; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b="hRSnCPVu" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type; bh=kVhbNGRA9/1U4zr01JFCIiYUqAzoqbgB2Uy8C1LiRyI=; b=hRSnCPVuLHTQWhGi4Ta3Nf2yUe IRWTOw6I/yYfUR0hNe1b40vGYGPDXknATK/hEAdeXRr6ah888hIst5/WFgDyYWEFIcVRnR11rbOfy 3cHxFQGfJ5Vc1geHwu/5+1IBBn5t9HMOFTOd0kIvFUJLGpSCCiEuQ54q3bRclsLdX/tLtW9QICpKN jsEFi8fJJZtzP4n/S2zrrTt28kvwlhFHZGCJRbONwQNPU5ftjfS13TQlCzUPcTSroAUcukUsXvrNT MRpAwJ7XVTRwPwpXH+Eh78+peo2uXdsh0oaTlqeIPB+K2VOO9Gw1oukS0hA7seAEqMj5P7M1XuEiw Zav3mkWw==; From: Heiko Stuebner To: heiko@sntech.de Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, amadeus@jmu.edu.cn, jonas@kwiboo.se Subject: [PATCH v3 5/5] arm64: dts: rockchip: Enable USB 2.0 ports on NanoPi Zero2 Date: Fri, 29 May 2026 01:23:58 +0200 Message-ID: <20260528232358.4054610-6-heiko@sntech.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260528232358.4054610-1-heiko@sntech.de> References: <20260528232358.4054610-1-heiko@sntech.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Jonas Karlman The NanoPi Zero2 has one USB 2.0 Type-A HOST port and one USB 2.0 Type-C OTG port. Add support for using the USB 2.0 ports on NanoPi Zero2. Signed-off-by: Jonas Karlman Signed-off-by: Heiko Stuebner --- .../boot/dts/rockchip/rk3528-nanopi-zero2.dts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts b/arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts index 9f683033c5f3..97d85124d21b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3528-nanopi-zero2.dts @@ -338,3 +338,32 @@ &uart0 { pinctrl-0 = <&uart0m0_xfer>; status = "okay"; }; + +&usb_host0_ehci { + status = "okay"; +}; + +&usb_host0_ohci { + status = "okay"; +}; + +&usb_host0_xhci { + extcon = <&usb2phy>; + maximum-speed = "high-speed"; + phys = <&usb2phy_otg>; + phy-names = "usb2-phy"; + status = "okay"; +}; + +&usb2phy { + status = "okay"; +}; + +&usb2phy_host { + phy-supply = <&usb2_host_5v>; + status = "okay"; +}; + +&usb2phy_otg { + status = "okay"; +}; -- 2.47.3