]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
ARM: kirkwood: Add support second I2C bus and RTC on OpenBlocks A6
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thu, 22 Nov 2012 21:30:10 +0000 (06:30 +0900)
committerJason Cooper <jason@lakedaemon.net>
Sat, 24 Nov 2012 02:59:00 +0000 (02:59 +0000)
OpenBlocks A6 uses second I2C with RTC of s35390a.
This supports them.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/kirkwood-openblocks_a6.dts

index 9a2606c8b78fd21a63d0b03db6976c02044d9e87..bada756821b08dcb71d53879211091296ef7ebcd 100644 (file)
@@ -1,6 +1,7 @@
 /dts-v1/;
 
 /include/ "kirkwood.dtsi"
+/include/ "kirkwood-6282.dtsi"
 
 / {
        model = "Plat'Home OpenBlocksA6";
                        nr-ports = <1>;
                        status = "okay";
                };
+
+               i2c@11100 {
+                       status = "okay";
+
+                       s35390a: s35390a@30 {
+                               compatible = "s35390a";
+                               reg = <0x30>;
+                       };
+               };
        };
 };