Skip to content

Commit 9f03b96

Browse files
EmilioCBenmmahadevan108
authored andcommitted
dts: nxp: mcx: Updated Pinctrl Mask for MCXW device.
Updated pinctrl mask on MCXW device from 0x7 -> 0xF Register is a range of 4 bit values. Signed-off-by: Emilio Benavente <[email protected]>
1 parent 7a52cbb commit 9f03b96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dts/nxp/mcx/MCXW716CMFTA-pinctrl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#define KINETIS_MUX(port, pin, mux) \
1313
(((((port) - 'A') & 0xF) << 28) | \
1414
(((pin) & 0x3F) << 22) | \
15-
(((mux) & 0x7) << 8))
15+
(((mux) & 0xF) << 8))
1616

1717
#define PTA0 KINETIS_MUX('A',0,1) /* PTA_0 */
1818
#define WUU0_P0_PTA0 KINETIS_MUX('A',0,1) /* PTA_0 */

dts/nxp/mcx/MCXW727CMFTA-pinctrl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#define KINETIS_MUX(port, pin, mux) \
1414
(((((port) - 'A') & 0xF) << 28) | \
1515
(((pin) & 0x3F) << 22) | \
16-
(((mux) & 0x7) << 8))
16+
(((mux) & 0xF) << 8))
1717

1818
#define PTA0 KINETIS_MUX('A',0,1) /* PTA_0 */
1919
#define WUU0_P0_PTA0 KINETIS_MUX('A',0,1) /* PTA_0 */

0 commit comments

Comments
 (0)