mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Olliver Schinagl <o.schinagl@ultimaker.com>
To: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Russell King <linux@arm.linux.org.uk>,
	Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Olliver Schinagl <oliver@schinagl.nl>
Subject: [PATCH 1/5] dts: sunxi: add eeprom to A10 OLinuXino Lime board
Date: Wed,  9 Sep 2015 11:25:11 +0200	[thread overview]
Message-ID: <1441790715-11957-2-git-send-email-o.schinagl@ultimaker.com> (raw)
In-Reply-To: <1441790715-11957-1-git-send-email-o.schinagl@ultimaker.com>

From: Olliver Schinagl <oliver@schinagl.nl>

The Olimex A10 OLinuXino Lime features an eeprom that is always on the
board. This patch adds it to the dts.

--Tested-by: Olliver Schinagl <oliver@schinagl.nl>
--Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
---
 arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts b/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts
index b64aa4e..0f3ed86 100644
--- a/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts
+++ b/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts
@@ -124,6 +124,18 @@
 	};
 };
 
+&i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins_a>;
+	status = "okay";
+
+	eeprom: eeprom@50 {
+		compatible = "atmel,24c16";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
+};
+
 &mdio {
 	status = "okay";
 
-- 
2.1.4


  reply	other threads:[~2015-09-09  9:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-09  9:25 [PATCH 0/5] Add eeprom to the Olimex series of boards Olliver Schinagl
2015-09-09  9:25 ` Olliver Schinagl [this message]
2015-09-09  9:25 ` [PATCH 2/5] dts: sunxi: correct vendor prefix on OLinuXino a10s micro Olliver Schinagl
2015-09-09  9:25 ` [PATCH 3/5] dts: sunxi: add eeprom to A20 OLinuXino Lime board Olliver Schinagl
2015-09-09  9:25 ` [PATCH 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board Olliver Schinagl
2015-09-09  9:25 ` [PATCH 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board Olliver Schinagl
2015-09-09 14:05 ` [PATCH 0/5] Add eeprom to the Olimex series of boards Maxime Ripard
2015-09-09 14:26   ` Olliver Schinagl

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=1441790715-11957-2-git-send-email-o.schinagl@ultimaker.com \
    --to=o.schinagl@ultimaker.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=oliver@schinagl.nl \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.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

all inboxes | Powered by JetHome®