forked from openwrt/openwrt
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bcm53xx: backport missed DT patch cleaning up CRU block
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
- Loading branch information
Rafał Miłecki
committed
Aug 30, 2021
1 parent
f08b76b
commit 8a4d4d4
Showing
14 changed files
with
196 additions
and
22 deletions.
There are no files selected for viewing
85 changes: 85 additions & 0 deletions
85
...m53xx/patches-5.10/030-v5.11-0007-ARM-dts-BCM5301X-Move-CRU-devices-to-the-CRU-node.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
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 | ||
@@ -428,6 +428,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>; | ||
@@ -454,32 +474,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 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
...cm53xx/patches-5.4/034-v5.11-0007-ARM-dts-BCM5301X-Move-CRU-devices-to-the-CRU-node.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
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 | ||
@@ -428,6 +428,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>; | ||
@@ -454,32 +474,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 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters