Wiadomość napisana przez s_g...@telus.net w dniu 02.02.2019, o godz. 21:30:
> 
> 
> 
> -----Original Message-----
> From: s_g...@telus.net <s_g...@telus.net> 
> Sent: February 2, 2019 11:29 AM
> To: 'Krystian Lewandowski' <k.lewandow...@icloud.com>
> Subject: RE: initial cpu speed on orangepi one and orangepi pc2 - probably 
> other H5 and H3 boards
> 
> Thank you for your reply.
> The stock dtbs do not have the "operating-points-v2" and it follows that 
> there is no frequency set by the dtb.
> Can you point me to a dtb block that has the property with an example of 
> setting the frequency.
> 

Maybe this one?
https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/sun8i-h3.dtsi#L46
 
<https://github.com/torvalds/linux/blob/master/arch/arm/boot/dts/sun8i-h3.dtsi#L46>

-- 
Krystian

> One dtb:
>                clock@1c20000 {
>                        reg = < 0x1c20000 0x400 >;
>                        clocks = < 0x0e 0x0f >;
>                        clock-names = "hosc\0losc";
>                        #clock-cells = < 0x01 >;
>                        #reset-cells = < 0x01 >;
>                        compatible = "allwinner,sun8i-h3-ccu";
>                        phandle = < 0x03 >;
>                };
> 
> Pc2 dtb:
> 
>                clock@1c20000 {
>                        reg = < 0x1c20000 0x400 >;
>                        clocks = < 0x0e 0x0f >;
>                        clock-names = "hosc\0losc";
>                        #clock-cells = < 0x01 >;
>                        #reset-cells = < 0x01 >;
>                        compatible = "allwinner,sun50i-h5-ccu";
>                        phandle = < 0x03 >;
>                };
> 
> Stephen Graf
> 
> -----Original Message-----
> From: Krystian Lewandowski <k.lewandow...@icloud.com> 
> Sent: February 2, 2019 10:53 AM
> To: s_g...@telus.net
> Cc: arm@openbsd.org
> Subject: Re: initial cpu speed on orangepi one and orangepi pc2 - probably 
> other H5 and H3 boards
> 
> Wiadomość napisana przez s_g...@telus.net w dniu 02.02.2019, o godz. 18:26:
>> 
>> I just realized that the cpu speed on these boards defaults on start-up, the
>> pc2 to 816Mhz and the one to 1008 Mhz. Both of these machines should be able
>> to run at 1300Mhz.
>> The pc2 speed can be changed with hw.setperf, but not the one.
>> Can the sxiccmu module be changed to read a value from the dtb to use as the
>> initial cpu speed?
>> 
> 
> Does the DT for OrangePi One have the "operating-points-v2" property?
> 
> It seems H3 is already supported by OpenBSD:
> https://github.com/openbsd/src/blob/master/sys/dev/fdt/sxiccmu.c#L110
> 
> -- 
> Krystian
> 

Reply via email to