How to enable power button in Beaglebone Black Rev C?
Here is my device tree from i2c and tps:
`
i2c0_pins: pinmux_i2c0_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x988, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda /
AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0) / i2c0_scl.i2c0_scl */
;
};
&i2c0 {
pinctrl-names = “default”;
pinctrl-0 = <&i2c0_pins>;
status = “okay”;
clock-frequency = <400000>;
tps: tps@24 {
reg = <0x24>;
};
baseboard_eeprom: baseboard_eeprom@50 {
compatible = “atmel,24c256”;
reg = <0x50>;
#address-cells = <1>;
#size-cells = <1>;
baseboard_data: baseboard_data@0 {
reg = <0 0x100>;
};
};
};
&tps {
/*
- Configure pmic to enter OFF-state instead of SLEEP-state ("RTC-only
- mode") at poweroff. Most BeagleBone versions do not support RTC-only
- mode and risk hardware damage if this mode is entered.