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

ARM: bcm7445: add NAND to DTS

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

authored by

Brian Norris and committed by
Florian Fainelli
3420ab38 691917f2

+45
+23
arch/arm/boot/dts/bcm7445-bcm97445svmb.dts
··· 12 12 <0x00 0x80000000 0x00 0x40000000>; 13 13 }; 14 14 }; 15 + 16 + &nand { 17 + status = "okay"; 18 + 19 + nandcs@1 { 20 + compatible = "brcm,nandcs"; 21 + reg = <1>; 22 + nand-ecc-step-size = <512>; 23 + nand-ecc-strength = <8>; 24 + nand-on-flash-bbt; 25 + 26 + #size-cells = <2>; 27 + #address-cells = <2>; 28 + 29 + flash1.rootfs0@0 { 30 + reg = <0x0 0x0 0x0 0x80000000>; 31 + }; 32 + 33 + flash1.rootfs1@80000000 { 34 + reg = <0x0 0x80000000 0x0 0x80000000>; 35 + }; 36 + }; 37 + };
+22
arch/arm/boot/dts/bcm7445.dtsi
··· 108 108 brcm,int-map-mask = <0x25c>, <0x7000000>; 109 109 brcm,int-fwd-mask = <0x70000>; 110 110 }; 111 + 112 + hif_intr2_intc: interrupt-controller@3e1000 { 113 + compatible = "brcm,l2-intc"; 114 + reg = <0x3e1000 0x30>; 115 + interrupt-controller; 116 + #interrupt-cells = <1>; 117 + interrupts = <GIC_SPI 0x20 0x0>; 118 + interrupt-parent = <&gic>; 119 + interrupt-names = "hif"; 120 + }; 121 + 122 + nand: nand@3e2800 { 123 + status = "disabled"; 124 + #address-cells = <1>; 125 + #size-cells = <0>; 126 + compatible = "brcm,brcmnand-v7.1", "brcm,brcmnand"; 127 + reg-names = "nand", "flash-dma"; 128 + reg = <0x3e2800 0x600>, <0x3e3000 0x2c>; 129 + interrupt-parent = <&hif_intr2_intc>; 130 + interrupts = <24>, <4>; 131 + interrupt-names = "nand_ctlrdy", "flash_dma_done"; 132 + }; 111 133 }; 112 134 113 135 smpboot {