Linux Audio

Check our new training course

Loading...
v5.9
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition.
 
 
 
 
 4 */
 5
 6&pmu_system_controller {
 7	poweroff: syscon-poweroff {
 8		compatible = "syscon-poweroff";
 9		regmap = <&pmu_system_controller>;
10		offset = <0x330C>; /* PS_HOLD_CONTROL */
11		mask = <0x5200>; /* reset value */
12	};
13
14	reboot: syscon-reboot {
15		compatible = "syscon-reboot";
16		regmap = <&pmu_system_controller>;
17		offset = <0x0400>; /* SWRESET */
18		mask = <0x1>;
 
 
 
 
 
 
 
 
19	};
20};
v4.10.11
 
 1/*
 2 * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition.
 3 *
 4 * This program is free software; you can redistribute it and/or modify
 5 * it under the terms of the GNU General Public License version 2 as
 6 * published by the Free Software Foundation.
 7 */
 8
 9/ {
10	soc {
11		compatible = "simple-bus";
 
 
 
 
12
13		poweroff: syscon-poweroff {
14			compatible = "syscon-poweroff";
15			regmap = <&pmu_system_controller>;
16			offset = <0x330C>; /* PS_HOLD_CONTROL */
17			mask = <0x5200>; /* reset value */
18		};
19
20		reboot: syscon-reboot {
21			compatible = "syscon-reboot";
22			regmap = <&pmu_system_controller>;
23			offset = <0x0400>; /* SWRESET */
24			mask = <0x1>;
25		};
26	};
27};