6ac618a76866bd7e24c483b934f4b474664e62bd
[openwrt/staging/neocturne.git] /
1 From 6cf9f70255b90b540b9cbde062f18fea29024a75 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Thu, 19 Aug 2021 14:26:06 +0200
4 Subject: [PATCH] arm64: dts: broadcom: bcm4908: Move reboot syscon out of bus
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 This fixes following error for every bcm4908 DTS file:
10 bus@ff800000: reboot: {'type': 'object'} is not allowed for {'compatible': ['syscon-reboot'], 'regmap': [[15]], 'offset': [[52]], 'mask': [[1]]}
11
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
13 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 ---
15 arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi | 12 ++++++------
16 1 file changed, 6 insertions(+), 6 deletions(-)
17
18 --- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
19 +++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
20 @@ -326,12 +326,12 @@
21 #reset-cells = <1>;
22 };
23 };
24 + };
25
26 - reboot {
27 - compatible = "syscon-reboot";
28 - regmap = <&timer>;
29 - offset = <0x34>;
30 - mask = <1>;
31 - };
32 + reboot {
33 + compatible = "syscon-reboot";
34 + regmap = <&timer>;
35 + offset = <0x34>;
36 + mask = <1>;
37 };
38 };