diff options
author | Dinh Nguyen <dinguyen@altera.com> | 2014-04-02 14:02:42 -0500 |
---|---|---|
committer | Dinh Nguyen <dinguyen@altera.com> | 2014-05-05 22:33:15 -0500 |
commit | 58303f1f961d6a1abc0496790c9c557d67e9ae64 (patch) | |
tree | 2e572d9a0ece01f76331c16f5d6f1046e8869f2f /arch/arm/boot/dts/socfpga_cyclone5_socdk.dts | |
parent | 7da9b436d837941533ec0a0ccc78d3b294f997e8 (diff) | |
download | linux-58303f1f961d6a1abc0496790c9c557d67e9ae64.tar.bz2 |
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: Dinh Nguyen <dinguyen@altera.com>
---
v2: Remove LCD as the driver has not been upstreamed.
Diffstat (limited to 'arch/arm/boot/dts/socfpga_cyclone5_socdk.dts')
-rw-r--r-- | arch/arm/boot/dts/socfpga_cyclone5_socdk.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts b/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts index 5e9445a1caf7..55d54f7ad212 100644 --- a/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts +++ b/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts @@ -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>; + }; +}; |