]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: armada-cp110-master: update nand-controller
authorBaruch Siach <baruch@tkos.co.il>
Thu, 29 Oct 2020 06:52:17 +0000 (08:52 +0200)
committerStefan Roese <sr@denx.de>
Thu, 29 Oct 2020 07:00:12 +0000 (08:00 +0100)
Align node properties to kernel dts node.

The change of compatible property does not affect any currently
supported board.

Keep U-Boot specific nand-enable-arbiter, and num-cs for compatibility
with the current driver.

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
arch/arm/dts/armada-cp110-master.dtsi

index cd5c974482e6b66f61558d52a0791cc383d87d3e..7d0d31da306dd951c83e2bca4bb11b62444d1fcb 100644 (file)
                        };
 
                        cpm_nand: nand@720000 {
-                               compatible = "marvell,mvebu-pxa3xx-nand";
-                               reg = <0x720000 0x100>;
+                               compatible = "marvell,armada-8k-nand-controller",
+                                       "marvell,armada370-nand-controller";
+                               reg = <0x720000 0x54>;
                                #address-cells = <1>;
-
-                               clocks = <&cpm_syscon0 1 2>;
+                               #size-cells = <0>;
+                               interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
+                               clock-names = "core", "reg";
+                               clocks = <&cpm_syscon0 1 2>,
+                                        <&cpm_syscon0 1 17>;
+                               marvell,system-controller = <&cpm_syscon0>;
                                nand-enable-arbiter;
                                num-cs = <1>;
-                               nand-ecc-strength = <4>;
-                               nand-ecc-step-size = <512>;
                                status = "disabled";
                        };