Thread (1 message) 1 message, 1 author, 2015-11-24
DORMANTno replies

[PATCH 11/14] ARM: am437x: cm-t43: dts: add support for baseboard eeprom

From: Nikita Kiryanov <hidden>
Date: 2015-11-24 13:19:12
Also in: linux-devicetree, linux-omap
Subsystem: the rest · Maintainer: Linus Torvalds

SB-SOM baseboard comes with an on-board EEPROM. On SBC-T43 this EEPROM
resides on the i2c1 bus. Add it to the device tree.

Signed-off-by: Nikita Kiryanov <redacted>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Igor Grinberg <redacted>
Cc: Dmitry Lifshitz <redacted>
Cc: Ian Campbell <redacted>
---
 arch/arm/boot/dts/am437x-sbc-t43.dts | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/am437x-sbc-t43.dts b/arch/arm/boot/dts/am437x-sbc-t43.dts
index b2e3201..7394aa1 100644
--- a/arch/arm/boot/dts/am437x-sbc-t43.dts
+++ b/arch/arm/boot/dts/am437x-sbc-t43.dts
@@ -61,6 +61,12 @@
 		gpio-controller;
 		#gpio-cells = <2>;
 	};
+
+	eeprom_base: at24 at 50 {
+		compatible = "atmel,24c02";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
 };
 
 &i2c2 {
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help