From: moinejf@free.fr (Jean-Francois Moine) Date: Thu, 28 Jan 2016 17:59:18 +0100 Subject: [linux-sunxi] Problem with Allwinner H3 clocks In-Reply-To: <56AA14AA.4070502@gmail.com> References: <20160127084607.665fb8c38eeb5733ce4232da@free.fr> <20160127103714.58312b152adb4148bae2f93b@free.fr> <56A8D5E5.30701@gmail.com> <20160127175512.87caf31b5e21a1fec91507f2@free.fr> <56A9098A.5010107@redhat.com> <20160127200217.14dce96ade71cf81bc82e6f6@free.fr> <56A9CE3D.4020906@redhat.com> <56AA14AA.4070502@gmail.com> Message-ID: <20160128175918.78a916a8cd7bf4c0b2f2814f@free.fr> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, 28 Jan 2016 14:16:26 +0100 Jens Kuske wrote: > after figuring out how to boot a devicetree kernel with allwinner's > u-boot I only had to add the mandatory > > clock-frequency = <24000000>; > arm,cpu-registers-not-fw-configured; > > to the timer node and v4.5-rc1 booted successfully. They are > intentionally left out in the official dt, because documentation says > one should prefer to fix the firmware -> mainline u-boot > No problems with clocks or uart here. You are right, I had these lines in my DT. Thanks. But, now, what about the PLL8 (periph1) which should be used by the MMCs? The A23/A33/H3 (and surely some other SoCs) documentations about the peripheral/periph/periph0/periph1 PLLs say: Note: The PLL Output should be fixed to 600MHz, it is not recommended to vary this value arbitrarily. (the value is 1.2GHz for the A64) Could it be safer or simpler to define the frequency of these clocks in the DT (with their x2/d2)? -- Ken ar c'henta? | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/