mips: octeon: mrvl, octeon-ebb7304.dts: Add SPI flash DT node
authorStefan Roese <sr@denx.de>
Thu, 30 Jul 2020 11:56:20 +0000 (13:56 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 3 Aug 2020 19:14:48 +0000 (21:14 +0200)
Add the SPI flash DT node for the EBB7304.

Signed-off-by: Stefan Roese <sr@denx.de>
arch/mips/dts/mrvl,octeon-ebb7304.dts

index c229aa5..6b2e5e8 100644 (file)
@@ -13,6 +13,7 @@
 
        aliases {
                serial0 = &uart0;
+               spi0 = &spi;
        };
 
        chosen {
        u-boot,dm-pre-reloc;    /* Needed early for DDR SPD EEPROM */
        clock-frequency = <100000>;
 };
+
+&spi {
+       flash@0 {
+               compatible = "micron,n25q128a11", "jedec,spi-nor";
+               spi-max-frequency = <2000000>;
+               reg = <0>;
+       };
+};