summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/omap3-sb-t35.dtsi
diff options
context:
space:
mode:
authorDmitry Lifshitz <lifshitz@compulab.co.il>2014-11-18 12:13:20 +0300
committerTony Lindgren <tony@atomide.com>2014-11-22 03:11:56 +0300
commite35351bb711c031bc802f8e865dbca39060d1d11 (patch)
tree88e37a58731b81bd9c5901069c18112094ca7bb0 /arch/arm/boot/dts/omap3-sb-t35.dtsi
parent0cdb8255c0d5742c7112bf9b9d2b0a53512039fd (diff)
downloadlinux-e35351bb711c031bc802f8e865dbca39060d1d11.tar.xz
ARM: dts: sb-t35: add EEPROM support
Add at24 EEPROM chip support. Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-sb-t35.dtsi')
-rw-r--r--arch/arm/boot/dts/omap3-sb-t35.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-sb-t35.dtsi b/arch/arm/boot/dts/omap3-sb-t35.dtsi
index b1cb5774f49a..aff733e4ad59 100644
--- a/arch/arm/boot/dts/omap3-sb-t35.dtsi
+++ b/arch/arm/boot/dts/omap3-sb-t35.dtsi
@@ -58,6 +58,26 @@
OMAP3_CORE1_IOPAD(0x20b4, PIN_OUTPUT | MUX_MODE4) /* gpmc_ncs3.gpio_54 */
>;
};
+
+ i2c3_pins: pinmux_i2c3_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */
+ OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */
+ >;
+ };
+};
+
+&i2c3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c3_pins>;
+
+ clock-frequency = <400000>;
+
+ at24@50 {
+ compatible = "at24,24c02";
+ pagesize = <16>;
+ reg = <0x50>;
+ };
};
&gpmc {