diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-28 19:08:55 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-28 19:12:43 +0200 |
commit | 77e97abf129c5028385dd72587eabab68db0d954 (patch) | |
tree | fc52a8c2ba346da77281f00538a1eb6de49deb5d /target/linux/bcm27xx/patches-5.4/950-0371-ARM-dts-bcm283x-Move-system-timer-back-to-bcm283x.dt.patch | |
parent | 5d3a0c6b26144eb5d62515b99613b5ad8dbdc717 (diff) | |
download | upstream-77e97abf129c5028385dd72587eabab68db0d954.tar.gz upstream-77e97abf129c5028385dd72587eabab68db0d954.tar.bz2 upstream-77e97abf129c5028385dd72587eabab68db0d954.zip |
bcm27xx: update to latest patches from RPi foundation
Also removes random module and switches to new bcm2711 thermal driver.
Boot tested on RPi 4B v1.1 4G.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm27xx/patches-5.4/950-0371-ARM-dts-bcm283x-Move-system-timer-back-to-bcm283x.dt.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.4/950-0371-ARM-dts-bcm283x-Move-system-timer-back-to-bcm283x.dt.patch | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/target/linux/bcm27xx/patches-5.4/950-0371-ARM-dts-bcm283x-Move-system-timer-back-to-bcm283x.dt.patch b/target/linux/bcm27xx/patches-5.4/950-0371-ARM-dts-bcm283x-Move-system-timer-back-to-bcm283x.dt.patch deleted file mode 100644 index 3ececc8f92..0000000000 --- a/target/linux/bcm27xx/patches-5.4/950-0371-ARM-dts-bcm283x-Move-system-timer-back-to-bcm283x.dt.patch +++ /dev/null @@ -1,73 +0,0 @@ -From fcd4bc412167d2a79bf63603e883f4960ca6b2a1 Mon Sep 17 00:00:00 2001 -From: Stefan Wahren <wahrenst@gmx.net> -Date: Fri, 27 Dec 2019 11:15:00 +0100 -Subject: [PATCH] ARM: dts: bcm283x: Move system timer back to - bcm283x.dtsi - -During Raspberry Pi 4 upstream discussion Tim Gover confirmed that the -system timer also exists on BCM2711. So move it back to bcm283x.dtsi and -overwrite the interrupt definition in bcm2838.dtsi. - -Signed-off-by: Stefan Wahren <wahrenst@gmx.net> ---- - arch/arm/boot/dts/bcm2835-common.dtsi | 11 ----------- - arch/arm/boot/dts/bcm2838.dtsi | 7 +++++++ - arch/arm/boot/dts/bcm283x.dtsi | 11 +++++++++++ - 3 files changed, 18 insertions(+), 11 deletions(-) - ---- a/arch/arm/boot/dts/bcm2835-common.dtsi -+++ b/arch/arm/boot/dts/bcm2835-common.dtsi -@@ -6,17 +6,6 @@ - - / { - soc { -- timer@7e003000 { -- compatible = "brcm,bcm2835-system-timer"; -- reg = <0x7e003000 0x1000>; -- interrupts = <1 0>, <1 1>, <1 2>, <1 3>; -- /* This could be a reference to BCM2835_CLOCK_TIMER, -- * but we don't have the driver using the common clock -- * support yet. -- */ -- clock-frequency = <1000000>; -- }; -- - intc: interrupt-controller@7e00b200 { - compatible = "brcm,bcm2835-armctrl-ic"; - reg = <0x7e00b200 0x200>; ---- a/arch/arm/boot/dts/bcm2838.dtsi -+++ b/arch/arm/boot/dts/bcm2838.dtsi -@@ -711,6 +711,13 @@ - interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; - }; - -+&system_timer { -+ interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, -+ <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, -+ <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, -+ <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; -+}; -+ - &uart0 { - interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; - }; ---- a/arch/arm/boot/dts/bcm283x.dtsi -+++ b/arch/arm/boot/dts/bcm283x.dtsi -@@ -56,6 +56,17 @@ - #address-cells = <1>; - #size-cells = <1>; - -+ system_timer: timer@7e003000 { -+ compatible = "brcm,bcm2835-system-timer"; -+ reg = <0x7e003000 0x1000>; -+ interrupts = <1 0>, <1 1>, <1 2>, <1 3>; -+ /* This could be a reference to BCM2835_CLOCK_TIMER, -+ * but we don't have the driver using the common clock -+ * support yet. -+ */ -+ clock-frequency = <1000000>; -+ }; -+ - txp: txp@7e004000 { - compatible = "brcm,bcm2835-txp"; - reg = <0x7e004000 0x20>; |