From nobody Thu Oct 2 20:44:35 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 915F02877CB; Thu, 11 Sep 2025 20:23:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757622236; cv=none; b=JnKxipAOpToP1iJQ2IReOAxqiU66TahHguGImRCS3SyEyf5BQW/tqNSOuf8cer483fyWoGNnXNdLjYBr7YeRAFrMGF0Zetr/aahhflQ6So3Ha2ZF4BMo7t+jhoq0dbIe6nG8oyh/hkFy0MfY526guIBXB1lYkKhPln4LsaMlaLg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757622236; c=relaxed/simple; bh=BT+cAkdF9GH9NjAqpDolH55bnb64M+nbJLW1hDSPRt4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qcQbxiDeXYlaIMlw7Cxs+pJqKupjSE60gpAIYZ5NywUwIwcOsr9PdDf8qEZZkTfd4xf/cbFLuG39HPWctoU1R+Uqe+WevUet43StuPPN2lHfnlQKmUcA7jsUs8663/MTYe70xP0LojhTCplxDKXQYE15HXZoOsM90SVs42CmbFI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aDbrEFEH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aDbrEFEH" Received: by smtp.kernel.org (Postfix) with ESMTPS id 4A0BAC4CEF8; Thu, 11 Sep 2025 20:23:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1757622236; bh=BT+cAkdF9GH9NjAqpDolH55bnb64M+nbJLW1hDSPRt4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=aDbrEFEHKZmtALBxz9QM1Yx5GF7OyumJfNc7gud1HIvd6Lggj7E4m+bSFxJxH2l9w Gd6D4Er/drfAftl5PADQ7uni/IMdDqpCyrnVgQc4kTIadiaMeva32t38hgaY/TCPLj X7W8jzNBBzm9cpIYSaFbrZ3hhnhZbRIFcyzJHVezhSTtXUTJS/qqiPcI/tHP1J+Zr6 SCmyV4Xko1xp5EMCRjDkIcIvkZOCqZhGwqem6PjI7pzUmzl2t1n2IGUWb0dZSDr1cK ANroYkaQoGvjqXkfhfL1d2G5uSrK0LFMiM6Eza3hBBPM91ILjnTnxKtuEfVUZUu6jk kcDKLRaZyB28g== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41387CAC587; Thu, 11 Sep 2025 20:23:56 +0000 (UTC) From: =?utf-8?q?J=2E_Neusch=C3=A4fer_via_B4_Relay?= Date: Thu, 11 Sep 2025 22:23:57 +0200 Subject: [PATCH v3 3/3] ARM: dts: allwinner: Add Orange Pi Zero Interface Board overlay Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250911-opz-audio-v3-3-9dfd317a8163@posteo.net> References: <20250911-opz-audio-v3-0-9dfd317a8163@posteo.net> In-Reply-To: <20250911-opz-audio-v3-0-9dfd317a8163@posteo.net> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1757622235; l=3723; i=j.ne@posteo.net; s=20240329; h=from:subject:message-id; bh=zhnxiFYH88w86PzDerayZGlbOCrv6jBi97uSmNKzi+Y=; b=XdlsJZvQZAoTyM73uovSiXiwBEUtjUPE0owPUEj0AQJgTFnNUnqfHenl4TUwGWm37X6VWt7V1 KXfVisNSn79B1zuULaJcIjgdaShuYhDsqV4FMPBPtvPaqeR1/WIgevz X-Developer-Key: i=j.ne@posteo.net; a=ed25519; pk=NIe0bK42wNaX/C4bi6ezm7NJK0IQE+8MKBm7igFMIS4= X-Endpoint-Received: by B4 Relay for j.ne@posteo.net/20240329 with auth_id=156 X-Original-From: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Reply-To: j.ne@posteo.net From: "J. Neusch=C3=A4fer" The Orange Pi Zero interface board is a (mostly) passive adapter from the 13-pin header of the Orange Pi Zero and Orange Pi Zero Plus2 to standard connectors (2x USB A, 1x Audio/Video output, 1x built-in microphone, 1x infrared input). Headphones, microphone, infrared (CIR) input, and USB have been tested with the Orange Pi Zero. CVBS output is currently not supported. https://orangepi.com/index.php?route=3Dproduct/product&product_id=3D871 Signed-off-by: J. Neusch=C3=A4fer --- v3: - no change v2: - new patch --- arch/arm/boot/dts/allwinner/Makefile | 7 ++++ .../sun8i-orangepi-zero-interface-board.dtso | 46 ++++++++++++++++++= ++++ 2 files changed, 53 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/Makefile b/arch/arm/boot/dts/allwi= nner/Makefile index d799ad153b37b917d1e1c091fb051140398a574b..97d0a205493f40ba5969b5c8f47= 08a817ae725c5 100644 --- a/arch/arm/boot/dts/allwinner/Makefile +++ b/arch/arm/boot/dts/allwinner/Makefile @@ -182,6 +182,7 @@ dtb-$(CONFIG_MACH_SUN7I) +=3D \ sun7i-a20-wits-pro-a20-dkt.dtb =20 # Enables support for device-tree overlays for all pis +DTC_FLAGS_sun8i-h2-plus-orangepi-zero :=3D -@ DTC_FLAGS_sun8i-h3-orangepi-lite :=3D -@ DTC_FLAGS_sun8i-h3-bananapi-m2-plus :=3D -@ DTC_FLAGS_sun8i-h3-nanopi-m1-plus :=3D -@ @@ -225,6 +226,7 @@ dtb-$(CONFIG_MACH_SUN8I) +=3D \ sun8i-h2-plus-libretech-all-h3-cc.dtb \ sun8i-h2-plus-orangepi-r1.dtb \ sun8i-h2-plus-orangepi-zero.dtb \ + sun8i-h2-plus-orangepi-zero-interface-board.dtb \ sun8i-h3-bananapi-m2-plus.dtb \ sun8i-h3-bananapi-m2-plus-v1.2.dtb \ sun8i-h3-beelink-x2.dtb \ @@ -244,6 +246,7 @@ dtb-$(CONFIG_MACH_SUN8I) +=3D \ sun8i-h3-orangepi-plus.dtb \ sun8i-h3-orangepi-plus2e.dtb \ sun8i-h3-orangepi-zero-plus2.dtb \ + sun8i-h3-orangepi-zero-plus2-interface-board.dtb \ sun8i-h3-rervision-dvk.dtb \ sun8i-h3-zeropi.dtb \ sun8i-h3-emlid-neutis-n5h3-devboard.dtb \ @@ -264,6 +267,10 @@ dtb-$(CONFIG_MACH_SUN8I) +=3D \ sun8i-v3s-licheepi-zero-dock.dtb \ sun8i-v3s-netcube-kumquat.dtb \ sun8i-v40-bananapi-m2-berry.dtb +sun8i-h2-plus-orangepi-zero-interface-board-dtbs +=3D \ + sun8i-h2-plus-orangepi-zero.dtb sun8i-orangepi-zero-interface-board.dtbo +sun8i-h3-orangepi-zero-plus2-interface-board-dtbs +=3D \ + sun8i-h3-orangepi-zero-plus2.dtb sun8i-orangepi-zero-interface-board.dtbo dtb-$(CONFIG_MACH_SUN9I) +=3D \ sun9i-a80-optimus.dtb \ sun9i-a80-cubieboard4.dtb diff --git a/arch/arm/boot/dts/allwinner/sun8i-orangepi-zero-interface-boar= d.dtso b/arch/arm/boot/dts/allwinner/sun8i-orangepi-zero-interface-board.dt= so new file mode 100644 index 0000000000000000000000000000000000000000..e137eefee34163752372d442c22= 179b1fa41615a --- /dev/null +++ b/arch/arm/boot/dts/allwinner/sun8i-orangepi-zero-interface-board.dtso @@ -0,0 +1,46 @@ +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright (C) 2025 J. Neusch=C3=A4fer + * + * Devicetree overlay for the Orange Pi Zero Interface board (OP0014). + * + * https://orangepi.com/index.php?route=3Dproduct/product&product_id=3D8= 71 + * + * This overlay applies to the following base files: + * + * - arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts + * - arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-zero-plus2.dts + */ + +/dts-v1/; +/plugin/; + +&codec { + status =3D "okay"; +}; + +&de { + status =3D "okay"; +}; + +&ehci2 { + status =3D "okay"; +}; + +&ehci3 { + status =3D "okay"; +}; + +&ir { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&r_ir_rx_pin>; + status =3D "okay"; +}; + +&ohci2 { + status =3D "okay"; +}; + +&ohci3 { + status =3D "okay"; +}; --=20 2.48.0.rc1.219.gb6b6757d772