forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: ps2: microchip: PS2 wakeup pin configured in overlay
Updated the overlay files with PS2 wakeup pin Signed-off-by: Manimaran A <manimaran.a@microchip.com>
- Loading branch information
1 parent
0f6cb5e
commit ed27c1b
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
samples/drivers/ps2/boards/mec1501modular_assy6885.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright (c) 2023 Microchip Technology Inc. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&ps2_0 { /* PS2DAT0B */ | ||
wakerx-gpios = <MCHP_GPIO_DECODE_010 GPIO_ACTIVE_HIGH>; | ||
wakeup-source; | ||
}; | ||
|
||
&ps2_1 { /* PS2DAT1B */ | ||
wakerx-gpios = <MCHP_GPIO_DECODE_155 GPIO_ACTIVE_HIGH>; | ||
wakeup-source; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright (c) 2023 Microchip Technology Inc. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&ps2_0 { /* PS2DAT0B */ | ||
wakerx-gpios = <MCHP_GPIO_DECODE_010 GPIO_ACTIVE_HIGH>; | ||
wakeup-source; | ||
}; | ||
|
||
&ps2_1 { /* PS2DAT1B */ | ||
wakerx-gpios = <MCHP_GPIO_DECODE_155 GPIO_ACTIVE_HIGH>; | ||
wakeup-source; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
* Copyright (c) 2023 Microchip Technology Inc. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&ps2_0 { /* PS2DAT0A */ | ||
wakerx-gpios = <MCHP_GPIO_DECODE_115 GPIO_ACTIVE_HIGH>; | ||
wakeup-source; | ||
}; |