* [PATCH] add rtc-on-i2c node to two linkstation device-trees
@ 2007-06-04 20:17 Guennadi Liakhovetski
2007-06-07 13:32 ` Segher Boessenkool
0 siblings, 1 reply; 2+ messages in thread
From: Guennadi Liakhovetski @ 2007-06-04 20:17 UTC (permalink / raw)
To: linuxppc-dev
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@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@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@32 {
+ device_type = "rtc";
+ compatible = "rtc-rs5c372";
+ model = "rs5c372b";
+ reg = <32>;
+ };
};
serial@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@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@32 {
+ device_type = "rtc";
+ compatible = "rtc-rs5c372";
+ model = "rs5c372b";
+ reg = <32>;
+ };
};
serial@80004500 {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] add rtc-on-i2c node to two linkstation device-trees
2007-06-04 20:17 [PATCH] add rtc-on-i2c node to two linkstation device-trees Guennadi Liakhovetski
@ 2007-06-07 13:32 ` Segher Boessenkool
0 siblings, 0 replies; 2+ messages in thread
From: Segher Boessenkool @ 2007-06-07 13:32 UTC (permalink / raw)
To: Guennadi Liakhovetski; +Cc: linuxppc-dev
> 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.
The changes look good to me.
Segher
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-07 13:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-04 20:17 [PATCH] add rtc-on-i2c node to two linkstation device-trees Guennadi Liakhovetski
2007-06-07 13:32 ` Segher Boessenkool
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).