mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 01:26:29 +07:00
31f031f73a
Most of the legacy "gpio-key,wakeup" property are already replaced
with "wakeup-source". However few occurrences of old property has
popped up again, probably from the remnants in downstream trees.
Almost all of those were remove couple of years back.
Replace the legacy properties with the unified "wakeup-source"
property introduced in the commit 700a38b27e
("Input: gpio_keys -
switch to using generic device properties")
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Peter Rosin <peda@axentia.se>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
65 lines
824 B
Plaintext
65 lines
824 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* at91-wb45n.dts - Device Tree file for WB45NBT board
|
|
*
|
|
* Copyright (C) 2018 Laird
|
|
*
|
|
*/
|
|
/dts-v1/;
|
|
#include "at91-wb45n.dtsi"
|
|
|
|
/ {
|
|
model = "Laird Workgroup Bridge 45N - Atmel AT91SAM (dt)";
|
|
compatible = "laird,wb45n", "laird,wbxx", "atmel,at91sam9x5", "atmel,at91sam9";
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
irqbtn@18 {
|
|
reg = <18>;
|
|
label = "IRQBTN";
|
|
linux,code = <99>;
|
|
gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
|
|
wakeup-source;
|
|
};
|
|
};
|
|
};
|
|
|
|
&watchdog {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&mmc0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&spi0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&macb0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dbgu {
|
|
status = "okay";
|
|
};
|
|
|
|
&usart0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usart3 {
|
|
status = "okay";
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
};
|