Commit 58303f1f authored by Dinh Nguyen's avatar 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: default avatarDinh Nguyen <dinguyen@altera.com>
---
v2: Remove LCD as the driver has not been upstreamed.
parent 7da9b436
...@@ -59,3 +59,18 @@ &gmac1 { ...@@ -59,3 +59,18 @@ &gmac1 {
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 @@ &gmac1 { ...@@ -52,3 +52,18 @@ &gmac1 {
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment