[PATCH 06/18] MIPS: DTS: jz4780: fix rtc node as reported by dtbscheck

From: H. Nikolaus Schaller
Date: Fri Apr 08 2022 - 14:38:33 EST


arch/mips/boot/dts/ingenic/ci20.dtb: rtc@10003000: compatible: 'oneOf' conditional failed, one must be fixed:
['ingenic,jz4780-rtc'] is too short
'ingenic,jz4780-rtc' is not one of ['ingenic,jz4740-rtc', 'ingenic,jz4760-rtc']
'ingenic,jz4725b-rtc' was expected
From schema: Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml

Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
---
arch/mips/boot/dts/ingenic/jz4780.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi
index b5299eaffb84a..2021836983c96 100644
--- a/arch/mips/boot/dts/ingenic/jz4780.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi
@@ -145,7 +145,8 @@ ost: timer@e0 {
};

rtc_dev: rtc@10003000 {
- compatible = "ingenic,jz4780-rtc";
+ compatible = "ingenic,jz4780-rtc",
+ "ingenic,jz4760-rtc";
reg = <0x10003000 0x4c>;

interrupt-parent = <&intc>;
--
2.33.0