Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1221328 > unrolled thread

[PATCH 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board

Started byOlliver Schinagl <o.schinagl@ultimaker.com>
First post2015-09-09 11:30 +0200
Last post2015-09-09 11:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board Olliver Schinagl <o.schinagl@ultimaker.com> - 2015-09-09 11:30 +0200

#1221328 — [PATCH 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board

FromOlliver Schinagl <o.schinagl@ultimaker.com>
Date2015-09-09 11:30 +0200
Subject[PATCH 4/5] dts: sunxi: add eeprom to A20 OLinuXino Lime2 board
Message-ID<q6JRv-7mz-7@gated-at.bofh.it>
From: Olliver Schinagl <oliver@schinagl.nl>

The Olimex A20 OLinuXino Lime2 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/sun7i-a20-olinuxino-lime2.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index 8acff78..467ce8b 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
@@ -170,6 +170,12 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c1_pins_a>;
 	status = "okay";
+
+	eeprom: eeprom@50 {
+		compatible = "atmel,24c16";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
 };
 
 &mmc0 {
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web