Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: cygnus: Enable NAND support for Cygnus

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>

authored by

Ray Jui and committed by
Florian Fainelli
874d5f1b b5762cac

+28
+12
arch/arm/boot/dts/bcm-cygnus.dtsi
··· 212 212 status = "disabled"; 213 213 }; 214 214 215 + nand: nand@18046000 { 216 + compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand"; 217 + reg = <0x18046000 0x600>, <0xf8105408 0x600>, <0x18046f00 0x20>; 218 + reg-names = "nand", "iproc-idm", "iproc-ext"; 219 + interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; 220 + 221 + #address-cells = <1>; 222 + #size-cells = <0>; 223 + 224 + brcm,nand-has-wp; 225 + }; 226 + 215 227 gic: interrupt-controller@19021000 { 216 228 compatible = "arm,cortex-a9-gic"; 217 229 #interrupt-cells = <3>;
+16
arch/arm/boot/dts/bcm958300k.dts
··· 58 58 uart3: serial@18023000 { 59 59 status = "okay"; 60 60 }; 61 + 62 + nand: nand@18046000 { 63 + nandcs@1 { 64 + compatible = "brcm,nandcs"; 65 + reg = <0>; 66 + nand-on-flash-bbt; 67 + 68 + #address-cells = <1>; 69 + #size-cells = <1>; 70 + 71 + nand-ecc-strength = <24>; 72 + nand-ecc-step-size = <1024>; 73 + 74 + brcm,nand-oob-sector-size = <27>; 75 + }; 76 + }; 61 77 };