Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 874d5f1b authored by Ray Jui's avatar Ray Jui Committed by Florian Fainelli
Browse files

ARM: dts: cygnus: Enable NAND support for Cygnus



Enable NAND support for Broadcom Cygnus SoC

Signed-off-by: default avatarRay Jui <rjui@broadcom.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent b5762cac
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -212,6 +212,18 @@
		status = "disabled";
		status = "disabled";
	};
	};


	nand: nand@18046000 {
		compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
		reg = <0x18046000 0x600>, <0xf8105408 0x600>, <0x18046f00 0x20>;
		reg-names = "nand", "iproc-idm", "iproc-ext";
		interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;

		#address-cells = <1>;
		#size-cells = <0>;

		brcm,nand-has-wp;
	};

	gic: interrupt-controller@19021000 {
	gic: interrupt-controller@19021000 {
		compatible = "arm,cortex-a9-gic";
		compatible = "arm,cortex-a9-gic";
		#interrupt-cells = <3>;
		#interrupt-cells = <3>;
+16 −0
Original line number Original line Diff line number Diff line
@@ -58,4 +58,20 @@
	uart3: serial@18023000 {
	uart3: serial@18023000 {
		status = "okay";
		status = "okay";
	};
	};

	nand: nand@18046000 {
		nandcs@1 {
			compatible = "brcm,nandcs";
			reg = <0>;
			nand-on-flash-bbt;

			#address-cells = <1>;
			#size-cells = <1>;

			nand-ecc-strength = <24>;
			nand-ecc-step-size = <1024>;

			brcm,nand-oob-sector-size = <27>;
		};
	};
};
};