[PATCH v2 3/4] arm64: dts: allwinner: sun55i-a523: add I2C0 and I2C1 pin groups

Chen-Yu Tsai wens at kernel.org
Thu Dec 3 05:57:55 PST 2026


On Thu, Oct 1, 2026 at 11:24 AM Mikhail Kalashnikov <iuncuim at gmail.com> wrote:
>
> Add the pin groups for the I2C0 (PH0/PH1) and I2C1 (PH2/PH3) controllers
> that used on some A523 boards.
>
> Assisted-by: OpenCode:DeepSeek-V4.1-Flash
> Reviewed-by: Andre Przywara <andre.przywara at arm.com>
> Signed-off-by: Mikhail Kalashnikov <iuncuim at gmail.com>
> ---
>  arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> index 85ef492ff..0ec5d19f7 100644
> --- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> +++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> @@ -147,6 +147,24 @@ pio: pinctrl at 2000000 {
>                         interrupt-controller;
>                         #interrupt-cells = <3>;
>
> +                       /omit-if-no-ref/
> +                       i2c0_pins: i2c0-pins {
> +                               pins = "PH0", "PH1";
> +                               function = "i2c0";
> +                               allwinner,pinmux = <2>;

> +                               drive-strength = <10>;
> +                               bias-pull-up;

Drive strength and pull-ups are board level properties. One board might
have external pull-ups and thus don't need or want the internal ones.

Please move these two properties to the board level.

> +                       };
> +
> +                       /omit-if-no-ref/
> +                       i2c1_pins: i2c1-pins {
> +                               pins = "PH2", "PH3";
> +                               function = "i2c1";
> +                               allwinner,pinmux = <2>;
> +                               drive-strength = <10>;
> +                               bias-pull-up;

Same here.


ChenYu

> +                       };
> +
>                         /omit-if-no-ref/
>                         i2s2_pi_pins: i2s2-pi-pins {
>                                 pins = "PI2", "PI3", "PI4", "PI5";
> --
> 2.55.0
>



More information about the linux-arm-kernel mailing list