[PATCH 2/2] ARM: dts: Add AT24C08 EEPROM support to TINY4412

Alex Ling kasimling at gmail.com
Sat Jan 18 09:24:43 EST 2014


This patch adds support for AT24C08 EEPROM found on TINY4412 board.

Signed-off-by: Alex Ling <kasimling at gmail.com>
---
 arch/arm/boot/dts/exynos4412-tiny4412.dts |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-tiny4412.dts b/arch/arm/boot/dts/exynos4412-tiny4412.dts
index 2c6bfe3..9f63664 100644
--- a/arch/arm/boot/dts/exynos4412-tiny4412.dts
+++ b/arch/arm/boot/dts/exynos4412-tiny4412.dts
@@ -109,4 +109,16 @@
 			clock-frequency = <24000000>;
 		};
 	};
+
+	i2c at 13860000 {
+		status = "okay";
+		samsung,i2c-sda-delay = <100>;
+		samsung,i2c-max-bus-freq = <200000>;
+
+		eeprom at 50 {
+			compatible = "atmel,24c08";
+			reg = <0x50>;
+			pagesize = <16>;
+		};
+	};
 };
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list