[linux-yocto] [PATCH 4.1] fsl-mpc8315e-rdb: Enable EEPROM
Kevin Hao
kexin.hao at windriver.com
Wed Nov 18 21:48:31 PST 2015
From: Bruce Ashfield <bruce.ashfield at windriver.com>
Update the mpc8315erdb.dts to contain the eeprom device
information. Coupled with adding "MISC_DEVICES" into the
kernel configuration, we have a working eeprom.
Signed-off-by: Jingdong Lu <jingdong.lu at windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
---
arch/powerpc/boot/dts/mpc8315erdb.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/boot/dts/mpc8315erdb.dts b/arch/powerpc/boot/dts/mpc8315erdb.dts
index 4354684..90c06aa 100644
--- a/arch/powerpc/boot/dts/mpc8315erdb.dts
+++ b/arch/powerpc/boot/dts/mpc8315erdb.dts
@@ -118,6 +118,12 @@
interrupts = <14 0x8>;
interrupt-parent = <&ipic>;
dfsrr;
+
+ eeprom at 50 {
+ compatible = "atmel,24c256";
+ reg = <0x50>;
+ };
+
rtc at 68 {
compatible = "dallas,ds1339";
reg = <0x68>;
--
1.9.1
More information about the linux-yocto
mailing list