SAMA5D27 Slow clock controller DTS setting for internal RC oscillator

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

foxxhu
Posts: 2
Joined: Fri Mar 23, 2018 12:48 am

SAMA5D27 Slow clock controller DTS setting for internal RC oscillator

Fri Mar 23, 2018 1:29 am

Hello,

We have built our own board based on a SAMA5D27C-D1G. The schematic was closely based on the SAMA5D27-SOM1 module + SOM1-EK. We are using buildroot, the board almost boots up.

The only major difference turned out that we ommited the external 32kHz crystal, because using an external RTC. According to the datasheet this is no problem because of the internal RC oscillator.
We found out that our board freezes after a short time while starting the kernel, but on the SOM1-EK there is no problem. (If I short the crystal on the SOM1 it also freezes at the absolute same point, so this might be the problem)
So I think the slow clock controller is not in the right setting.

I think this can be fixed by modifying the dts source (sama5d2.dtsi) according to the at91-clock.txt
https://www.kernel.org/doc/Documentatio ... -clock.txt

My question is, does someone have a working device tree segment for using the internal 64kHz RC oscillator? I've searched a lot on the net without luck.
foxxhu
Posts: 2
Joined: Fri Mar 23, 2018 12:48 am

Re: SAMA5D27 Slow clock controller DTS setting for internal RC oscillator

Fri Mar 23, 2018 3:26 pm

My collegue found the setting in the AT91bootstrap menuconfig.
Now the board boots up fine.

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 3 guests