From nobody Thu Oct 2 19:28:33 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 917122877D5; 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=Pim67VLNRrLTnxYnLQ0ADnvkRGSIAQSjc8INJC8W76ZRk7LADFFAZ3itwmzJoviHz7Z3WznsjOHveS2gwPM1RplCnU0jXqO6wpCspF9BGm0u0rT4krjGk0dWuX2TG7KCmSKdStrDhnjj1+nlEB1UJ3jJXMMH6Wy22K/2V+jVy/4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757622236; c=relaxed/simple; bh=jJN/CVQ4Z0j0qCr/H8XKJBMu2Fbgqv5mOAyr2KXEcTA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sc0ZjL62YRTzGQPoRLR40xc1T2LjaclxBHJMprcwo7U16rCNiXgVyfJlBwMxyjGyja/j9lGFopG7laaKqUx/9OCXFFUjpDdJ2OSlnrYnIbgmeqQX3RaIIhwT3jc5QyjFIGK0ZhzeiNts82czbhCE9g05mG9oBfHc2avNlRS5kOw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cfLo38YN; 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="cfLo38YN" Received: by smtp.kernel.org (Postfix) with ESMTPS id 34C5FC4CEF5; 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=jJN/CVQ4Z0j0qCr/H8XKJBMu2Fbgqv5mOAyr2KXEcTA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=cfLo38YNLgCaBRXyhWEJKqEhLFUodB3gv66ew+Nwj+iEfZnkz4wg3/xtMPvFF7bTq TW5sC099WQJb7y2I6AVwUaqduq5Vruu60Gebtm75zCIdzfzXzRsCWmakxwvU3Lx+dp b0/HjqBjokPLpFhD0vFMqm1ZWFW3HFUydtdpfHc6VOipkCLKuXeY1eiMkmmcppuFJg Ag603e4Ep2ib8GmmNXnG356LZEQ+0qcLysfeVjpt3NSx2XqLlGM5Zqge4jZfsGulJD RJEVAp8SmFKasKKS5nJYTy7GIrGPZZhLx4qor9KuYpu7vftgnzg6zt+Psgq/qBdRO8 h5bNTIxSMgODA== 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 245AECAC58E; 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:55 +0200 Subject: [PATCH v3 1/3] ARM: dts: allwinner: orangepi-zero: Add default audio routing 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-1-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=1327; i=j.ne@posteo.net; s=20240329; h=from:subject:message-id; bh=jlkkNRSXPvyKb7VkFE4rQa+2nclFteLVP/Fzwz7oW+A=; b=Z8C6IY54/f4oSOkqb/qp4iZvO2BDFKeNxw7f4oP0smdBBrUsLMOPexmO5cGlajmBQS//udCD7 tabOi9+px2mBlP+zxypShC9lYgL2dP2II4X9n+YQnNYEq9z4d9CohaH 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" Line out playback and microphone capture work, after enabling the corresponding ALSA controls. Tested with the Orange Pi Zero interface board. Signed-off-by: J. Neusch=C3=A4fer --- v3: - no change v2: - Add an explanatory comment --- .../arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | 14 ++++++++++= ++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/= arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts index 1b001f2ad0efd2e77218742efe6d8edfdd18a816..b23cec5b89ebf61701e1d917929= 589eb6e884afd 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts +++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts @@ -112,6 +112,20 @@ wifi_pwrseq: pwrseq { }; }; =20 +/* + * Audio input/output is exposed on the 13-pin header and can't be used for + * anything else. However, adapter boards may use different audio routing. + * - https://linux-sunxi.org/Xunlong_Orange_Pi_Zero#Expansion_Port + * - Allwinner H3 Datasheet, section 3.1. Pin Characteristics + */ +&codec { + allwinner,audio-routing =3D + "Line Out", "LINEOUT", + "MIC1", "Mic", + "Mic", "MBIAS"; + status =3D "disabled"; +}; + &cpu0 { cpu-supply =3D <®_vdd_cpux>; }; --=20 2.48.0.rc1.219.gb6b6757d772 From nobody Thu Oct 2 19:28:33 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 916A42877D0; 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=pfBDqtM2SH9x6c0k6et5CK0Q1lpcQqRSPa+sjMTcC9vU9i7Tok+uNZFBFJRE6Zq6g3ail1r0mvtJlSlCejz6HWkxGkmPhKxv3TIqTUZ4QDdDR/5EG4fGMy1PSMVdHilg7/eza4ZFxKJPOEoDUn0RuqL+zajvmlDi2DY96WrfPlo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757622236; c=relaxed/simple; bh=+fg2XJ6V4EXpVY8foeoIiAPGVpFlrVbSUzSPWYbWq4s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GVXQjWI0CwNDF8JyBBgWxS4F13yuhsGrK2kcVH99XiE9QJ3bvVEu9cyht4vhuiNBNnp2FZAOjX8svkHgHih6tqyLsVYEMBJWc0tgFOgcACWLcSkAOkNz40yGlrxLqr3gPTtO2x6fBWeQMG3gXTSbnxZePKD+6bDBfVcTAi93uog= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Zc3cXZad; 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="Zc3cXZad" Received: by smtp.kernel.org (Postfix) with ESMTPS id 446EDC4AF0B; 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=+fg2XJ6V4EXpVY8foeoIiAPGVpFlrVbSUzSPWYbWq4s=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Zc3cXZadCJfCfmGCGjgmJmKVmaWRc7jEFsic8KQoJ+DvoK/FMGr+M6rG8blQzdYK5 zKeDyM/6YYK1nBZGHfSbWc7S1hnAFz0yYht/8RGraT1vjd4BrzrgWMMl6vOzzKoAHu RniCbZ9lnARURUb2oqrwnWg3iZRMMz1LFUM9fjL8F15Mrf6llrOQcn2xbPcPJ7wtSl MbPjWQNj3V5Bz3t5t6YLtBnop+ql8K97i/hcG7BNy5lxcwzqkKBRwChHAnH28mwz83 Ublkr9mfVhhi2LhZyb55cz9V+vI6wg2eWmCNhUEXU92ZM7p0mqTdgzczkqXtNe1qlC ZFWlHvwvHZpSQ== 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 33372CAC594; 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:56 +0200 Subject: [PATCH v3 2/3] ARM: dts: allwinner: orangepi-zero-plus2: Add default audio routing 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-2-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=1762; i=j.ne@posteo.net; s=20240329; h=from:subject:message-id; bh=dWHMhK9+i25A6TeKPx+ibyL8vqsj2DN+ba2hhjCRSyM=; b=dsa6mV8JoKpL+Qr+VFEifgbXsEmJJM5mCEaCbUN9IxqQ+N84Pi0MbBFR1u1c+EHOGNj8rAsEa bGwabK9R1DKAIrBfbgdWS4A506AQCGJoKR19ZtiBYxgaJtPE7UM4rzD 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 Plus 2 has the same pinout[1] as the Orange Pi Zero[2] (with the possible exception of line-out left/right being swapped), and the Orange Pi Zero Interface Board is sold[3] as compatible with both of them. We can thus use the same audio routing. [1]: http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/deta= ils/Orange-Pi-Zero-Plus-2.html [2]: https://linux-sunxi.org/Xunlong_Orange_Pi_Zero#Expansion_Port [3]: https://orangepi.com/index.php?route=3Dproduct/product&product_id=3D871 Signed-off-by: J. Neusch=C3=A4fer --- v3: - Fix board name in commit title, as reported by Chen-Yu Tsai v2: - new patch --- .../boot/dts/allwinner/sun8i-h3-orangepi-zero-plus2.dts | 14 ++++++++++= ++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-zero-plus2.dts b= /arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-zero-plus2.dts index 7a6444a10e2534458b7380882ea4fd42bd54fea8..97a3565ac7a819be6b18d324fa6= f65d0d1d2b2ad 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-zero-plus2.dts +++ b/arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-zero-plus2.dts @@ -99,6 +99,20 @@ wifi_pwrseq: pwrseq { }; }; =20 +/* + * Audio input/output is exposed on the 13-pin header and can't be used for + * anything else. However, adapter boards may use different audio routing. + * - http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/det= ails/Orange-Pi-Zero-Plus-2.html + * - Allwinner H3 Datasheet, section 3.1. Pin Characteristics + */ +&codec { + allwinner,audio-routing =3D + "Line Out", "LINEOUT", + "MIC1", "Mic", + "Mic", "MBIAS"; + status =3D "disabled"; +}; + &de { status =3D "okay"; }; --=20 2.48.0.rc1.219.gb6b6757d772 From nobody Thu Oct 2 19:28:33 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