[PATCH v2 08/10] mips: octeon: mrvl, octeon-ebb7304.dts: Add SPI flash DT node

Stefan Roese sr at denx.de
Thu Jul 30 13:56:20 CEST 2020


Add the SPI flash DT node for the EBB7304.

Signed-off-by: Stefan Roese <sr at denx.de>

---

(no changes since v2)

Changes in v2:
- Newly added to this series

 arch/mips/dts/mrvl,octeon-ebb7304.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/mips/dts/mrvl,octeon-ebb7304.dts b/arch/mips/dts/mrvl,octeon-ebb7304.dts
index c229aa5fc0..6b2e5e84bc 100644
--- a/arch/mips/dts/mrvl,octeon-ebb7304.dts
+++ b/arch/mips/dts/mrvl,octeon-ebb7304.dts
@@ -13,6 +13,7 @@
 
 	aliases {
 		serial0 = &uart0;
+		spi0 = &spi;
 	};
 
 	chosen {
@@ -104,3 +105,11 @@
 	u-boot,dm-pre-reloc;	/* Needed early for DDR SPD EEPROM */
 	clock-frequency = <100000>;
 };
+
+&spi {
+	flash at 0 {
+		compatible = "micron,n25q128a11", "jedec,spi-nor";
+		spi-max-frequency = <2000000>;
+		reg = <0>;
+	};
+};
-- 
2.28.0



More information about the U-Boot mailing list