summaryrefslogtreecommitdiff
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
commit0f157c1ad2ab0351ce02cda1f5ccaca0ae5f9d86 (patch)
tree279d917fa87e4450908341d4cd094ce9eaae8ac1 /target/linux/mpc85xx/patches
parent010b64f2510f2b6bc79dbc38e8b171ba90639827 (diff)
downloadmtk-20170518-0f157c1ad2ab0351ce02cda1f5ccaca0ae5f9d86.zip
mtk-20170518-0f157c1ad2ab0351ce02cda1f5ccaca0ae5f9d86.tar.gz
mtk-20170518-0f157c1ad2ab0351ce02cda1f5ccaca0ae5f9d86.tar.bz2
mpc85xx: fix up kernel config and make the target boot on the MPC8568E-MDS-PB board
SVN-Revision: 24736
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 0000000..d1e672a
--- /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";
++ };
+ };