]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: mvebu: db-xc3-24g4: use new style nand binding
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 26 Jul 2018 04:02:56 +0000 (16:02 +1200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 20 Sep 2018 15:27:02 +0000 (17:27 +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-xc3-24g4xg.dts

index d58ea48cb151d88467a2f2600224591bfd11eb82..df048050615f5124d2af71f25f6b407c9c43663f 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>;
+       };
 };
 
 &spi0 {