summaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/patches/110-fix_mpc8548_cds.patch
blob: 3cca8288c6f73d5df1ae4e9c871c75197c9aae44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- a/arch/powerpc/boot/dts/mpc8548cds.dts
+++ b/arch/powerpc/boot/dts/mpc8548cds.dts
@@ -308,21 +308,21 @@
 			};
 		};
 
-		serial0: serial@4500 {
-			cell-index = <0>;
+		serial0: serial@4600 {
+			cell-index = <1>;
 			device_type = "serial";
 			compatible = "ns16550";
-			reg = <0x4500 0x100>;	// reg base, size
+			reg = <0x4600 0x100>;	// reg base, size
 			clock-frequency = <0>;	// should we fill in in uboot?
 			interrupts = <42 2>;
 			interrupt-parent = <&mpic>;
 		};
 
-		serial1: serial@4600 {
-			cell-index = <1>;
+		serial1: serial@4500 {
+			cell-index = <0>;
 			device_type = "serial";
 			compatible = "ns16550";
-			reg = <0x4600 0x100>;	// reg base, size
+			reg = <0x4500 0x100>;	// reg base, size
 			clock-frequency = <0>;	// should we fill in in uboot?
 			interrupts = <42 2>;
 			interrupt-parent = <&mpic>;
@@ -564,4 +564,7 @@
 				  0x0 0x100000>;
 		};
 	};
+	chosen {
+		linux,stdout-path = "/soc8548@e0000000/serial@4600";
+	};
 };