From: Felix Fietkau <nbd@nbd.name> To: linux-arm-kernel@lists.infradead.org, Rob Herring <robh+dt@kernel.org> Cc: john@phrozen.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 14/14] ARM: dts: add GPIO support for Airoha EN7523 Date: Fri, 3 Dec 2021 12:33:31 +0100 [thread overview] Message-ID: <20211203113331.20510-15-nbd@nbd.name> (raw) In-Reply-To: <20211203113331.20510-1-nbd@nbd.name> From: John Crispin <john@phrozen.org> Airoha's GPIO controller on their ARM EN7523 SoCs consists of two banks of 32 GPIOs Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Felix Fietkau <nbd@nbd.name> --- arch/arm/boot/dts/en7523-evb.dts | 8 ++++++++ arch/arm/boot/dts/en7523.dtsi | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/en7523-evb.dts b/arch/arm/boot/dts/en7523-evb.dts index 0a79f5f6c311..cd9cded5b564 100644 --- a/arch/arm/boot/dts/en7523-evb.dts +++ b/arch/arm/boot/dts/en7523-evb.dts @@ -33,3 +33,11 @@ &pcie0 { &pcie1 { status = "okay"; }; + +&gpio0 { + status = "okay"; +}; + +&gpio1 { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/en7523.dtsi b/arch/arm/boot/dts/en7523.dtsi index 862da104d6f2..d9cc5a1b83b8 100644 --- a/arch/arm/boot/dts/en7523.dtsi +++ b/arch/arm/boot/dts/en7523.dtsi @@ -3,6 +3,7 @@ #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/clock/en7523-clk.h> +#include <dt-bindings/gpio/gpio.h> / { interrupt-parent = <&gic>; @@ -120,6 +121,25 @@ uart1: serial@1fbf0000 { status = "okay"; }; + gpio0: gpio@1fbf0200 { + compatible = "airoha,en7523-gpio"; + reg = <0x1fbf0204 0x4>, + <0x1fbf0200 0x4>, + <0x1fbf0220 0x4>, + <0x1fbf0214 0x4>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio1: gpio@1fbf0270 { + compatible = "airoha,en7523-gpio"; + reg = <0x1fbf0270 0x4>, + <0x1fbf0260 0x4>, + <0x1fbf0264 0x4>, + <0x1fbf0278 0x4>; + gpio-controller; + #gpio-cells = <2>; + }; pcie0: pcie@1fa91000 { compatible = "airoha,en7523-pcie", "mediatek,mt7622-pcie"; -- 2.30.1
WARNING: multiple messages have this Message-ID (diff)
From: Felix Fietkau <nbd@nbd.name> To: linux-arm-kernel@lists.infradead.org, Rob Herring <robh+dt@kernel.org> Cc: john@phrozen.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 14/14] ARM: dts: add GPIO support for Airoha EN7523 Date: Fri, 3 Dec 2021 12:33:31 +0100 [thread overview] Message-ID: <20211203113331.20510-15-nbd@nbd.name> (raw) In-Reply-To: <20211203113331.20510-1-nbd@nbd.name> From: John Crispin <john@phrozen.org> Airoha's GPIO controller on their ARM EN7523 SoCs consists of two banks of 32 GPIOs Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Felix Fietkau <nbd@nbd.name> --- arch/arm/boot/dts/en7523-evb.dts | 8 ++++++++ arch/arm/boot/dts/en7523.dtsi | 20 ++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/en7523-evb.dts b/arch/arm/boot/dts/en7523-evb.dts index 0a79f5f6c311..cd9cded5b564 100644 --- a/arch/arm/boot/dts/en7523-evb.dts +++ b/arch/arm/boot/dts/en7523-evb.dts @@ -33,3 +33,11 @@ &pcie0 { &pcie1 { status = "okay"; }; + +&gpio0 { + status = "okay"; +}; + +&gpio1 { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/en7523.dtsi b/arch/arm/boot/dts/en7523.dtsi index 862da104d6f2..d9cc5a1b83b8 100644 --- a/arch/arm/boot/dts/en7523.dtsi +++ b/arch/arm/boot/dts/en7523.dtsi @@ -3,6 +3,7 @@ #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/clock/en7523-clk.h> +#include <dt-bindings/gpio/gpio.h> / { interrupt-parent = <&gic>; @@ -120,6 +121,25 @@ uart1: serial@1fbf0000 { status = "okay"; }; + gpio0: gpio@1fbf0200 { + compatible = "airoha,en7523-gpio"; + reg = <0x1fbf0204 0x4>, + <0x1fbf0200 0x4>, + <0x1fbf0220 0x4>, + <0x1fbf0214 0x4>; + gpio-controller; + #gpio-cells = <2>; + }; + + gpio1: gpio@1fbf0270 { + compatible = "airoha,en7523-gpio"; + reg = <0x1fbf0270 0x4>, + <0x1fbf0260 0x4>, + <0x1fbf0264 0x4>, + <0x1fbf0278 0x4>; + gpio-controller; + #gpio-cells = <2>; + }; pcie0: pcie@1fa91000 { compatible = "airoha,en7523-pcie", "mediatek,mt7622-pcie"; -- 2.30.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-12-03 11:54 UTC|newest] Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-03 11:33 [PATCH v6 00/14] Add support for Airoha EN7523 SoC Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` [PATCH v6 01/14] dt-bindings: Add vendor prefix for Airoha Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` [PATCH v6 02/14] dt-bindings: arm: airoha: Add binding for EN7523 SoC and EVB Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-10 20:48 ` Rob Herring 2021-12-10 20:48 ` Rob Herring 2021-12-03 11:33 ` [PATCH v6 03/14] ARM: dts: Add basic support for Airoha EN7523 Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` [PATCH v6 04/14] ARM: Add basic support for Airoha EN7523 SoC Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` [PATCH v6 05/14] ARM: multi_v7_defconfig: Add " Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` [PATCH v6 06/14] dt-bindings: Add en7523-scu device tree binding documentation Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-10 20:49 ` Rob Herring 2021-12-10 20:49 ` Rob Herring 2021-12-03 11:33 ` [PATCH v6 07/14] clk: en7523: Add clock driver for Airoha EN7523 SoC Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` [PATCH v6 08/14] ARM: dts: add clock support for Airoha EN7523 Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` [PATCH v6 09/14] dt-bindings: PCI: Add support for Airoha EN7532 Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` [PATCH v6 10/14] PCI: mediatek: allow selecting controller driver for airoha arch Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-06 20:11 ` Bjorn Helgaas 2021-12-06 20:11 ` Bjorn Helgaas 2021-12-06 20:11 ` Bjorn Helgaas 2021-12-03 11:33 ` [PATCH v6 11/14] ARM: dts: Add PCIe support for Airoha EN7523 Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` [PATCH v6 12/14] dt-bindings: arm: airoha: Add binding for Airoha GPIO controller Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-10 20:52 ` Rob Herring 2021-12-10 20:52 ` Rob Herring 2021-12-03 11:33 ` [PATCH v6 13/14] gpio: Add support for Airoha EN7523 " Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau 2021-12-03 11:33 ` Felix Fietkau [this message] 2021-12-03 11:33 ` [PATCH v6 14/14] ARM: dts: add GPIO support for Airoha EN7523 Felix Fietkau
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211203113331.20510-15-nbd@nbd.name \ --to=nbd@nbd.name \ --cc=devicetree@vger.kernel.org \ --cc=john@phrozen.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.