Merge pull request #31 from brain-hackers/poweroff
Enable syscon-poweroff
This commit is contained in:
commit
8e94255c7d
|
@ -263,6 +263,12 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
power: power@80044000 {
|
||||
poweroff: poweroff {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
saif1: saif@80046000 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&saif1_pins_a>;
|
||||
|
|
|
@ -1114,8 +1114,16 @@
|
|||
};
|
||||
|
||||
power: power@80044000 {
|
||||
compatible = "syscon", "simple-mfd";
|
||||
reg = <0x80044000 0x2000>;
|
||||
status = "disabled";
|
||||
|
||||
poweroff: poweroff {
|
||||
compatible = "syscon-poweroff";
|
||||
regmap = <&power>;
|
||||
offset = <0x104>;
|
||||
value = <0x3e770001>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
saif1: saif@80046000 {
|
||||
|
|
|
@ -123,6 +123,9 @@ CONFIG_SPI=y
|
|||
CONFIG_SPI_GPIO=m
|
||||
CONFIG_SPI_MXS=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_POWER_RESET=y
|
||||
CONFIG_POWER_RESET_SYSCON=y
|
||||
CONFIG_POWER_RESET_SYSCON_POWEROFF=y
|
||||
# CONFIG_HWMON is not set
|
||||
CONFIG_WATCHDOG=y
|
||||
CONFIG_STMP3XXX_RTC_WATCHDOG=y
|
||||
|
|
Loading…
Reference in New Issue