Commit b5762cac authored by Brian Norris's avatar Brian Norris Committed by Florian Fainelli

ARM: bcm63138: add NAND DT support

Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Tested-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 3420ab38
...@@ -120,6 +120,17 @@ pmb1: reset-controller@4800e0 { ...@@ -120,6 +120,17 @@ pmb1: reset-controller@4800e0 {
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 @@ &serial0 { ...@@ -28,3 +28,15 @@ &serial0 {
&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>;
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment