[PATCH] ARM: dts: BCM5301X: update CRU block description

Rafał Miłecki zajec5 at gmail.com
Fri Oct 29 09:05:23 PDT 2021


From: Rafał Miłecki <rafal at milecki.pl>

This describes CRU in a way matching documentation and fixes:

arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dt.yaml: cru at 100: $nodename:0: 'cru at 100' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
        From schema: /lib/python3.6/site-packages/dtschema/schemas/simple-bus.yaml

Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 arch/arm/boot/dts/bcm5301x.dtsi | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index d4f355015e3c..e1cffef4935a 100644
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -421,14 +421,14 @@ dmu-bus at 1800c000 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 
-		cru at 100 {
-			compatible = "simple-bus";
+		cru-bus at 100 {
+			compatible = "brcm,ns-cru", "simple-mfd";
 			reg = <0x100 0x1a4>;
 			ranges;
 			#address-cells = <1>;
 			#size-cells = <1>;
 
-			lcpll0: lcpll0 at 100 {
+			lcpll0: clock-controller at 100 {
 				#clock-cells = <1>;
 				compatible = "brcm,nsp-lcpll0";
 				reg = <0x100 0x14>;
@@ -437,7 +437,7 @@ lcpll0: lcpll0 at 100 {
 						     "sdio", "ddr_phy";
 			};
 
-			genpll: genpll at 140 {
+			genpll: clock-controller at 140 {
 				#clock-cells = <1>;
 				compatible = "brcm,nsp-genpll";
 				reg = <0x140 0x24>;
@@ -448,6 +448,11 @@ genpll: genpll at 140 {
 						     "sata1", "sata2";
 			};
 
+			syscon at 180 {
+				compatible = "brcm,cru-clkset", "syscon";
+				reg = <0x180 0x4>;
+			};
+
 			pinctrl: pin-controller at 1c0 {
 				compatible = "brcm,bcm4708-pinmux";
 				reg = <0x1c0 0x24>;
-- 
2.31.1




More information about the linux-arm-kernel mailing list