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>
This commit is contained in:
Brian Norris 2015-05-12 17:53:42 -07:00 коммит произвёл Florian Fainelli
Родитель 3420ab38c4
Коммит b5762cacc4
2 изменённых файлов: 23 добавлений и 0 удалений

Просмотреть файл

@ -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 */

Просмотреть файл

@ -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>;
};
};