diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-05-13 02:53:42 +0200 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2015-05-13 19:56:46 +0200 |
commit | b5762cacc4119ad0c1cd3160f0f3e10a052ad06b (patch) | |
tree | 739f99afc2513b86d31dfba63143015f01b34a39 /arch | |
parent | ARM: bcm7445: add NAND to DTS (diff) | |
download | linux-b5762cacc4119ad0c1cd3160f0f3e10a052ad06b.tar.xz linux-b5762cacc4119ad0c1cd3160f0f3e10a052ad06b.zip |
ARM: bcm63138: add NAND DT support
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/bcm63138.dtsi | 11 | ||||
-rw-r--r-- | arch/arm/boot/dts/bcm963138dvt.dts | 12 |
2 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm63138.dtsi b/arch/arm/boot/dts/bcm63138.dtsi index bcc0089b0150..c7175487d7d7 100644 --- a/arch/arm/boot/dts/bcm63138.dtsi +++ b/arch/arm/boot/dts/bcm63138.dtsi @@ -120,6 +120,17 @@ reg = <0x4800e0 0x10>; #reset-cells = <2>; }; + + nand: nand@2000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "brcm,nand-bcm63138", "brcm,brcmnand-v7.0", "brcm,brcmnand"; + reg = <0x2000 0x600>, <0xf0 0x10>; + reg-names = "nand", "nand-int-base"; + status = "disabled"; + interrupts = <GIC_SPI 38 0>; + interrupt-names = "nand"; + }; }; /* Legacy UBUS base */ diff --git a/arch/arm/boot/dts/bcm963138dvt.dts b/arch/arm/boot/dts/bcm963138dvt.dts index 69c93395ecd2..370aa2cfddf2 100644 --- a/arch/arm/boot/dts/bcm963138dvt.dts +++ b/arch/arm/boot/dts/bcm963138dvt.dts @@ -28,3 +28,15 @@ &serial1 { status = "okay"; }; + +&nand { + status = "okay"; + + nandcs@0 { + compatible = "brcm,nandcs"; + reg = <0>; + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + brcm,nand-oob-sectors-size = <16>; + }; +}; |