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

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

index f8a72ef535deeff7b816592369f8dc9f1f422e0e..52942425291042b4370394d690161c9b79589cc7 100644 (file)
                        status = "disabled";
                };
 
+               nand: nand-controller@10000200 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "brcm,nand-bcm6368",
+                                    "brcm,brcmnand-v4.0",
+                                    "brcm,brcmnand";
+                       reg-names = "nand",
+                                   "nand-cache",
+                                   "nand-int-base";
+                       reg = <0x10000200 0x180>,
+                             <0x10000600 0x200>,
+                             <0x100000b0 0x10>;
+                       clocks = <&periph_clk BCM63268_CLK_NAND>;
+                       clock-names = "nand";
+
+                       status = "disabled";
+               };
+
                periph_pwr: power-controller@1000184c {
                        compatible = "brcm,bcm6328-power-domain";
                        reg = <0x1000184c 0x4>;