From mboxrd@z Thu Jan 1 00:00:00 1970 From: narmstrong@baylibre.com (Neil Armstrong) Date: Thu, 15 Nov 2018 10:13:28 +0100 Subject: [PATCH RESEND 2/2] arm64: dts: meson: add libretech aml-s805x-ac board In-Reply-To: <87a7mbvi6y.fsf@dell.be.48ers.dk> References: <20181114101925.10526-3-jbrunet@baylibre.com> <20181114103855.14571-1-jbrunet@baylibre.com> <87a7mbvi6y.fsf@dell.be.48ers.dk> Message-ID: <4c2aae46-e34e-aeb4-339d-00a4f4cbf3e7@baylibre.com> To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org On 14/11/2018 15:37, Peter Korsgaard wrote: >>>>>> "Jerome" == Jerome Brunet writes: > > > From: Neil Armstrong > > Add Libretech aml-s805x-ac board (aka 'La Frite') support > > > Signed-off-by: Neil Armstrong > > Signed-off-by: Jerome Brunet > > --- > > .. > > > +#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 at 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 at 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