]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: cygnus: Enable NAND support for Cygnus
authorRay Jui <rjui@broadcom.com>
Wed, 13 May 2015 00:53:43 +0000 (17:53 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 13 May 2015 17:57:08 +0000 (10:57 -0700)
Enable NAND support for Broadcom Cygnus SoC

Signed-off-by: Ray Jui <rjui@broadcom.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-cygnus.dtsi
arch/arm/boot/dts/bcm958300k.dts

index 7b52c33ea69aedefa667a9a96460a6d5cb4fefc4..e1ac07a16f926e964c61888a2984d2ed037414f6 100644 (file)
                status = "disabled";
        };
 
+       nand: nand@18046000 {
+               compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
+               reg = <0x18046000 0x600>, <0xf8105408 0x600>, <0x18046f00 0x20>;
+               reg-names = "nand", "iproc-idm", "iproc-ext";
+               interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
+
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               brcm,nand-has-wp;
+       };
+
        gic: interrupt-controller@19021000 {
                compatible = "arm,cortex-a9-gic";
                #interrupt-cells = <3>;
index c9eb8565eac5be2b3d0299218919b4a8a918bd94..2f63052f9d483d8bd5823387beac17c3c1515d13 100644 (file)
        uart3: serial@18023000 {
                status = "okay";
        };
+
+       nand: nand@18046000 {
+               nandcs@1 {
+                       compatible = "brcm,nandcs";
+                       reg = <0>;
+                       nand-on-flash-bbt;
+
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       nand-ecc-strength = <24>;
+                       nand-ecc-step-size = <1024>;
+
+                       brcm,nand-oob-sector-size = <27>;
+               };
+       };
 };