aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-20 14:25:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-12-20 14:25:25 +0000
commitf15cda9f48a806bafdb005ee1f3f0346ea051b14 (patch)
treea361ff3407ed2b8112786d4da14215b6e29d09c3 /target/linux/mpc85xx/patches
parent37e7a36f7d932f8b33522085f0bdc7b1e3adf163 (diff)
downloadmaster-187ad058-f15cda9f48a806bafdb005ee1f3f0346ea051b14.tar.gz
master-187ad058-f15cda9f48a806bafdb005ee1f3f0346ea051b14.tar.bz2
master-187ad058-f15cda9f48a806bafdb005ee1f3f0346ea051b14.zip
mpc85xx: fix up kernel config and make the target boot on the MPC8568E-MDS-PB board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24736 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mpc85xx/patches')
-rw-r--r--target/linux/mpc85xx/patches/100-fix_mpc8568e_mds.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/patches/100-fix_mpc8568e_mds.patch b/target/linux/mpc85xx/patches/100-fix_mpc8568e_mds.patch
new file mode 100644
index 0000000000..d1e672a9df
--- /dev/null
+++ b/target/linux/mpc85xx/patches/100-fix_mpc8568e_mds.patch
@@ -0,0 +1,60 @@
+--- a/arch/powerpc/boot/dts/mpc8568mds.dts
++++ b/arch/powerpc/boot/dts/mpc8568mds.dts
+@@ -301,32 +301,24 @@
+ };
+ };
+
+- duart-sleep-nexus {
+- #address-cells = <1>;
+- #size-cells = <1>;
+- compatible = "simple-bus";
+- sleep = <&pmc 0x00000002>;
+- ranges;
+-
+- serial0: serial@4500 {
+- cell-index = <0>;
+- device_type = "serial";
+- compatible = "ns16550";
+- reg = <0x4500 0x100>;
+- clock-frequency = <0>;
+- interrupts = <42 2>;
+- interrupt-parent = <&mpic>;
+- };
++ serial0: serial@4500 {
++ cell-index = <0>;
++ device_type = "serial";
++ compatible = "ns16550";
++ reg = <0x4500 0x100>;
++ clock-frequency = <0>;
++ interrupts = <42 2>;
++ interrupt-parent = <&mpic>;
++ };
+
+- serial1: serial@4600 {
+- cell-index = <1>;
+- device_type = "serial";
+- compatible = "ns16550";
+- reg = <0x4600 0x100>;
+- clock-frequency = <0>;
+- interrupts = <42 2>;
+- interrupt-parent = <&mpic>;
+- };
++ serial1: serial@4600 {
++ cell-index = <1>;
++ device_type = "serial";
++ compatible = "ns16550";
++ reg = <0x4600 0x100>;
++ clock-frequency = <0>;
++ interrupts = <42 2>;
++ interrupt-parent = <&mpic>;
+ };
+
+ global-utilities@e0000 {
+@@ -669,4 +661,7 @@
+ gpios = <&bcsr5 3 0>;
+ };
+ };
++ chosen {
++ linux,stdout-path = "/soc8568@e0000000/serial@4500";
++ };
+ };