Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1158156
| From | Krzysztof Kozlowski <k.kozlowski@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 11/11] dt: Exynos: add Snow SPI NOR node. |
| Date | 2015-06-04 04:10 +0200 |
| Message-ID | <pxsLv-2Xi-5@gated-at.bofh.it> (permalink) |
| References | <pxqA1-83J-3@gated-at.bofh.it> <pxsLv-2Xi-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 04.06.2015 06:26, Michal Suchanek wrote:
> The Snow has onboard SPI NOR flash which contains the bootloader.
>
> Add DT node for this flash chip. The flash is rated 133MHz but the pl330
> controller can transfer only up to 128 bytes at this speed so use more
> conservative settings. Even at 40MHz pl330 can transfer at most 64k with
> the current driver.
>
> Signed-off-by: Michal Suchanek <hramrach@gmail.com>
> ---
> arch/arm/boot/dts/exynos5250-snow.dts | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
> index 1fa72cf..38e4cda 100644
> --- a/arch/arm/boot/dts/exynos5250-snow.dts
> +++ b/arch/arm/boot/dts/exynos5250-snow.dts
> @@ -691,6 +691,18 @@
> num-cs = <1>;
> cs-gpios = <&gpa2 5 0>;
> status = "okay";
> + flash: m25p80@0 {
The indentation looks odd. This should be at the same level as "status".
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "jedec,spi-nor";
> + reg = <0>;
> + spi-max-frequency = <40000000>;
So actually you wanted 133 MHz but as a workaround for DMA issue you use
40 MHz, right? Could you add here a small TODO note in comment about it?
Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 11/11] dt: Exynos: add Snow SPI NOR node. Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-06-04 04:10 +0200
csiph-web