arm64: dts: hi3660: adb reboot node
authorChen Jun <chenjun14@huawei.com>
Mon, 6 Feb 2017 02:51:03 +0000 (10:51 +0800)
committerDouglas RAILLARD <douglas.raillard@arm.com>
Tue, 14 Aug 2018 15:32:08 +0000 (16:32 +0100)
Add "hisilicon,hi3660-reboot" node for hi3660.

Eventually when we've transitioned to UEFI this can be dropped.
As we can then use syscon-reboot-mode.

Signed-off-by: Chen Feng <puck.chen@hisilicon.com>
Signed-off-by: Chen Jun <chenjun14@huawei.com>
arch/arm64/boot/dts/hisilicon/hi3660.dtsi

index 61638e0b845547e618aa9042b50daacd072f6ec9..5789075d4c18fb6b0e3fab9a2befe0c642e1fb65 100644 (file)
                        #clock-cells = <1>;
                };
 
+               reboot {
+                       compatible = "hisilicon,hi3660-reboot";
+                       pmu-regmap = <&pmuctrl>;
+                       sctrl-regmap = <&sctrl>;
+                       reboot-offset = <0x4>;
+               };
+
                iomcu: iomcu@ffd7e000 {
                        compatible = "hisilicon,hi3660-iomcu", "syscon";
                        reg = <0x0 0xffd7e000 0x0 0x1000>;