arm64: dts: freescale: sl28: add SPI flash
authorMichael Walle <michael@walle.cc>
Wed, 11 Mar 2020 07:49:26 +0000 (08:49 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 16 Mar 2020 08:16:00 +0000 (16:16 +0800)
There is a SPI flash on this carrier connected to the third DSPI
controller. Add it.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts

index 7de55f2..7aee141 100644 (file)
        };
 };
 
+&dspi2 {
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               m25p,fast-read;
+               spi-max-frequency = <100000000>;
+               reg = <0>;
+       };
+};
+
 &i2c4 {
        status = "okay";
 
index e6ad2f6..58603bc 100644 (file)
@@ -17,6 +17,8 @@
                crypto = &crypto;
                serial0 = &duart0;
                serial1 = &duart1;
+               spi0 = &fspi;
+               spi1 = &dspi2;
        };
 
        chosen {
        };
 };
 
+&dspi2 {
+       status = "okay";
+};
+
 &duart0 {
        status = "okay";
 };