浏览代码

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 年之前
父节点
当前提交
820617c251
共有 1 个文件被更改,包括 12 次插入0 次删除
  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>;