[PATCH 2/2] arm: dts: Update nand node for bcmbca board dts

david regan dregan at broadcom.com
Thu Dec 19 19:49:53 CET 2024


Update bcmbca dts to current nand node naming convention.

Signed-off-by: david regan <dregan at broadcom.com>
Reviewed-by: William Zhang <william.zhang at broadcom.com>
Reviewed-by: Anand Gore <anand.gore at broadcom.com>
---
 arch/arm/dts/bcm96753ref.dts   | 19 ++++++++-----------
 arch/arm/dts/bcm968360bg.dts   | 19 ++++++++-----------
 arch/arm/dts/bcm968580xref.dts | 19 ++++++++-----------
 3 files changed, 24 insertions(+), 33 deletions(-)

diff --git a/arch/arm/dts/bcm96753ref.dts b/arch/arm/dts/bcm96753ref.dts
index ebc8c8e4ce77..1efaf3c9fbf1 100644
--- a/arch/arm/dts/bcm96753ref.dts
+++ b/arch/arm/dts/bcm96753ref.dts
@@ -64,19 +64,16 @@
 	status = "okay";
 };
 
-&nand {
+&nand_controller {
+	brcm,wp-not-connected;
 	status = "okay";
-	write-protect = <0>;
-	#address-cells = <1>;
-	#size-cells = <0>;
+};
 
-	nandcs at 0 {
-		compatible = "brcm,nandcs";
-		reg = <0>;
-		nand-ecc-strength = <4>;
-		nand-ecc-step-size = <512>;
-		brcm,nand-oob-sector-size = <16>;
-	};
+&nandcs {
+	nand-on-flash-bbt;
+	nand-ecc-strength = <4>;
+	nand-ecc-step-size = <512>;
+	brcm,nand-oob-sector-size = <16>;
 };
 
 &leds {
diff --git a/arch/arm/dts/bcm968360bg.dts b/arch/arm/dts/bcm968360bg.dts
index 1335f484ee6c..725ba6c06772 100644
--- a/arch/arm/dts/bcm968360bg.dts
+++ b/arch/arm/dts/bcm968360bg.dts
@@ -62,19 +62,16 @@
 	status = "okay";
 };
 
-&nand {
+&nand_controller {
+	brcm,wp-not-connected;
 	status = "okay";
-	write-protect = <0>;
-	#address-cells = <1>;
-	#size-cells = <0>;
+};
 
-	nandcs at 0 {
-		compatible = "brcm,nandcs";
-		reg = <0>;
-		nand-ecc-strength = <4>;
-		nand-ecc-step-size = <512>;
-		brcm,nand-oob-sector-size = <16>;
-	};
+&nandcs {
+	nand-on-flash-bbt;
+	nand-ecc-strength = <4>;
+	nand-ecc-step-size = <512>;
+	brcm,nand-oob-sector-size = <16>;
 };
 
 &leds {
diff --git a/arch/arm/dts/bcm968580xref.dts b/arch/arm/dts/bcm968580xref.dts
index 9aa45877b543..6aea79ece865 100644
--- a/arch/arm/dts/bcm968580xref.dts
+++ b/arch/arm/dts/bcm968580xref.dts
@@ -62,19 +62,16 @@
 	status = "okay";
 };
 
-&nand {
+&nand_controller {
+	brcm,wp-not-connected;
 	status = "okay";
-	write-protect = <0>;
-	#address-cells = <1>;
-	#size-cells = <0>;
+};
 
-	nandcs at 0 {
-		compatible = "brcm,nandcs";
-		reg = <0>;
-		nand-ecc-strength = <4>;
-		nand-ecc-step-size = <512>;
-		brcm,nand-oob-sector-size = <16>;
-	};
+&nandcs {
+	nand-on-flash-bbt;
+	nand-ecc-strength = <4>;
+	nand-ecc-step-size = <512>;
+	brcm,nand-oob-sector-size = <16>;
 };
 
 &leds {
-- 
2.37.3



More information about the U-Boot mailing list