Author: rmilecki Date: 2015-08-26 16:39:06 +0200 (Wed, 26 Aug 2015) New Revision: 46729
Added: trunk/target/linux/bcm53xx/patches-3.18/067-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch trunk/target/linux/bcm53xx/patches-3.18/068-ARM-BCM5301X-Add-profiling-support.patch trunk/target/linux/bcm53xx/patches-4.1/080-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch trunk/target/linux/bcm53xx/patches-4.1/081-ARM-BCM5301X-Add-profiling-support.patch Removed: trunk/target/linux/bcm53xx/patches-3.18/130-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch trunk/target/linux/bcm53xx/patches-3.18/340-ARM-BCM5301X-Add-profiling-support.patch trunk/target/linux/bcm53xx/patches-4.1/130-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch trunk/target/linux/bcm53xx/patches-4.1/340-ARM-BCM5301X-Add-profiling-support.patch Modified: trunk/target/linux/bcm53xx/patches-3.18/301-ARM-BCM5301X-Add-SPROM.patch Log: bcm53xx: use backported patches for UART0 and profiling Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]> Copied: trunk/target/linux/bcm53xx/patches-3.18/067-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch (from rev 46727, trunk/target/linux/bcm53xx/patches-3.18/130-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch) =================================================================== --- trunk/target/linux/bcm53xx/patches-3.18/067-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch (rev 0) +++ trunk/target/linux/bcm53xx/patches-3.18/067-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch 2015-08-26 14:39:06 UTC (rev 46729) @@ -0,0 +1,83 @@ +From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]> +Date: Mon, 29 Jun 2015 07:22:16 +0200 +Subject: [PATCH] ARM: BCM5301X: Enable UART0 on tested devices +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +There are two possible UARTs so we have (both of) them disabled by +default. Override uart0 status on devices that were verified to use it. +In case of Netgear R6250 also drop an old (and invalid) overwrite. It +doesn't have uart1 connected. + +Signed-off-by: Rafał Miłecki <[email protected]> +Acked-by: Hauke Mehrtens <[email protected]> +Signed-off-by: Florian Fainelli <[email protected]> +--- +--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts ++++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts +@@ -135,3 +135,7 @@ + }; + }; + }; ++ ++&uart0 { ++ status = "okay"; ++}; +--- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts ++++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts +@@ -55,3 +55,7 @@ + }; + }; + }; ++ ++&uart0 { ++ status = "okay"; ++}; +--- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts ++++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts +@@ -24,16 +24,6 @@ + reg = <0x00000000 0x08000000>; + }; + +- chipcommonA { +- uart0: serial@0300 { +- status = "okay"; +- }; +- +- uart1: serial@0400 { +- status = "okay"; +- }; +- }; +- + leds { + compatible = "gpio-leds"; + +@@ -92,3 +82,7 @@ + }; + }; + }; ++ ++&uart0 { ++ status = "okay"; ++}; +--- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts ++++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts +@@ -118,3 +118,7 @@ + }; + }; + }; ++ ++&uart0 { ++ status = "okay"; ++}; +--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts ++++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts +@@ -122,3 +122,7 @@ + }; + }; + }; ++ ++&uart0 { ++ status = "okay"; ++}; Copied: trunk/target/linux/bcm53xx/patches-3.18/068-ARM-BCM5301X-Add-profiling-support.patch (from rev 46727, trunk/target/linux/bcm53xx/patches-3.18/340-ARM-BCM5301X-Add-profiling-support.patch) =================================================================== --- trunk/target/linux/bcm53xx/patches-3.18/068-ARM-BCM5301X-Add-profiling-support.patch (rev 0) +++ trunk/target/linux/bcm53xx/patches-3.18/068-ARM-BCM5301X-Add-profiling-support.patch 2015-08-26 14:39:06 UTC (rev 46729) @@ -0,0 +1,25 @@ +From: Felix Fietkau <[email protected]> +Date: Wed, 29 Jul 2015 23:51:00 +0200 +Subject: [PATCH] ARM: BCM5301X: Add profiling support + +Signed-off-by: Felix Fietkau <[email protected]> +Signed-off-by: Hauke Mehrtens <[email protected]> +Signed-off-by: Florian Fainelli <[email protected]> +Signed-off-by: Olof Johansson <[email protected]> +--- +--- a/arch/arm/boot/dts/bcm5301x.dtsi ++++ b/arch/arm/boot/dts/bcm5301x.dtsi +@@ -82,6 +82,13 @@ + }; + }; + ++ pmu { ++ compatible = "arm,cortex-a9-pmu"; ++ interrupts = ++ <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, ++ <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; ++ }; ++ + clocks { + #address-cells = <1>; + #size-cells = <0>; Deleted: trunk/target/linux/bcm53xx/patches-3.18/130-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch =================================================================== --- trunk/target/linux/bcm53xx/patches-3.18/130-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch 2015-08-26 13:04:13 UTC (rev 46728) +++ trunk/target/linux/bcm53xx/patches-3.18/130-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch 2015-08-26 14:39:06 UTC (rev 46729) @@ -1,92 +0,0 @@ -From 7ad224b884d85e8df3339d0149c7e7c8c3ce058c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]> -Date: Sun, 28 Jun 2015 19:40:16 +0200 -Subject: [PATCH V2] ARM: BCM5301X: Enable UART0 on tested devices -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -There are two possible UARTs so we have (both of) them disabled by -default. Override uart0 status on devices that were verified to use it. -In case of Netgear R6250 also drop an old (and invalid) overwrite. It -doesn't have uart1 connected. - -Signed-off-by: Rafał Miłecki <[email protected]> -Acked-by: Hauke Mehrtens <[email protected]> ---- -V2: Drop old overwrite on R6250 ---- - arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 4 ++++ - arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 4 ++++ - arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 14 ++++---------- - arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts | 4 ++++ - arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 4 ++++ - 5 files changed, 20 insertions(+), 10 deletions(-) - ---- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts -+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts -@@ -135,3 +135,7 @@ - }; - }; - }; -+ -+&uart0 { -+ status = "okay"; -+}; ---- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts -+++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts -@@ -55,3 +55,7 @@ - }; - }; - }; -+ -+&uart0 { -+ status = "okay"; -+}; ---- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts -+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts -@@ -24,16 +24,6 @@ - reg = <0x00000000 0x08000000>; - }; - -- chipcommonA { -- uart0: serial@0300 { -- status = "okay"; -- }; -- -- uart1: serial@0400 { -- status = "okay"; -- }; -- }; -- - leds { - compatible = "gpio-leds"; - -@@ -92,3 +82,7 @@ - }; - }; - }; -+ -+&uart0 { -+ status = "okay"; -+}; ---- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts -+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts -@@ -118,3 +118,7 @@ - }; - }; - }; -+ -+&uart0 { -+ status = "okay"; -+}; ---- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts -+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts -@@ -122,3 +122,7 @@ - }; - }; - }; -+ -+&uart0 { -+ status = "okay"; -+}; Modified: trunk/target/linux/bcm53xx/patches-3.18/301-ARM-BCM5301X-Add-SPROM.patch =================================================================== --- trunk/target/linux/bcm53xx/patches-3.18/301-ARM-BCM5301X-Add-SPROM.patch 2015-08-26 13:04:13 UTC (rev 46728) +++ trunk/target/linux/bcm53xx/patches-3.18/301-ARM-BCM5301X-Add-SPROM.patch 2015-08-26 14:39:06 UTC (rev 46729) @@ -13,7 +13,7 @@ --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi -@@ -95,6 +95,10 @@ +@@ -102,6 +102,10 @@ }; }; Deleted: trunk/target/linux/bcm53xx/patches-3.18/340-ARM-BCM5301X-Add-profiling-support.patch =================================================================== --- trunk/target/linux/bcm53xx/patches-3.18/340-ARM-BCM5301X-Add-profiling-support.patch 2015-08-26 13:04:13 UTC (rev 46728) +++ trunk/target/linux/bcm53xx/patches-3.18/340-ARM-BCM5301X-Add-profiling-support.patch 2015-08-26 14:39:06 UTC (rev 46729) @@ -1,20 +0,0 @@ -Subject: [PATCH] ARM: BCM5301X: Add profiling support - -Signed-off-by: Felix Fietkau <[email protected]> ---- ---- a/arch/arm/boot/dts/bcm5301x.dtsi -+++ b/arch/arm/boot/dts/bcm5301x.dtsi -@@ -82,6 +82,13 @@ - }; - }; - -+ pmu { -+ compatible = "arm,cortex-a9-pmu"; -+ interrupts = -+ <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, -+ <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; -+ }; -+ - clocks { - #address-cells = <1>; - #size-cells = <0>; Copied: trunk/target/linux/bcm53xx/patches-4.1/080-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch (from rev 46727, trunk/target/linux/bcm53xx/patches-4.1/130-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch) =================================================================== --- trunk/target/linux/bcm53xx/patches-4.1/080-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch (rev 0) +++ trunk/target/linux/bcm53xx/patches-4.1/080-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch 2015-08-26 14:39:06 UTC (rev 46729) @@ -0,0 +1,83 @@ +From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]> +Date: Mon, 29 Jun 2015 07:22:16 +0200 +Subject: [PATCH] ARM: BCM5301X: Enable UART0 on tested devices +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +There are two possible UARTs so we have (both of) them disabled by +default. Override uart0 status on devices that were verified to use it. +In case of Netgear R6250 also drop an old (and invalid) overwrite. It +doesn't have uart1 connected. + +Signed-off-by: Rafał Miłecki <[email protected]> +Acked-by: Hauke Mehrtens <[email protected]> +Signed-off-by: Florian Fainelli <[email protected]> +--- +--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts ++++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts +@@ -135,3 +135,7 @@ + }; + }; + }; ++ ++&uart0 { ++ status = "okay"; ++}; +--- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts ++++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts +@@ -55,3 +55,7 @@ + }; + }; + }; ++ ++&uart0 { ++ status = "okay"; ++}; +--- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts ++++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts +@@ -24,16 +24,6 @@ + reg = <0x00000000 0x08000000>; + }; + +- chipcommonA { +- uart0: serial@0300 { +- status = "okay"; +- }; +- +- uart1: serial@0400 { +- status = "okay"; +- }; +- }; +- + leds { + compatible = "gpio-leds"; + +@@ -92,3 +82,7 @@ + }; + }; + }; ++ ++&uart0 { ++ status = "okay"; ++}; +--- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts ++++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts +@@ -118,3 +118,7 @@ + }; + }; + }; ++ ++&uart0 { ++ status = "okay"; ++}; +--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts ++++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts +@@ -122,3 +122,7 @@ + }; + }; + }; ++ ++&uart0 { ++ status = "okay"; ++}; Copied: trunk/target/linux/bcm53xx/patches-4.1/081-ARM-BCM5301X-Add-profiling-support.patch (from rev 46727, trunk/target/linux/bcm53xx/patches-4.1/340-ARM-BCM5301X-Add-profiling-support.patch) =================================================================== --- trunk/target/linux/bcm53xx/patches-4.1/081-ARM-BCM5301X-Add-profiling-support.patch (rev 0) +++ trunk/target/linux/bcm53xx/patches-4.1/081-ARM-BCM5301X-Add-profiling-support.patch 2015-08-26 14:39:06 UTC (rev 46729) @@ -0,0 +1,25 @@ +From: Felix Fietkau <[email protected]> +Date: Wed, 29 Jul 2015 23:51:00 +0200 +Subject: [PATCH] ARM: BCM5301X: Add profiling support + +Signed-off-by: Felix Fietkau <[email protected]> +Signed-off-by: Hauke Mehrtens <[email protected]> +Signed-off-by: Florian Fainelli <[email protected]> +Signed-off-by: Olof Johansson <[email protected]> +--- +--- a/arch/arm/boot/dts/bcm5301x.dtsi ++++ b/arch/arm/boot/dts/bcm5301x.dtsi +@@ -85,6 +85,13 @@ + }; + }; + ++ pmu { ++ compatible = "arm,cortex-a9-pmu"; ++ interrupts = ++ <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, ++ <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; ++ }; ++ + clocks { + #address-cells = <1>; + #size-cells = <0>; Deleted: trunk/target/linux/bcm53xx/patches-4.1/130-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch =================================================================== --- trunk/target/linux/bcm53xx/patches-4.1/130-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch 2015-08-26 13:04:13 UTC (rev 46728) +++ trunk/target/linux/bcm53xx/patches-4.1/130-ARM-BCM5301X-Enable-UART0-on-tested-devices.patch 2015-08-26 14:39:06 UTC (rev 46729) @@ -1,92 +0,0 @@ -From 7ad224b884d85e8df3339d0149c7e7c8c3ce058c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]> -Date: Sun, 28 Jun 2015 19:40:16 +0200 -Subject: [PATCH V2] ARM: BCM5301X: Enable UART0 on tested devices -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -There are two possible UARTs so we have (both of) them disabled by -default. Override uart0 status on devices that were verified to use it. -In case of Netgear R6250 also drop an old (and invalid) overwrite. It -doesn't have uart1 connected. - -Signed-off-by: Rafał Miłecki <[email protected]> -Acked-by: Hauke Mehrtens <[email protected]> ---- -V2: Drop old overwrite on R6250 ---- - arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 4 ++++ - arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 4 ++++ - arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 14 ++++---------- - arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts | 4 ++++ - arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 4 ++++ - 5 files changed, 20 insertions(+), 10 deletions(-) - ---- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts -+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts -@@ -135,3 +135,7 @@ - }; - }; - }; -+ -+&uart0 { -+ status = "okay"; -+}; ---- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts -+++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts -@@ -55,3 +55,7 @@ - }; - }; - }; -+ -+&uart0 { -+ status = "okay"; -+}; ---- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts -+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts -@@ -24,16 +24,6 @@ - reg = <0x00000000 0x08000000>; - }; - -- chipcommonA { -- uart0: serial@0300 { -- status = "okay"; -- }; -- -- uart1: serial@0400 { -- status = "okay"; -- }; -- }; -- - leds { - compatible = "gpio-leds"; - -@@ -92,3 +82,7 @@ - }; - }; - }; -+ -+&uart0 { -+ status = "okay"; -+}; ---- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts -+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts -@@ -118,3 +118,7 @@ - }; - }; - }; -+ -+&uart0 { -+ status = "okay"; -+}; ---- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts -+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts -@@ -122,3 +122,7 @@ - }; - }; - }; -+ -+&uart0 { -+ status = "okay"; -+}; Deleted: trunk/target/linux/bcm53xx/patches-4.1/340-ARM-BCM5301X-Add-profiling-support.patch =================================================================== --- trunk/target/linux/bcm53xx/patches-4.1/340-ARM-BCM5301X-Add-profiling-support.patch 2015-08-26 13:04:13 UTC (rev 46728) +++ trunk/target/linux/bcm53xx/patches-4.1/340-ARM-BCM5301X-Add-profiling-support.patch 2015-08-26 14:39:06 UTC (rev 46729) @@ -1,20 +0,0 @@ -Subject: [PATCH] ARM: BCM5301X: Add profiling support - -Signed-off-by: Felix Fietkau <[email protected]> ---- ---- a/arch/arm/boot/dts/bcm5301x.dtsi -+++ b/arch/arm/boot/dts/bcm5301x.dtsi -@@ -85,6 +85,13 @@ - }; - }; - -+ pmu { -+ compatible = "arm,cortex-a9-pmu"; -+ interrupts = -+ <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, -+ <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; -+ }; -+ - clocks { - #address-cells = <1>; - #size-cells = <0>; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
