Introduce the Airoha EN7581 gpio nodes in Airoha EN7581 dtsi Tested-by: Rajeev Kumar <Rajeev.Kumar@xxxxxxxxxx> Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx> --- This patch is based on the following pending patch: https://patchwork.kernel.org/project/spi-devel-general/patch/189790802f3ba1a80c4ab5e064b2425e5a360098.1714571980.git.lorenzo@xxxxxxxxxx/ --- 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@0 { spi-rx-bus-width = <2>; }; }; + + gpio0: gpio@1fbf0200 { + 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@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