[PATCH 5/5] ARM: pxa: DTS: override gpio node in pxa3xx.dtsi

Haojian Zhuang haojian.zhuang at linaro.org
Sun Aug 11 05:51:22 EDT 2013


On 11 July 2013 23:17, Daniel Mack <zonque at gmail.com> wrote:
> The gpio controller node inherited from pxa2xx.dtsi won't work for
> pxa3xx SoCs, so let's override it in pxa3xx.dtsi.
>
> Signed-off-by: Daniel Mack <zonque at gmail.com>
> Cc: Haojian Zhuang <haojian.zhuang at linaro.org>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Arnd Bergmann <arnd at arndb.de>
> ---
>  arch/arm/boot/dts/pxa3xx.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/pxa3xx.dtsi b/arch/arm/boot/dts/pxa3xx.dtsi
> index f9d92da..83bb0ef 100644
> --- a/arch/arm/boot/dts/pxa3xx.dtsi
> +++ b/arch/arm/boot/dts/pxa3xx.dtsi
> @@ -28,5 +28,16 @@
>                         marvell,intc-priority;
>                         marvell,intc-nr-irqs = <56>;
>                 };
> +
> +               gpio: gpio at 40e00000 {
> +                       compatible = "intel,pxa3xx-gpio";
> +                       reg = <0x40e00000 0x10000>;
> +                       interrupt-names = "gpio0", "gpio1", "gpio_mux";
> +                       interrupts = <8 9 10>;
> +                       gpio-controller;
> +                       #gpio-cells = <0x2>;
> +                       interrupt-controller;
> +                       #interrupt-cells = <0x2>;
> +               };
>         };
>  };
> --
> 1.8.1.4
>

Applied.

Regards
Haojian



More information about the linux-arm-kernel mailing list