lkml.org 
[lkml]   [2018]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH RESEND 2/2] arm64: dts: meson: add libretech aml-s805x-ac board
From
Date
On 14/11/2018 15:37, Peter Korsgaard wrote:
>>>>>> "Jerome" == Jerome Brunet <jbrunet@baylibre.com> writes:
>
> > From: Neil Armstrong <narmstrong@baylibre.com>
> > Add Libretech aml-s805x-ac board (aka 'La Frite') support
>
> > Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> > Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> > ---
>
> ..
>
> > +#include "meson-gxl-s905x.dtsi"
> > +
> > +/ {
> > + compatible = "libretech,aml-s805x-ac", "amlogic,s805x",
> > + "amlogic,meson-gxl";
> > + model = "Libre Computer Board AML-S805X-AC";
>
> No mention of 'La Frite'?

It's a codename, the actual product name is AML-S805X-AC

>
> > + memory@0 {
> > + device_type = "memory";
> > + reg = <0x0 0x0 0x0 0x20000000>;
> > + };
>
> Maybe add a comment that there's 1GB variants as well?

Like other board, we set the minimal encountered memory size in DT,
the bootloader will update it to the actual memory size.

>
>> +
> > + vcck: regulator-vcck {
> > + compatible = "regulator-fixed";
> > + regulator-name = "VCCK";
> > + regulator-min-microvolt = <3300000>;
> > + regulator-max-microvolt = <3300000>;
> > + vin-supply = <&dc_5v>;
> > +
> > + /*
> > + * This is controlled by GPIOAO_9 we reserve this but
> > + * claiming it as done bellow reset the board anyway
>
> s/bellow/below/

Good catch !

>
> > +&spifc {
> > + status = "okay";
> > + pinctrl-0 = <&nor_pins>;
> > + pinctrl-names = "default";
> > +
> > + w25q32: spi-flash@0 {
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > + compatible = "jedec,spi-nor";
> > + reg = <0>;
> > + spi-max-frequency = <3000000>;
>
> Is this 3MHz a limitation of the flash, board layout or SPI controller?
>

It's the stable clock frequency used by amlogic to access to SPI flash,
we prefer using a safe freq, because we don't need fast access here.

Neil

\
 
 \ /
  Last update: 2018-11-15 10:14    [W:0.050 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site