devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Lifshitz <lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
To: "Benoît Cousson"
	<bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>,
	"Tony Lindgren" <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>,
	linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Cc: Dmitry Lifshitz <lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
Subject: [PATCH 5/9] ARM: dts: sb-t35: add EEPROM support
Date: Tue, 18 Nov 2014 11:13:20 +0200	[thread overview]
Message-ID: <1416302004-22199-6-git-send-email-lifshitz@compulab.co.il> (raw)
In-Reply-To: <1416302004-22199-1-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>

Add at24 EEPROM chip support.

Signed-off-by: Dmitry Lifshitz <lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
---
 arch/arm/boot/dts/omap3-sb-t35.dtsi |   20 ++++++++++++++++++++
 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 b1cb577..aff733e 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 {
-- 
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-11-18  9:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18  9:13 [PATCH 0/9] ARM: dts: sbc-t3x: add more features support Dmitry Lifshitz
2014-11-18  9:13 ` [PATCH 1/9] ARM: dts: cm-t3x: cleanup comments indentation Dmitry Lifshitz
2014-11-18  9:13 ` [PATCH 2/9] ARM: dts: cm-t3x: add ADS7846 touchscreen support Dmitry Lifshitz
2014-11-18  9:13 ` [PATCH 3/9] ARM: OMAP2+: remove cm-t3x touchscreen pdata quirk Dmitry Lifshitz
2014-11-18  9:13 ` [PATCH 4/9] ARM: dts: cm-t3x: add EEPROM support Dmitry Lifshitz
     [not found] ` <1416302004-22199-1-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2014-11-18  9:13   ` Dmitry Lifshitz [this message]
2014-11-18  9:13 ` [PATCH 6/9] ARM: dts: cm-t3x: add TV out support Dmitry Lifshitz
2014-11-18  9:13 ` [PATCH 7/9] ARM: dts: sbc-t3x: add TV out display alias Dmitry Lifshitz
2014-11-18  9:13 ` [PATCH 8/9] ARM: dts: sbc-t3x30: add audio support Dmitry Lifshitz
2014-11-18  9:13 ` [PATCH 9/9] ARM: dts: cm-t3x30: add keypad support Dmitry Lifshitz
2014-11-22  0:02 ` [PATCH 0/9] ARM: dts: sbc-t3x: add more features support Tony Lindgren
2014-11-22  0:16   ` Tony Lindgren

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=1416302004-22199-6-git-send-email-lifshitz@compulab.co.il \
    --to=lifshitz-utxizqzc01rs1mouv/rt9w@public.gmane.org \
    --cc=bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
    /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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).