Browse Source

ARM: realview: add the DS1338 RTC to PB1176 DT

This adds the Versatile I2C adapter and the Dallas DS1338
RTC on it to the PB1176 device tree.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Linus Walleij 9 years ago
parent
commit
820617c251
1 changed files with 12 additions and 0 deletions
  1. 12 0
      arch/arm/boot/dts/arm-realview-pb1176.dts

+ 12 - 0
arch/arm/boot/dts/arm-realview-pb1176.dts

@@ -403,6 +403,18 @@
 		compatible = "simple-bus";
 		ranges;
 
+		i2c0: i2c@10002000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "arm,versatile-i2c";
+			reg = <0x10002000 0x1000>;
+
+			rtc@68 {
+				compatible = "dallas,ds1338";
+				reg = <0x68>;
+			};
+		};
+
 		fpga_aaci: aaci@10004000 {
 			compatible = "arm,pl041", "arm,primecell";
 			reg = <0x10004000 0x1000>;