diff mbox series

[3/4] dt-bindings: sifive: delete 'clock' / 'status'

Message ID CABMhjYrDuk9EKYxREqrhReYb8oNz0X3hkF4ReDB_jmpkn3AwAA@mail.gmail.com
State New
Headers show
Series [1/4] dt-bindings: sifive: Support 1024 hart contexts | expand

Commit Message

Atul Khare April 21, 2022, 5:07 a.m. UTC
Fixes device tree schema validation error messages like 'clocks
does not match any of the regexes: 'pinctrl-[0-9]+''.

The bindings for the memory element don't define the 'clock' and
'status' fields, and the presence of these elements was causing the
dt-schema checker to trip-up. Our operating assumption is that the
platform doesn't rely on the presence of these elements, and that
they were introduced by a typographical oversight.

Fixes: a2770b57d083 ("dt-bindings: timer: Add CLINT bindings")
Cc: stable@vger.kernel.org
Signed-off-by: Atul Khare <atulkhare@rivosinc.com>
---
 arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts | 4 ----
 1 file changed, 4 deletions(-)

--
2.35.1
diff mbox series

Patch

diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts
b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts
index cd2fe80fa81a..0a498a0f7eeb 100644
--- a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts
+++ b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts
@@ -32,15 +32,11 @@  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";
        };
 };