mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 20:51:47 +00:00
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:
parent
3420ab38c4
commit
b5762cacc4
@ -120,6 +120,17 @@
|
|||||||
reg = <0x4800e0 0x10>;
|
reg = <0x4800e0 0x10>;
|
||||||
#reset-cells = <2>;
|
#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 */
|
/* Legacy UBUS base */
|
||||||
|
@ -28,3 +28,15 @@
|
|||||||
&serial1 {
|
&serial1 {
|
||||||
status = "okay";
|
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>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user