ARM: dts: at91: sama5d4_xplained: Remove spi0 node
authorTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 16 Jul 2021 15:47:39 +0000 (18:47 +0300)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Mon, 19 Jul 2021 13:27:14 +0000 (15:27 +0200)
sama5d4_xplained has an optional on-board serial DataFlash (AT25DF321A),
which does not come populated on board by default. Since the spi0 node
does not have any child populated by default, thus no user on
sama5d4_xplained, remove it. This avoids the following error in SPI NOR,
which reads the values of the pulled downed lines, unrecognizing the flash:

spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20210716154739.835738-1-tudor.ambarus@microchip.com
arch/arm/boot/dts/at91-sama5d4_xplained.dts

index 0b3ad1b580b834147499c258eea175cfb8e694e3..046796c5b9b0e85aebc0b0bb6da25d6171808ce4 100644 (file)
                                status = "okay";
                        };
 
-                       spi0: spi@f8010000 {
-                               cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
-                               status = "okay";
-                               m25p80@0 {
-                                       compatible = "atmel,at25df321a";
-                                       spi-max-frequency = <50000000>;
-                                       reg = <0>;
-                               };
-                       };
-
                        i2c0: i2c@f8014000 {
                                i2c-digital-filter;
                                status = "okay";