Commit ea38f579 authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Kumar Gala
Browse files

powerpc/85xx: Fix reg & interrupts for mpc8569emds localbus added NAND



This patch fixes bogus reg = <> property in the localbus node,
and fixes interrupt property (should be "interrupts").

Also add node for NAND support.

Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent cd7e4a2c
Loading
Loading
Loading
Loading
+9 −2
Original line number Original line Diff line number Diff line
@@ -53,13 +53,14 @@ localbus@e0005000 {
		#address-cells = <2>;
		#address-cells = <2>;
		#size-cells = <1>;
		#size-cells = <1>;
		compatible = "fsl,mpc8569-elbc", "fsl,elbc", "simple-bus";
		compatible = "fsl,mpc8569-elbc", "fsl,elbc", "simple-bus";
		reg = <0 0xe0005000 0 0x1000>;
		reg = <0xe0005000 0x1000>;
		interrupt = <19 2>;
		interrupts = <19 2>;
		interrupt-parent = <&mpic>;
		interrupt-parent = <&mpic>;


		ranges = <0x0 0x0 0xfe000000 0x02000000
		ranges = <0x0 0x0 0xfe000000 0x02000000
			  0x1 0x0 0xf8000000 0x00008000
			  0x1 0x0 0xf8000000 0x00008000
			  0x2 0x0 0xf0000000 0x04000000
			  0x2 0x0 0xf0000000 0x04000000
			  0x3 0x0 0xfc000000 0x00008000
			  0x4 0x0 0xf8008000 0x00008000
			  0x4 0x0 0xf8008000 0x00008000
			  0x5 0x0 0xf8010000 0x00008000>;
			  0x5 0x0 0xf8010000 0x00008000>;


@@ -77,6 +78,12 @@ bcsr@1,0 {
			reg = <1 0 0x8000>;
			reg = <1 0 0x8000>;
		};
		};


		nand@3,0 {
			compatible = "fsl,mpc8569-fcm-nand",
				     "fsl,elbc-fcm-nand";
			reg = <3 0 0x8000>;
		};

		pib@4,0 {
		pib@4,0 {
			compatible = "fsl,mpc8569mds-pib";
			compatible = "fsl,mpc8569mds-pib";
			reg = <4 0 0x8000>;
			reg = <4 0 0x8000>;