]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/dts/armada-3720-db.dts
arm64: mvebu: Armada 3700: Add SPI device tree nodes
[karo-tx-uboot.git] / arch / arm / dts / armada-3720-db.dts
index 86110a6ae33095ac5af652a80052ac566b5f9c7b..7bfa840e854e874cc6835280687586e3d59eca62 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       aliases {
+               spi0 = &spi0;
+       };
+
        memory {
                device_type = "memory";
                reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
        status = "okay";
 };
 
+&spi0 {
+       status = "okay";
+
+       spi-flash@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "st,m25p128", "spi-flash";
+               reg = <0>; /* Chip select 0 */
+               spi-max-frequency = <50000000>;
+               m25p,fast-read;
+       };
+};
+
 /* Exported on the micro USB connector CON32 through an FTDI */
 &uart0 {
        status = "okay";