提交 b5762cac 编写于 作者: B Brian Norris 提交者: Florian Fainelli

ARM: bcm63138: add NAND DT support

Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
Tested-by: NFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
上级 3420ab38
...@@ -120,6 +120,17 @@ ...@@ -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 @@ ...@@ -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>;
};
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册