Message ID | 1552659287-11246-18-git-send-email-philippe.reynes@softathome.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
Series | Initial support of driver brcmnand (from kernel 4.18) | expand |
On Fri, Mar 15, 2019 at 03:14:46PM +0100, Philippe Reynes wrote: > Enable the nand controller in the device tree > of the board bcm963158. > > Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Applied to u-boot/master, thanks!
diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts index dc5afb5..abb44a6 100644 --- a/arch/arm/dts/bcm963158.dts +++ b/arch/arm/dts/bcm963158.dts @@ -29,3 +29,18 @@ u-boot,dm-pre-reloc; status = "okay"; }; + +&nand { + status = "okay"; + write-protect = <0>; + #address-cells = <1>; + #size-cells = <0>; + + nandcs@0 { + compatible = "brcm,nandcs"; + reg = <0>; + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + brcm,nand-oob-sector-size = <16>; + }; +};
Enable the nand controller in the device tree of the board bcm963158. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> --- arch/arm/dts/bcm963158.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+)