From: Benoit Cousson Date: Thu, 15 Dec 2011 14:46:47 +0000 (+0100) Subject: arm/dts: twl6030: Add DTS file for twl6030 PMIC X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4711244c764da806fc9d14793c0664f3709ef17d;p=linux-beck.git arm/dts: twl6030: Add DTS file for twl6030 PMIC Add a dedicated DTS file for the twl6030 Power IC. This chip is a big SoC that will be reused in a lot of various OMAP4+ boards. Note: This file is supposed to be included in a board DTS that will create the twl node in order to allow the &twl reference to work. Exmaple: ... &i2c1 { twl: twl@48 { reg = <0x48>; interrupts = <0 7 4>; interrupt-controller; interrupt-parent = <&gic>; }; }; /include/ "twl6030.dtsi" ... Signed-off-by: Benoit Cousson Acked-by: Grant Likely Acked-by: Rob Herring --- diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/twl6030.dtsi new file mode 100644 index 000000000000..b7b4e5e4340a --- /dev/null +++ b/arch/arm/boot/dts/twl6030.dtsi @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +/* + * Integrated Power Management Chip + * http://www.ti.com/lit/ds/symlink/twl6030.pdf + */ +&twl { + compatible = "ti,twl6030"; + interrupt-controller; + #interrupt-cells = <1>; + + rtc { + compatible = "ti,twl4030-rtc"; + interrupts = <11>; + }; +};