Skip to content

Commit

Permalink
drivers: ps2: microchip: PS2 wakeup pin configured in overlay
Browse files Browse the repository at this point in the history
Updated the overlay files with PS2 wakeup pin

Signed-off-by: Manimaran A <manimaran.a@microchip.com>
  • Loading branch information
Manimaran-A authored and nashif committed Jun 17, 2023
1 parent 0f6cb5e commit ed27c1b
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
15 changes: 15 additions & 0 deletions samples/drivers/ps2/boards/mec1501modular_assy6885.overlay
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;
};
15 changes: 15 additions & 0 deletions samples/drivers/ps2/boards/mec15xxevb_assy6853.overlay
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;
};
10 changes: 10 additions & 0 deletions samples/drivers/ps2/boards/mec172xevb_assy6906.overlay
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;
};

0 comments on commit ed27c1b

Please sign in to comment.