Re: [PATCH v2 2/2] ARM: dts: renesas: r9a06g032-rzn1d400-eb: enable GPIOs on CN12

Geert Uytterhoeven <[email protected]>
Newsgroups org.kernel.vger.linux-renesas-soc,org.kernel.vger.linux-devicetree
Message-ID <CAMuHMdWCWvfFqBAQ40E+czhYHSG_ZuCqMobku6B2iEA8ezF5Cg@mail.gmail.com>
Hi Wolfram,

On Thu, 16 Jul 2026 at 11:59, Wolfram Sang
<[email protected]> wrote:
> CN12 offers some GPIOs independently of switch settings. Add the nodes.
>
> Signed-off-by: Wolfram Sang <[email protected]>

Thanks for your patch!

> --- a/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts
> +++ b/arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts
> @@ -53,6 +53,11 @@ led@1 {
>         };
>  };
>
> +&gpio2b {
> +       pinctrl-0 = <&pins_gpio2b>;
> +       pinctrl-names = "default";
> +};
> +
>  &i2c2 {
>         /* Sensors are different across revisions. All are LM75B compatible */
>         sensor@49 {
> @@ -132,6 +137,17 @@ pins_eth2: pins-eth2 {
>                 bias-disable;
>         };
>
> +       pins_gpio2b: pins-gpio2b {

pins-cn12?

> +               pinmux = <RZN1_PINMUX(164, RZN1_FUNC_GPIO)>,
> +                        <RZN1_PINMUX(165, RZN1_FUNC_GPIO)>,
> +                        <RZN1_PINMUX(166, RZN1_FUNC_GPIO)>,
> +                        <RZN1_PINMUX(167, RZN1_FUNC_GPIO)>,
> +                        <RZN1_PINMUX(168, RZN1_FUNC_GPIO)>,
> +                        <RZN1_PINMUX(169, RZN1_FUNC_GPIO)>;
> +               drive-strength = <6>;
> +               bias-disable;

These pins don't have any external pull-ups, so disabling bias will
make them pick-up random EM noise when left unconnected.

> +       };
> +
>         pins_mdio0: pins-mdio0 {
>                 pinmux = <RZN1_PINMUX(150, RZN1_FUNC_MDIO0_GMAC0)>,
>                          <RZN1_PINMUX(151, RZN1_FUNC_MDIO0_GMAC0)>;

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.