diff mbox

powerpc/p1010rdb: add EEPROMs to device tree

Message ID 1337783718-25553-1-git-send-email-gustavo@zacarias.com.ar (mailing list archive)
State Accepted, archived
Commit babb5e8d475f512c44c08cb2804a2b961551d211
Delegated to: Kumar Gala
Headers show

Commit Message

Gustavo Zacarias May 23, 2012, 2:35 p.m. UTC
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(-)

Comments

Kumar Gala June 29, 2012, 8:02 p.m. UTC | #1
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
diff mbox

Patch

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>;