[PATCH] add rtc-on-i2c node to two linkstation device-trees
Guennadi Liakhovetski
g.liakhovetski at gmx.de
Tue Jun 5 06:17:41 EST 2007
If approved here, this patch will follow the previous one for i2c-of
definitions to the -mm tree, to fix linkstation breakage caused by
converting rtc-rs5c372 driver to the new i2c api.
Signed-off-by: G. Liakhovetski <g.liakhovetski at gmx.de>
diff --git a/arch/powerpc/boot/dts/kuroboxHG.dts b/arch/powerpc/boot/dts/kuroboxHG.dts
index 919eb29..4a904b1 100644
--- a/arch/powerpc/boot/dts/kuroboxHG.dts
+++ b/arch/powerpc/boot/dts/kuroboxHG.dts
@@ -70,11 +70,20 @@ build with: "dtc -f -I dts -O dtb -o kuroboxHG.dtb -V 16 kuroboxHG.dts"
i2c at 80003000 {
linux,phandle = <4300>;
+ #address-cells = <1>;
+ #size-cells = <0>;
device_type = "i2c";
compatible = "fsl-i2c";
reg = <80003000 1000>;
interrupts = <5 2>;
interrupt-parent = <4400>;
+
+ rtc at 32 {
+ device_type = "rtc";
+ compatible = "rtc-rs5c372";
+ model = "rs5c372b";
+ reg = <32>;
+ };
};
serial at 80004500 {
diff --git a/arch/powerpc/boot/dts/kuroboxHD.dts b/arch/powerpc/boot/dts/kuroboxHD.dts
index 157dc98..b5c0e78 100644
--- a/arch/powerpc/boot/dts/kuroboxHD.dts
+++ b/arch/powerpc/boot/dts/kuroboxHD.dts
@@ -70,11 +70,20 @@ build with: "dtc -f -I dts -O dtb -o kuroboxHD.dtb -V 16 kuroboxHD.dts"
i2c at 80003000 {
linux,phandle = <4300>;
+ #address-cells = <1>;
+ #size-cells = <0>;
device_type = "i2c";
compatible = "fsl-i2c";
reg = <80003000 1000>;
interrupts = <5 2>;
interrupt-parent = <4400>;
+
+ rtc at 32 {
+ device_type = "rtc";
+ compatible = "rtc-rs5c372";
+ model = "rs5c372b";
+ reg = <32>;
+ };
};
serial at 80004500 {
More information about the Linuxppc-dev
mailing list