[PATCH 1/2] powerpc/83xx: add DS1339 RTC support for MPC8349E-mITX boards

Kumar Gala galak at kernel.crashing.org
Wed Oct 22 05:35:37 EST 2008


On Oct 21, 2008, at 1:23 PM, Scott Wood wrote:

> On Fri, Oct 17, 2008 at 10:56:59PM +0400, Anton Vorontsov wrote:
>> diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/ 
>> boot/dts/mpc8349emitx.dts
>> index 5cedf37..7fc5414 100644
>> --- a/arch/powerpc/boot/dts/mpc8349emitx.dts
>> +++ b/arch/powerpc/boot/dts/mpc8349emitx.dts
>> @@ -83,6 +83,14 @@
>> 			interrupts = <15 0x8>;
>> 			interrupt-parent = <&ipic>;
>> 			dfsrr;
>> +
>> +			rtc at 68 {
>> +				device_type = "rtc";
>> +				compatible = "dallas,ds1339";
>> +				reg = <0x68>;
>> +				interrupts = <18 0x8>;
>> +				interrupt-parent = <&ipic>;
>> +			};
>
> Why are we adding more device_types?

I think the 'rtc' device_type is legacy from OF.

- k



More information about the Linuxppc-dev mailing list