brcm63xx: register serial through device tree
authorJonas Gorski <jonas.gorski@gmail.com>
Mon, 31 Jul 2017 19:03:37 +0000 (21:03 +0200)
committerJonas Gorski <jonas.gorski@gmail.com>
Sat, 16 Dec 2017 11:57:05 +0000 (12:57 +0100)
Register serial consoles through device tree instead of through board
data.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
168 files changed:
target/linux/brcm63xx/dts/a226g.dts
target/linux/brcm63xx/dts/a226m-fwb.dts
target/linux/brcm63xx/dts/a226m.dts
target/linux/brcm63xx/dts/a4001n.dts
target/linux/brcm63xx/dts/a4001n1.dts
target/linux/brcm63xx/dts/ad1018-nor.dts
target/linux/brcm63xx/dts/agpf-s0.dts
target/linux/brcm63xx/dts/ar-5315u.dts
target/linux/brcm63xx/dts/ar-5381u.dts
target/linux/brcm63xx/dts/ar-5387un.dts
target/linux/brcm63xx/dts/ar1004g.dts
target/linux/brcm63xx/dts/av4202n.dts
target/linux/brcm63xx/dts/bcm96318ref.dts
target/linux/brcm63xx/dts/bcm96318ref_p300.dts
target/linux/brcm63xx/dts/bcm963268bu_p300.dts
target/linux/brcm63xx/dts/bcm963269bhr.dts
target/linux/brcm63xx/dts/bcm963281TAN.dts
target/linux/brcm63xx/dts/bcm96328avng.dts
target/linux/brcm63xx/dts/bcm96338GW.dts
target/linux/brcm63xx/dts/bcm96338W.dts
target/linux/brcm63xx/dts/bcm96345GW2.dts
target/linux/brcm63xx/dts/bcm96348GW-10.dts
target/linux/brcm63xx/dts/bcm96348GW-11.dts
target/linux/brcm63xx/dts/bcm96348GW.dts
target/linux/brcm63xx/dts/bcm96348R.dts
target/linux/brcm63xx/dts/bcm96358VW.dts
target/linux/brcm63xx/dts/bcm96358VW2.dts
target/linux/brcm63xx/dts/bcm96368MVNgr.dts
target/linux/brcm63xx/dts/bcm96368MVWG.dts
target/linux/brcm63xx/dts/cpva502plus.dts
target/linux/brcm63xx/dts/cpva642.dts
target/linux/brcm63xx/dts/ct-5365.dts
target/linux/brcm63xx/dts/ct-6373.dts
target/linux/brcm63xx/dts/ct536plus.dts
target/linux/brcm63xx/dts/cvg834g.dts
target/linux/brcm63xx/dts/dg834g_v4.dts
target/linux/brcm63xx/dts/dg834gtpn.dts
target/linux/brcm63xx/dts/dgnd3700v1.dts
target/linux/brcm63xx/dts/dsl-2640b-b.dts
target/linux/brcm63xx/dts/dsl-2640u.dts
target/linux/brcm63xx/dts/dsl-2650u.dts
target/linux/brcm63xx/dts/dsl-274xb-c.dts
target/linux/brcm63xx/dts/dsl-274xb-f.dts
target/linux/brcm63xx/dts/dsl-275xb-d.dts
target/linux/brcm63xx/dts/dv-201amr.dts
target/linux/brcm63xx/dts/dva-g3810bn_tl.dts
target/linux/brcm63xx/dts/evg2000.dts
target/linux/brcm63xx/dts/f5d7633.dts
target/linux/brcm63xx/dts/fast2404.dts
target/linux/brcm63xx/dts/fast2504n.dts
target/linux/brcm63xx/dts/fast2604.dts
target/linux/brcm63xx/dts/fast2704n.dts
target/linux/brcm63xx/dts/fast2704v2.dts
target/linux/brcm63xx/dts/gw6000.dts
target/linux/brcm63xx/dts/gw6200.dts
target/linux/brcm63xx/dts/hg520v.dts
target/linux/brcm63xx/dts/hg553.dts
target/linux/brcm63xx/dts/hg556a-a.dts
target/linux/brcm63xx/dts/hg556a-b.dts
target/linux/brcm63xx/dts/hg556a-c.dts
target/linux/brcm63xx/dts/hg622.dts
target/linux/brcm63xx/dts/hg655b.dts
target/linux/brcm63xx/dts/homehub2a.dts
target/linux/brcm63xx/dts/livebox-blue-5g.dts
target/linux/brcm63xx/dts/magic.dts
target/linux/brcm63xx/dts/nb4-fxc-r1.dts
target/linux/brcm63xx/dts/nb4-ser-r0.dts
target/linux/brcm63xx/dts/nb6-ser-r0.dts
target/linux/brcm63xx/dts/p870hw-51a-v2.dts
target/linux/brcm63xx/dts/r1000h.dts
target/linux/brcm63xx/dts/r5010unv2.dts
target/linux/brcm63xx/dts/rg100a.dts
target/linux/brcm63xx/dts/rta1025w.dts
target/linux/brcm63xx/dts/rta1320.dts
target/linux/brcm63xx/dts/rta770bw.dts
target/linux/brcm63xx/dts/rta770w.dts
target/linux/brcm63xx/dts/spw303v.dts
target/linux/brcm63xx/dts/spw500v.dts
target/linux/brcm63xx/dts/td-w8900gb.dts
target/linux/brcm63xx/dts/usr9108.dts
target/linux/brcm63xx/dts/v2110.dts
target/linux/brcm63xx/dts/v2500v-bb.dts
target/linux/brcm63xx/dts/vg50.dts
target/linux/brcm63xx/dts/vh4032n.dts
target/linux/brcm63xx/dts/vr-3025u.dts
target/linux/brcm63xx/dts/vr-3025un.dts
target/linux/brcm63xx/dts/vr-3026e.dts
target/linux/brcm63xx/dts/wap-5813n.dts
target/linux/brcm63xx/patches-4.4/000-4.8-11-serial-bcm63xx_uart-use-correct-alias-naming.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-4.4/001-4.15-03-tty-bcm63xx_uart-use-refclk-for-the-expected-clock-n.patch
target/linux/brcm63xx/patches-4.4/001-4.15-04-tty-bcm63xx_uart-allow-naming-clock-in-device-tree.patch
target/linux/brcm63xx/patches-4.4/390-MIPS-BCM63XX-do-not-register-SPI-controllers.patch
target/linux/brcm63xx/patches-4.4/391-MIPS-BCM63XX-do-not-register-uart.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-4.4/392-MIPS-BCM63XX-remove-leds-and-buttons.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-4.4/403-6358-enet1-external-mii-clk.patch
target/linux/brcm63xx/patches-4.4/411-MIPS-BCM63XX-Register-SPI-flash-if-present.patch
target/linux/brcm63xx/patches-4.4/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch
target/linux/brcm63xx/patches-4.4/415-MIPS-BCM63XX-export-the-attached-flash-type.patch
target/linux/brcm63xx/patches-4.4/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch
target/linux/brcm63xx/patches-4.4/420-BCM63XX-add-endian-check-for-ath9k.patch
target/linux/brcm63xx/patches-4.4/421-BCM63XX-add-led-pin-for-ath9k.patch
target/linux/brcm63xx/patches-4.4/422-BCM63XX-add-a-fixup-for-rt2x00-devices.patch
target/linux/brcm63xx/patches-4.4/427-boards_probe_switch.patch
target/linux/brcm63xx/patches-4.4/499-allow_better_context_for_board_patches.patch
target/linux/brcm63xx/patches-4.4/500-board-D4PW.patch
target/linux/brcm63xx/patches-4.4/501-board-NB4.patch
target/linux/brcm63xx/patches-4.4/502-board-96338W2_E7T.patch
target/linux/brcm63xx/patches-4.4/503-board-CPVA642.patch
target/linux/brcm63xx/patches-4.4/504-board_dsl_274xb_rev_c.patch
target/linux/brcm63xx/patches-4.4/505-board_spw500v.patch
target/linux/brcm63xx/patches-4.4/506-board_gw6200_gw6000.patch
target/linux/brcm63xx/patches-4.4/507-board-MAGIC.patch
target/linux/brcm63xx/patches-4.4/508-board_hw553.patch
target/linux/brcm63xx/patches-4.4/509-board_rta1320_16m.patch
target/linux/brcm63xx/patches-4.4/510-board_spw303v.patch
target/linux/brcm63xx/patches-4.4/511-board_V2500V.patch
target/linux/brcm63xx/patches-4.4/512-board_BTV2110.patch
target/linux/brcm63xx/patches-4.4/513-MIPS-BCM63XX-add-inventel-Livebox-support.patch
target/linux/brcm63xx/patches-4.4/514-board_ct536_ct5621.patch
target/linux/brcm63xx/patches-4.4/515-board_DWV-S0_fixes.patch
target/linux/brcm63xx/patches-4.4/516-board_96348A-122.patch
target/linux/brcm63xx/patches-4.4/517-RTA1205W_16_uart_fixes.patch [deleted file]
target/linux/brcm63xx/patches-4.4/519_board_CPVA502plus.patch
target/linux/brcm63xx/patches-4.4/520-bcm63xx-add-support-for-96368MVWG-board.patch
target/linux/brcm63xx/patches-4.4/521-bcm63xx-add-support-for-96368MVNgr-board.patch
target/linux/brcm63xx/patches-4.4/522-MIPS-BCM63XX-add-96328avng-reference-board.patch
target/linux/brcm63xx/patches-4.4/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
target/linux/brcm63xx/patches-4.4/524-board_dsl_274xb_rev_f.patch
target/linux/brcm63xx/patches-4.4/525-board_96348w3.patch
target/linux/brcm63xx/patches-4.4/526-board_CT6373-1.patch
target/linux/brcm63xx/patches-4.4/527-board_dva-g3810bn-tl-1.patch
target/linux/brcm63xx/patches-4.4/528-board_nb6.patch
target/linux/brcm63xx/patches-4.4/529-board_fast2604.patch
target/linux/brcm63xx/patches-4.4/530-board_A4001N1.patch
target/linux/brcm63xx/patches-4.4/531-board_AR-5387un.patch
target/linux/brcm63xx/patches-4.4/532-board_AR-5381u.patch
target/linux/brcm63xx/patches-4.4/533-board_rta770bw.patch
target/linux/brcm63xx/patches-4.4/534-board_hw556.patch
target/linux/brcm63xx/patches-4.4/535-board_rta770w.patch
target/linux/brcm63xx/patches-4.4/536-board_fast2704.patch
target/linux/brcm63xx/patches-4.4/537-board_fast2504n.patch
target/linux/brcm63xx/patches-4.4/550-MIPS-BCM63XX-remove-leds-and-buttons.patch [deleted file]
target/linux/brcm63xx/patches-4.4/555-board_96318ref.patch
target/linux/brcm63xx/patches-4.4/556-board_96318ref_p300.patch
target/linux/brcm63xx/patches-4.4/557-board_bcm963269bhr.patch
target/linux/brcm63xx/patches-4.4/558-board_AR1004G.patch
target/linux/brcm63xx/patches-4.4/559-board_vw6339gu.patch
target/linux/brcm63xx/patches-4.4/560-board_963268gu_p300.patch
target/linux/brcm63xx/patches-4.4/561-board_WAP-5813n.patch
target/linux/brcm63xx/patches-4.4/562-board_VR-3025u.patch
target/linux/brcm63xx/patches-4.4/563-board_VR-3025un.patch
target/linux/brcm63xx/patches-4.4/564-board_P870HW-51a_v2.patch
target/linux/brcm63xx/patches-4.4/565-board_hw520.patch
target/linux/brcm63xx/patches-4.4/566-board_A4001N.patch
target/linux/brcm63xx/patches-4.4/567-board_dsl-2751b_e1.patch
target/linux/brcm63xx/patches-4.4/568-board_DGND3700v1_3800B.patch
target/linux/brcm63xx/patches-4.4/569-board_homehub2a.patch
target/linux/brcm63xx/patches-4.4/570-board_HG655b.patch
target/linux/brcm63xx/patches-4.4/571-board_fast2704n.patch
target/linux/brcm63xx/patches-4.4/572-board_VR-3026e.patch
target/linux/brcm63xx/patches-4.4/573-board_R5010UNv2.patch
target/linux/brcm63xx/patches-4.4/574-board_HG622.patch
target/linux/brcm63xx/patches-4.4/575-board_EVG2000.patch
target/linux/brcm63xx/patches-4.4/576-board_AV4202N.patch
target/linux/brcm63xx/patches-4.4/577-board_VH4032N.patch
target/linux/brcm63xx/patches-4.4/578-board_R1000H.patch
target/linux/brcm63xx/patches-4.4/579-board_AR-5315u.patch
target/linux/brcm63xx/patches-4.4/580-board_AD1018.patch

index f7a0b72b74a4fc27e5a2ddf907a7f2d36c721a2d..921e46c7966113a618cd3bd455413d1e4160dd12 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                reg = <0x7f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 43a82bbe1800386b4624fc1b480bf91d3454d1df..c21d06ec5b13192b8321173c2fe31e9b3ea3b29e 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                reg = <0xfe0000 0x020000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 269c4edea66f4ada38b8fb1f8e67f6c2bc4a083b..7c8bdabf71a4cfd3e24eeb5dd6948ef2c7b624da 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                reg = <0x7f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index d29b834a3afac6ced870230afe567404f31c298f..db835434d88ef9bafd88d516bda10dd90e752038 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -90,3 +91,7 @@
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 3254897302596b837a9a423d0d7bcd4f83ed357f..ad1590d7a0c5640e4eb872560b4f2d21f5bbed5a 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index d7632c69deec3b4ce0a7bca9cc0eb4cfa87979ab..7a630a1856481d1a51ace0bde41659d25a3ee911 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                linux,part-probe = "bcm63xxpart";
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index be1f9fb4f3e2bac8c6a2465d0776242037f22022..6ac3801c38898558a283247b957e3f95be299640 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                reg = <0xfe0000 0x020000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 63883f048ba8133bddeee055e530954ceba61127..e359fe4ebbdb9621d25e21c84ec453db1a19cced 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
        pinctrl-0 = <&pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
                     &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 883198c6b092334fccf41bba0854e063602472e2..9da5b7e3cdf17fc872abd5b31574570060fec2bf 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -77,3 +78,7 @@
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index a0e07fb4fefd4319873785caa8a9d1961484c00a..4dd71459fc055f160a4105b6a7cfd986d4645e9b 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -85,3 +86,7 @@
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index eb6d9a2b20b418871abd39a8217ce091ce1ba80c..e7265f4d4bee1cd64d58a782c20e28e3e0a7d254 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -71,3 +72,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ext_mii &pinctrl_pci>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 4babd3b12e490319f1f5527ebdbbf2c8684de574..ef61607882d26d85e7adb7e4243bbf8adfbd39b2 100644 (file)
@@ -11,6 +11,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -88,3 +89,7 @@
                reg = <0xfe0000 0x020000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 5780ccba472130ca75b30848d8627b0946629f64..e48c0bf46e0cc7083a8cc04d8071d7d80db94807 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -73,3 +74,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usb_pwron>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 8fae7fa78aa89335c93eac8182e36765e51761d6..db9d5eccd67b935ad2a7927a591d0ca82b832607 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -79,3 +80,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usb_pwron>;
 };
+
+&uart0 {
+       status = "ok";
+};
index a96bed76128d40cf0db0c2a86f0c151bfd6904bd..2bccb57a98472e7375d01068bcbef9f6fd92146c 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -49,3 +50,7 @@
                linux,part-probe = "bcm63xxpart";
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 4984f8fe76de133937d44e54b02937831643ce6d..d3c709877b5f3bb4606a23c527f0a51026e1b6af 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -57,3 +58,7 @@
                linux,part-probe = "bcm63xxpart";
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index a1c5d7ad7ff9281e8275bef08fcee91054eece4b..d0d19a3550d4c42987c728a8fd0a25284c3546ee 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -59,3 +60,7 @@
                linux,part-probe = "bcm63xxpart";
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index e74a60a1fca0c8187816e7e70b18833cf627a217..d0d67880e474a8c2edff7bcb55aec6ae014b42ad 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -64,3 +65,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usb_port1_device>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 7815962cd8d5f679cf7c7433bbcb7bd3113b4711..d6ff449d312ae001cbd42a307bcb16c59773c6f3 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -44,3 +45,7 @@
 
        linux,part-probe = "bcm63xxpart";
 };
+
+&uart0 {
+       status = "ok";
+};
index 21190706e62c1798bfa67e15165a184d40be155e..f91ca9a39945e822d1dcdacf09203f6b20e5da8f 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -44,3 +45,7 @@
 
        linux,part-probe = "bcm63xxpart";
 };
+
+&uart0 {
+       status = "ok";
+};
index 521f1b38a0696a540a00eb5643b1bf8fd29cd12e..a7b3fad136060e805517c50c5b90a086ab1df85b 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 };
 
@@ -18,3 +19,7 @@
 
        linux,part-probe = "bcm63xxpart";
 };
+
+&uart0 {
+       status = "ok";
+};
index d788057875a7e7119a9f5b5889a4326eb09789a9..59850b5a1026107594f65ab0a52dc24993c8f499 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -63,3 +64,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 9ef82e62a15c771004519a9c7fc403db50dac46c..3caca09707e4af3183ae9acbc22c93ce3d36a6ae 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -63,3 +64,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
 };
+
+&uart0 {
+       status = "ok";
+};
index d7511b05284f5223c2a45917462d49553ab9aa3f..c213ac7a1f1d4a41c510ca78f70f4aea5611695c 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -63,3 +64,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 3042693b06dd59d53ffcadea684969ed3547cc6b..b56869b3e465531564247cab243a196e23bfc749 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -49,3 +50,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci>;
 };
+
+&uart0 {
+       status = "ok";
+};
index c2fe5b01b3021395e78b24531738818a33658fa5..e097c0518ee3103f3b15201f1d87b4cc90fdd21b 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -44,3 +45,7 @@
 
        linux,part-probe = "bcm63xxpart";
 };
+
+&uart0 {
+       status = "ok";
+};
index cc4a8b5812eaba07cfc4aa78ccbafd32f4193bdb..5c242c2157ba2f51914807aad6a4e3b3f5dcff14 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -40,3 +41,7 @@
 
        linux,part-probe = "bcm63xxpart";
 };
+
+&uart0 {
+       status = "ok";
+};
index 1078be713eb153eb50045e10eb6587dfd923a913..6c4ef091ac792b25f880919c29289d4cb4274cdb 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -49,3 +50,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 0f7c42b3cb69b3735a08adc48c5de586fdd088c9..ed1dd90160b55d52ffb83acd6b87e888ab07d7dd 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -49,3 +50,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci>;
 };
+
+&uart0 {
+       status = "ok";
+};
index dbe7aae97c10bd2196a563ad22efb6787511911c..6d8455e91c93fc3bbafb7b970ac5c11f31cc58ec 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -67,3 +68,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 108997df787faab24950f4015b634f1a49a82016..212bf6c32a6f6f44419bfbacc0fd9074fd6b919b 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                reg = <0x7f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index f0676497d76336e5e65c6685d54e91d4fcb68325..ac3b80954fb660c4bc3ced358342e08e691daca4 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -81,3 +82,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 8ddcacb4d3e0815442a3a2acfe812fb69f262575..579b514f93dc602d823d28a43066efe2a233ccc6 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -97,3 +98,7 @@
                reg = <0x7f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 8aa47575bece17b2ede3ad44f0a5398c8b0596fe..f9bc7e136c7d3d5e57c7b4e98eff48fa04bed882 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -67,3 +68,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 519f1f53af2073a6d9cdbb9b00372109852a80c0..fa14c8bbd9512569adde79d4be29bb8e2b83fef3 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
                reg = <0x3f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
+
+&uart1 {
+       status = "ok";
+};
index 0af695d90226d2c46fec4b6a5ebf4631142ea1be..369a67c2220ba8dd3ddb1b97d7dccb19eaeaffd6 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -75,3 +76,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 84ef9b2c04ed6f681f70e54c68d4159ac9f6a555..794c701dadcbbc88cbb6a062bcec0ddb1cc478b0 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -79,3 +80,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
 };
+
+&uart0 {
+       status = "ok";
+};
index ea917e8f37e6ba4bc7af277fce254d6fcf1a715a..2d23f19b7ad83aebebb7298868e5506d114a3c5d 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index fce774d32121c120f3371f2a355c6c621d9d6234..df7f4adc0765e6239e7d37bbf144d5e02d11a900 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -75,3 +76,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 3b94a4abcb0aa85a3ecea0f9104d30ca7f6186dc..8fea2acb254e37b6d94a5112ef7f9976f0143d50 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -54,3 +55,7 @@
                reg = <0x3f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 4b45151031497a871417c0435e1c0b70b3a69ec3..c9b189b8b0da539e5f4a2a44643800ec24ea125e 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -56,3 +57,7 @@
                reg = <0x7f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index fb67fc9851054a10126c8b2cc4c3869cc242dad6..3468dea8b3a40fd537e731a5bb0e8eb15e362ce3 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -74,3 +75,7 @@
                reg = <0x3f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index be1d16b36dc38cc25fbc074e6066c94672055b37..00a5a9e99a0502acfc103a71d3c76882024aa6c8 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 9ac4ea1c2612eb6f66f60d8df5b4343ba2458430..d8f8c08e1ea6ebbf9db7c4fbc1eade7ce71bf1b2 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
        pinctrl-0 = <&pinctrl_ephy0_act_led &pinctrl_ephy1_act_led
                     &pinctrl_ephy2_act_led &pinctrl_ephy3_act_led>;
 };
+
+&uart0 {
+       status = "ok";
+};
index e6955190f66de1cde291d8ec61a8367c8d1453fa..42a825f923f92bb851f438283845e4d04c814f0f 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 };
 
@@ -39,3 +40,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 4ebb25d01e7fe6152b6856735910ca2a61aff73c..2945165ce175ee14f5ca01bd0e2a8b8bfddcdf5f 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -74,3 +75,7 @@
                reg = <0x7f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 07c98f11a096603a9f8e0644794ed28cc5998248..10e0ddcc93cd9a8ed2ac15e0fc477653ab05b2c1 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 27e81a3e588382124bb03edd045b772b7e083ec3..89c646b9230ea6cac58ce569c8fdfeb4f061362a 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -79,3 +80,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
 };
+
+&uart0 {
+       status = "ok";
+};
index ce52af6d42d042481e6797e0ee28922de097c26d..c0a30a08eadf193bfc360a95b33e57bec72668f7 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 };
 
@@ -39,3 +40,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 296bc0993d9966821842e65c0324a783c3aadb0a..8b644fb8f1fd5fc4d20c85ccd9dfa7450d9f2b61 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -94,3 +95,7 @@
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 952b668118772fc1411d28dbe8fdd3a819a2ffb8..14339408bc2666d199349be1c37201c3c5756ed5 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -75,3 +76,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index ee343a6334a9435a7813c69aedad05dc0ffc75af..217ef12d7cbdc6ecf8de854edf618f04e2bfba52 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index bbd23da3616aa3ecb2643dd8931b9660ac0a292e..eeed6b1dae7980ac562c0fc6299f3ffbc07ba914 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 5645ae0a8c1367d6e4317290979213fd209f693a..31555b3ad2f8a10097df576a95a7638f8c26e40e 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -53,3 +54,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 3e0037a868f2572b024866ee85a0e52707cb925d..acc100c74747dd99ddab8777617ba9a61b1b58c3 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -74,3 +75,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
 };
+
+&uart0 {
+       status = "ok";
+};
index f0eefc0c0fed08333538256976b0af162dcd2108..bfd30693c09876433dd447ab6cacf8ef806a5617 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -57,3 +58,7 @@
                reg = <0x3f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index a00821fb1561fc5a42477dc9bf90705ddf7c99a4..a459976c4d21c31f92bd77d07470882b4d5b84ed 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -96,3 +97,7 @@
                reg = <0xfe0000 0x020000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index de17500ceb782bce1c2ae3e4b008c10ca3b0b303..906ee611b93002ac9f3c9ac88efab99e3e68a933 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                reg = <0xfe0000 0x020000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 782beda9829d2f497c72f4359fd7474fe427c63c..4285e17bcb1e18f4d8852cb8e5f0f40ad66147bb 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                reg = <0xfe0000 0x020000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 36f298be64d5812fae1b8e7104c4c5d3b1936727..48c601e12809812c05452e2d877b0dabf1c237eb 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                reg = <0xfe0000 0x020000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index f96af2bf266842559382c74a346ea481ea3d4afd..419439d0278614fe48531d87687fa8f5900ea4e0 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
 
@@ -84,3 +85,7 @@
                     &pinctrl_pci_intb &pinctrl_pci_gnt1
                     &pinctrl_pci_req1>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 63e13090ce977285e21e28e7dc4def92026dae2c..0336a633e44d86da26fe1f175b9cb642293bdcea 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
        pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
                     &pinctrl_ephy2_led &pinctrl_ephy3_led>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 6192687d1b3ebcd1cae04d878fa9b407db4e864a..1f55265bccdddfbb84c002d2c9df6c6a9cd34a1c 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                reg = <0xfe0000 0x020000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 8a060736c9d726bd310acf4c2973cd41586f0f0f..10a88669bd490644905c1c961fb376d20c5be8fb 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -75,3 +76,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 9053c26e65683130acc7cd1d133b2ae2ee8657de..c78b836dff3c7230def93737e0cfe662686367ed 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -79,3 +80,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
 };
+
+&uart0 {
+       status = "ok";
+};
index e11ec4678d45c1bdab1a29abb09b1ad42b9b7f18..9d341ec1a23557ad13416f25fbedee1ecdffe769 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
 
        linux,part-probe = "bcm63xxpart";
 };
+
+&uart0 {
+       status = "ok";
+};
index 8a33c66015d7be932856b3261e178b880ae0d4ab..e97d9f219df4e4ab74b40471ab29ea32eaf6c640 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
 
        linux,part-probe = "bcm63xxpart";
 };
+
+&uart0 {
+       status = "ok";
+};
index 8fb434f344e0c58b50dac80eabb99d93a6bb6485..70d719e1e3a47e93f4431927934c6d2dae23f931 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -82,3 +83,7 @@
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index eea30219e0c414688977cde34a699f795a4f99eb..d7e5d3e3f6deb89f7f7ccc4959df42e09f128493 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -84,3 +85,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 37cfa15dadae017bcd754203bc2fe61d16486b99..299b520a672a6127dbb0d8b84ed846898511539c 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                reg = <0x1fe0000 0x20000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
+
+&uart1 {
+       status = "ok";
+};
index 0bd88b2e44f5d955de4164e11e098799d00b08b8..c0b0a85c47006ad1bbd622804427e76238a79331 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index e96e310fd346f050d8f81d0c6f703ae823bf1b51..871aada25297f92caf829e239f1398fa86bdb188 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -56,3 +57,7 @@
                reg = <0xfe0000 0x020000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 16c3abf854e8b21aed57c2dd34e0a618ce1a0d75..e4de95dbe435a5edcca69005adc48a2c7e40a00a 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 };
 
@@ -39,3 +40,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 6dbf0a5a91418157caa560c5453893f65105d0c6..aedc9d30f6c7a3eb7c474032f7231344a6158fa6 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -56,3 +57,7 @@
                reg = <0x3f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index bb92d1ec0bb2977763b71b9e3f9455997078ecc1..0f71467589a85d0abb180013b34be6a04a67bca7 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -72,3 +73,7 @@
                reg = <0x3f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 7cefa5008d1555a05318eafad24b905bc5e382fc..ce9f0be377460aede4462784235bc58df2b6d44d 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -72,3 +73,7 @@
                reg = <0x3f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 0040540a49f187f29ede1312c04d94536178cbd5..7a0002023f0a89e5889aec170a360fd6bea57564 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -83,3 +84,7 @@
                reg = <0x7f0000 0x010000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index a9603b3889ff9dbba24e8bc8dacb5d138bf1a49a..c7a4c7dfd294162829d90bca0d80a5dbacfa45f7 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -79,3 +80,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci>;
 };
+
+&uart0 {
+       status = "ok";
+};
index b52670b9bb07f8d99bf4dfa97a8ba146589e99c3..e5c02e63aec73c1faf96becdd6b6ae32c8d9f943 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -79,3 +80,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 81af20bcd1dc3abac44460626262b8ceb6c59f70..4852d65ad34e20b3862378045238b7fa09adbf88 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -52,3 +53,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 23378a4721d7a44b9faf664b19c2cf371712a33b..93a5d9443686ff4b0559a22df0b15f4a2fbdcc05 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -78,3 +79,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index b6370ee1c6cf087907ca4991ff283529a0e11a8e..d6b5964f8c59edc6204461409265f92a8a3ad436 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -78,3 +79,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 2180802db3b61a8a7924004a1615322a50688081..f1d48ea3c194f182cd7287112ea93f62f9049132 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -49,3 +50,7 @@
                linux,part-probe = "bcm63xxpart";
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 1b646ce5c5eb9467e28db3f38936e6f046882323..78a708ac06bbb16e40967cc99394d904e4c7b6ea 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
                reg = <0x1fe0000 0x020000>;
        };
 };
+
+&uart0 {
+       status = "ok";
+};
index 2c53f516b75ffafd73aaed7eda3e310581af5d14..fd2a56769340a6a8429be5440775583bfe0ee264 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -80,3 +81,7 @@
        pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
                     &pinctrl_ephy2_led &pinctrl_ephy3_led>;
 };
+
+&uart0 {
+       status = "ok";
+};
index f9aed517550c1124ca9db5fdb9e4d1b18ef962e5..61e1972519a3343cb6f9e33f18af46e73e60c6cd 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -80,3 +81,7 @@
        pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
                     &pinctrl_ephy2_led &pinctrl_ephy3_led>;
 };
+
+&uart0 {
+       status = "ok";
+};
index da75df8a1eb28d6df5ddcfd2679dcc52105aaa40..01cb98817a00b71e1ce31f2f36edfee34ed1ba9a 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
@@ -80,3 +81,7 @@
        pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
                     &pinctrl_ephy2_led &pinctrl_ephy3_led>;
 };
+
+&uart0 {
+       status = "ok";
+};
index 8b47b200bd6cc19579f865a3c9cb33b9238dd4bf..1a71426cafeba44dc186b6b13de94e57248733a0 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-keys-polled {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci>;
 };
+
+&uart0 {
+       status = "ok";
+};
diff --git a/target/linux/brcm63xx/patches-4.4/000-4.8-11-serial-bcm63xx_uart-use-correct-alias-naming.patch b/target/linux/brcm63xx/patches-4.4/000-4.8-11-serial-bcm63xx_uart-use-correct-alias-naming.patch
new file mode 100644 (file)
index 0000000..9f4e21a
--- /dev/null
@@ -0,0 +1,37 @@
+From a59388668d0ce19dadea909e09f4eb905a27b1ce Mon Sep 17 00:00:00 2001
+From: Jonas Gorski <jogo@openwrt.org>
+Date: Wed, 8 Jun 2016 12:08:43 +0200
+Subject: [PATCH] serial/bcm63xx_uart: use correct alias naming
+
+The bcm63xx_uart driver uses the of alias for determing its id. Recent
+changes in dts files changed the expected 'uartX' to the recommended
+'serialX', breaking serial output. Fix this by checking for a 'serialX'
+alias as well.
+
+Fixes: e3b992d028f8 ("MIPS: BMIPS: Improve BCM6328 device tree")
+Fixes: 2d52ee82b475 ("MIPS: BMIPS: Improve BCM6368 device tree")
+Fixes: 7537d273e2f3 ("MIPS: BMIPS: Add device tree example for BCM6358")
+Signed-off-by: Jonas Gorski <jogo@openwrt.org>
+Acked-by: Florian Fainelli <f.fainelli@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/tty/serial/bcm63xx_uart.c | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+--- a/drivers/tty/serial/bcm63xx_uart.c
++++ b/drivers/tty/serial/bcm63xx_uart.c
+@@ -813,8 +813,12 @@ static int bcm_uart_probe(struct platfor
+       struct clk *clk;
+       int ret;
+-      if (pdev->dev.of_node)
+-              pdev->id = of_alias_get_id(pdev->dev.of_node, "uart");
++      if (pdev->dev.of_node) {
++              pdev->id = of_alias_get_id(pdev->dev.of_node, "serial");
++
++              if (pdev->id < 0)
++                      pdev->id = of_alias_get_id(pdev->dev.of_node, "uart");
++      }
+       if (pdev->id < 0 || pdev->id >= BCM63XX_NR_UARTS)
+               return -EINVAL;
index 6cb851f36b42e7203b86d47123886824b0cdd9fd..5152fbe24ee6865dadad36945399594943adba2f 100644 (file)
@@ -15,7 +15,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
 
 --- a/drivers/tty/serial/bcm63xx_uart.c
 +++ b/drivers/tty/serial/bcm63xx_uart.c
-@@ -838,7 +838,7 @@ static int bcm_uart_probe(struct platfor
+@@ -842,7 +842,7 @@ static int bcm_uart_probe(struct platfor
                return -ENODEV;
  
        clk = pdev->dev.of_node ? of_clk_get(pdev->dev.of_node, 0) :
index b3f73cf318be34fac6856e8c4f88ec3e330f2e74..a8fd5afcb6b3631f94159bd0287a7475a70bc586 100644 (file)
@@ -40,7 +40,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
        clocks {
 --- a/drivers/tty/serial/bcm63xx_uart.c
 +++ b/drivers/tty/serial/bcm63xx_uart.c
-@@ -837,8 +837,10 @@ static int bcm_uart_probe(struct platfor
+@@ -841,8 +841,10 @@ static int bcm_uart_probe(struct platfor
        if (!res_irq)
                return -ENODEV;
  
index 10db690b5e491c48b29776108944096c63aff7a7..084ef9ee89bfbf02d20335a43a0d8d570da05034 100644 (file)
@@ -33,3 +33,138 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
        bcm63xx_flash_register();
  
        bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds);
+--- a/arch/mips/bcm63xx/Makefile
++++ b/arch/mips/bcm63xx/Makefile
+@@ -1,6 +1,6 @@
+ obj-y         += clk.o cpu.o cs.o gpio.o irq.o nvram.o prom.o reset.o \
+                  setup.o timer.o dev-dsp.o dev-enet.o dev-flash.o \
+-                 dev-pcmcia.o dev-rng.o dev-spi.o dev-hsspi.o dev-uart.o \
++                 dev-pcmcia.o dev-rng.o dev-uart.o \
+                  dev-wdt.o dev-usb-ehci.o dev-usb-ohci.o dev-usb-usbd.o \
+                  usb-common.o sprom.o
+ obj-$(CONFIG_EARLY_PRINTK)    += early_printk.o
+--- a/arch/mips/bcm63xx/dev-hsspi.c
++++ /dev/null
+@@ -1,48 +0,0 @@
+-/*
+- * This file is subject to the terms and conditions of the GNU General Public
+- * License.  See the file "COPYING" in the main directory of this archive
+- * for more details.
+- *
+- * Copyright (C) 2012 Jonas Gorski <jonas.gorski@gmail.com>
+- */
+-
+-#include <linux/init.h>
+-#include <linux/kernel.h>
+-#include <linux/platform_device.h>
+-
+-#include <bcm63xx_cpu.h>
+-#include <bcm63xx_dev_hsspi.h>
+-#include <bcm63xx_regs.h>
+-
+-static struct resource spi_resources[] = {
+-      {
+-              .start          = -1, /* filled at runtime */
+-              .end            = -1, /* filled at runtime */
+-              .flags          = IORESOURCE_MEM,
+-      },
+-      {
+-              .start          = -1, /* filled at runtime */
+-              .flags          = IORESOURCE_IRQ,
+-      },
+-};
+-
+-static struct platform_device bcm63xx_hsspi_device = {
+-      .name           = "bcm63xx-hsspi",
+-      .id             = 0,
+-      .num_resources  = ARRAY_SIZE(spi_resources),
+-      .resource       = spi_resources,
+-};
+-
+-int __init bcm63xx_hsspi_register(void)
+-{
+-      if (!BCMCPU_IS_6318() && !BCMCPU_IS_6328() && !BCMCPU_IS_6362() &&
+-              !BCMCPU_IS_63268())
+-              return -ENODEV;
+-
+-      spi_resources[0].start = bcm63xx_regset_address(RSET_HSSPI);
+-      spi_resources[0].end = spi_resources[0].start;
+-      spi_resources[0].end += RSET_HSSPI_SIZE - 1;
+-      spi_resources[1].start = bcm63xx_get_irq_number(IRQ_HSSPI);
+-
+-      return platform_device_register(&bcm63xx_hsspi_device);
+-}
+--- a/arch/mips/bcm63xx/dev-spi.c
++++ /dev/null
+@@ -1,60 +0,0 @@
+-/*
+- * This file is subject to the terms and conditions of the GNU General Public
+- * License.  See the file "COPYING" in the main directory of this archive
+- * for more details.
+- *
+- * Copyright (C) 2009-2011 Florian Fainelli <florian@openwrt.org>
+- * Copyright (C) 2010 Tanguy Bouzeloc <tanguy.bouzeloc@efixo.com>
+- */
+-
+-#include <linux/init.h>
+-#include <linux/kernel.h>
+-#include <linux/export.h>
+-#include <linux/platform_device.h>
+-#include <linux/err.h>
+-#include <linux/clk.h>
+-
+-#include <bcm63xx_cpu.h>
+-#include <bcm63xx_dev_spi.h>
+-#include <bcm63xx_regs.h>
+-
+-static struct resource spi_resources[] = {
+-      {
+-              .start          = -1, /* filled at runtime */
+-              .end            = -1, /* filled at runtime */
+-              .flags          = IORESOURCE_MEM,
+-      },
+-      {
+-              .start          = -1, /* filled at runtime */
+-              .flags          = IORESOURCE_IRQ,
+-      },
+-};
+-
+-static struct platform_device bcm63xx_spi_device = {
+-      .id             = -1,
+-      .num_resources  = ARRAY_SIZE(spi_resources),
+-      .resource       = spi_resources,
+-};
+-
+-int __init bcm63xx_spi_register(void)
+-{
+-      if (BCMCPU_IS_6318() || BCMCPU_IS_6328() || BCMCPU_IS_6345())
+-              return -ENODEV;
+-
+-      spi_resources[0].start = bcm63xx_regset_address(RSET_SPI);
+-      spi_resources[0].end = spi_resources[0].start;
+-      spi_resources[1].start = bcm63xx_get_irq_number(IRQ_SPI);
+-
+-      if (BCMCPU_IS_6338() || BCMCPU_IS_6348()) {
+-              bcm63xx_spi_device.name = "bcm6348-spi",
+-              spi_resources[0].end += BCM_6348_RSET_SPI_SIZE - 1;
+-      }
+-
+-      if (BCMCPU_IS_3368() || BCMCPU_IS_6358() || BCMCPU_IS_6362() ||
+-              BCMCPU_IS_6368() || BCMCPU_IS_63268()) {
+-              bcm63xx_spi_device.name = "bcm6358-spi",
+-              spi_resources[0].end += BCM_6358_RSET_SPI_SIZE - 1;
+-      }
+-
+-      return platform_device_register(&bcm63xx_spi_device);
+-}
+--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_hsspi.h
++++ /dev/null
+@@ -1,8 +0,0 @@
+-#ifndef BCM63XX_DEV_HSSPI_H
+-#define BCM63XX_DEV_HSSPI_H
+-
+-#include <linux/types.h>
+-
+-int bcm63xx_hsspi_register(void);
+-
+-#endif /* BCM63XX_DEV_HSSPI_H */
diff --git a/target/linux/brcm63xx/patches-4.4/391-MIPS-BCM63XX-do-not-register-uart.patch b/target/linux/brcm63xx/patches-4.4/391-MIPS-BCM63XX-do-not-register-uart.patch
new file mode 100644 (file)
index 0000000..e033ea3
--- /dev/null
@@ -0,0 +1,257 @@
+--- a/arch/mips/bcm63xx/Makefile
++++ b/arch/mips/bcm63xx/Makefile
+@@ -1,6 +1,6 @@
+ obj-y         += clk.o cpu.o cs.o gpio.o irq.o nvram.o prom.o reset.o \
+                  setup.o timer.o dev-dsp.o dev-enet.o dev-flash.o \
+-                 dev-pcmcia.o dev-rng.o dev-uart.o \
++                 dev-pcmcia.o dev-rng.o \
+                  dev-wdt.o dev-usb-ehci.o dev-usb-ohci.o dev-usb-usbd.o \
+                  usb-common.o sprom.o
+ obj-$(CONFIG_EARLY_PRINTK)    += early_printk.o
+--- a/arch/mips/bcm63xx/dev-uart.c
++++ /dev/null
+@@ -1,76 +0,0 @@
+-/*
+- * This file is subject to the terms and conditions of the GNU General Public
+- * License.  See the file "COPYING" in the main directory of this archive
+- * for more details.
+- *
+- * Copyright (C) 2008 Maxime Bizon <mbizon@freebox.fr>
+- */
+-
+-#include <linux/init.h>
+-#include <linux/kernel.h>
+-#include <linux/platform_device.h>
+-#include <bcm63xx_cpu.h>
+-
+-static struct resource uart0_resources[] = {
+-      {
+-              /* start & end filled at runtime */
+-              .flags          = IORESOURCE_MEM,
+-      },
+-      {
+-              /* start filled at runtime */
+-              .flags          = IORESOURCE_IRQ,
+-      },
+-};
+-
+-static struct resource uart1_resources[] = {
+-      {
+-              /* start & end filled at runtime */
+-              .flags          = IORESOURCE_MEM,
+-      },
+-      {
+-              /* start filled at runtime */
+-              .flags          = IORESOURCE_IRQ,
+-      },
+-};
+-
+-static struct platform_device bcm63xx_uart_devices[] = {
+-      {
+-              .name           = "bcm63xx_uart",
+-              .id             = 0,
+-              .num_resources  = ARRAY_SIZE(uart0_resources),
+-              .resource       = uart0_resources,
+-      },
+-
+-      {
+-              .name           = "bcm63xx_uart",
+-              .id             = 1,
+-              .num_resources  = ARRAY_SIZE(uart1_resources),
+-              .resource       = uart1_resources,
+-      }
+-};
+-
+-int __init bcm63xx_uart_register(unsigned int id)
+-{
+-      if (id >= ARRAY_SIZE(bcm63xx_uart_devices))
+-              return -ENODEV;
+-
+-      if (id == 1 && (!BCMCPU_IS_3368() && !BCMCPU_IS_6358() &&
+-              !BCMCPU_IS_6368()))
+-              return -ENODEV;
+-
+-      if (id == 0) {
+-              uart0_resources[0].start = bcm63xx_regset_address(RSET_UART0);
+-              uart0_resources[0].end = uart0_resources[0].start +
+-                      RSET_UART_SIZE - 1;
+-              uart0_resources[1].start = bcm63xx_get_irq_number(IRQ_UART0);
+-      }
+-
+-      if (id == 1) {
+-              uart1_resources[0].start = bcm63xx_regset_address(RSET_UART1);
+-              uart1_resources[0].end = uart1_resources[0].start +
+-                      RSET_UART_SIZE - 1;
+-              uart1_resources[1].start = bcm63xx_get_irq_number(IRQ_UART1);
+-      }
+-
+-      return platform_device_register(&bcm63xx_uart_devices[id]);
+-}
+--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_uart.h
++++ /dev/null
+@@ -1,6 +0,0 @@
+-#ifndef BCM63XX_DEV_UART_H_
+-#define BCM63XX_DEV_UART_H_
+-
+-int bcm63xx_uart_register(unsigned int id);
+-
+-#endif /* BCM63XX_DEV_UART_H_ */
+--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
++++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
+@@ -33,8 +33,6 @@ struct board_info {
+       unsigned int    has_ehci0:1;
+       unsigned int    has_usbd:1;
+       unsigned int    has_dsp:1;
+-      unsigned int    has_uart0:1;
+-      unsigned int    has_uart1:1;
+       unsigned int    use_fallback_sprom:1;
+       /* ethernet config */
+--- a/arch/mips/bcm63xx/boards/board_common.c
++++ b/arch/mips/bcm63xx/boards/board_common.c
+@@ -20,7 +20,6 @@
+ #include <asm/prom.h>
+ #include <bcm63xx_board.h>
+ #include <bcm63xx_cpu.h>
+-#include <bcm63xx_dev_uart.h>
+ #include <bcm63xx_regs.h>
+ #include <bcm63xx_io.h>
+ #include <bcm63xx_gpio.h>
+@@ -189,12 +188,6 @@ int __init board_register_devices(void)
+       bcm63xx_gpio_init();
+-      if (board.has_uart0)
+-              bcm63xx_uart_register(0);
+-
+-      if (board.has_uart1)
+-              bcm63xx_uart_register(1);
+-
+       if (board.has_pccard)
+               bcm63xx_pcmcia_register();
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -35,9 +35,6 @@ static struct board_info __initdata boar
+       .name                           = "CVG834G_E15R3921",
+       .expected_cpu_id                = 0x3368,
+-      .has_uart0                      = 1,
+-      .has_uart1                      = 1,
+-
+       .has_enet0                      = 1,
+       .has_pci                        = 1,
+@@ -67,7 +64,6 @@ static struct board_info __initdata boar
+       .name                           = "96328avng",
+       .expected_cpu_id                = 0x6328,
+-      .has_uart0                      = 1,
+       .has_pci                        = 1,
+       .has_usbd                       = 0,
+       .use_fallback_sprom             = 1,
+@@ -116,7 +112,6 @@ static struct board_info __initdata boar
+       .name                           = "96338GW",
+       .expected_cpu_id                = 0x6338,
+-      .has_uart0                      = 1,
+       .has_enet0                      = 1,
+       .enet0 = {
+               .force_speed_100        = 1,
+@@ -159,7 +154,6 @@ static struct board_info __initdata boar
+       .name                           = "96338W",
+       .expected_cpu_id                = 0x6338,
+-      .has_uart0                      = 1,
+       .has_enet0                      = 1,
+       .enet0 = {
+               .force_speed_100        = 1,
+@@ -204,8 +198,6 @@ static struct board_info __initdata boar
+ static struct board_info __initdata board_96345gw2 = {
+       .name                           = "96345GW2",
+       .expected_cpu_id                = 0x6345,
+-
+-      .has_uart0                      = 1,
+ };
+ #endif
+@@ -217,7 +209,6 @@ static struct board_info __initdata boar
+       .name                           = "96348R",
+       .expected_cpu_id                = 0x6348,
+-      .has_uart0                      = 1,
+       .has_enet0                      = 1,
+       .has_pci                        = 1,
+       .use_fallback_sprom             = 1,
+@@ -262,7 +253,6 @@ static struct board_info __initdata boar
+       .name                           = "96348GW-10",
+       .expected_cpu_id                = 0x6348,
+-      .has_uart0                      = 1,
+       .has_enet0                      = 1,
+       .has_enet1                      = 1,
+       .has_pci                        = 1,
+@@ -323,7 +313,6 @@ static struct board_info __initdata boar
+       .name                           = "96348GW-11",
+       .expected_cpu_id                = 0x6348,
+-      .has_uart0                      = 1,
+       .has_enet0                      = 1,
+       .has_enet1                      = 1,
+       .has_pci                        = 1,
+@@ -378,7 +367,6 @@ static struct board_info __initdata boar
+       .name                           = "96348GW",
+       .expected_cpu_id                = 0x6348,
+-      .has_uart0                      = 1,
+       .has_enet0                      = 1,
+       .has_enet1                      = 1,
+       .has_pci                        = 1,
+@@ -437,7 +425,6 @@ static struct board_info __initdata boar
+       .name                           = "F@ST2404",
+       .expected_cpu_id                = 0x6348,
+-      .has_uart0                      = 1,
+       .has_enet0                      = 1,
+       .has_enet1                      = 1,
+       .has_pci                        = 1,
+@@ -482,7 +469,6 @@ static struct board_info __initdata boar
+       .name                           = "DV201AMR",
+       .expected_cpu_id                = 0x6348,
+-      .has_uart0                      = 1,
+       .has_pci                        = 1,
+       .use_fallback_sprom             = 1,
+       .has_ohci0                      = 1,
+@@ -503,7 +489,6 @@ static struct board_info __initdata boar
+       .name                           = "96348GW-A",
+       .expected_cpu_id                = 0x6348,
+-      .has_uart0                      = 1,
+       .has_enet0                      = 1,
+       .has_enet1                      = 1,
+       .has_pci                        = 1,
+@@ -530,7 +515,6 @@ static struct board_info __initdata boar
+       .name                           = "96358VW",
+       .expected_cpu_id                = 0x6358,
+-      .has_uart0                      = 1,
+       .has_enet0                      = 1,
+       .has_enet1                      = 1,
+       .has_pci                        = 1,
+@@ -583,7 +567,6 @@ static struct board_info __initdata boar
+       .name                           = "96358VW2",
+       .expected_cpu_id                = 0x6358,
+-      .has_uart0                      = 1,
+       .has_enet0                      = 1,
+       .has_enet1                      = 1,
+       .has_pci                        = 1,
+@@ -633,7 +616,6 @@ static struct board_info __initdata boar
+       .name                           = "AGPF-S0",
+       .expected_cpu_id                = 0x6358,
+-      .has_uart0                      = 1,
+       .has_enet0                      = 1,
+       .has_enet1                      = 1,
+       .has_pci                        = 1,
diff --git a/target/linux/brcm63xx/patches-4.4/392-MIPS-BCM63XX-remove-leds-and-buttons.patch b/target/linux/brcm63xx/patches-4.4/392-MIPS-BCM63XX-remove-leds-and-buttons.patch
new file mode 100644 (file)
index 0000000..1bbbf91
--- /dev/null
@@ -0,0 +1,343 @@
+From 997f53b174c63153335508c22dc4493e8e5808d6 Mon Sep 17 00:00:00 2001
+From: Jonas Gorski <jogo@openwrt.org>
+Date: Sun, 22 Feb 2015 17:52:32 +0100
+Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
+
+---
+ arch/mips/bcm63xx/boards/board_bcm963xx.c |  262 -----------------------------
+ 1 file changed, 262 deletions(-)
+
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -43,14 +43,6 @@ static struct board_info __initdata boar
+               .use_internal_phy       = 1,
+       },
+-      .leds = {
+-              {
+-                      .name           = "CVG834G:green:power",
+-                      .gpio           = 37,
+-                      .default_trigger= "default-on",
+-              },
+-      },
+-
+       .ephy_reset_gpio                = 36,
+       .ephy_reset_gpio_flags          = GPIO_ACTIVE_LOW,
+ };
+@@ -72,35 +64,6 @@ static struct board_info __initdata boar
+               .use_fullspeed          = 0,
+               .port_no                = 0,
+       },
+-
+-      .leds = {
+-              {
+-                      .name           = "96328avng::ppp-fail",
+-                      .gpio           = 2,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "96328avng::power",
+-                      .gpio           = 4,
+-                      .active_low     = 1,
+-                      .default_trigger = "default-on",
+-              },
+-              {
+-                      .name           = "96328avng::power-fail",
+-                      .gpio           = 8,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "96328avng::wps",
+-                      .gpio           = 9,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "96328avng::ppp",
+-                      .gpio           = 11,
+-                      .active_low     = 1,
+-              },
+-      },
+ };
+ #endif
+@@ -119,35 +82,6 @@ static struct board_info __initdata boar
+       },
+       .has_ohci0                      = 1,
+-
+-      .leds = {
+-              {
+-                      .name           = "adsl",
+-                      .gpio           = 3,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ses",
+-                      .gpio           = 5,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp-fail",
+-                      .gpio           = 4,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "power",
+-                      .gpio           = 0,
+-                      .active_low     = 1,
+-                      .default_trigger = "default-on",
+-              },
+-              {
+-                      .name           = "stop",
+-                      .gpio           = 1,
+-                      .active_low     = 1,
+-              }
+-      },
+ };
+ static struct board_info __initdata board_96338w = {
+@@ -159,35 +93,6 @@ static struct board_info __initdata boar
+               .force_speed_100        = 1,
+               .force_duplex_full      = 1,
+       },
+-
+-      .leds = {
+-              {
+-                      .name           = "adsl",
+-                      .gpio           = 3,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ses",
+-                      .gpio           = 5,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp-fail",
+-                      .gpio           = 4,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "power",
+-                      .gpio           = 0,
+-                      .active_low     = 1,
+-                      .default_trigger = "default-on",
+-              },
+-              {
+-                      .name           = "stop",
+-                      .gpio           = 1,
+-                      .active_low     = 1,
+-              },
+-      },
+ };
+ #endif
+@@ -217,36 +122,6 @@ static struct board_info __initdata boar
+               .has_phy                = 1,
+               .use_internal_phy       = 1,
+       },
+-
+-      .leds = {
+-              {
+-                      .name           = "adsl-fail",
+-                      .gpio           = 2,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp",
+-                      .gpio           = 3,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp-fail",
+-                      .gpio           = 4,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "power",
+-                      .gpio           = 0,
+-                      .active_low     = 1,
+-                      .default_trigger = "default-on",
+-
+-              },
+-              {
+-                      .name           = "stop",
+-                      .gpio           = 1,
+-                      .active_low     = 1,
+-              },
+-      },
+ };
+ static struct board_info __initdata board_96348gw_10 = {
+@@ -278,35 +153,6 @@ static struct board_info __initdata boar
+               .cs                     = 2,
+               .ext_irq                = 2,
+       },
+-
+-      .leds = {
+-              {
+-                      .name           = "adsl-fail",
+-                      .gpio           = 2,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp",
+-                      .gpio           = 3,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp-fail",
+-                      .gpio           = 4,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "power",
+-                      .gpio           = 0,
+-                      .active_low     = 1,
+-                      .default_trigger = "default-on",
+-              },
+-              {
+-                      .name           = "stop",
+-                      .gpio           = 1,
+-                      .active_low     = 1,
+-              },
+-      },
+ };
+ static struct board_info __initdata board_96348gw_11 = {
+@@ -332,35 +178,6 @@ static struct board_info __initdata boar
+       .has_ohci0 = 1,
+       .has_pccard = 1,
+       .has_ehci0 = 1,
+-
+-      .leds = {
+-              {
+-                      .name           = "adsl-fail",
+-                      .gpio           = 2,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp",
+-                      .gpio           = 3,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp-fail",
+-                      .gpio           = 4,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "power",
+-                      .gpio           = 0,
+-                      .active_low     = 1,
+-                      .default_trigger = "default-on",
+-              },
+-              {
+-                      .name           = "stop",
+-                      .gpio           = 1,
+-                      .active_low     = 1,
+-              },
+-      },
+ };
+ static struct board_info __initdata board_96348gw = {
+@@ -390,35 +207,6 @@ static struct board_info __initdata boar
+               .ext_irq                = 2,
+               .cs                     = 2,
+       },
+-
+-      .leds = {
+-              {
+-                      .name           = "adsl-fail",
+-                      .gpio           = 2,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp",
+-                      .gpio           = 3,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp-fail",
+-                      .gpio           = 4,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "power",
+-                      .gpio           = 0,
+-                      .active_low     = 1,
+-                      .default_trigger = "default-on",
+-              },
+-              {
+-                      .name           = "stop",
+-                      .gpio           = 1,
+-                      .active_low     = 1,
+-              },
+-      },
+ };
+ static struct board_info __initdata board_FAST2404 = {
+@@ -534,33 +322,6 @@ static struct board_info __initdata boar
+       .has_ohci0 = 1,
+       .has_pccard = 1,
+       .has_ehci0 = 1,
+-
+-      .leds = {
+-              {
+-                      .name           = "adsl-fail",
+-                      .gpio           = 15,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp",
+-                      .gpio           = 22,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp-fail",
+-                      .gpio           = 23,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "power",
+-                      .gpio           = 4,
+-                      .default_trigger = "default-on",
+-              },
+-              {
+-                      .name           = "stop",
+-                      .gpio           = 5,
+-              },
+-      },
+ };
+ static struct board_info __initdata board_96358vw2 = {
+@@ -587,29 +348,6 @@ static struct board_info __initdata boar
+       .has_pccard = 1,
+       .has_ehci0 = 1,
+       .num_usbh_ports                 = 2,
+-
+-      .leds = {
+-              {
+-                      .name           = "adsl",
+-                      .gpio           = 22,
+-                      .active_low     = 1,
+-              },
+-              {
+-                      .name           = "ppp-fail",
+-                      .gpio           = 23,
+-              },
+-              {
+-                      .name           = "power",
+-                      .gpio           = 5,
+-                      .active_low     = 1,
+-                      .default_trigger = "default-on",
+-              },
+-              {
+-                      .name           = "stop",
+-                      .gpio           = 4,
+-                      .active_low     = 1,
+-              },
+-      },
+ };
+ static struct board_info __initdata board_AGPFS0 = {
index 334a9342221c0858550bad8d9e50c444d84527d8..9227eb28a84269f34c7dbda72b782cadc06966bb 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -99,6 +99,8 @@ void __init board_early_setup(const stru
+@@ -98,6 +98,8 @@ void __init board_early_setup(const stru
                if (BCMCPU_IS_6348())
                        val |= GPIO_MODE_6348_G3_EXT_MII |
                                GPIO_MODE_6348_G0_EXT_MII;
index 6dab40d7e10947120d294c885ebe8d0aa67d179d..608ad8e39a4ca0c141c567ffa63130a7ee115314 100644 (file)
@@ -11,7 +11,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
 
 --- a/arch/mips/bcm63xx/dev-flash.c
 +++ b/arch/mips/bcm63xx/dev-flash.c
-@@ -17,9 +17,13 @@
+@@ -17,6 +17,9 @@
  #include <linux/mtd/partitions.h>
  #include <linux/mtd/physmap.h>
  #include <linux/mtd/spi-nor.h>
@@ -21,11 +21,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  
  #include <bcm63xx_cpu.h>
  #include <bcm63xx_dev_flash.h>
-+#include <bcm63xx_dev_hsspi.h>
- #include <bcm63xx_regs.h>
- #include <bcm63xx_io.h>
-@@ -66,6 +70,41 @@ void __init bcm63xx_flash_force_phys_bas
+@@ -66,6 +69,41 @@ void __init bcm63xx_flash_force_phys_bas
        mtd_resources[0].end = end;
  }
  
@@ -67,7 +63,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
  static int __init bcm63xx_detect_flash_type(void)
  {
        u32 val;
-@@ -73,9 +112,15 @@ static int __init bcm63xx_detect_flash_t
+@@ -73,9 +111,15 @@ static int __init bcm63xx_detect_flash_t
        switch (bcm63xx_get_cpu_id()) {
        case BCM6318_CPU_ID:
                /* only support serial flash */
@@ -83,7 +79,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
                if (val & STRAPBUS_6328_BOOT_SEL_SERIAL)
                        return BCM63XX_FLASH_TYPE_SERIAL;
                else
-@@ -94,12 +139,20 @@ static int __init bcm63xx_detect_flash_t
+@@ -94,12 +138,20 @@ static int __init bcm63xx_detect_flash_t
                        return BCM63XX_FLASH_TYPE_SERIAL;
        case BCM6362_CPU_ID:
                val = bcm_misc_readl(MISC_STRAPBUS_6362_REG);
@@ -104,7 +100,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
                switch (val & STRAPBUS_6368_BOOT_SEL_MASK) {
                case STRAPBUS_6368_BOOT_SEL_NAND:
                        return BCM63XX_FLASH_TYPE_NAND;
-@@ -110,6 +163,11 @@ static int __init bcm63xx_detect_flash_t
+@@ -110,6 +162,11 @@ static int __init bcm63xx_detect_flash_t
                }
        case BCM63268_CPU_ID:
                val = bcm_misc_readl(MISC_STRAPBUS_63268_REG);
@@ -116,7 +112,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
                if (val & STRAPBUS_63268_BOOT_SEL_SERIAL)
                        return BCM63XX_FLASH_TYPE_SERIAL;
                else
-@@ -176,6 +234,7 @@ void __init bcm63xx_flash_detect(void)
+@@ -176,6 +233,7 @@ void __init bcm63xx_flash_detect(void)
  
  int __init bcm63xx_flash_register(void)
  {
@@ -124,7 +120,7 @@ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
        u32 val;
  
        switch (flash_type) {
-@@ -195,8 +254,14 @@ int __init bcm63xx_flash_register(void)
+@@ -195,8 +253,14 @@ int __init bcm63xx_flash_register(void)
  
                return platform_device_register(&mtd_dev);
        case BCM63XX_FLASH_TYPE_SERIAL:
index d86e6a05fa2867ff1869f1c30f7e9439e9c4f303..a0ad6e6ce588a60987bede1698aa4ba9d7b60805 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data
 
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -33,6 +33,7 @@
+@@ -32,6 +32,7 @@
  #include <bcm63xx_dev_usb_ohci.h>
  #include <bcm63xx_dev_usb_usbd.h>
  #include <board_bcm963xx.h>
@@ -18,7 +18,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data
  
  #include "board_common.h"
  
-@@ -179,6 +180,7 @@ static struct of_device_id of_ids[] = {
+@@ -178,6 +179,7 @@ static struct of_device_id of_ids[] = {
  int __init board_register_devices(void)
  {
        int usbh_ports = 0;
@@ -26,7 +26,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data
  
  #if CONFIG_OF
        if (of_have_populated_dt()) {
-@@ -252,6 +254,10 @@ int __init board_register_devices(void)
+@@ -245,6 +247,10 @@ int __init board_register_devices(void)
                                        board.ephy_reset_gpio_flags);
        }
  
@@ -59,9 +59,9 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data
  /*
   * board definition
   */
-@@ -36,6 +42,10 @@ struct board_info {
-       unsigned int    has_uart0:1;
-       unsigned int    has_uart1:1;
+@@ -34,6 +40,10 @@ struct board_info {
+       unsigned int    has_usbd:1;
+       unsigned int    has_dsp:1;
        unsigned int    use_fallback_sprom:1;
 +      unsigned int    has_caldata:2;
 +
index 9eb4e5e09d9f188b286cdddfbd8130912532aeb4..94c63c5e80d321fa12829411a1d86764f563be52 100644 (file)
@@ -11,7 +11,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
 
 --- a/arch/mips/bcm63xx/dev-flash.c
 +++ b/arch/mips/bcm63xx/dev-flash.c
-@@ -271,3 +271,8 @@ int __init bcm63xx_flash_register(void)
+@@ -270,3 +270,8 @@ int __init bcm63xx_flash_register(void)
                return -ENODEV;
        }
  }
index 7d012167c24288f0593aa8027502d18ddb40356c..0f6706a6b216347228d7f0cddaaf4b9d62d87f46 100644 (file)
@@ -15,7 +15,7 @@ Subject: [PATCH 61/72] BCM63XX: add a fixup for ath9k devices
 +++ b/arch/mips/bcm63xx/Makefile
 @@ -2,7 +2,7 @@ obj-y          += clk.o cpu.o cs.o gpio.o irq.o
                   setup.o timer.o dev-dsp.o dev-enet.o dev-flash.o \
-                  dev-pcmcia.o dev-rng.o dev-spi.o dev-hsspi.o dev-uart.o \
+                  dev-pcmcia.o dev-rng.o \
                   dev-wdt.o dev-usb-ehci.o dev-usb-ohci.o dev-usb-usbd.o \
 -                 usb-common.o sprom.o
 +                 pci-ath9k-fixup.o usb-common.o sprom.o
@@ -24,7 +24,7 @@ Subject: [PATCH 61/72] BCM63XX: add a fixup for ath9k devices
  obj-y         += boards/
 --- /dev/null
 +++ b/arch/mips/bcm63xx/pci-ath9k-fixup.c
-@@ -0,0 +1,201 @@
+@@ -0,0 +1,200 @@
 +/*
 + *  Broadcom BCM63XX Ath9k EEPROM fixup helper.
 + *
@@ -52,7 +52,6 @@ Subject: [PATCH 61/72] BCM63XX: add a fixup for ath9k devices
 +#include <bcm63xx_nvram.h>
 +#include <bcm63xx_dev_pci.h>
 +#include <bcm63xx_dev_flash.h>
-+#include <bcm63xx_dev_hsspi.h>
 +#include <pci_ath9k_fixup.h>
 +
 +#define bcm_hsspi_writel(v, o)        bcm_rset_writel(RSET_HSSPI, (v), (o))
index f314e018f414e09c2e05be2a6971ba0c0a6a1d01..8921f2d9b83f96864046fdb9c2a6053c944bd74c 100644 (file)
@@ -21,7 +21,7 @@
  /*
 --- a/arch/mips/bcm63xx/pci-ath9k-fixup.c
 +++ b/arch/mips/bcm63xx/pci-ath9k-fixup.c
-@@ -183,12 +183,14 @@ static void ath9k_pci_fixup(struct pci_d
+@@ -182,12 +182,14 @@ static void ath9k_pci_fixup(struct pci_d
  }
  DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATHEROS, PCI_ANY_ID, ath9k_pci_fixup);
  
@@ -39,7 +39,7 @@
                return;
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -256,7 +256,8 @@ int __init board_register_devices(void)
+@@ -249,7 +249,8 @@ int __init board_register_devices(void)
  
        /* register any fixups */
        for (i = 0; i < board.has_caldata; i++)
index ccd3160a3b421cf81f5f1d0f14a6f0b989d6ace7..3ccf6dcdf02917d3c93e8c1bd3bcccc8bace1a99 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -257,7 +257,7 @@ int __init board_register_devices(void)
+@@ -250,7 +250,7 @@ int __init board_register_devices(void)
        /* register any fixups */
        for (i = 0; i < board.has_caldata; i++)
                pci_enable_ath9k_fixup(board.caldata[i].slot, board.caldata[i].caldata_offset,
@@ -11,7 +11,7 @@
  }
 --- a/arch/mips/bcm63xx/pci-ath9k-fixup.c
 +++ b/arch/mips/bcm63xx/pci-ath9k-fixup.c
-@@ -184,13 +184,15 @@ static void ath9k_pci_fixup(struct pci_d
+@@ -183,13 +183,15 @@ static void ath9k_pci_fixup(struct pci_d
  DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATHEROS, PCI_ANY_ID, ath9k_pci_fixup);
  
  void __init pci_enable_ath9k_fixup(unsigned slot, u32 offset,
index 5731cb34aa80681b443ec8b5c7382a62f2603098..d021b369046a6c37686bc61b7f8327f9dd86d142 100644 (file)
@@ -19,7 +19,7 @@ Subject: [PATCH 72/72] 446-BCM63XX-add-a-fixup-for-rt2x00-devices
 +++ b/arch/mips/bcm63xx/Makefile
 @@ -2,7 +2,7 @@ obj-y          += clk.o cpu.o cs.o gpio.o irq.o
                   setup.o timer.o dev-dsp.o dev-enet.o dev-flash.o \
-                  dev-pcmcia.o dev-rng.o dev-spi.o dev-hsspi.o dev-uart.o \
+                  dev-pcmcia.o dev-rng.o \
                   dev-wdt.o dev-usb-ehci.o dev-usb-ohci.o dev-usb-usbd.o \
 -                 pci-ath9k-fixup.o usb-common.o sprom.o
 +                 pci-ath9k-fixup.o pci-rt2x00-fixup.o usb-common.o sprom.o
@@ -28,7 +28,7 @@ Subject: [PATCH 72/72] 446-BCM63XX-add-a-fixup-for-rt2x00-devices
  obj-y         += boards/
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -34,6 +34,7 @@
+@@ -33,6 +33,7 @@
  #include <bcm63xx_dev_usb_usbd.h>
  #include <board_bcm963xx.h>
  #include <pci_ath9k_fixup.h>
@@ -36,7 +36,7 @@ Subject: [PATCH 72/72] 446-BCM63XX-add-a-fixup-for-rt2x00-devices
  
  #include "board_common.h"
  
-@@ -255,9 +256,19 @@ int __init board_register_devices(void)
+@@ -248,9 +249,19 @@ int __init board_register_devices(void)
        }
  
        /* register any fixups */
@@ -162,7 +162,7 @@ Subject: [PATCH 72/72] 446-BCM63XX-add-a-fixup-for-rt2x00-devices
  };
  
  /*
-@@ -48,7 +53,7 @@ struct board_info {
+@@ -46,7 +51,7 @@ struct board_info {
        unsigned int    has_caldata:2;
  
        /* wifi calibration data config */
index 4c4eb7d67bdf1be17597559fbc8b9a08f8f61eb8..ec03e4cee32efc3e2bec90d064d7d3c0117c1d97 100644 (file)
@@ -1,7 +1,7 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -119,6 +119,8 @@ static struct board_info __initdata boar
-       .has_uart0                      = 1,
+@@ -77,6 +77,8 @@ static struct board_info __initdata boar
        .has_enet0                      = 1,
        .enet0 = {
 +              .has_phy                = 1,
@@ -9,8 +9,8 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -162,6 +164,8 @@ static struct board_info __initdata boar
-       .has_uart0                      = 1,
+@@ -90,6 +92,8 @@ static struct board_info __initdata boar
        .has_enet0                      = 1,
        .enet0 = {
 +              .has_phy                = 1,
@@ -18,7 +18,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -273,6 +277,8 @@ static struct board_info __initdata boar
+@@ -138,6 +142,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
@@ -27,7 +27,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -335,6 +341,8 @@ static struct board_info __initdata boar
+@@ -170,6 +176,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
@@ -36,7 +36,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -389,6 +397,8 @@ static struct board_info __initdata boar
+@@ -194,6 +202,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
@@ -45,7 +45,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -449,6 +459,8 @@ static struct board_info __initdata boar
+@@ -224,6 +234,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
@@ -54,7 +54,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -472,6 +484,8 @@ static struct board_info __initdata boar
+@@ -247,6 +259,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -491,6 +505,8 @@ static struct board_info __initdata boar
-       .has_enet1                      = 1,
-       .enet0 = {
-               .has_phy                = 1,
-+              .phy_id                 = 0,
-+              .has_phy                = 1,
+@@ -268,6 +282,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
-@@ -514,6 +530,8 @@ static struct board_info __initdata boar
++              .has_phy                = 1,
++              .phy_id                 = 0,
+               .force_speed_100        = 1,
+               .force_duplex_full      = 1,
+       },
+@@ -287,6 +303,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
@@ -81,7 +81,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -542,6 +560,8 @@ static struct board_info __initdata boar
+@@ -314,6 +332,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
@@ -90,7 +90,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -595,6 +615,8 @@ static struct board_info __initdata boar
+@@ -339,6 +359,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
@@ -99,7 +99,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -644,6 +666,8 @@ static struct board_info __initdata boar
+@@ -364,6 +386,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -667,6 +691,8 @@ static struct board_info __initdata boar
+@@ -387,6 +411,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
index 98292d5395c539c7bc1eafb435e458d88a554af7..ad9c5b30e4a9726938969c00d270b22125122c6a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -57,7 +57,7 @@ static struct board_info __initdata boar
+@@ -46,7 +46,7 @@ static struct board_info __initdata boar
        .ephy_reset_gpio                = 36,
        .ephy_reset_gpio_flags          = GPIO_ACTIVE_LOW,
  };
@@ -9,8 +9,8 @@
  
  /*
   * known 6328 boards
-@@ -106,7 +106,7 @@ static struct board_info __initdata boar
-               },
+@@ -65,7 +65,7 @@ static struct board_info __initdata boar
+               .port_no                = 0,
        },
  };
 -#endif
@@ -18,8 +18,8 @@
  
  /*
   * known 6338 boards
-@@ -199,7 +199,7 @@ static struct board_info __initdata boar
-               },
+@@ -98,7 +98,7 @@ static struct board_info __initdata boar
+               .force_duplex_full      = 1,
        },
  };
 -#endif
  
  /*
   * known 6345 boards
-@@ -211,7 +211,7 @@ static struct board_info __initdata boar
-       .has_uart0                      = 1,
+@@ -108,7 +108,7 @@ static struct board_info __initdata boar
+       .name                           = "96345GW2",
+       .expected_cpu_id                = 0x6345,
  };
 -#endif
 +#endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
   * known 6348 boards
-@@ -538,7 +538,7 @@ static struct board_info __initdata boar
+@@ -311,7 +311,7 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
  };
@@ -45,7 +45,7 @@
  
  /*
   * known 6358 boards
-@@ -699,7 +699,7 @@ static struct board_info __initdata boar
+@@ -419,7 +419,7 @@ static struct board_info __initdata boar
  
        .has_ohci0                      = 1,
  };
index c2b2d330ad2b21cbacee079396a5e18eab148287..31757c4648c77063c6cf09d489ef011baa64a7b3 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -538,6 +538,22 @@ static struct board_info __initdata boar
+@@ -311,6 +311,21 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
  };
@@ -11,7 +11,6 @@
 +
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
-+      .has_uart0                      = 1,
 +
 +      .enet1 = {
 +              .has_phy                = 1,
@@ -23,7 +22,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
-@@ -727,6 +743,7 @@ static const struct board_info __initcon
+@@ -447,6 +462,7 @@ static const struct board_info __initcon
        &board_DV201AMR,
        &board_96348gw_a,
        &board_rta1025w_16,
@@ -31,7 +30,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -758,6 +775,7 @@ static struct of_device_id const bcm963x
+@@ -478,6 +494,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
        { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
        { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
index c55221cf920ab2185dc81f74055e916f7edf4e3e..fe228c6b0eded5e472fb16d861e6e1f0807d9c79 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -715,6 +715,62 @@ static struct board_info __initdata boar
+@@ -434,6 +434,60 @@ static struct board_info __initdata boar
  
        .has_ohci0                      = 1,
  };
@@ -9,7 +9,6 @@
 +      .name                           = "NB4-SER-r0",
 +      .expected_cpu_id                = 0x6358,
 +
-+      .has_uart0                      = 1,
 +      .has_enet0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
@@ -37,7 +36,6 @@
 +      .name                           = "NB4-FXC-r1",
 +      .expected_cpu_id                = 0x6358,
 +
-+      .has_uart0                      = 1,
 +      .has_enet0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
@@ -63,7 +61,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
-@@ -751,6 +807,8 @@ static const struct board_info __initcon
+@@ -470,6 +524,8 @@ static const struct board_info __initcon
        &board_96358vw2,
        &board_AGPFS0,
        &board_DWVS0,
@@ -72,7 +70,7 @@
  #endif
  };
  
-@@ -792,6 +850,8 @@ static struct of_device_id const bcm963x
+@@ -511,6 +567,8 @@ static struct of_device_id const bcm963x
        { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
        { .compatible = "pirelli,a226m-fwb", .data = &board_DWVS0, },
        { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
index e4036b25c09ec2851b5c98d0df63bfac9a623c16..64edf76e5638428141d11d99044a5dd168cd1530 100644 (file)
@@ -1,7 +1,7 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -199,6 +199,20 @@ static struct board_info __initdata boar
-               },
+@@ -98,6 +98,20 @@ static struct board_info __initdata boar
+               .force_duplex_full      = 1,
        },
  };
 +
@@ -21,7 +21,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6338 */
  
  /*
-@@ -786,6 +800,7 @@ static const struct board_info __initcon
+@@ -503,6 +517,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6338
        &board_96338gw,
        &board_96338w,
@@ -29,7 +29,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
-@@ -823,6 +838,7 @@ static struct of_device_id const bcm963x
+@@ -540,6 +555,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6338
        { .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },
        { .compatible = "brcm,bcm96338w", .data = &board_96338w, },
index d38aa34056d7065f43474e8d430219204beb6223..2639aa6fd698d49d008b333c004d50ab403646a3 100644 (file)
@@ -1,14 +1,13 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -681,6 +681,26 @@ static struct board_info __initdata boar
-       },
+@@ -401,6 +401,25 @@ static struct board_info __initdata boar
+       .num_usbh_ports                 = 2,
  };
  
 +static struct board_info __initdata board_CPVA642 = {
 +      .name                           = "CPVA642",
 +      .expected_cpu_id                = 0x6358,
 +
-+      .has_uart0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
 +
@@ -27,7 +26,7 @@
  static struct board_info __initdata board_AGPFS0 = {
        .name                           = "AGPF-S0",
        .expected_cpu_id                = 0x6358,
-@@ -821,6 +841,7 @@ static const struct board_info __initcon
+@@ -538,6 +557,7 @@ static const struct board_info __initcon
        &board_96358vw,
        &board_96358vw2,
        &board_AGPFS0,
@@ -35,7 +34,7 @@
        &board_DWVS0,
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
-@@ -868,6 +889,7 @@ static struct of_device_id const bcm963x
+@@ -585,6 +605,7 @@ static struct of_device_id const bcm963x
        { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
        { .compatible = "sfr,nb4-ser-r0", .data = &board_nb4_ser_r0, },
        { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
index 032085fde735fff79bf6b5b61bcd11dc29a2d707..c125b3e0ae6a1e7e5ca53427203ef4833286a13e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -750,6 +750,23 @@ static struct board_info __initdata boar
+@@ -468,6 +468,22 @@ static struct board_info __initdata boar
        .has_ohci0                      = 1,
  };
  
@@ -9,7 +9,6 @@
 +      .name                           = "AW4139",
 +      .expected_cpu_id                = 0x6358,
 +
-+      .has_uart0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
 +
@@ -24,7 +23,7 @@
  static struct board_info __initdata board_nb4_ser_r0 = {
        .name                           = "NB4-SER-r0",
        .expected_cpu_id                = 0x6358,
-@@ -843,6 +860,7 @@ static const struct board_info __initcon
+@@ -559,6 +575,7 @@ static const struct board_info __initcon
        &board_AGPFS0,
        &board_CPVA642,
        &board_DWVS0,
@@ -32,7 +31,7 @@
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
  #endif
-@@ -882,6 +900,7 @@ static struct of_device_id const bcm963x
+@@ -598,6 +615,7 @@ static struct of_device_id const bcm963x
        { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
        { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
        { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
index a9847c1b7bade20eac66a44b7f2fbfe26b4d99e1..c6bc4ec2de18b51d382e16400f4f748e70b8f284 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -568,6 +568,45 @@ static struct board_info __initdata boar
+@@ -340,6 +340,44 @@ static struct board_info __initdata boar
                .force_duplex_full      = 1,
        },
  };
@@ -17,7 +17,6 @@
 +      .name                           = "SPW500V",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet0                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
@@ -46,7 +45,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
-@@ -852,6 +891,7 @@ static const struct board_info __initcon
+@@ -567,6 +605,7 @@ static const struct board_info __initcon
        &board_96348gw_a,
        &board_rta1025w_16,
        &board_96348_D4PW,
@@ -54,7 +53,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -893,6 +933,7 @@ static struct of_device_id const bcm963x
+@@ -608,6 +647,7 @@ static struct of_device_id const bcm963x
        { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
        { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
        { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
index 3bb22ba3461bee558d70216c52d0cf8cf64133e2..fb28302eb65d528499311d6e875008b0a7e4bd62 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -457,6 +457,66 @@ static struct board_info __initdata boar
+@@ -233,6 +233,64 @@ static struct board_info __initdata boar
        },
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "GW6200",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
@@ -37,7 +36,6 @@
 +      .name                           = "GW6000",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
@@ -67,7 +65,7 @@
  static struct board_info __initdata board_FAST2404 = {
        .name                           = "F@ST2404",
        .expected_cpu_id                = 0x6348,
-@@ -884,6 +944,8 @@ static const struct board_info __initcon
+@@ -598,6 +656,8 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6348
        &board_96348r,
        &board_96348gw,
@@ -76,7 +74,7 @@
        &board_96348gw_10,
        &board_96348gw_11,
        &board_FAST2404,
-@@ -934,6 +996,8 @@ static struct of_device_id const bcm963x
+@@ -648,6 +708,8 @@ static struct of_device_id const bcm963x
        { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
        { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
        { .compatible = "t-com,spw500v", .data = &board_spw500v, },
index 198045b91d3b781f6f8009c09419e7e85affa458..9ba7d8c23a4d82a4cb4be28ea0dad595fa1ebafa 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -667,6 +667,40 @@ static struct board_info __initdata boar
+@@ -436,6 +436,39 @@ static struct board_info __initdata boar
                .num_board_fixups       = ARRAY_SIZE(spw500v_fixups),
        },
  };
@@ -9,7 +9,6 @@
 +      .name                           = "MAGIC",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
@@ -41,7 +40,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
-@@ -954,6 +988,7 @@ static const struct board_info __initcon
+@@ -666,6 +699,7 @@ static const struct board_info __initcon
        &board_rta1025w_16,
        &board_96348_D4PW,
        &board_spw500v,
@@ -49,7 +48,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -998,6 +1033,7 @@ static struct of_device_id const bcm963x
+@@ -710,6 +744,7 @@ static struct of_device_id const bcm963x
        { .compatible = "t-com,spw500v", .data = &board_spw500v, },
        { .compatible = "tecom,gw6000", .data = &board_gw6000, },
        { .compatible = "tecom,gw6200", .data = &board_gw6200, },
index 50a0dc7b6473b3f72adb97c08048238dae28f02e..34800672c5f76d08f8a9b0e900d21590cc53aa44 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -955,6 +955,34 @@ static struct board_info __initdata boar
+@@ -666,6 +666,32 @@ static struct board_info __initdata boar
        .has_ehci0 = 1,
        .num_usbh_ports                 = 2,
  };
@@ -9,8 +9,6 @@
 +      .name                           = "HW553",
 +      .expected_cpu_id                = 0x6358,
 +
-+      .has_uart0                      = 1,
-+
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
@@ -35,7 +33,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
-@@ -1000,6 +1028,7 @@ static const struct board_info __initcon
+@@ -711,6 +737,7 @@ static const struct board_info __initcon
        &board_dsl_274xb_rev_c,
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
@@ -43,7 +41,7 @@
  #endif
  };
  
-@@ -1043,6 +1072,7 @@ static struct of_device_id const bcm963x
+@@ -754,6 +781,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
        { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
        { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
index b744c313896a753ebfde8134eca703223db04881..f30dfbee1a10178682f9011a939793927f4a063e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -213,6 +213,21 @@ static struct board_info __initdata boar
+@@ -112,6 +112,20 @@ static struct board_info __initdata boar
                .force_duplex_full      = 1,
        },
  };
@@ -9,7 +9,6 @@
 +      .name                           = "RTA1320_16M",
 +      .expected_cpu_id                = 0x6338,
 +
-+      .has_uart0                      = 1,
 +      .has_enet0                      = 1,
 +
 +      .enet0 = {
@@ -22,7 +21,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6338 */
  
  /*
-@@ -999,6 +1014,7 @@ static const struct board_info __initcon
+@@ -708,6 +722,7 @@ static const struct board_info __initcon
        &board_96338gw,
        &board_96338w,
        &board_96338w2_e7t,
@@ -30,7 +29,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
-@@ -1043,6 +1059,7 @@ static struct of_device_id const bcm963x
+@@ -752,6 +767,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6338
        { .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },
        { .compatible = "brcm,bcm96338w", .data = &board_96338w, },
index 37dec2ce78548b4ceace1f8cf927a40bde6d1f01..30ef4e0510589348f0f7d2fcb01a6490e4c34fd6 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -998,6 +998,21 @@ static struct board_info __initdata boar
+@@ -706,6 +706,20 @@ static struct board_info __initdata boar
                .pci_dev                        = 1,
        },
  };
@@ -10,7 +10,6 @@
 +      .name                   = "96358-502V",
 +      .expected_cpu_id        = 0x6358,
 +
-+      .has_uart0              = 1,
 +      .has_enet0              = 1,
 +      .has_pci                = 1,
 +
@@ -22,7 +21,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
-@@ -1045,6 +1060,7 @@ static const struct board_info __initcon
+@@ -753,6 +767,7 @@ static const struct board_info __initcon
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
        &board_HW553,
@@ -30,7 +29,7 @@
  #endif
  };
  
-@@ -1096,6 +1112,7 @@ static struct of_device_id const bcm963x
+@@ -804,6 +819,7 @@ static struct of_device_id const bcm963x
        { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
        { .compatible = "sfr,nb4-ser-r0", .data = &board_nb4_ser_r0, },
        { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
index 3ac6c180032276d39482f625da2273a087f2f278..46909b073771c9f07965fed2550ce9359e510f8d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -716,6 +716,27 @@ static struct board_info __initdata boar
+@@ -483,6 +483,26 @@ static struct board_info __initdata boar
                .ext_irq                = 2,
        },
  };
@@ -9,7 +9,6 @@
 +      .name                           = "V2500V_BB",
 +        .expected_cpu_id                = 0x6348,
 +
-+        .has_uart0                      = 1,
 +        .has_enet0                      = 1,
 +        .has_enet1                      = 1,
 +        .has_pci                        = 1,
@@ -28,7 +27,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
-@@ -1048,6 +1069,7 @@ static const struct board_info __initcon
+@@ -755,6 +775,7 @@ static const struct board_info __initcon
        &board_96348_D4PW,
        &board_spw500v,
        &board_96348sv,
@@ -36,7 +35,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -1087,6 +1109,7 @@ static struct of_device_id const bcm963x
+@@ -794,6 +815,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
        { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
        { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
@@ -44,7 +43,7 @@
        { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
        { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
        { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
-@@ -1146,6 +1169,22 @@ void __init board_bcm963xx_init(void)
+@@ -853,6 +875,22 @@ void __init board_bcm963xx_init(void)
                val &= MPI_CSBASE_BASE_MASK;
        }
        boot_addr = (u8 *)KSEG1ADDR(val);
@@ -76,8 +75,8 @@
 +#include <bcm63xx_board.h>
  #include <bcm63xx_cpu.h>
  #include <bcm63xx_dev_flash.h>
- #include <bcm63xx_dev_hsspi.h>
-@@ -248,6 +249,13 @@ int __init bcm63xx_flash_register(void)
+ #include <bcm63xx_regs.h>
+@@ -247,6 +248,13 @@ int __init bcm63xx_flash_register(void)
                        val = bcm_mpi_readl(MPI_CSBASE_REG(0));
                        val &= MPI_CSBASE_BASE_MASK;
  
index a3e24049b21afe4158686079083a88a79ef9c311..f58e294ebc06d094f1c2507e42aef510c9d152c1 100644 (file)
@@ -1,7 +1,7 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -411,6 +411,25 @@ static struct board_info __initdata boar
-       },
+@@ -216,6 +216,24 @@ static struct board_info __initdata boar
+       .has_ehci0 = 1,
  };
  
 +
@@ -10,7 +10,6 @@
 +      .name                           = "V2110",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
 +
@@ -26,7 +25,7 @@
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -1070,6 +1089,7 @@ static const struct board_info __initcon
+@@ -776,6 +794,7 @@ static const struct board_info __initcon
        &board_spw500v,
        &board_96348sv,
        &board_V2500V_BB,
@@ -34,7 +33,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -1109,6 +1129,7 @@ static struct of_device_id const bcm963x
+@@ -815,6 +834,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
        { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
        { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
index 28462e0592f23e6453269fbf7320365ca115ed98..769be5a173116461f5596d17d65aa098dd8fd758 100644 (file)
@@ -33,7 +33,7 @@ Subject: [PATCH] MIPS: BCM63XX: add inventel Livebox support
 +obj-$(CONFIG_BOARD_LIVEBOX)           += board_livebox.o
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -56,7 +56,7 @@ void __init board_prom_init(void)
+@@ -55,7 +55,7 @@ void __init board_prom_init(void)
        if (fw_arg3 == CFE_EPTSEAL)
                board_bcm963xx_init();
        else
@@ -57,7 +57,7 @@ Subject: [PATCH] MIPS: BCM63XX: add inventel Livebox support
  #endif /* __BOARD_COMMON_H */
 --- /dev/null
 +++ b/arch/mips/bcm63xx/boards/board_livebox.c
-@@ -0,0 +1,164 @@
+@@ -0,0 +1,163 @@
 +/*
 + * This file is subject to the terms and conditions of the GNU General Public
 + * License.  See the file "COPYING" in the main directory of this archive
@@ -92,7 +92,6 @@ Subject: [PATCH] MIPS: BCM63XX: add inventel Livebox support
 +      .name                           = "Livebox-blue-5g",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
index b3b9125a9a4954c26af7eba633d00c9bfb9fa321..d111d97d634e1097d32065211f3f5a25a910e7b0 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -430,6 +430,34 @@ static struct board_info __initdata boar
+@@ -234,6 +234,33 @@ static struct board_info __initdata boar
  };
  
  
@@ -8,7 +8,6 @@
 +      .name                           = "CT536_CT5621",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet0                      = 0,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
@@ -35,7 +34,7 @@
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -1090,6 +1118,7 @@ static const struct board_info __initcon
+@@ -795,6 +822,7 @@ static const struct board_info __initcon
        &board_96348sv,
        &board_V2500V_BB,
        &board_V2110,
@@ -43,7 +42,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -1131,6 +1160,8 @@ static struct of_device_id const bcm963x
+@@ -836,6 +864,8 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
        { .compatible = "bt,v2110", .data = &board_V2110, },
        { .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, },
index c2cef899f0a8977866122cc5c13ddeedf9e0d4bd..8e053b293dceae58e9552a850c12ab3ea46b1656 100644 (file)
@@ -1,15 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -946,6 +946,8 @@ static struct board_info __initdata boar
-       .name                           = "DWV-S0",
-       .expected_cpu_id                = 0x6358,
-+      .has_uart0                      = 1,
-+
-       .has_enet0                      = 1,
-       .has_enet1                      = 1,
-       .has_pci                        = 1,
-@@ -964,6 +966,7 @@ static struct board_info __initdata boar
+@@ -674,6 +674,7 @@ static struct board_info __initdata boar
        },
  
        .has_ohci0                      = 1,
index 5eea5369a7ccbc580005a6707a165b5a069220e6..29dc2620d9216fd0c8f67a8bbce030fc231e84d7 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -458,6 +458,31 @@ static struct board_info __initdata boar
+@@ -261,6 +261,30 @@ static struct board_info __initdata boar
        },
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "96348A-122",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
@@ -32,7 +31,7 @@
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -1122,6 +1147,7 @@ static const struct board_info __initcon
+@@ -824,6 +848,7 @@ static const struct board_info __initcon
        &board_V2500V_BB,
        &board_V2110,
        &board_ct536_ct5621,
@@ -40,7 +39,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -1164,6 +1190,7 @@ static struct of_device_id const bcm963x
+@@ -866,6 +891,7 @@ static struct of_device_id const bcm963x
        { .compatible = "bt,v2110", .data = &board_V2110, },
        { .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, },
        { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
diff --git a/target/linux/brcm63xx/patches-4.4/517-RTA1205W_16_uart_fixes.patch b/target/linux/brcm63xx/patches-4.4/517-RTA1205W_16_uart_fixes.patch
deleted file mode 100644 (file)
index 9b637fc..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
-+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -635,6 +635,7 @@ static struct board_info __initdata boar
-       .name                           = "RTA1025W_16",
-       .expected_cpu_id                = 0x6348,
-+      .has_uart0                      = 1,
-       .has_enet0                      = 1,
-       .has_enet1                      = 1,
-       .has_pci                        = 1,
index 5dc69e46807fdb58659205e386d3b8c96c1dd45b..5af1060df04f111004ca0dde20b160e9cd5a7f23 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -429,6 +429,34 @@ static struct board_info __initdata boar
+@@ -233,6 +233,33 @@ static struct board_info __initdata boar
        },
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "CPVA502+",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
@@ -35,7 +34,7 @@
  
  static struct board_info __initdata board_ct536_ct5621 = {
        .name                           = "CT536_CT5621",
-@@ -1149,6 +1177,7 @@ static const struct board_info __initcon
+@@ -849,6 +876,7 @@ static const struct board_info __initcon
        &board_V2110,
        &board_ct536_ct5621,
        &board_96348A_122,
@@ -43,7 +42,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -1201,6 +1230,7 @@ static struct of_device_id const bcm963x
+@@ -901,6 +929,7 @@ static struct of_device_id const bcm963x
        { .compatible = "t-com,spw500v", .data = &board_spw500v, },
        { .compatible = "tecom,gw6000", .data = &board_gw6000, },
        { .compatible = "tecom,gw6200", .data = &board_gw6200, },
index 0175104d33784e718426b489a688065883247bb8..31002842f159976a79fa6c5072c1077d910e6285 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1141,6 +1141,59 @@ static struct board_info __initdata boar
+@@ -840,6 +840,58 @@ static struct board_info __initdata boar
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
@@ -21,7 +21,6 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
 +      .name                           = "96368MVWG",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +
 +      .has_usbd                       = 1,
@@ -70,7 +69,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
   * all boards
   */
  static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -1192,6 +1245,10 @@ static const struct board_info __initcon
+@@ -891,6 +943,10 @@ static const struct board_info __initcon
        &board_HW553,
        &board_spw303v,
  #endif
@@ -81,7 +80,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
  };
  
  static struct of_device_id const bcm963xx_boards_dt[] = {
-@@ -1252,6 +1309,7 @@ static struct of_device_id const bcm963x
+@@ -951,6 +1007,7 @@ static struct of_device_id const bcm963x
        { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6368
@@ -91,7 +90,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
  #endif
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -83,12 +83,25 @@ void __init board_early_setup(const stru
+@@ -82,12 +82,25 @@ void __init board_early_setup(const stru
                bcm63xx_pci_enabled = 1;
                if (BCMCPU_IS_6348())
                        val |= GPIO_MODE_6348_G2_PCI;
index 0a5cd6c5b40eb6365b8f8697973b410fa5fb7dd7..f719c24284b39c41f5b2d3cc35ff459cc5d09a81 100644 (file)
@@ -9,7 +9,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1191,6 +1191,46 @@ static struct board_info __initdata boar
+@@ -889,6 +889,45 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
        .has_ehci0 = 1,
  };
@@ -18,7 +18,6 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
 +      .name                           = "96368MVNgr",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .has_enetsw                     = 1,
 +
@@ -56,7 +55,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
  #endif /* CONFIG_BCM63XX_CPU_6368 */
  
  /*
-@@ -1248,6 +1288,7 @@ static const struct board_info __initcon
+@@ -946,6 +985,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
@@ -64,7 +63,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
  #endif
  };
  
-@@ -1309,6 +1350,7 @@ static struct of_device_id const bcm963x
+@@ -1007,6 +1047,7 @@ static struct of_device_id const bcm963x
        { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6368
index 030382bb8df30cd1c36f506663a0cfbd99cd9692..e482b209311dc80c5b9db6eaa0ffda60d8bdc074 100644 (file)
@@ -9,9 +9,9 @@ Subject: [PATCH] MIPS: BCM63XX: add 96328avng reference board
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -105,6 +105,33 @@ static struct board_info __initdata boar
-                       .active_low     = 1,
-               },
+@@ -64,6 +64,33 @@ static struct board_info __initdata boar
+               .use_fullspeed          = 0,
+               .port_no                = 0,
        },
 +
 +      .has_enetsw                     = 1,
index d6f732a88e880087d4ca61967954232dd4a01abe..c0f235beeb7a55a7953aafd894fcd5a90e7c427d 100644 (file)
@@ -9,7 +9,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -133,6 +133,41 @@ static struct board_info __initdata boar
+@@ -92,6 +92,40 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -18,7 +18,6 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
 +      .name                           = "963281TAN",
 +      .expected_cpu_id                = 0x6328,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +
 +      .has_enetsw                     = 1,
@@ -51,7 +50,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -1269,6 +1304,7 @@ static const struct board_info __initcon
+@@ -966,6 +1000,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
@@ -59,7 +58,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6338
        &board_96338gw,
-@@ -1325,6 +1361,7 @@ static struct of_device_id const bcm963x
+@@ -1022,6 +1057,7 @@ static struct of_device_id const bcm963x
        { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
index f89f01f99f41c6eb8ce7424c36a337baa2da9075..e3be8926d70104878fc09a818dc04b273ab13055 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -168,6 +168,52 @@ static struct board_info __initdata boar
+@@ -126,6 +126,51 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -19,7 +19,6 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
 +      .name                           = "AW4339U",
 +      .expected_cpu_id                = 0x6328,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +
 +      .has_caldata                    = 1,
@@ -63,7 +62,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -1305,6 +1351,7 @@ static const struct board_info __initcon
+@@ -1001,6 +1046,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
@@ -71,7 +70,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6338
        &board_96338gw,
-@@ -1363,6 +1410,7 @@ static struct of_device_id const bcm963x
+@@ -1059,6 +1105,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6328
        { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
        { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
index 7f9b3caa4b3c4e83621f3b1698a667a110a7e025..8fd0e85b69b47454f055a24453976972530d7e73 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -837,6 +837,25 @@ static struct board_info __initdata boar
+@@ -600,6 +600,24 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
  };
  
@@ -9,7 +9,6 @@
 +      .name                           = "96348W3",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
 +
@@ -26,7 +25,7 @@
  static struct board_info __initdata board_96348_D4PW = {
        .name                           = "D-4P-W",
        .expected_cpu_id                = 0x6348,
-@@ -1381,6 +1400,7 @@ static const struct board_info __initcon
+@@ -1076,6 +1094,7 @@ static const struct board_info __initcon
        &board_ct536_ct5621,
        &board_96348A_122,
        &board_CPVA502plus,
@@ -34,7 +33,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -1436,6 +1456,7 @@ static struct of_device_id const bcm963x
+@@ -1131,6 +1150,7 @@ static struct of_device_id const bcm963x
        { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
        { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
        { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
index 52839a34a96633660376f81558718b7be61a8a55..f9257d29d464a3832209570dc0b9dda053ed86ac 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1223,6 +1223,31 @@ static struct board_info __initdata boar
+@@ -922,6 +922,30 @@ static struct board_info __initdata boar
        .num_usbh_ports                 = 2,
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "CT6373-1",
 +      .expected_cpu_id        = 0x6358,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
 +      .has_ohci0                      = 1,
@@ -32,7 +31,7 @@
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
        .expected_cpu_id                = 0x6358,
-@@ -1412,6 +1437,7 @@ static const struct board_info __initcon
+@@ -1106,6 +1130,7 @@ static const struct board_info __initcon
        &board_dsl_274xb_rev_c,
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
@@ -40,7 +39,7 @@
        &board_HW553,
        &board_spw303v,
  #endif
-@@ -1470,6 +1496,7 @@ static struct of_device_id const bcm963x
+@@ -1164,6 +1189,7 @@ static struct of_device_id const bcm963x
        { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
        { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
        { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
index 7d211f973ff905dc533ea1f38855186710c6a25b..6936fa4d5dce8f18a92719fec6051eebd9dac12b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1290,6 +1290,36 @@ static struct board_info __initdata boar
+@@ -985,6 +985,35 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
  };
@@ -10,7 +10,6 @@
 +      .name                   = "DVAG3810BN",
 +      .expected_cpu_id        = 0x6358,
 +
-+      .has_uart0              = 1,
 +      .has_enet0              = 1,
 +      .has_enet1              = 1,
 +      .has_pci                = 1,
@@ -37,7 +36,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
-@@ -1440,6 +1470,7 @@ static const struct board_info __initcon
+@@ -1133,6 +1162,7 @@ static const struct board_info __initcon
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
@@ -45,7 +44,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
-@@ -1499,6 +1530,7 @@ static struct of_device_id const bcm963x
+@@ -1192,6 +1222,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
        { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
        { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
index 915d48dea9dcb265752acdf0fca691dc9960c590..55cc9ab86c316bfb8a9a600bf94468ad567648ac 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1322,6 +1322,34 @@ static struct board_info __initdata boar
+@@ -1016,6 +1016,32 @@ static struct board_info __initdata boar
  };
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
@@ -9,8 +9,6 @@
 +      .name                           = "NB6",
 +      .expected_cpu_id                = 0x6362,
 +
-+      .has_uart0                      = 1,
-+
 +      .has_ohci0                      = 1,
 +      .has_ehci0                      = 1,
 +      .num_usbh_ports                 = 2,
@@ -35,7 +33,7 @@
  /*
   * known 6368 boards
   */
-@@ -1473,6 +1501,10 @@ static const struct board_info __initcon
+@@ -1165,6 +1191,10 @@ static const struct board_info __initcon
        &board_DVAG3810BN,
  #endif
  
@@ -46,7 +44,7 @@
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
-@@ -1541,6 +1573,9 @@ static struct of_device_id const bcm963x
+@@ -1233,6 +1263,9 @@ static struct of_device_id const bcm963x
        { .compatible = "t-com,spw303v", .data = &board_spw303v, },
        { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  #endif
index 09cf1b7a941ca8640464b24c02121a4d4dbd4a0c..2bca04aa865a8268bd9703e5b1b09104a4d7d17f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -767,6 +767,23 @@ static struct board_info __initdata boar
+@@ -533,6 +533,22 @@ static struct board_info __initdata boar
        .has_ehci0                      = 1,
  };
  
@@ -8,7 +8,6 @@
 +      .name                                           = "F@ST2604",
 +      .expected_cpu_id                        = 0x6348,
 +
-+      .has_uart0                                      = 1,
 +      .has_pci                                        = 1,
 +      .has_ohci0                                      = 1,
 +
@@ -24,7 +23,7 @@
  static struct board_info __initdata board_rta1025w_16 = {
        .name                           = "RTA1025W_16",
        .expected_cpu_id                = 0x6348,
-@@ -1472,6 +1489,7 @@ static const struct board_info __initcon
+@@ -1162,6 +1178,7 @@ static const struct board_info __initcon
        &board_96348gw_10,
        &board_96348gw_11,
        &board_FAST2404,
@@ -32,7 +31,7 @@
        &board_DV201AMR,
        &board_96348gw_a,
        &board_rta1025w_16,
-@@ -1547,6 +1565,7 @@ static struct of_device_id const bcm963x
+@@ -1237,6 +1254,7 @@ static struct of_device_id const bcm963x
        { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
        { .compatible = "netgear,dg834g-v4", .data = &board_96348W3, },
        { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
index 8094c365208a6175fade6ae07aa0cfa6dfdf3cbe..ec0695cc0fd4ac18dc4938c30689d83f869a631c 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -169,6 +169,50 @@ static struct board_info __initdata boar
+@@ -127,6 +127,49 @@ static struct board_info __initdata boar
        },
  };
  
@@ -8,7 +8,6 @@
 +      .name                                   = "963281T_TEF",
 +      .expected_cpu_id                        = 0x6328,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .use_fallback_sprom             = 1,
 +      .has_ohci0                              = 1,
@@ -51,7 +50,7 @@
  static struct board_info __initdata board_dsl_274xb_f1 = {
        .name                           = "AW4339U",
        .expected_cpu_id                = 0x6328,
-@@ -1470,6 +1514,7 @@ static const struct board_info __initcon
+@@ -1159,6 +1202,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
@@ -59,7 +58,7 @@
        &board_dsl_274xb_f1,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6338
-@@ -1535,6 +1580,7 @@ static struct of_device_id const bcm963x
+@@ -1224,6 +1268,7 @@ static struct of_device_id const bcm963x
        { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
index 5cac3be43a5a903b912bf238c91cae9701ef3bfa..d38cb3bb1a0424badba837f9b5c6e1cc04e38d69 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -134,6 +134,79 @@ static struct board_info __initdata boar
+@@ -93,6 +93,78 @@ static struct board_info __initdata boar
        },
  };
  
@@ -35,7 +35,6 @@
 +      .name                                   = "96328A-1441N1",
 +      .expected_cpu_id                        = 0x6328,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .use_fallback_sprom             = 1,
 +      .has_ohci0                              = 1,
@@ -80,7 +79,7 @@
  static struct board_info __initdata board_963281TAN = {
        .name                           = "963281TAN",
        .expected_cpu_id                = 0x6328,
-@@ -1513,6 +1586,7 @@ static const struct board_info __initcon
+@@ -1201,6 +1273,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
@@ -88,7 +87,7 @@
        &board_963281TAN,
        &board_A4001N1,
        &board_dsl_274xb_f1,
-@@ -1583,6 +1657,7 @@ static struct of_device_id const bcm963x
+@@ -1271,6 +1344,7 @@ static struct of_device_id const bcm963x
        { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
        { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
        { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
index ef8b2200cee706589195dc844f95842fdcb028e1..07015caaaa9dc543a6fd0fee27e1a6200db093d8 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -134,6 +134,61 @@ static struct board_info __initdata boar
+@@ -93,6 +93,60 @@ static struct board_info __initdata boar
        },
  };
  
@@ -17,7 +17,6 @@
 +      .name                                   = "96328A-1241N",
 +      .expected_cpu_id                        = 0x6328,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .use_fallback_sprom                     = 1,
 +      .has_ohci0                              = 1,
@@ -62,7 +61,7 @@
  static struct sprom_fixup __initdata ar5387un_fixups[] = {
        { .offset = 2, .value = 0x05bb },
        { .offset = 65, .value = 0x1204 },
-@@ -1586,6 +1641,7 @@ static const struct board_info __initcon
+@@ -1273,6 +1327,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
@@ -70,7 +69,7 @@
        &board_AR5387un,
        &board_963281TAN,
        &board_A4001N1,
-@@ -1657,6 +1713,7 @@ static struct of_device_id const bcm963x
+@@ -1344,6 +1399,7 @@ static struct of_device_id const bcm963x
        { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
        { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
        { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
index 61f3ee23a018493be891035b142bd2e27d0e8430..3ac6161bc2c9c305c1630a0ede31f5f14f616221 100644 (file)
@@ -1,16 +1,14 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -520,6 +520,22 @@ static struct board_info __initdata boar
-       .has_uart0                      = 1,
+@@ -411,6 +411,20 @@ static struct board_info __initdata boar
+       .name                           = "96345GW2",
+       .expected_cpu_id                = 0x6345,
  };
 +
 +static struct board_info __initdata board_rta770bw = {
 +      .name                           = "RTA770BW",
 +      .expected_cpu_id                = 0x6345,
 +
-+      .has_uart0                      = 1,
-+
 +      .has_enet0                      = 1,
 +
 +      .enet0 = {
@@ -23,7 +21,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
-@@ -1655,6 +1671,7 @@ static const struct board_info __initcon
+@@ -1341,6 +1355,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
@@ -31,7 +29,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6348
        &board_96348r,
-@@ -1725,6 +1742,7 @@ static struct of_device_id const bcm963x
+@@ -1411,6 +1426,7 @@ static struct of_device_id const bcm963x
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
index e59f1aa02d7c518d2cafde183e8d8a8a51071022..604ffe7a36ff62b625aa75e6eeaec95d44f46758 100644 (file)
@@ -8,7 +8,7 @@
  #include <asm/addrspace.h>
  #include <bcm63xx_board.h>
  #include <bcm63xx_cpu.h>
-@@ -1481,6 +1482,95 @@ static struct board_info __initdata boar
+@@ -1171,6 +1172,92 @@ static struct board_info __initdata boar
        },
  };
  
@@ -16,7 +16,6 @@
 +      .name                                   = "HW556_C",
 +      .expected_cpu_id                        = 0x6358,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .has_ohci0                              = 1,
 +      .has_ehci0                              = 1,
@@ -44,7 +43,6 @@
 +      .name                                   = "HW556_A",
 +      .expected_cpu_id                        = 0x6358,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .has_ohci0                              = 1,
 +      .has_ehci0                              = 1,
@@ -74,7 +72,6 @@
 +      .name                                   = "HW556_B",
 +      .expected_cpu_id                        = 0x6358,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .has_ohci0                              = 1,
 +      .has_ehci0                              = 1,
   /* T-Home Speedport W 303V Typ B */
  static struct board_info __initdata board_spw303v = {
        .name                   = "96358-502V",
-@@ -1707,6 +1797,9 @@ static const struct board_info __initcon
+@@ -1391,6 +1478,9 @@ static const struct board_info __initcon
        &board_nb4_fxc_r1,
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
        &board_DVAG3810BN,
  #endif
-@@ -1779,6 +1872,9 @@ static struct of_device_id const bcm963x
+@@ -1463,6 +1553,9 @@ static struct of_device_id const bcm963x
        { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
        { .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
        { .compatible = "huawei,hg553", .data = &board_HW553, },
index e3b7724b8f4ebe102d77062f02dbaa0e0921287b..7149ed7480bcfc705bb2d6ce1957495d165ba38a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -537,6 +537,27 @@ static struct board_info __initdata boar
+@@ -426,6 +426,25 @@ static struct board_info __initdata boar
                .force_duplex_full      = 1,
        },
  };
@@ -14,8 +14,6 @@
 +      .name                           = "RTA770W",
 +      .expected_cpu_id                = 0x6345,
 +
-+      .has_uart0                      = 1,
-+
 +      .has_enet0                      = 1,
 +
 +      .enet0 = {
@@ -28,7 +26,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
-@@ -1762,6 +1783,7 @@ static const struct board_info __initcon
+@@ -1443,6 +1462,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
        &board_rta770bw,
@@ -36,7 +34,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6348
        &board_96348r,
-@@ -1836,6 +1858,7 @@ static struct of_device_id const bcm963x
+@@ -1517,6 +1537,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6345
        { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
        { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },
index 1cdef8b3081603b390c6f843dea779ff64218876..888854a9c3fa02d0b60c714e215f0683b45ac6fd 100644 (file)
@@ -12,7 +12,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
 ---
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -387,6 +387,44 @@ static struct board_info __initdata boar
+@@ -341,6 +341,43 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -21,7 +21,6 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
 +      .name                           = "F@ST2704V2",
 +      .expected_cpu_id                = 0x6328,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .has_ohci0                      = 1,
 +      .has_ehci0                      = 1,
@@ -57,7 +56,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -1773,6 +1811,7 @@ static const struct board_info __initcon
+@@ -1452,6 +1489,7 @@ static const struct board_info __initcon
        &board_963281TAN,
        &board_A4001N1,
        &board_dsl_274xb_f1,
@@ -65,7 +64,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6338
        &board_96338gw,
-@@ -1848,6 +1887,7 @@ static struct of_device_id const bcm963x
+@@ -1527,6 +1565,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, },
        { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
        { .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },
index d5ecc3c4c74257118a812be2b3eeb5af37e6c6bc..3472d90e9960b0c9c2bc64425090c3f72d13ef80 100644 (file)
@@ -6,7 +6,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
 ---
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1702,6 +1702,43 @@ static struct board_info __initdata boar
+@@ -1382,6 +1382,41 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -15,8 +15,6 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
 +      .name                           = "F@ST2504n",
 +      .expected_cpu_id                = 0x6362,
 +
-+      .has_uart0                      = 1,
-+
 +      .has_enetsw                     = 1,
 +
 +      .enetsw = {
@@ -50,7 +48,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
  #endif /* CONFIG_BCM63XX_CPU_6362 */
  
  /*
-@@ -1867,6 +1904,7 @@ static const struct board_info __initcon
+@@ -1545,6 +1580,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6362
        &board_nb6,
@@ -58,7 +56,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
-@@ -1948,6 +1986,7 @@ static struct of_device_id const bcm963x
+@@ -1626,6 +1662,7 @@ static struct of_device_id const bcm963x
        { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6362
diff --git a/target/linux/brcm63xx/patches-4.4/550-MIPS-BCM63XX-remove-leds-and-buttons.patch b/target/linux/brcm63xx/patches-4.4/550-MIPS-BCM63XX-remove-leds-and-buttons.patch
deleted file mode 100644 (file)
index 2ae8107..0000000
+++ /dev/null
@@ -1,343 +0,0 @@
-From 997f53b174c63153335508c22dc4493e8e5808d6 Mon Sep 17 00:00:00 2001
-From: Jonas Gorski <jogo@openwrt.org>
-Date: Sun, 22 Feb 2015 17:52:32 +0100
-Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
-
----
- arch/mips/bcm63xx/boards/board_bcm963xx.c |  262 -----------------------------
- 1 file changed, 262 deletions(-)
-
---- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
-+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -47,14 +47,6 @@ static struct board_info __initdata boar
-               .use_internal_phy       = 1,
-       },
--      .leds = {
--              {
--                      .name           = "CVG834G:green:power",
--                      .gpio           = 37,
--                      .default_trigger= "default-on",
--              },
--      },
--
-       .ephy_reset_gpio                = 36,
-       .ephy_reset_gpio_flags          = GPIO_ACTIVE_LOW,
- };
-@@ -78,35 +70,6 @@ static struct board_info __initdata boar
-               .port_no                = 0,
-       },
--      .leds = {
--              {
--                      .name           = "96328avng::ppp-fail",
--                      .gpio           = 2,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "96328avng::power",
--                      .gpio           = 4,
--                      .active_low     = 1,
--                      .default_trigger = "default-on",
--              },
--              {
--                      .name           = "96328avng::power-fail",
--                      .gpio           = 8,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "96328avng::wps",
--                      .gpio           = 9,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "96328avng::ppp",
--                      .gpio           = 11,
--                      .active_low     = 1,
--              },
--      },
--
-       .has_enetsw                     = 1,
-       .enetsw = {
-@@ -445,35 +408,6 @@ static struct board_info __initdata boar
-       },
-       .has_ohci0                      = 1,
--
--      .leds = {
--              {
--                      .name           = "adsl",
--                      .gpio           = 3,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ses",
--                      .gpio           = 5,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp-fail",
--                      .gpio           = 4,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "power",
--                      .gpio           = 0,
--                      .active_low     = 1,
--                      .default_trigger = "default-on",
--              },
--              {
--                      .name           = "stop",
--                      .gpio           = 1,
--                      .active_low     = 1,
--              }
--      },
- };
- static struct board_info __initdata board_96338w = {
-@@ -488,35 +422,6 @@ static struct board_info __initdata boar
-               .force_speed_100        = 1,
-               .force_duplex_full      = 1,
-       },
--
--      .leds = {
--              {
--                      .name           = "adsl",
--                      .gpio           = 3,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ses",
--                      .gpio           = 5,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp-fail",
--                      .gpio           = 4,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "power",
--                      .gpio           = 0,
--                      .active_low     = 1,
--                      .default_trigger = "default-on",
--              },
--              {
--                      .name           = "stop",
--                      .gpio           = 1,
--                      .active_low     = 1,
--              },
--      },
- };
- static struct board_info __initdata board_96338w2_e7t = {
-@@ -615,36 +520,6 @@ static struct board_info __initdata boar
-               .has_phy                = 1,
-               .use_internal_phy       = 1,
-       },
--
--      .leds = {
--              {
--                      .name           = "adsl-fail",
--                      .gpio           = 2,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp",
--                      .gpio           = 3,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp-fail",
--                      .gpio           = 4,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "power",
--                      .gpio           = 0,
--                      .active_low     = 1,
--                      .default_trigger = "default-on",
--
--              },
--              {
--                      .name           = "stop",
--                      .gpio           = 1,
--                      .active_low     = 1,
--              },
--      },
- };
- static struct board_info __initdata board_96348gw_10 = {
-@@ -679,35 +554,6 @@ static struct board_info __initdata boar
-               .cs                     = 2,
-               .ext_irq                = 2,
-       },
--
--      .leds = {
--              {
--                      .name           = "adsl-fail",
--                      .gpio           = 2,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp",
--                      .gpio           = 3,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp-fail",
--                      .gpio           = 4,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "power",
--                      .gpio           = 0,
--                      .active_low     = 1,
--                      .default_trigger = "default-on",
--              },
--              {
--                      .name           = "stop",
--                      .gpio           = 1,
--                      .active_low     = 1,
--              },
--      },
- };
- static struct board_info __initdata board_96348gw_11 = {
-@@ -736,35 +582,6 @@ static struct board_info __initdata boar
-       .has_ohci0 = 1,
-       .has_pccard = 1,
-       .has_ehci0 = 1,
--
--      .leds = {
--              {
--                      .name           = "adsl-fail",
--                      .gpio           = 2,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp",
--                      .gpio           = 3,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp-fail",
--                      .gpio           = 4,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "power",
--                      .gpio           = 0,
--                      .active_low     = 1,
--                      .default_trigger = "default-on",
--              },
--              {
--                      .name           = "stop",
--                      .gpio           = 1,
--                      .active_low     = 1,
--              },
--      },
- };
-@@ -897,35 +714,6 @@ static struct board_info __initdata boar
-               .ext_irq                = 2,
-               .cs                     = 2,
-       },
--
--      .leds = {
--              {
--                      .name           = "adsl-fail",
--                      .gpio           = 2,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp",
--                      .gpio           = 3,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp-fail",
--                      .gpio           = 4,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "power",
--                      .gpio           = 0,
--                      .active_low     = 1,
--                      .default_trigger = "default-on",
--              },
--              {
--                      .name           = "stop",
--                      .gpio           = 1,
--                      .active_low     = 1,
--              },
--      },
- };
- static struct board_info __initdata board_gw6200 = {
-@@ -1262,33 +1050,6 @@ static struct board_info __initdata boar
-       .has_ohci0 = 1,
-       .has_pccard = 1,
-       .has_ehci0 = 1,
--
--      .leds = {
--              {
--                      .name           = "adsl-fail",
--                      .gpio           = 15,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp",
--                      .gpio           = 22,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp-fail",
--                      .gpio           = 23,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "power",
--                      .gpio           = 4,
--                      .default_trigger = "default-on",
--              },
--              {
--                      .name           = "stop",
--                      .gpio           = 5,
--              },
--      },
- };
- static struct board_info __initdata board_96358vw2 = {
-@@ -1318,29 +1079,6 @@ static struct board_info __initdata boar
-       .has_pccard = 1,
-       .has_ehci0 = 1,
-       .num_usbh_ports                 = 2,
--
--      .leds = {
--              {
--                      .name           = "adsl",
--                      .gpio           = 22,
--                      .active_low     = 1,
--              },
--              {
--                      .name           = "ppp-fail",
--                      .gpio           = 23,
--              },
--              {
--                      .name           = "power",
--                      .gpio           = 5,
--                      .active_low     = 1,
--                      .default_trigger = "default-on",
--              },
--              {
--                      .name           = "stop",
--                      .gpio           = 4,
--                      .active_low     = 1,
--              },
--      },
- };
- static struct board_info __initdata board_CPVA642 = {
index f0949f9ed16d04f26978681ca31a3cc82f40ffb3..c7eadf1b83303f66b2a1987db9be9507094154d0 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -53,6 +53,56 @@ static struct board_info __initdata boar
+@@ -50,6 +50,55 @@ static struct board_info __initdata boar
  #endif /* CONFIG_BCM63XX_CPU_3368 */
  
  /*
@@ -11,7 +11,6 @@
 +      .name                           = "96318REF",
 +      .expected_cpu_id                = 0x6318,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +
 +      .has_usbd                       = 1,
@@ -57,7 +56,7 @@
   * known 6328 boards
   */
  #ifdef CONFIG_BCM63XX_CPU_6328
-@@ -1579,6 +1629,9 @@ static const struct board_info __initcon
+@@ -1517,6 +1566,9 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_3368
        &board_cvg834g,
  #endif
@@ -67,7 +66,7 @@
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_AR5381u,
-@@ -1656,6 +1709,9 @@ static struct of_device_id const bcm963x
+@@ -1594,6 +1646,9 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_3368
        { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
  #endif
index eda826e13f5333fdf89b46d29360550127aba790..162ecb7c392aa149d4f8e96d8b77e5dfa4b58ed7 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -100,6 +100,51 @@ static struct board_info __initdata boar
+@@ -96,6 +96,50 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -9,7 +9,6 @@
 +      .name                           = "96318REF_P300",
 +      .expected_cpu_id                = 0x6318,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +
 +      .has_usbd                       = 1,
@@ -52,7 +51,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
-@@ -1631,6 +1676,7 @@ static const struct board_info __initcon
+@@ -1568,6 +1612,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6318
        &board_96318ref,
@@ -60,7 +59,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
-@@ -1711,6 +1757,7 @@ static struct of_device_id const bcm963x
+@@ -1648,6 +1693,7 @@ static struct of_device_id const bcm963x
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6318
        { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
index 2d5dc607b6469ef169424ed8f279d36ac016a9e7..be0e7e7832845185e8ac4da427dbff4d770ab4ed 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1668,6 +1668,52 @@ static struct board_info __initdata boar
+@@ -1604,6 +1604,50 @@ static struct board_info __initdata boar
  #endif /* CONFIG_BCM63XX_CPU_6368 */
  
  /*
@@ -11,8 +11,6 @@
 +      .name                           = "963269BHR",
 +      .expected_cpu_id                = 0x63268,
 +
-+      .has_uart0                      = 1,
-+
 +      .has_pci                        = 1,
 +
 +      .has_ehci0                      = 1,
@@ -53,7 +51,7 @@
   * all boards
   */
  static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -1748,6 +1794,9 @@ static const struct board_info __initcon
+@@ -1684,6 +1728,9 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
  #endif
@@ -63,7 +61,7 @@
  };
  
  static struct of_device_id const bcm963xx_boards_dt[] = {
-@@ -1835,6 +1884,7 @@ static struct of_device_id const bcm963x
+@@ -1771,6 +1818,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
index a312b4137bcc4bcf0db060011509c7b229821f61..dc3c13ef459812c9da78f4bcfb968d36cd69d954 100644 (file)
@@ -8,7 +8,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
 ---
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -679,6 +679,22 @@ static struct board_info __initdata boar
+@@ -655,6 +655,21 @@ static struct board_info __initdata boar
        .has_ehci0 = 1,
  };
  
@@ -16,7 +16,6 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
 +      .name                           = "AR1004G",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
 +      
@@ -31,7 +30,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
  
  /* BT Voyager 2110 */
  static struct board_info __initdata board_V2110 = {
-@@ -1765,6 +1781,7 @@ static const struct board_info __initcon
+@@ -1699,6 +1714,7 @@ static const struct board_info __initcon
        &board_96348A_122,
        &board_CPVA502plus,
        &board_96348W3,
@@ -39,7 +38,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -1829,6 +1846,7 @@ static struct of_device_id const bcm963x
+@@ -1763,6 +1779,7 @@ static struct of_device_id const bcm963x
        { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6348
index b9dd163d659db066563000d0e5a7db623468f79a..dff30121bb56a1e58701affe794e37644087e8b6 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1727,6 +1727,53 @@ static struct board_info __initdata boar
+@@ -1660,6 +1660,51 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -9,8 +9,6 @@
 +      .name                           = "VW6339GU",
 +      .expected_cpu_id                = 0x63268,
 +
-+      .has_uart0                      = 1,
-+
 +      .has_ehci0                      = 1,
 +      .has_ohci0                      = 1,
 +      .num_usbh_ports                 = 1,
@@ -54,7 +52,7 @@
  #endif /* CONFIG_BCM63XX_CPU_63268 */
  
  /*
-@@ -1813,6 +1860,7 @@ static const struct board_info __initcon
+@@ -1746,6 +1791,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        &board_963269bhr,
@@ -62,7 +60,7 @@
  #endif
  };
  
-@@ -1903,6 +1951,7 @@ static struct of_device_id const bcm963x
+@@ -1836,6 +1882,7 @@ static struct of_device_id const bcm963x
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
index 7a8575e70548302e96c22be484e2126bab4998f4..4819fc545c6325cccd04d15a0ec8633addc92dcd 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1687,6 +1687,66 @@ static struct board_info __initdata boar
+@@ -1622,6 +1622,64 @@ static struct board_info __initdata boar
   * known 63268/63269 boards
   */
  #ifdef CONFIG_BCM63XX_CPU_63268
@@ -8,8 +8,6 @@
 +      .name                           = "963268BU_P300",
 +      .expected_cpu_id                = 0x63268,
 +
-+      .has_uart0                      = 1,
-+
 +      .has_ehci0                      = 1,
 +      .has_ohci0                      = 1,
 +      .num_usbh_ports                 = 1,
@@ -67,7 +65,7 @@
  static struct board_info __initdata board_963269bhr = {
        .name                           = "963269BHR",
        .expected_cpu_id                = 0x63268,
-@@ -1859,6 +1919,7 @@ static const struct board_info __initcon
+@@ -1790,6 +1848,7 @@ static const struct board_info __initcon
        &board_96368mvngr,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
@@ -75,7 +73,7 @@
        &board_963269bhr,
        &board_vw6339gu,
  #endif
-@@ -1950,6 +2011,7 @@ static struct of_device_id const bcm963x
+@@ -1881,6 +1940,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
index 38c92b110adc1da859f5a1964a18745dc022492d..67518503546af2efe8af1dd98efe45cd37a4870e 100644 (file)
@@ -9,7 +9,7 @@
  #include <asm/addrspace.h>
  #include <bcm63xx_board.h>
  #include <bcm63xx_cpu.h>
-@@ -1681,6 +1683,48 @@ static struct board_info __initdata boar
+@@ -1616,6 +1618,47 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
        .has_ehci0 = 1,
  };
@@ -27,7 +27,6 @@
 +      .name                           = "96369R-1231N",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
 +      .has_ohci0                      = 1,
@@ -58,7 +57,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6368 */
  
  /*
-@@ -1917,6 +1961,7 @@ static const struct board_info __initcon
+@@ -1846,6 +1889,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
@@ -66,7 +65,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        &board_963268bu_p300,
-@@ -2009,6 +2054,7 @@ static struct of_device_id const bcm963x
+@@ -1938,6 +1982,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6368
        { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
index 5f56c0e97959eda34286ad9b736e3e4ead21847f..29413e9478c5b6a5b4297cf08b796a85d5a18db7 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1684,6 +1684,60 @@ static struct board_info __initdata boar
+@@ -1619,6 +1619,59 @@ static struct board_info __initdata boar
        .has_ehci0 = 1,
  };
  
@@ -17,7 +17,6 @@
 +      .name                                   = "96368M-1541N",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .use_fallback_sprom                     = 1,
 +      .has_ohci0                              = 1,
@@ -61,7 +60,7 @@
  static struct sprom_fixup __initdata wap5813n_fixups[] = {
        { .offset = 97, .value = 0xfeed },
        { .offset = 98, .value = 0x15d1 },
-@@ -1961,6 +2015,7 @@ static const struct board_info __initcon
+@@ -1889,6 +1942,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
@@ -69,7 +68,7 @@
        &board_WAP5813n,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
-@@ -2054,6 +2109,7 @@ static struct of_device_id const bcm963x
+@@ -1982,6 +2036,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6368
        { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
index c2c17fdc2031428846d8eeb5110dc9ecdb0ffc1e..81ac7021cde3f490a91dd852c158ce1b14c0cc92 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1738,6 +1738,60 @@ static struct board_info __initdata boar
+@@ -1672,6 +1672,59 @@ static struct board_info __initdata boar
        },
  };
  
@@ -17,7 +17,6 @@
 +      .name                                   = "96368M-1341N",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .use_fallback_sprom                     = 1,
 +      .has_ohci0                              = 1,
@@ -61,7 +60,7 @@
  static struct sprom_fixup __initdata wap5813n_fixups[] = {
        { .offset = 97, .value = 0xfeed },
        { .offset = 98, .value = 0x15d1 },
-@@ -2016,6 +2070,7 @@ static const struct board_info __initcon
+@@ -1943,6 +1996,7 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
        &board_VR3025u,
@@ -69,7 +68,7 @@
        &board_WAP5813n,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
-@@ -2110,6 +2165,7 @@ static struct of_device_id const bcm963x
+@@ -2037,6 +2091,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
index 2fd368a60fe297ea02f22207f432ebf2e4649957..cdab8de254229f547f127cb7412dbced4b162704 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1693,6 +1693,49 @@ static struct sprom_fixup __initdata vr3
+@@ -1628,6 +1628,48 @@ static struct sprom_fixup __initdata vr3
        { .offset = 115, .value = 0xfad9 },
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "P870HW-51a_v2",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
 +      .has_ohci0                      = 1,
@@ -50,7 +49,7 @@
  static struct board_info __initdata board_VR3025u = {
        .name                                   = "96368M-1541N",
        .expected_cpu_id                = 0x6368,
-@@ -2069,6 +2112,7 @@ static const struct board_info __initcon
+@@ -1995,6 +2037,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
@@ -58,7 +57,7 @@
        &board_VR3025u,
        &board_VR3025un,
        &board_WAP5813n,
-@@ -2167,6 +2211,7 @@ static struct of_device_id const bcm963x
+@@ -2093,6 +2136,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
        { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
        { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
index 070e3ec82c64229e4ee9f09690c871ceb1270a08..75b7ef96e8607bb949fc1726cf1447b50ddf545a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1364,6 +1364,37 @@ static struct board_info __initdata boar
+@@ -1312,6 +1312,36 @@ static struct board_info __initdata boar
        },
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "HW6358GW_B",
 +      .expected_cpu_id                = 0x6358,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
 +      .has_ohci0                      = 1,
@@ -38,7 +37,7 @@
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
        .expected_cpu_id                = 0x6358,
-@@ -2096,6 +2127,7 @@ static const struct board_info __initcon
+@@ -2021,6 +2051,7 @@ static const struct board_info __initcon
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
        &board_ct6373_1,
@@ -46,7 +45,7 @@
        &board_HW553,
        &board_HW556_A,
        &board_HW556_B,
-@@ -2188,6 +2220,7 @@ static struct of_device_id const bcm963x
+@@ -2113,6 +2144,7 @@ static struct of_device_id const bcm963x
        { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
        { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
        { .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
index dfddf193ba83a3604b69be6b8c8f483e4da71496..2e194a54f59d2766a279df036b8fa2d9cdf2a686 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -358,6 +358,50 @@ static struct board_info __initdata boar
+@@ -349,6 +349,49 @@ static struct board_info __initdata boar
        },
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "96328dg2x2",
 +      .expected_cpu_id                = 0x6328,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
 +      .has_ohci0                      = 1,
@@ -51,7 +50,7 @@
  static struct board_info __initdata board_A4001N1 = {
        .name                                   = "963281T_TEF",
        .expected_cpu_id                        = 0x6328,
-@@ -2078,6 +2122,7 @@ static const struct board_info __initcon
+@@ -2002,6 +2045,7 @@ static const struct board_info __initcon
        &board_AR5381u,
        &board_AR5387un,
        &board_963281TAN,
@@ -59,7 +58,7 @@
        &board_A4001N1,
        &board_dsl_274xb_f1,
        &board_FAST2704V2,
-@@ -2166,6 +2211,7 @@ static struct of_device_id const bcm963x
+@@ -2090,6 +2134,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
index 24c15fd2ecf041c89354e6dd9d251064bd4a373c..9852f34609cb563a1a4633f03232fc112371dfef 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -147,6 +147,75 @@ static struct board_info __initdata boar
+@@ -142,6 +142,74 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -30,7 +30,6 @@
 +      .name                           = "AW5200B",
 +      .expected_cpu_id                = 0x6318,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
 +
@@ -76,7 +75,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
-@@ -2116,6 +2185,7 @@ static const struct board_info __initcon
+@@ -2039,6 +2107,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6318
        &board_96318ref,
        &board_96318ref_p300,
@@ -84,7 +83,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
-@@ -2209,6 +2279,7 @@ static struct of_device_id const bcm963x
+@@ -2132,6 +2201,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6318
        { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
        { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },
index a07ebdb9e7df65ae933ef83427fc04b2350a2b83..cc31a818835c60dfb5679632e21eee5b17a2b2fa 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1828,6 +1828,31 @@ static struct board_info __initdata boar
+@@ -1760,6 +1760,30 @@ static struct board_info __initdata boar
        .has_ehci0 = 1,
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "DGND3700v1_3800B",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .has_ohci0                      = 1,
 +      .has_ehci0                      = 1,
@@ -32,7 +31,7 @@
  static struct sprom_fixup __initdata vr3025u_fixups[] = {
        { .offset = 97, .value = 0xfeb3 },
        { .offset = 98, .value = 0x1618 },
-@@ -2259,6 +2284,7 @@ static const struct board_info __initcon
+@@ -2181,6 +2205,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
@@ -40,7 +39,7 @@
        &board_P870HW51A_V2,
        &board_VR3025u,
        &board_VR3025un,
-@@ -2361,6 +2387,7 @@ static struct of_device_id const bcm963x
+@@ -2283,6 +2308,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
        { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
        { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
index e094882e3691b71487769ef33cf55526756705af..8dca58683c2157753fe302e3df182f508a33e833 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1477,6 +1477,32 @@ static struct board_info __initdata boar
+@@ -1423,6 +1423,31 @@ static struct board_info __initdata boar
        },
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "HOMEHUB2A",
 +      .expected_cpu_id                = 0x6358,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
 +      .has_ohci0                      = 1,
@@ -33,7 +32,7 @@
  static struct board_info __initdata board_HW520 = {
        .name                           = "HW6358GW_B",
        .expected_cpu_id                = 0x6358,
-@@ -2267,6 +2293,7 @@ static const struct board_info __initcon
+@@ -2188,6 +2213,7 @@ static const struct board_info __initcon
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
        &board_ct6373_1,
@@ -41,7 +40,7 @@
        &board_HW520,
        &board_HW553,
        &board_HW556_A,
-@@ -2376,6 +2403,7 @@ static struct of_device_id const bcm963x
+@@ -2297,6 +2323,7 @@ static struct of_device_id const bcm963x
        { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
        { .compatible = "t-com,spw303v", .data = &board_spw303v, },
        { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
index 2a13400f274a2c57a6e33f01daca70e6bd6f86de..8fa9112b859c0ee1514e4dec8c621a65a5b31419 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1879,6 +1879,53 @@ static struct board_info __initdata boar
+@@ -1809,6 +1809,52 @@ static struct board_info __initdata boar
        },
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "HW65x",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .has_ohci0                      = 1,
 +      .has_ehci0                      = 1,
@@ -54,7 +53,7 @@
  static struct sprom_fixup __initdata vr3025u_fixups[] = {
        { .offset = 97, .value = 0xfeb3 },
        { .offset = 98, .value = 0x1618 },
-@@ -2312,6 +2359,7 @@ static const struct board_info __initcon
+@@ -2232,6 +2278,7 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
        &board_DGND3700v1_3800B,
@@ -62,7 +61,7 @@
        &board_P870HW51A_V2,
        &board_VR3025u,
        &board_VR3025un,
-@@ -2415,6 +2463,7 @@ static struct of_device_id const bcm963x
+@@ -2335,6 +2382,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
        { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
        { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
index c62f2ac8c3ee2320675d0ba308a1eb32cb26fda2..bdae1a7e4de22a3957d9a0db6b7d524b0eedff59 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -216,6 +216,46 @@ static struct board_info __initdata boar
+@@ -210,6 +210,45 @@ static struct board_info __initdata boar
                .num_board_fixups               = ARRAY_SIZE(dsl2751b_e1_fixups),
        },
  };
@@ -9,7 +9,6 @@
 +      .name                           = "F@ST2704N",
 +      .expected_cpu_id                = 0x6318,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
 +
@@ -47,7 +46,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
-@@ -2284,6 +2324,7 @@ static const struct board_info __initcon
+@@ -2203,6 +2242,7 @@ static const struct board_info __initcon
        &board_96318ref,
        &board_96318ref_p300,
        &board_dsl_2751b_d1,
@@ -55,7 +54,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
-@@ -2381,6 +2422,7 @@ static struct of_device_id const bcm963x
+@@ -2300,6 +2340,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
        { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },
        { .compatible = "d-link,dsl-275xb-d", .data = &board_dsl_2751b_d1, },
index 5a7d200e5ce75f33a9f3c8c31bb03ab06be3f73d..260424bee6145266226afc813095bf7ee231bca2 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2117,6 +2117,60 @@ static struct board_info __initdata boar
+@@ -2042,6 +2042,59 @@ static struct board_info __initdata boar
        },
  };
  
@@ -17,7 +17,6 @@
 +      .name                                   = "96368MT-1341N1",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .use_fallback_sprom                     = 1,
 +      .has_ohci0                              = 1,
@@ -61,7 +60,7 @@
  static struct sprom_fixup __initdata wap5813n_fixups[] = {
        { .offset = 97, .value = 0xfeed },
        { .offset = 98, .value = 0x15d1 },
-@@ -2404,6 +2458,7 @@ static const struct board_info __initcon
+@@ -2322,6 +2375,7 @@ static const struct board_info __initcon
        &board_P870HW51A_V2,
        &board_VR3025u,
        &board_VR3025un,
@@ -69,7 +68,7 @@
        &board_WAP5813n,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
-@@ -2504,6 +2559,7 @@ static struct of_device_id const bcm963x
+@@ -2422,6 +2476,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
        { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
index cda9c4169079ac78083bf6e4448ab0476262fa89..2764846a051dd2c4636d5732d2b606e513d320f1 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -638,6 +638,51 @@ static struct board_info __initdata boar
+@@ -623,6 +623,50 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -9,7 +9,6 @@
 +      .name                                   = "96328ang",
 +      .expected_cpu_id                        = 0x6328,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .use_fallback_sprom                     = 1,
 +      .has_ohci0                              = 1,
@@ -52,7 +51,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -2389,6 +2434,7 @@ static const struct board_info __initcon
+@@ -2306,6 +2350,7 @@ static const struct board_info __initcon
        &board_A4001N1,
        &board_dsl_274xb_f1,
        &board_FAST2704V2,
@@ -60,7 +59,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6338
        &board_96338gw,
-@@ -2487,6 +2533,7 @@ static struct of_device_id const bcm963x
+@@ -2404,6 +2449,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, },
        { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
        { .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },
index 3ec2d139d6eba1bc5ced0968c0656bc71d369464..860c0e7875a1e9bb03e780f260ae4f30dbfc3d2a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2011,6 +2011,53 @@ static struct board_info __initdata boar
+@@ -1938,6 +1938,52 @@ static struct board_info __initdata boar
        },
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "96368MVWG_hg622",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .has_ohci0                      = 1,
 +      .has_ehci0                      = 1,
@@ -54,7 +53,7 @@
  static struct sprom_fixup __initdata vr3025u_fixups[] = {
        { .offset = 97, .value = 0xfeb3 },
        { .offset = 98, .value = 0x1618 },
-@@ -2500,6 +2547,7 @@ static const struct board_info __initcon
+@@ -2416,6 +2462,7 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
        &board_DGND3700v1_3800B,
@@ -62,7 +61,7 @@
        &board_HG655b,
        &board_P870HW51A_V2,
        &board_VR3025u,
-@@ -2608,6 +2656,7 @@ static struct of_device_id const bcm963x
+@@ -2524,6 +2571,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
        { .compatible = "comtrend,vr-3026e", .data = &board_VR3026e, },
        { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
index cbec9492fcfd08abd387adbc68bb19e0b6cfa86c..4c9d19ac64619024604886d6bfd79a7dff1ad4c6 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1964,6 +1964,43 @@ static struct board_info __initdata boar
+@@ -1892,6 +1892,42 @@ static struct board_info __initdata boar
        },
  };
  
@@ -12,7 +12,6 @@
 +      .name                           = "96369PVG",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .has_ohci0                      = 1,
 +      .has_ehci0                      = 1,
@@ -44,7 +43,7 @@
  static struct board_info __initdata board_HG655b = {
        .name                           = "HW65x",
        .expected_cpu_id                = 0x6368,
-@@ -2547,6 +2584,7 @@ static const struct board_info __initcon
+@@ -2462,6 +2498,7 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
        &board_DGND3700v1_3800B,
@@ -52,7 +51,7 @@
        &board_HG622,
        &board_HG655b,
        &board_P870HW51A_V2,
-@@ -2659,6 +2697,7 @@ static struct of_device_id const bcm963x
+@@ -2574,6 +2611,7 @@ static struct of_device_id const bcm963x
        { .compatible = "huawei,hg622", .data = &board_HG622, },
        { .compatible = "huawei,hg655b", .data = &board_HG655b, },
        { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, },
index f3d08eb2a419caf074a9c1f9c0d2b864c92562f1..927ce2735adf048190f07a8460ba2b9946539c9c 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1851,6 +1851,52 @@ static struct board_info __initdata boar
+@@ -1782,6 +1782,51 @@ static struct board_info __initdata boar
   * known 6368 boards
   */
  #ifdef CONFIG_BCM63XX_CPU_6368
@@ -8,7 +8,6 @@
 +      .name                           = "96368_Swiss_S1",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .has_ohci0                      = 1,
 +      .has_ehci0                      = 1,
@@ -53,7 +52,7 @@
  static struct board_info __initdata board_96368mvwg = {
        .name                           = "96368MVWG",
        .expected_cpu_id                = 0x6368,
-@@ -2581,6 +2627,7 @@ static const struct board_info __initcon
+@@ -2495,6 +2540,7 @@ static const struct board_info __initcon
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
@@ -61,7 +60,7 @@
        &board_96368mvwg,
        &board_96368mvngr,
        &board_DGND3700v1_3800B,
-@@ -2688,6 +2735,7 @@ static struct of_device_id const bcm963x
+@@ -2602,6 +2648,7 @@ static struct of_device_id const bcm963x
        { .compatible = "sfr,nb6-ser-r0", .data = &board_nb6, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6368
index 74f1b50062635ae3e67fc6b586243048a9645eb9..e9bf9a76815e602328c19ff5a9d4872e3cac5eb5 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2346,6 +2346,45 @@ static struct board_info __initdata boar
+@@ -2266,6 +2266,44 @@ static struct board_info __initdata boar
        },
  };
  
@@ -8,7 +8,6 @@
 +      .name                           = "VH4032N",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .has_ohci0                      = 1,
 +      .has_ehci0                      = 1,
@@ -46,7 +45,7 @@
  static struct sprom_fixup __initdata wap5813n_fixups[] = {
        { .offset = 97, .value = 0xfeed },
        { .offset = 98, .value = 0x15d1 },
-@@ -2635,6 +2674,7 @@ static const struct board_info __initcon
+@@ -2548,6 +2586,7 @@ static const struct board_info __initcon
        &board_HG622,
        &board_HG655b,
        &board_P870HW51A_V2,
@@ -54,7 +53,7 @@
        &board_VR3025u,
        &board_VR3025un,
        &board_VR3026e,
-@@ -2746,6 +2786,7 @@ static struct of_device_id const bcm963x
+@@ -2659,6 +2698,7 @@ static struct of_device_id const bcm963x
        { .compatible = "huawei,hg655b", .data = &board_HG655b, },
        { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, },
        { .compatible = "netgear,evg2000", .data = &board_EVG2000, },
index d1a1b03631c8df21f9b42698fd482ff1dbe42ebe..4b4b1a0de5f7fc1c01474abfffe8ca577acd7a62 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2193,6 +2193,31 @@ static struct board_info __initdata boar
+@@ -2116,6 +2116,29 @@ static struct board_info __initdata boar
        },
  };
  
@@ -8,8 +8,6 @@
 +      .name                           = "R1000H",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                      = 1,
-+      .has_uart1                      = 1,
 +      .has_pci                        = 1,
 +      .has_ohci0                      = 1,
 +      .has_ehci0                      = 1,
@@ -32,7 +30,7 @@
  static struct board_info __initdata board_VR3025u = {
        .name                                   = "96368M-1541N",
        .expected_cpu_id                = 0x6368,
-@@ -2674,6 +2699,7 @@ static const struct board_info __initcon
+@@ -2586,6 +2609,7 @@ static const struct board_info __initcon
        &board_HG622,
        &board_HG655b,
        &board_P870HW51A_V2,
@@ -40,7 +38,7 @@
        &board_VH4032N,
        &board_VR3025u,
        &board_VR3025un,
-@@ -2775,6 +2801,7 @@ static struct of_device_id const bcm963x
+@@ -2687,6 +2711,7 @@ static struct of_device_id const bcm963x
        { .compatible = "sfr,nb6-ser-r0", .data = &board_nb6, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6368
index 6f7f26c320ba57a831c4dc0196aeaae8ffa7e6a0..1974ccd817c47fe7f232521d9309e7eba2568254 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -148,6 +148,68 @@ static struct board_info __initdata boar
+@@ -143,6 +143,67 @@ static struct board_info __initdata boar
        },
  };
  
@@ -22,7 +22,6 @@
 +      .name                           = "96318A-1441N1",
 +      .expected_cpu_id                = 0x6318,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
 +
@@ -69,7 +68,7 @@
  static struct sprom_fixup __initdata dsl2751b_e1_fixups[] = {
        { .offset = 96, .value = 0x2046 },
        { .offset = 97, .value = 0xfe9d },
-@@ -2616,6 +2678,7 @@ static const struct board_info __initcon
+@@ -2526,6 +2587,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6318
        &board_96318ref,
        &board_96318ref_p300,
@@ -77,7 +76,7 @@
        &board_dsl_2751b_d1,
        &board_FAST2704N,
  #endif
-@@ -2721,6 +2784,7 @@ static struct of_device_id const bcm963x
+@@ -2631,6 +2693,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6318
        { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
        { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },
index c08e00dbe886bd10bb2b09919d6acd48868ee72b..7b28a24e3f2a70531d6d4c5219f4d7b359de5be4 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -366,6 +366,74 @@ static struct board_info __initdata boar
+@@ -357,6 +357,73 @@ static struct board_info __initdata boar
        },
  };
  
@@ -28,7 +28,6 @@
 +      .name                                   = "96328avngr",
 +      .expected_cpu_id                        = 0x6328,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .use_fallback_sprom                     = 1,
 +
@@ -75,7 +74,7 @@
  static struct sprom_fixup __initdata ar5381u_fixups[] = {
        { .offset = 97, .value = 0xfee5 },
        { .offset = 98, .value = 0x157c },
-@@ -2684,6 +2752,7 @@ static const struct board_info __initcon
+@@ -2593,6 +2660,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
@@ -83,7 +82,7 @@
        &board_AR5381u,
        &board_AR5387un,
        &board_963281TAN,
-@@ -2798,6 +2867,7 @@ static struct of_device_id const bcm963x
+@@ -2707,6 +2775,7 @@ static struct of_device_id const bcm963x
        { .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },
        { .compatible = "nucom,r5010unv2", .data = &board_R5010UNV2, },
        { .compatible = "sagem,f@st2704v2", .data = &board_FAST2704V2, },