提交 d98b53b9 编写于 作者: K Krzysztof Kozlowski

arm64: dts: exynos: Move syscon poweroff and restart nodes under the PMU

The PMU node is the actual block responsible for power management,
including typical Exynos on/off/restart procedures.  Therefore the
syscon poweroff and restart nodes logically belong to it.
Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org>
Tested-by: NMarek Szyprowski <m.szyprowski@samsung.com>
上级 60cc43fc
...@@ -231,13 +231,6 @@ ...@@ -231,13 +231,6 @@
cpu_on = <0xC4000003>; cpu_on = <0xC4000003>;
}; };
reboot: syscon-reboot {
compatible = "syscon-reboot";
regmap = <&pmu_system_controller>;
offset = <0x400>; /* SWRESET */
mask = <0x1>;
};
soc: soc { soc: soc {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
...@@ -799,6 +792,13 @@ ...@@ -799,6 +792,13 @@
#clock-cells = <1>; #clock-cells = <1>;
clock-names = "clkout16"; clock-names = "clkout16";
clocks = <&xxti>; clocks = <&xxti>;
reboot: syscon-reboot {
compatible = "syscon-reboot";
regmap = <&pmu_system_controller>;
offset = <0x400>; /* SWRESET */
mask = <0x1>;
};
}; };
gic: interrupt-controller@11001000 { gic: interrupt-controller@11001000 {
......
...@@ -494,13 +494,13 @@ ...@@ -494,13 +494,13 @@
pmu_system_controller: system-controller@105c0000 { pmu_system_controller: system-controller@105c0000 {
compatible = "samsung,exynos7-pmu", "syscon"; compatible = "samsung,exynos7-pmu", "syscon";
reg = <0x105c0000 0x5000>; reg = <0x105c0000 0x5000>;
};
reboot: syscon-reboot { reboot: syscon-reboot {
compatible = "syscon-reboot"; compatible = "syscon-reboot";
regmap = <&pmu_system_controller>; regmap = <&pmu_system_controller>;
offset = <0x0400>; offset = <0x0400>;
mask = <0x1>; mask = <0x1>;
};
}; };
rtc: rtc@10590000 { rtc: rtc@10590000 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册