summaryrefslogtreecommitdiff
path: root/target/linux/mpc85xx/patches-3.14/110-fix_mpc8548_cds.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-19 09:20:55 +0000
committerJohn Crispin <john@openwrt.org>2014-11-19 09:20:55 +0000
commitbd164f233caf0910e93396142be595d9572be07f (patch)
tree23edab37a4913d3fdeccec4c746c50eb066ee25f /target/linux/mpc85xx/patches-3.14/110-fix_mpc8548_cds.patch
parentf210f3811a61f9b90bba3218e3b139fda92b6a23 (diff)
downloadmtk-20170518-bd164f233caf0910e93396142be595d9572be07f.zip
mtk-20170518-bd164f233caf0910e93396142be595d9572be07f.tar.gz
mtk-20170518-bd164f233caf0910e93396142be595d9572be07f.tar.bz2
mpc85xx: add 3.14 kernel support for mpc85xx platform
This patch adds 3.14 kernel support for the mpc85xx platform. Works fine here with a TL-WDR4900 which seems to be the only supported device using this platform. There might be differences depending on HW version, therefore I'd ask others to test too. Changes to 3.10 missing config options added to 3.14 config file patch 001: rebased patch 100: rebased patch 110: rebased patch 120: rebased patch 130: rebased patch 140: minor adjustment patch 200: removed, change went upstream patch 210: rebased patch 220: removed, change went upstream patch 750: new, fixes an issue with ethernet port autoneg being disabled due to changes in kernel phy handling Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 43308
Diffstat (limited to 'target/linux/mpc85xx/patches-3.14/110-fix_mpc8548_cds.patch')
-rw-r--r--target/linux/mpc85xx/patches-3.14/110-fix_mpc8548_cds.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/patches-3.14/110-fix_mpc8548_cds.patch b/target/linux/mpc85xx/patches-3.14/110-fix_mpc8548_cds.patch
new file mode 100644
index 0000000..460a94b
--- /dev/null
+++ b/target/linux/mpc85xx/patches-3.14/110-fix_mpc8548_cds.patch
@@ -0,0 +1,42 @@
+--- a/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi
++++ b/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi
+@@ -131,7 +131,24 @@
+
+ /include/ "pq3-i2c-0.dtsi"
+ /include/ "pq3-i2c-1.dtsi"
+-/include/ "pq3-duart-0.dtsi"
++
++ serial0: serial@4600 {
++ cell-index = <1>;
++ device_type = "serial";
++ compatible = "fsl,ns16550", "ns16550";
++ reg = <0x4600 0x100>;
++ clock-frequency = <0>;
++ interrupts = <42 2 0 0>;
++ };
++
++ serial1: serial@4500 {
++ cell-index = <0>;
++ device_type = "serial";
++ compatible = "fsl,ns16550", "ns16550";
++ reg = <0x4500 0x100>;
++ clock-frequency = <0>;
++ interrupts = <42 2 0 0>;
++ };
+
+ L2: l2-cache-controller@20000 {
+ compatible = "fsl,mpc8548-l2-cache-controller";
+diff --git a/arch/powerpc/boot/dts/mpc8548cds_32b.dts b/arch/powerpc/boot/dts/mpc8548cds_32b.dts
+index 6fd6316..375ed8b 100644
+--- a/arch/powerpc/boot/dts/mpc8548cds_32b.dts
++++ b/arch/powerpc/boot/dts/mpc8548cds_32b.dts
+@@ -75,6 +75,9 @@
+ ranges = <0x0 0x0 0x0 0xc0000000 0x0 0x20000000>;
+ };
+ };
++ chosen {
++ linux,stdout-path = "/soc8548@e0000000/serial@4600";
++ };
+ };
+
+ /*