]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: socfpga: dts: add eeprom and rtc on i2c0
authorDinh Nguyen <dinguyen@altera.com>
Wed, 2 Apr 2014 19:02:42 +0000 (14:02 -0500)
committerDinh Nguyen <dinguyen@altera.com>
Tue, 6 May 2014 03:33:15 +0000 (22:33 -0500)
The Altera Cyclone5 and Arria5 devkit has an EEPROM and a RTC on the
board. This patch adds support for them.

Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
---
v2: Remove LCD as the driver has not been upstreamed.

arch/arm/boot/dts/socfpga_arria5_socdk.dts
arch/arm/boot/dts/socfpga_cyclone5_socdk.dts

index 88e4a8e02033aff0e1a0fc5727851dfb69acd2aa..a04061f6bb0a51a918c89490d02706f7f73256da 100644 (file)
        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>;
+       };
+};
index 5e9445a1caf75c40fc33c921d45dfbac4e95535f..55d54f7ad2129d821e09292f61ca6b30054ce277 100644 (file)
        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>;
+       };
+};