Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58303f1f authored by Dinh Nguyen's avatar Dinh Nguyen
Browse files

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
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -59,3 +59,18 @@
	rxdv-skew-ps = <0>;
	rxc-skew-ps = <2000>;
};

&i2c0 {
	status = "okay";

	eeprom@51 {
		compatible = "atmel,24c32";
		reg = <0x51>;
		pagesize = <32>;
	};

	rtc@68 {
		compatible = "dallas,ds1339";
		reg = <0x68>;
	};
};
+15 −0
Original line number Diff line number Diff line
@@ -52,3 +52,18 @@
	rxdv-skew-ps = <0>;
	rxc-skew-ps = <2000>;
};

&i2c0 {
	status = "okay";

	eeprom@51 {
		compatible = "atmel,24c32";
		reg = <0x51>;
		pagesize = <32>;
	};

	rtc@68 {
		compatible = "dallas,ds1339";
		reg = <0x68>;
	};
};