[PATCH v3 4/4] arm64: dts: allwinner: a523: enable IR on the Avaota A1
Chen-Yu Tsai
wens at kernel.org
Thu Jul 23 10:42:03 PDT 2026
On Thu, Jul 23, 2026 at 7:36 AM Justin Suess <utilityemal77 at gmail.com> wrote:
>
> From: Andre Przywara <andre.przywara at arm.com>
>
> The Avaota A1 board has an IR receiver chip on the PCB (next to the
> Ethernet jacks), wired to the PI8 pin on the SoC.
>
> Add the pin description to the PIO DT node, and enable the CIR receiver
> in the main power domain.
>
> Tested on the board with evtest and some random TV remote control.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
You need to add your own Signed-off-by, since you are resending other
people's work.
ChenYu
> ---
> arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 7 +++++++
> arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts | 6 ++++++
> 2 files changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> index c2de662140ce..219fd76a4710 100644
> --- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> +++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> @@ -155,6 +155,13 @@ i2s2_pi_pins: i2s2-pi-pins {
> bias-disable;
> };
>
> + /omit-if-no-ref/
> + ir_rx_pin: ir-rx-pin {
> + pins = "PI8";
> + allwinner,pinmux = <3>;
> + function = "cir_rx";
> + };
> +
This hunk should be in the .dtsi patch. And there are two pin mux
possibilities for ir-rx. Please name it accordingly, like "ir-rx-pi-pin".
ChenYu
> /omit-if-no-ref/
> ledc_ph_pin: ledc-ph-pin {
> pins = "PH19";
> diff --git a/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts b/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts
> index 474354fbfcec..994f1e4f0ce7 100644
> --- a/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts
> @@ -100,6 +100,12 @@ &gpu {
> status = "okay";
> };
>
> +&ir {
> + pinctrl-names = "default";
> + pinctrl-0 = <&ir_rx_pin>;
> + status = "okay";
> +};
> +
> &ledc {
> pinctrl-names = "default";
> pinctrl-0 = <&ledc_ph_pin>;
> --
> 2.54.0
>
More information about the linux-arm-kernel
mailing list