summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/patches-4.4
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-12-03 10:19:16 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-12-03 10:19:16 +0000
commit448bf7819b7262bad06c28ea45c700911c0f4539 (patch)
treecf9eae11fbebf638dc6c119167b889fe3adea582 /target/linux/bcm53xx/patches-4.4
parent7eed5caecd2ebeaab5b7089da5cac2fb90d23957 (diff)
downloadmtk-20170518-448bf7819b7262bad06c28ea45c700911c0f4539.zip
mtk-20170518-448bf7819b7262bad06c28ea45c700911c0f4539.tar.gz
mtk-20170518-448bf7819b7262bad06c28ea45c700911c0f4539.tar.bz2
bcm53xx: use backported BCM5301X patches from stblinux devicetree/next
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47708
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4')
-rw-r--r--target/linux/bcm53xx/patches-4.4/030-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch (renamed from target/linux/bcm53xx/patches-4.4/083-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch)5
-rw-r--r--target/linux/bcm53xx/patches-4.4/031-ARM-dts-enable-clock-support-for-BCM5301X.patch (renamed from target/linux/bcm53xx/patches-4.4/050-ARM-dts-enable-clock-support-for-BCM5301X.patch)49
2 files changed, 38 insertions, 16 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/083-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch b/target/linux/bcm53xx/patches-4.4/030-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch
index cd22e19..c63627d 100644
--- a/target/linux/bcm53xx/patches-4.4/083-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch
+++ b/target/linux/bcm53xx/patches-4.4/030-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch
@@ -1,6 +1,6 @@
-From a0aef7fbab0d8b5a0d445c74990e5233beda246e Mon Sep 17 00:00:00 2001
+From ccf0b5e37115f8675455632f583d06ea94f43539 Mon Sep 17 00:00:00 2001
From: Jon Mason <jonmason@broadcom.com>
-Date: Wed, 21 Oct 2015 18:46:04 -0400
+Date: Mon, 2 Nov 2015 13:34:53 -0500
Subject: [PATCH] ARM: dts: bcm5301x: Add BCM SVK DT files
Add device tree files for Broadcom Northstar based SVKs. Since the
@@ -8,6 +8,7 @@ bcm5301x.dtsi already exists, all that is necessary is the dts files to
enable the UARTs. With these files, the SVKs are able to boot to shell.
Signed-off-by: Jon Mason <jonmason@broadcom.com>
+Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
arch/arm/boot/dts/Makefile | 5 +++-
arch/arm/boot/dts/bcm94708.dts | 56 +++++++++++++++++++++++++++++++++++
diff --git a/target/linux/bcm53xx/patches-4.4/050-ARM-dts-enable-clock-support-for-BCM5301X.patch b/target/linux/bcm53xx/patches-4.4/031-ARM-dts-enable-clock-support-for-BCM5301X.patch
index a9a5246..e8dd0cd 100644
--- a/target/linux/bcm53xx/patches-4.4/050-ARM-dts-enable-clock-support-for-BCM5301X.patch
+++ b/target/linux/bcm53xx/patches-4.4/031-ARM-dts-enable-clock-support-for-BCM5301X.patch
@@ -1,15 +1,17 @@
-From e96ef422d0095fe9ae39b03c0805a0db8ff7e382 Mon Sep 17 00:00:00 2001
+From cdc36b22f0e4b8badf3db14395f0aa44dcbce4b3 Mon Sep 17 00:00:00 2001
From: Jon Mason <jonmason@broadcom.com>
-Date: Tue, 13 Oct 2015 17:22:25 -0400
-Subject: [PATCH 50/50] ARM: dts: enable clock support for BCM5301X
+Date: Fri, 20 Nov 2015 10:17:18 -0500
+Subject: [PATCH] ARM: dts: enable clock support for BCM5301X
Replace current device tree dummy clocks with real clock support for
Broadcom Northstar SoCs.
Signed-off-by: Jon Mason <jonmason@broadcom.com>
+Reviewed-by: Ray Jui <rjui@broadcom.com>
+Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
- arch/arm/boot/dts/bcm5301x.dtsi | 88 ++++++++++++++++++++++++++++++++---------
- 1 file changed, 69 insertions(+), 19 deletions(-)
+ arch/arm/boot/dts/bcm5301x.dtsi | 92 +++++++++++++++++++++++++++++++----------
+ 1 file changed, 71 insertions(+), 21 deletions(-)
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -21,7 +23,24 @@ Signed-off-by: Jon Mason <jonmason@broadcom.com>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
-@@ -42,41 +43,48 @@
+@@ -27,7 +28,7 @@
+ compatible = "ns16550";
+ reg = <0x0300 0x100>;
+ interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
+- clock-frequency = <100000000>;
++ clocks = <&iprocslow>;
+ status = "disabled";
+ };
+
+@@ -35,48 +36,55 @@
+ compatible = "ns16550";
+ reg = <0x0400 0x100>;
+ interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
+- clock-frequency = <100000000>;
++ clocks = <&iprocslow>;
+ status = "disabled";
+ };
+ };
mpcore {
compatible = "simple-bus";
@@ -102,8 +121,7 @@ Signed-off-by: Jon Mason <jonmason@broadcom.com>
+ };
+
+ iprocmed: iprocmed {
- #clock-cells = <0>;
-- clock-frequency = <400000000>;
++ #clock-cells = <0>;
+ compatible = "fixed-factor-clock";
+ clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>;
+ clock-div = <2>;
@@ -119,7 +137,8 @@ Signed-off-by: Jon Mason <jonmason@broadcom.com>
+ };
+
+ periph_clk: periph_clk {
-+ #clock-cells = <0>;
+ #clock-cells = <0>;
+- clock-frequency = <400000000>;
+ compatible = "fixed-factor-clock";
+ clocks = <&a9pll>;
+ clock-div = <2>;
@@ -127,11 +146,10 @@ Signed-off-by: Jon Mason <jonmason@broadcom.com>
};
};
-@@ -189,4 +220,23 @@
-
- brcm,nand-has-wp;
+@@ -178,6 +209,25 @@
+ };
};
-+
+
+ lcpll0: lcpll0@1800c100 {
+ #clock-cells = <1>;
+ compatible = "brcm,nsp-lcpll0";
@@ -150,4 +168,7 @@ Signed-off-by: Jon Mason <jonmason@broadcom.com>
+ "usbclk", "iprocfast", "sata1",
+ "sata2";
+ };
- };
++
+ nand: nand@18028000 {
+ compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
+ reg = <0x18028000 0x600>, <0x1811a408 0x600>, <0x18028f00 0x20>;