arm/dts: omap3-beagle: Add twl4030 and i2c EEPROM
authorBenoit Cousson <b-cousson@ti.com>
Wed, 13 Jul 2011 20:14:54 +0000 (01:44 +0530)
committerBenoit Cousson <b-cousson@ti.com>
Wed, 7 Mar 2012 12:43:20 +0000 (13:43 +0100)
Add required clock frequencies for the i2c client devices existing
on beagle board.

Add the twl4030 basic description with only the twl_rtc module.

Add the EEPROM node.

Based on original patch from Manju:
http://www.spinics.net/lists/linux-omap/msg55831.html

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/boot/dts/omap3-beagle.dts

index 9f72cd4cf3084d6aae6e4f3b4bd17a261d89e296..714ba5d506ce05c5281f3339ef5b45e978080cdc 100644 (file)
                reg = <0x80000000 0x20000000>; /* 512 MB */
        };
 };
+
+&i2c1 {
+       clock-frequency = <2600000>;
+
+       twl: twl@48 {
+               reg = <0x48>;
+               interrupts = <7>; /* SYS_NIRQ cascaded to intc */
+               interrupt-parent = <&intc>;
+       };
+};
+
+/include/ "twl4030.dtsi"
+
+&i2c2 {
+       clock-frequency = <400000>;
+};
+
+&i2c3 {
+       clock-frequency = <100000>;
+
+       /*
+        * Display monitor features are burnt in the EEPROM
+        * as EDID data.
+        */
+       eeprom@50 {
+               compatible = "ti,eeprom";
+               reg = <0x50>;
+       };
+};