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


Groups > linux.kernel > #1221329

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

From Olliver Schinagl <o.schinagl@ultimaker.com>
Newsgroups linux.kernel
Subject [PATCH 5/5] dts: sunxi: add eeprom to A20 OLinuXino micro board
Date 2015-09-09 11:30 +0200
Message-ID <q6JRv-7mz-15@gated-at.bofh.it> (permalink)
References <q6JRv-7mz-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Olliver Schinagl <oliver@schinagl.nl>

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

--Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
---
 arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
index 00f8f25..f2816dd 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
@@ -125,6 +125,12 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c1_pins_a>;
 	status = "okay";
+
+	eeprom: eeprom@50 {
+		compatible = "atmel,24c16";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
 };
 
 &i2c2 {
-- 
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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web