| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (C) 2025 PHYTEC Messtechnik GmbH |
| 4 |
* Author: Primoz Fiser <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
#include "imx93-pinfunc.h" |
| 8 |
|
| 9 |
/dts-v1/; |
| 10 |
/plugin/; |
| 11 |
|
| 12 |
/* |
| 13 |
* NOTE: Bind pinctrl_jtag to gpio2 so that the pinctrl settings are applied. |
| 14 |
* JTAG itself has no dedicated driver, so without attaching it to an active |
| 15 |
* device node (like gpio2), the pinmux configuration would not take effect. |
| 16 |
*/ |
| 17 |
&gpio2 { |
| 18 |
pinctrl-names = "default"; |
| 19 |
pinctrl-0 = <&pinctrl_jtag>; |
| 20 |
}; |
| 21 |
|
| 22 |
&iomuxc { |
| 23 |
pinctrl_jtag: jtaggrp { |
| 24 |
fsl,pins = < |
| 25 |
MX93_PAD_GPIO_IO24__JTAG_MUX_TDO 0x31e |
| 26 |
MX93_PAD_GPIO_IO25__JTAG_MUX_TCK 0x31e |
| 27 |
MX93_PAD_GPIO_IO26__JTAG_MUX_TDI 0x31e |
| 28 |
MX93_PAD_GPIO_IO27__JTAG_MUX_TMS 0x31e |
| 29 |
>; |
| 30 |
}; |
| 31 |
}; |