Skip to contentSkip to conversation

riscv: dts: microchip: add can resets to mpfs

PATCH Applied Conor Dooley 1 participant 2 messages Jan 28 – Feb 6

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: dts: microchip: add can resets to mpfs

From: Conor Dooley <[email protected]>

The can IP on PolarFire SoC requires the use of the blocks reset
during normal operation, and the property is therefore required by the binding, causing a warning on the m100pfsevp board where it is default enabled:
mpfs-m100pfsevp.dtb: can@2010c000 (microchip,mpfs-can): 'resets' is a required property Add the reset to both can nodes.

---
CC: Conor Dooley <[email protected]>
CC: Daire McNamara <[email protected]>
CC: Rob Herring <[email protected]>
CC: Krzysztof Kozlowski <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]

 arch/riscv/boot/dts/microchip/mpfs.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/riscv/boot/dts/microchip/mpfs.dtsi +2 -0
index 5c2963e269b8..a0ffedc2d344 100644
@@ -428,6 +428,7 @@ can0: can@2010c000 {
 			clocks = <&clkcfg CLK_CAN0>, <&clkcfg CLK_MSSPLL3>;
 			interrupt-parent = <&plic>;
 			interrupts = <56>;
+			resets = <&mss_top_sysreg CLK_CAN0>;
 			status = "disabled";
 		};
 
@@ -437,6 +438,7 @@ can1: can@2010d000 {
 			clocks = <&clkcfg CLK_CAN1>, <&clkcfg CLK_MSSPLL3>;
 			interrupt-parent = <&plic>;
 			interrupts = <57>;
+			resets = <&mss_top_sysreg CLK_CAN1>;
 			status = "disabled";
 		};
 
Signature · 1 line
2.51.0
author Applied
#1 lore raw

From: Conor Dooley <[email protected]>

Quoted 8 lines · Conor Dooley

The can IP on PolarFire SoC requires the use of the blocks reset
during normal operation, and the property is therefore required by the binding, causing a warning on the m100pfsevp board where it is default enabled:
mpfs-m100pfsevp.dtb: can@2010c000 (microchip,mpfs-can): 'resets' is a required property Add the reset to both can nodes.

[...]

Applied to riscv-soc-fixes, thanks!

[1/1] riscv: dts: microchip: add can resets to mpfs

      https://git.kernel.org/conor/c/ff4b6bf7eef4

Thanks,
Conor.