ARM: dts: armada388-clearfog: fix SPI flash #size-cells

The SPI flash #size-cells is specified in the binding documentation to
have value 1, but we were setting it to zero.  This wasn't causing any
problem as we do not list any partitions, but it's worth specifying
correctly if we're going to specify it at all.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
This commit is contained in:
Russell King
2017-01-02 14:55:32 +00:00
committed by Gregory CLEMENT
parent 24f0b6fe52
commit 2cd367356a

View File

@@ -437,7 +437,7 @@ &clearfog_spi1_cs_pins
spi-flash@0 {
#address-cells = <1>;
#size-cells = <0>;
#size-cells = <1>;
compatible = "w25q32", "jedec,spi-nor";
reg = <0>; /* Chip select 0 */
spi-max-frequency = <3000000>;