提交 58303f1f 编写于 作者: D Dinh Nguyen

ARM: socfpga: dts: add eeprom and rtc on i2c0

The Altera Cyclone5 and Arria5 devkit has an EEPROM and a RTC on the
board. This patch adds support for them.
Signed-off-by: NDinh Nguyen <dinguyen@altera.com>
---
v2: Remove LCD as the driver has not been upstreamed.
上级 7da9b436
...@@ -59,3 +59,18 @@ ...@@ -59,3 +59,18 @@
rxdv-skew-ps = <0>; rxdv-skew-ps = <0>;
rxc-skew-ps = <2000>; rxc-skew-ps = <2000>;
}; };
&i2c0 {
status = "okay";
eeprom@51 {
compatible = "atmel,24c32";
reg = <0x51>;
pagesize = <32>;
};
rtc@68 {
compatible = "dallas,ds1339";
reg = <0x68>;
};
};
...@@ -52,3 +52,18 @@ ...@@ -52,3 +52,18 @@
rxdv-skew-ps = <0>; rxdv-skew-ps = <0>;
rxc-skew-ps = <2000>; rxc-skew-ps = <2000>;
}; };
&i2c0 {
status = "okay";
eeprom@51 {
compatible = "atmel,24c32";
reg = <0x51>;
pagesize = <32>;
};
rtc@68 {
compatible = "dallas,ds1339";
reg = <0x68>;
};
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册