summaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-20 14:25:25 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-20 14:25:25 +0000
commita3978a4a410391558c991944340bcf6941c9c916 (patch)
treea361ff3407ed2b8112786d4da14215b6e29d09c3 /target/linux/mpc85xx/patches
parent31d38f818a860910028668f8d578ba622a7bc5ea (diff)
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 000000000..d1e672a9d
--- /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";
++ };
+ };