diff mbox series

[U-Boot,V2,06/10] dt: bcm963158: add a spi-nor device

Message ID 1565714726-2269-6-git-send-email-philippe.reynes@softathome.com
State Superseded
Delegated to: Tom Rini
Headers show
Series [U-Boot,V2,01/10] spi: hsspi: allow to be used on bcm6858 and bcm63158 | expand

Commit Message

Philippe REYNES Aug. 13, 2019, 4:45 p.m. UTC
From: Kursad Oney <kursad.oney@broadcom.com>

This change adds a spi nor flash device to the bcm963158 board.

Signed-off-by: Kursad Oney <kursad.oney@broadcom.com>
Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
---
 arch/arm/dts/bcm963158.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Changelog:
v2:
- no change
diff mbox series

Patch

diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts
index 8565944..c2bdd33 100644
--- a/arch/arm/dts/bcm963158.dts
+++ b/arch/arm/dts/bcm963158.dts
@@ -125,3 +125,15 @@ 
 		label = "green:aggregate_link";
 	};
 };
+
+&hsspi {
+	status = "okay";
+
+	flash: mt25@0 {
+		compatible = "jedec,spi-nor";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		reg = <0>;
+		spi-max-frequency = <25000000>;
+	};
+};