[PATCH linux dev-5.8 v1 1/4] arm: dts: npcm7xx: Add syscon property

Tomer Maimon tmaimon77 at gmail.com
Wed Jan 20 09:34:09 AEDT 2021


Add syscon property to ADC and watchdog nodes.

Signed-off-by: Tomer Maimon <tmaimon77 at gmail.com>
---
 arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
index 455a96b23b85..448cfc9d4ae1 100644
--- a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
+++ b/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
@@ -82,7 +82,7 @@
 			"simple-mfd";
 			reg = <0x801000 0x6C>;
 		};
-		
+
 		fuse:fuse at 18a000 {
 			compatible = "nuvoton,npcm750-fuse", "syscon",
 				"simple-mfd";
@@ -425,6 +425,7 @@
 				reg = <0x801C 0x4>;
 				status = "disabled";
 				clocks = <&clk NPCM7XX_CLK_TIMER>;
+				syscon = <&gcr>;
 			};
 
 			watchdog1: watchdog at 901C {
@@ -433,6 +434,7 @@
 				reg = <0x901C 0x4>;
 				status = "disabled";
 				clocks = <&clk NPCM7XX_CLK_TIMER>;
+				syscon = <&gcr>;
 			};
 
 			watchdog2: watchdog at a01C {
@@ -441,6 +443,7 @@
 				reg = <0xa01C 0x4>;
 				status = "disabled";
 				clocks = <&clk NPCM7XX_CLK_TIMER>;
+				syscon = <&gcr>;
 			};
 
 			serial0: serial at 1000 {
@@ -493,6 +496,7 @@
 				interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clk NPCM7XX_CLK_ADC>;
 				resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_ADC>;
+				syscon = <&fuse>;
 				status = "disabled";
 			};
 
-- 
2.22.0



More information about the openbmc mailing list