OSDN Git Service

ARM: ux500: Provide a AB8500 GPIO Device Tree node
authorLee Jones <lee.jones@linaro.org>
Tue, 18 Jun 2013 08:51:57 +0000 (09:51 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Jun 2013 12:48:15 +0000 (14:48 +0200)
Here we're adding a node for the AB8500 GPIO device. This will allow
other DT:ed components to obtain GPIOs for use within their drivers.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/dbx5x0.dtsi

index b6bc4ff..544824b 100644 (file)
                                interrupt-controller;
                                #interrupt-cells = <2>;
 
+                               ab8500_gpio: ab8500-gpio {
+                                       gpio-controller;
+                                       #gpio-cells = <2>;
+                               };
+
                                ab8500-rtc {
                                        compatible = "stericsson,ab8500-rtc";
                                        interrupts = <17 0x4