]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 c229aa5fc051511378b816df45be6c93129142fb..6b2e5e84bc6c87c96c26a459fc5c4034833e4701 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>;
+       };
+};