[PATCH] powerpc/p1010rdb: add EEPROMs to device tree

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE5169d

2 messages, 2 authors, 2012-06-29 · open the first message on its own page

[PATCH] powerpc/p1010rdb: add EEPROMs to device tree

From: Gustavo Zacarias <hidden>
Date: 2012-05-23 14:40:58

Add EEPROM to the P1010RDB device tree.
The 24c01 acts as a memory SPD so it shouldn't be overwritten without
care.
The 24c256 is a general purpose memory.

Signed-off-by: Gustavo Zacarias <redacted>
---
 arch/powerpc/boot/dts/p1010rdb.dtsi |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/p1010rdb.dtsi b/arch/powerpc/boot/dts/p1010rdb.dtsi
index 4977614..ec7c27a 100644
--- a/arch/powerpc/boot/dts/p1010rdb.dtsi
+++ b/arch/powerpc/boot/dts/p1010rdb.dtsi
@@ -126,12 +126,24 @@
 
 &board_soc {
 	i2c@3000 {
+		eeprom@50 {
+			compatible = "st,24c256";
+			reg = <0x50>;
+		};
+
 		rtc@68 {
 			compatible = "pericom,pt7c4338";
 			reg = <0x68>;
 		};
 	};
 
+	i2c@3100 {
+		eeprom@52 {
+			compatible = "atmel,24c01";
+			reg = <0x52>;
+		};
+	};
+
 	spi@7000 {
 		flash@0 {
 			#address-cells = <1>;
-- 
1.7.3.4

Re: [PATCH] powerpc/p1010rdb: add EEPROMs to device tree

From: Kumar Gala <hidden>
Date: 2012-06-29 20:02:37

On May 23, 2012, at 9:35 AM, Gustavo Zacarias wrote:
Add EEPROM to the P1010RDB device tree.
The 24c01 acts as a memory SPD so it shouldn't be overwritten without
care.
The 24c256 is a general purpose memory.

Signed-off-by: Gustavo Zacarias <redacted>
---
arch/powerpc/boot/dts/p1010rdb.dtsi |   12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
applied

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help