[PATCH linux dev-4.10 1/2] ARM: dts: aspeed: romulus: Add checkstop gpio-keys
Joel Stanley
joel at jms.id.au
Wed May 31 22:51:35 AEST 2017
On Wed, May 31, 2017 at 4:27 PM, Lei YU <mine260309 at gmail.com> wrote:
> Reviewed-by: Lei YU <mine260309 at gmail.com>
Thanks, applied to dev-4.10.
Cheers,
Joel
>
> On Thu, May 25, 2017 at 3:48 PM, Joel Stanley <joel at jms.id.au> wrote:
>> From: Nickolaus Gruendler <ngruend at us.ibm.com>
>>
>> Signed-off-by: Nickolaus Gruendler <ngruend at us.ibm.com>
>> Signed-off-by: Joel Stanley <joel at jms.id.au>
>> ---
>> arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
>> index ac728695e447..5ca0f6e6a6a4 100644
>> --- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
>> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
>> @@ -42,6 +42,16 @@
>> enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
>> trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
>> };
>> +
>> + gpio-keys {
>> + compatible = "gpio-keys";
>> +
>> + checkstop {
>> + label = "checkstop";
>> + gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
>> + linux,code = <ASPEED_GPIO(J, 2)>;
>> + };
>> + };
>> };
>>
>> &fmc {
>> --
>> 2.11.0
>>
More information about the openbmc
mailing list