[PATCH 1/3] arm/dts: twl4030: Add twl4030-gpio node

Benoit Cousson b-cousson at ti.com
Wed May 9 02:37:25 EST 2012


Add the twl-gpio node inside twl4030 definition.

Cc: Felipe Balbi <balbi at ti.com>
Signed-off-by: Benoit Cousson <b-cousson at ti.com>
---
 arch/arm/boot/dts/twl4030.dtsi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
index a94654c..22f4d13 100644
--- a/arch/arm/boot/dts/twl4030.dtsi
+++ b/arch/arm/boot/dts/twl4030.dtsi
@@ -36,4 +36,12 @@
 		regulator-min-microvolt = <1850000>;
 		regulator-max-microvolt = <3150000>;
 	};
+
+	twl_gpio: gpio {
+		compatible = "ti,twl4030-gpio";
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <1>;
+	};
 };
-- 
1.7.0.4



More information about the devicetree-discuss mailing list