mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
6c945fa379
Removed upstreamed: bcm53xx/patches-5.10/033-v5.16-0024-ARM-dts-BCM5301X-Fix-I2C-controller-interrupt.patch[1] bcm53xx/patches-5.10/033-v5.16-0025-ARM-dts-BCM5301X-Add-interrupt-properties-to-GPIO-no.patch[2] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.83&id=b2cd6fdcbe0a5cb44e4610a08cc58261d494a885 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.83&id=9db1d4a3c2700e1cc84c3d61199411d75c2a3ec6 Build system: x86_64* Build-tested: bcm2711/RPi4B, ipq806x/R7800† Run-tested: bcm2711/RPi4B, ipq806x/R7800† * Had to revert7c99085bd6
in order to build (latest bump of ca-certificates) † Had to revert7f1edbd412
in order to build (binutils 2.37, https://bugs.openwrt.org/index.php?do=details&task_id=4149) Signed-off-by: John Audia <graysky@archlinux.us>
86 lines
2.2 KiB
Diff
86 lines
2.2 KiB
Diff
From 776461b1795b4dc4084894cf53399044aafa1d21 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Wed, 11 Nov 2020 15:55:38 +0100
|
|
Subject: [PATCH] ARM: dts: BCM5301X: Move CRU devices to the CRU node
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Clocks and thermal blocks are part of the CRU ("Clock and Reset Unit" or
|
|
"Central Resource Unit").
|
|
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
---
|
|
arch/arm/boot/dts/bcm5301x.dtsi | 51 +++++++++++++++++----------------
|
|
1 file changed, 26 insertions(+), 25 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/bcm5301x.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
|
|
@@ -430,6 +430,26 @@
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
+ lcpll0: lcpll0@100 {
|
|
+ #clock-cells = <1>;
|
|
+ compatible = "brcm,nsp-lcpll0";
|
|
+ reg = <0x100 0x14>;
|
|
+ clocks = <&osc>;
|
|
+ clock-output-names = "lcpll0", "pcie_phy",
|
|
+ "sdio", "ddr_phy";
|
|
+ };
|
|
+
|
|
+ genpll: genpll@140 {
|
|
+ #clock-cells = <1>;
|
|
+ compatible = "brcm,nsp-genpll";
|
|
+ reg = <0x140 0x24>;
|
|
+ clocks = <&osc>;
|
|
+ clock-output-names = "genpll", "phy",
|
|
+ "ethernetclk",
|
|
+ "usbclk", "iprocfast",
|
|
+ "sata1", "sata2";
|
|
+ };
|
|
+
|
|
pinctrl: pin-controller@1c0 {
|
|
compatible = "brcm,bcm4708-pinmux";
|
|
reg = <0x1c0 0x24>;
|
|
@@ -456,32 +476,13 @@
|
|
function = "uart1";
|
|
};
|
|
};
|
|
- };
|
|
- };
|
|
|
|
- lcpll0: lcpll0@1800c100 {
|
|
- #clock-cells = <1>;
|
|
- compatible = "brcm,nsp-lcpll0";
|
|
- reg = <0x1800c100 0x14>;
|
|
- clocks = <&osc>;
|
|
- clock-output-names = "lcpll0", "pcie_phy", "sdio",
|
|
- "ddr_phy";
|
|
- };
|
|
-
|
|
- genpll: genpll@1800c140 {
|
|
- #clock-cells = <1>;
|
|
- compatible = "brcm,nsp-genpll";
|
|
- reg = <0x1800c140 0x24>;
|
|
- clocks = <&osc>;
|
|
- clock-output-names = "genpll", "phy", "ethernetclk",
|
|
- "usbclk", "iprocfast", "sata1",
|
|
- "sata2";
|
|
- };
|
|
-
|
|
- thermal: thermal@1800c2c0 {
|
|
- compatible = "brcm,ns-thermal";
|
|
- reg = <0x1800c2c0 0x10>;
|
|
- #thermal-sensor-cells = <0>;
|
|
+ thermal: thermal@2c0 {
|
|
+ compatible = "brcm,ns-thermal";
|
|
+ reg = <0x2c0 0x10>;
|
|
+ #thermal-sensor-cells = <0>;
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
srab: srab@18007000 {
|