diff mbox series

[U-Boot,V3,09/10] dt: bcm968580xref: add a spi-nor device

Message ID 1565788721-21866-9-git-send-email-philippe.reynes@softathome.com
State Accepted
Commit 05e93b3a134ebb17ac0c02014dc740581ea49545
Delegated to: Tom Rini
Headers show
Series [U-Boot,V3,01/10] spi: hsspi: allow to be used on bcm6858 and bcm63158 | expand

Commit Message

Philippe REYNES Aug. 14, 2019, 1:18 p.m. UTC
This commit add a spi-nor device in the bcm96850xref device tree.

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

Changelog:
v3:
- no change
v2:
- no change

Comments

Tom Rini Oct. 12, 2019, 8:22 p.m. UTC | #1
On Wed, Aug 14, 2019 at 03:18:40PM +0200, Philippe Reynes wrote:

> This commit add a spi-nor device in the bcm96850xref device tree.
> 
> Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
> Reviewed-by: Kursad Oney <kursad.oney@broadcom.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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