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