ARM: dts: mvebu: db-dxbc2: use new style nand binding
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 26 Jul 2018 04:02:55 +0000 (16:02 +1200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 20 Sep 2018 15:26:56 +0000 (17:26 +0200)
Update the nand flash binding to the new style.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-xp-db-dxbc2.dts

index 944e0a9..8a3aa61 100644 (file)
 
 &nand_controller {
        status = "okay";
-       label = "pxa3xx_nand-0";
-       num-cs = <1>;
-       marvell,nand-keep-config;
-       nand-on-flash-bbt;
-       nand-ecc-strength = <4>;
-       nand-ecc-step-size = <512>;
+
+       nand@0 {
+               reg = <0>;
+               label = "pxa3xx_nand-0";
+               nand-rb = <0>;
+               marvell,nand-keep-config;
+               nand-on-flash-bbt;
+               nand-ecc-strength = <4>;
+               nand-ecc-step-size = <512>;
+       };
 };
 
 &sdio {