drivers: pinctrl: Add support for more ports

MCX has more port modules which requires updating
the pinctrl driver

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
Mahesh Mahadevan 2023-02-22 14:26:55 -06:00 committed by Fabio Baltieri
parent 879fe74dcd
commit 205a8fed79

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023 NXP
* Copyright 2022-2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -25,6 +25,9 @@ static PORT_Type *ports[] = {
#if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 4
(PORT_Type *)DT_REG_ADDR(DT_NODELABEL(porte)),
#endif
#if DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) > 5
(PORT_Type *)DT_REG_ADDR(DT_NODELABEL(portf)),
#endif
};
#define PIN(mux) (((mux) & 0xFC00000) >> 22)