riscv: dts: microchip: remove icicle memory clocks
Subsystems (3)
Conor Dooley
maintainerPATCH 1/2 riscv: dts: microchip: remove icicle memory clocks
The clock properties in the icicle kit's memory entries cause dtbs_check
errors:arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dtb: /: memory@80000000: 'clocks' does not match any of the regexes: 'pinctrl-[0-9]+'
Get rid of the clocks to avoid the errors.
--- arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts | 2 -- 1 file changed, 2 deletions(-)
arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts +0 -2
@@ -32,14 +32,12 @@ cpus { ddrc_cache_lo: memory@80000000 { device_type = "memory"; reg = <0x0 0x80000000 0x0 0x2e000000>; - clocks = <&clkcfg CLK_DDRC>; status = "okay"; }; ddrc_cache_hi: memory@1000000000 { device_type = "memory"; reg = <0x10 0x0 0x0 0x40000000>; - clocks = <&clkcfg CLK_DDRC>; status = "okay"; }; };
Signature · 1 line
2.35.2
Conor Dooley
maintainerPATCH 2/2 riscv: dts: microchip: move sysctrlr out of soc bus
The MPFS system controller has no registers of its own, so move it out
of the soc node to avoid dtbs_check warnings:arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dtb: soc: syscontroller: {'compatible': ['microchip,mpfs-sys-controller'], 'mboxes': [[15, 0]], 'status': ['okay']} should not be valid under {'type': 'object'}
---
Rob: I assume the Suggested-by tag is appropriate here since you told me to do it this way?
arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi +5 -5
@@ -146,6 +146,11 @@ refclk: msspllclk { #clock-cells = <0>; }; + syscontroller: syscontroller { + compatible = "microchip,mpfs-sys-controller"; + mboxes = <&mbox 0>; + }; + soc { #address-cells = <2>; #size-cells = <2>;
@@ -446,10 +451,5 @@ mbox: mailbox@37020000 { #mbox-cells = <1>; status = "disabled"; }; - - syscontroller: syscontroller { - compatible = "microchip,mpfs-sys-controller"; - mboxes = <&mbox 0>; - }; }; };
Signature · 1 line
2.35.2
[email protected]
maintainerHey Palmer,
Please consider this superseded by today's patchset:
https://lore.kernel.org/linux-riscv/[email protected]/T/#t
Thanks,
Conor.
Quoted 23 lines · Conor Dooley
The clock properties in the icicle kit's memory entries cause
dtbs_check
errors:arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dtb: /: memory@80000000: 'clocks' does not match any of the regexes: 'pinctrl-[0-9]+'Get rid of the clocks to avoid the errors.
Reported-by Palmer Dabbelt <[email protected]>Fixes 0fa6107eca41 ("RISC-V: Initial DTS for Microchip ICICLE board")Fixes 5b28df37d311 ("riscv: dts: microchip: update peripherals in icicle kit device tree")Signed-off-by Conor Dooley <[email protected]>--- arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts | 2 -- 1 file changed, 2 deletions(-)arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts +0
-1@@ -32,14 +32,12 @@ cpus { ddrc_cache_lo: memory@80000000 { device_type = "memory"; reg = <0x0 0x80000000 0x0 0x2e000000>; - clocks = <&clkcfg CLK_DDRC>;
arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts cpus { · line 43
Quoted 10 lines
arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts +0
-1status = "okay"; }; ddrc_cache_hi: memory@1000000000 { device_type = "memory"; reg = <0x10 0x0 0x0 0x40000000>; - clocks = <&clkcfg CLK_DDRC>; status = "okay"; }; };
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv