@@ -199,6 +199,7 @@
};
#include "twl6030.dtsi"
+#include "twl6030_omap4.dtsi"
&i2c2 {
pinctrl-names = "default";
@@ -62,3 +62,16 @@
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
};
};
+
+&omap_twl6030_vcore1 {
+ ti,vp = <&vp_core>;
+};
+
+&omap_twl6030_vcore2 {
+ ti,vp = <&vp_iva>;
+};
+
+&omap_twl6030_vcore3 {
+ /* We use TPS62361 on this platform instead */
+ status = "disabled";
+};
@@ -337,6 +337,7 @@
};
#include "twl6030.dtsi"
+#include "twl6030_omap4.dtsi"
&i2c2 {
pinctrl-names = "default";
@@ -40,6 +40,7 @@
};
#include "twl6030.dtsi"
+#include "twl6030_omap4.dtsi"
&i2c2 {
clock-frequency = <400000>;
new file mode 100644
@@ -0,0 +1,35 @@
+/*
+ * TWL6030 entries specific for OMAP
+ *
+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+ * Nishanth Menon
+ *
+ * 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.
+ */
+
+&twl {
+ omap_twl6030_vcore1: vcore1 {
+ compatible = "ti,omap-twl6030-vcore1";
+ ti,boot-voltage-micro-volts = <1200000>;
+ ti,vp = <&vp_mpu>;
+ };
+
+ omap_twl6030_vcore2: vcore2 {
+ compatible = "ti,omap-twl6030-vcore2";
+ ti,boot-voltage-micro-volts = <1200000>;
+ ti,vp = <&vp_iva>;
+ };
+
+ omap_twl6030_vcore3: vcore3 {
+ compatible = "ti,omap-twl6030-vcore3";
+ ti,boot-voltage-micro-volts = <1200000>;
+ ti,vp = <&vp_core>;
+ };
+};
+
+&vc {
+ ti,i2c-high-speed;
+ ti,i2c-pad-load = <3>;
+};
OMAP4430 and 4460 platforms use TWL6030 to power voltage rails. However, on 4460, we use twl6030 only for iva and core voltage rails. Introduce an twl6030_omap4.dtsi to be able to reuse the base definition for all OMAP4 platforms and the delta change only for panda-es platform which is based on 4460. Signed-off-by: Nishanth Menon <nm@ti.com> --- arch/arm/boot/dts/omap4-panda-common.dtsi | 1 + arch/arm/boot/dts/omap4-panda-es.dts | 13 +++++++++++ arch/arm/boot/dts/omap4-sdp.dts | 1 + arch/arm/boot/dts/omap4-var-som.dts | 1 + arch/arm/boot/dts/twl6030_omap4.dtsi | 35 +++++++++++++++++++++++++++++ 5 files changed, 51 insertions(+) create mode 100644 arch/arm/boot/dts/twl6030_omap4.dtsi