[PATCH] arm64: dts: airoha: en7581: Add gpio controller nodes

Bartosz Golaszewski brgl at bgdev.pl
Sun May 5 05:22:55 PDT 2024


On Wed, May 1, 2024 at 4:26 PM Lorenzo Bianconi <lorenzo at kernel.org> wrote:
>
> Introduce the Airoha EN7581 gpio nodes in Airoha EN7581 dtsi
>
> Tested-by: Rajeev Kumar <Rajeev.Kumar at airoha.com>
> Signed-off-by: Lorenzo Bianconi <lorenzo at kernel.org>
> ---
> This patch is based on the following pending patch:
> https://patchwork.kernel.org/project/spi-devel-general/patch/189790802f3ba1a80c4ab5e064b2425e5a360098.1714571980.git.lorenzo@kernel.org/
> ---
>  arch/arm64/boot/dts/airoha/en7581.dtsi | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/airoha/en7581.dtsi b/arch/arm64/boot/dts/airoha/en7581.dtsi
> index 98c2a86086e1..5d0d76cecfe0 100644
> --- a/arch/arm64/boot/dts/airoha/en7581.dtsi
> +++ b/arch/arm64/boot/dts/airoha/en7581.dtsi
> @@ -178,5 +178,25 @@ spi_nand: nand at 0 {
>                                 spi-rx-bus-width = <2>;
>                         };
>                 };
> +
> +               gpio0: gpio at 1fbf0200 {

These labels are not used anywhere.

Bart

> +                       compatible = "airoha,en7523-gpio";
> +                       reg = <0 0x1fbf0204 0 0x4>,
> +                             <0 0x1fbf0200 0 0x4>,
> +                             <0 0x1fbf0220 0 0x4>,
> +                             <0 0x1fbf0214 0 0x4>;
> +                       gpio-controller;
> +                       #gpio-cells = <2>;
> +               };
> +
> +               gpio1: gpio at 1fbf0270 {
> +                       compatible = "airoha,en7523-gpio";
> +                       reg = <0 0x1fbf0270 0 0x4>,
> +                             <0 0x1fbf0260 0 0x4>,
> +                             <0 0x1fbf0264 0 0x4>,
> +                             <0 0x1fbf0278 0 0x4>;
> +                       gpio-controller;
> +                       #gpio-cells = <2>;
> +               };
>         };
>  };
> --
> 2.44.0
>



More information about the linux-arm-kernel mailing list