Re: [PATCH RESEND 2/2] arm64: dts: meson: add libretech aml-s805x-ac board
From: Neil Armstrong
Date: Thu Nov 15 2018 - 04:13:35 EST
On 14/11/2018 15:37, Peter Korsgaard wrote:
>>>>>> "Jerome" == Jerome Brunet <jbrunet@xxxxxxxxxxxx> writes:
>
> > From: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
> > Add Libretech aml-s805x-ac board (aka 'La Frite') support
>
> > Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
> > Signed-off-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>
> > ---
>
> ..
>
> > +#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