]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bmips: bcm6368: add support for brcmnand
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 28 Aug 2019 17:12:16 +0000 (19:12 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 25 Oct 2019 15:20:43 +0000 (17:20 +0200)
BCM6368 uses old 2.1 HW nand controller, which isn't currently supported by
brcmnand driver.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
arch/mips/dts/brcm,bcm6368.dtsi

index 89590d6ff9f73158f72ce4fc65ad5b9f67b1baa4..69be65056ed0da3af1ec3065c09400fd26bd3b59 100644 (file)
                        status = "disabled";
                };
 
+               nand: nand-controller@10000200 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "brcm,nand-bcm6368",
+                                    "brcm,brcmnand-v2.1",
+                                    "brcm,brcmnand";
+                       reg-names = "nand",
+                                   "nand-cache",
+                                   "nand-int-base";
+                       reg = <0x10000200 0x180>,
+                             <0x10000600 0x200>,
+                             <0x100000b0 0x10>;
+                       clocks = <&periph_clk BCM6368_CLK_NAND>;
+                       clock-names = "nand";
+
+                       status = "disabled";
+               };
+
                spi: spi@10000800 {
                        compatible = "brcm,bcm6358-spi";
                        reg = <0x10000800 0x70c>;