Linux Audio

Check our new training course

Loading...
v4.17
 1/*
 2 * Broadcom BCM470X / BCM5301X Nand chip defaults.
 3 *
 4 * This should be included if the NAND controller is on chip select 0
 5 * and uses 8 bit ECC.
 6 *
 7 * Copyright (C) 2015 Hauke Mehrtens <hauke@hauke-m.de>
 8 *
 9 * Licensed under the GNU/GPL. See COPYING for details.
10 */
11
12#include "bcm5301x-nand-cs0.dtsi"
 
 
 
 
 
 
13
14&nandcs {
15	nand-ecc-algo = "bch";
16	nand-ecc-strength = <8>;
17	nand-ecc-step-size = <512>;
18};
v4.6
 1/*
 2 * Broadcom BCM470X / BCM5301X Nand chip defaults.
 3 *
 4 * This should be included if the NAND controller is on chip select 0
 5 * and uses 8 bit ECC.
 6 *
 7 * Copyright (C) 2015 Hauke Mehrtens <hauke@hauke-m.de>
 8 *
 9 * Licensed under the GNU/GPL. See COPYING for details.
10 */
11
12/ {
13	nand@18028000 {
14		nandcs@0 {
15			compatible = "brcm,nandcs";
16			reg = <0>;
17			#address-cells = <1>;
18			#size-cells = <1>;
19
20			nand-ecc-strength = <8>;
21			nand-ecc-step-size = <512>;
22		};
23	};
24};