Re: [linux-sunxi] Re: [PATCH 4/4] Add arch count timer node in dtsfor Allwinner A20(sunxi 7i).

From: cinifr
Date: Thu Sep 12 2013 - 12:23:27 EST


On 12 September 2013 23:44, Ian Campbell <ijc@xxxxxxxxxxxxxx> wrote:
> On Thu, 2013-09-12 at 15:57 +0100, Mark Rutland wrote:
>
>> > + interrupts = <1 13 0x308>,
>> > + <1 14 0x308>,
>> > + <1 11 0x308>,
>> > + <1 10 0x308>;
>> > + clock-frequency = <24000000>;
>>
>> If at all possible, your bootloader should set CNTFREQ, and
>> clock-frequency should only be used as a last resort when it's
>> impossible to get it to set CNTFREQ. It's not possible to set CNTFREQ
>> from the non-secure side, so guests (which might not be Linux, and might
>> not handle DT in the same way) may see a completely wrong frequency
>> value.
Yes, My bootloader dont set it, and I have to set it at dtsi fot
boot, I found <clock-frequency> is be set in dtsi file for ohters
cups.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/