ARM: dts: hisilicon: fix errors detected by syscon.yaml
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 12 Oct 2020 06:12:23 +0000 (14:12 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 24 Nov 2020 11:43:18 +0000 (19:43 +0800)
The DT binding for system controller is not allowed to contain only the
compatible string "syscon", the Hisilicon peripheral subsystem controller
should add compatible string "hisilicon,peri-subctrl". Otherwise, the
error "compatible: ['syscon'] is too short" will be reported.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm/boot/dts/hisi-x5hd2.dtsi

index 9a51389..9721138 100644 (file)
                };
 
                peripheral_ctrl: syscon@a20000 {
-                       compatible = "syscon";
+                       compatible = "hisilicon,peri-subctrl", "syscon";
                        reg = <0xa20000 0x1000>;
                };