All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] powerpc/p1010rdb: add EEPROMs to device tree
@ 2012-05-23 14:35 Gustavo Zacarias
  2012-06-29 20:02 ` Kumar Gala
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2012-05-23 14:35 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Gustavo Zacarias

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 <gustavo@zacarias.com.ar>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] powerpc/p1010rdb: add EEPROMs to device tree
  2012-05-23 14:35 [PATCH] powerpc/p1010rdb: add EEPROMs to device tree Gustavo Zacarias
@ 2012-06-29 20:02 ` Kumar Gala
  0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2012-06-29 20:02 UTC (permalink / raw)
  To: Gustavo Zacarias; +Cc: linuxppc-dev


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 <gustavo@zacarias.com.ar>
> ---
> arch/powerpc/boot/dts/p1010rdb.dtsi |   12 ++++++++++++
> 1 files changed, 12 insertions(+), 0 deletions(-)

applied

- k

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-29 20:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-23 14:35 [PATCH] powerpc/p1010rdb: add EEPROMs to device tree Gustavo Zacarias
2012-06-29 20:02 ` Kumar Gala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.