[PATCH] powerpc/p1010rdb: add EEPROMs to device tree
Gustavo Zacarias
gustavo at zacarias.com.ar
Thu May 24 00:35:18 EST 2012
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 at 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 at 3000 {
+ eeprom at 50 {
+ compatible = "st,24c256";
+ reg = <0x50>;
+ };
+
rtc at 68 {
compatible = "pericom,pt7c4338";
reg = <0x68>;
};
};
+ i2c at 3100 {
+ eeprom at 52 {
+ compatible = "atmel,24c01";
+ reg = <0x52>;
+ };
+ };
+
spi at 7000 {
flash at 0 {
#address-cells = <1>;
--
1.7.3.4
More information about the Linuxppc-dev
mailing list