From: Benoit Cousson <b-cousson@ti.com> To: grant.likely@secretlab.ca, tony@atomide.com Cc: linux-omap@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, manjugk@ti.com, Benoit Cousson <b-cousson@ti.com> Subject: [PATCH 09/13] arm/dts: omap4-sdp: Add twl6030 node Date: Thu, 1 Sep 2011 19:21:25 +0200 [thread overview] Message-ID: <1314897689-17791-10-git-send-email-b-cousson@ti.com> (raw) In-Reply-To: <1314897689-17791-1-git-send-email-b-cousson@ti.com> Add the twl6030 node inside the i2c1 controller node. Add the RTC submodule inside the twl node. This is just the minimal support needed to boot OMAP4 boards without any crash. The support for all the features included in this MFD will be added later. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Cc: Grant Likely <grant.likely@secretlab.ca> --- arch/arm/boot/dts/omap4-sdp.dts | 25 +++++++++++++++++++++++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index ed85b35..d03f2e7 100644 --- a/arch/arm/boot/dts/omap4-sdp.dts +++ b/arch/arm/boot/dts/omap4-sdp.dts @@ -26,12 +26,33 @@ device_type = "memory"; reg = <0x80000000 0x40000000>; /* 1 GB */ }; - - }; &i2c1 { clock-frequency = <400000>; + + /* + * Integrated Power Management Chip + * http://www.ti.com/lit/ds/symlink/twl6030.pdf + */ + twl@48 { + compatible = "ti,twl6030"; + reg = <0x48>; + interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */ + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&gic>; + /* twl is a MFD, so it will contain a bunch of sub-ips */ + #address-cells = <1>; + #size-cells = <0>; + ranges = <0 0x48>; + + twl_rtc { + compatible = "ti,twl_rtc"; + interrupts = <11>; + reg = <0>; + }; + }; }; &i2c2 { -- 1.7.0.4
WARNING: multiple messages have this Message-ID (diff)
From: b-cousson@ti.com (Benoit Cousson) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/13] arm/dts: omap4-sdp: Add twl6030 node Date: Thu, 1 Sep 2011 19:21:25 +0200 [thread overview] Message-ID: <1314897689-17791-10-git-send-email-b-cousson@ti.com> (raw) In-Reply-To: <1314897689-17791-1-git-send-email-b-cousson@ti.com> Add the twl6030 node inside the i2c1 controller node. Add the RTC submodule inside the twl node. This is just the minimal support needed to boot OMAP4 boards without any crash. The support for all the features included in this MFD will be added later. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Cc: Grant Likely <grant.likely@secretlab.ca> --- arch/arm/boot/dts/omap4-sdp.dts | 25 +++++++++++++++++++++++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index ed85b35..d03f2e7 100644 --- a/arch/arm/boot/dts/omap4-sdp.dts +++ b/arch/arm/boot/dts/omap4-sdp.dts @@ -26,12 +26,33 @@ device_type = "memory"; reg = <0x80000000 0x40000000>; /* 1 GB */ }; - - }; &i2c1 { clock-frequency = <400000>; + + /* + * Integrated Power Management Chip + * http://www.ti.com/lit/ds/symlink/twl6030.pdf + */ + twl at 48 { + compatible = "ti,twl6030"; + reg = <0x48>; + interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */ + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&gic>; + /* twl is a MFD, so it will contain a bunch of sub-ips */ + #address-cells = <1>; + #size-cells = <0>; + ranges = <0 0x48>; + + twl_rtc { + compatible = "ti,twl_rtc"; + interrupts = <11>; + reg = <0>; + }; + }; }; &i2c2 { -- 1.7.0.4
next prev parent reply other threads:[~2011-09-01 17:21 UTC|newest] Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-09-01 17:21 [PATCH 00/13] OMAP4: Add DT support for i2c and twl6030 Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 17:21 ` [PATCH 01/13] irq: Add stub for none DT build in irqdomain.h Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 17:21 ` [PATCH 02/13] i2c: OMAP: Add DT support for i2c controller Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 17:21 ` [PATCH 03/13] documentation/dt: Add OMAP i2c bindings documentation Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 17:21 ` [PATCH 04/13] mfd: twl-core: Add initial DT support for twl4030/twl6030 Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 18:27 ` Arnd Bergmann 2011-09-01 18:27 ` Arnd Bergmann 2011-09-05 16:05 ` Cousson, Benoit 2011-09-05 16:05 ` Cousson, Benoit 2011-09-01 17:21 ` [PATCH 05/13] documentation/dt: Add TWL4030 and TWL6030 bindings Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 17:21 ` [PATCH 06/13] arm/dts: OMAP4: Add i2c controller nodes Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 17:21 ` [PATCH 07/13] arm/dts: omap4-sdp: Set clock freq for i2c controllers Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 17:21 ` [PATCH 08/13] arm/dts: omap4-panda: " Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson [this message] 2011-09-01 17:21 ` [PATCH 09/13] arm/dts: omap4-sdp: Add twl6030 node Benoit Cousson 2011-09-01 17:21 ` [PATCH 10/13] arm/dts: omap4-panda: " Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 17:21 ` [PATCH 11/13] OMAP4: board-dt: Remove static i2c init Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 17:21 ` [PATCH 12/13] arm/dts: omap4-sdp: Add i2c3 & i2c4 devices Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 17:21 ` [PATCH 13/13] arm/dts: omap4-panda: Add EEPROM entry in i2c3 Benoit Cousson 2011-09-01 17:21 ` Benoit Cousson 2011-09-01 19:14 ` [PATCH 00/13] OMAP4: Add DT support for i2c and twl6030 Arnd Bergmann 2011-09-01 19:14 ` Arnd Bergmann
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=1314897689-17791-10-git-send-email-b-cousson@ti.com \ --to=b-cousson@ti.com \ --cc=devicetree-discuss@lists.ozlabs.org \ --cc=grant.likely@secretlab.ca \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-omap@vger.kernel.org \ --cc=manjugk@ti.com \ --cc=tony@atomide.com \ /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.