drivers: pinctrl: rename nxp,kinetis-pinctrl to nxp,port-pinctrl
The NXP PORT pinmuxing peripheral is reused across the MCX, S32, and Kinetis lines. Rename the compatible from the family-specific nxp,kinetis-pinctrl to a more generic nxp,port-pinctrl to reflect the actual name for the IP block used within reference manuals. Update the NXP HAL revision to include a change to use the new Kconfig name for the PORT pinctrl driver Update the MAINTAINERS.yml path, as there are no longer any NXP drivers matching the string "drivers/*/*kinetis* Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
78c1def4db
commit
a36c7ddb36
26 changed files with 123 additions and 126 deletions
|
@ -3680,7 +3680,7 @@ NXP Drivers:
|
|||
- drivers/*/*.mcux
|
||||
- drivers/*/*.nxp
|
||||
- drivers/*/*nxp*
|
||||
- drivers/*/*kinetis*
|
||||
- drivers/*/*/*kinetis*
|
||||
- drivers/misc/*/nxp*
|
||||
- include/zephyr/dt-bindings/*/*nxp*
|
||||
- include/zephyr/dt-bindings/*/*mcux*
|
||||
|
|
|
@ -44,7 +44,7 @@ static int mcux_lpc_syscon_clock_control_on(const struct device *dev,
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_PINCTRL_NXP_KINETIS)
|
||||
#if defined(CONFIG_PINCTRL_NXP_PORT)
|
||||
switch ((uint32_t)sub_system) {
|
||||
#if defined(CONFIG_SOC_SERIES_MCXA)
|
||||
case MCUX_PORT0_CLK:
|
||||
|
@ -82,7 +82,7 @@ static int mcux_lpc_syscon_clock_control_on(const struct device *dev,
|
|||
default:
|
||||
break;
|
||||
}
|
||||
#endif /* defined(CONFIG_PINCTRL_NXP_KINETIS) */
|
||||
#endif /* defined(CONFIG_PINCTRL_NXP_PORT) */
|
||||
|
||||
#ifdef CONFIG_ETH_NXP_ENET_QOS
|
||||
if ((uint32_t)sub_system == MCUX_ENET_QOS_CLK) {
|
||||
|
|
|
@ -15,7 +15,7 @@ zephyr_library_sources_ifdef(CONFIG_PINCTRL_RPI_PICO pinctrl_rpi_pico.c)
|
|||
zephyr_library_sources_ifdef(CONFIG_PINCTRL_SAM pinctrl_sam.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_PINCTRL_SAM0 pinctrl_sam0.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_PINCTRL_STM32 pinctrl_stm32.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_PINCTRL_NXP_KINETIS pinctrl_kinetis.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_PINCTRL_NXP_PORT pinctrl_nxp_port.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_PINCTRL_MCHP_XEC pinctrl_mchp_xec.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_PINCTRL_IMX pinctrl_imx.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_PINCTRL_SIFIVE pinctrl_sifive.c)
|
||||
|
|
|
@ -44,7 +44,7 @@ source "drivers/pinctrl/Kconfig.rpi_pico"
|
|||
source "drivers/pinctrl/Kconfig.sam"
|
||||
source "drivers/pinctrl/Kconfig.sam0"
|
||||
source "drivers/pinctrl/Kconfig.stm32"
|
||||
source "drivers/pinctrl/Kconfig.kinetis"
|
||||
source "drivers/pinctrl/Kconfig.nxp_port"
|
||||
source "drivers/pinctrl/Kconfig.xec"
|
||||
source "drivers/pinctrl/Kconfig.imx"
|
||||
source "drivers/pinctrl/Kconfig.sifive"
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
# Copyright (c) 2022 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config PINCTRL_NXP_KINETIS
|
||||
bool "Pin controller driver for NXP Kinetis MCUs"
|
||||
default y
|
||||
depends on DT_HAS_NXP_KINETIS_PINMUX_ENABLED
|
||||
help
|
||||
Enable pin controller driver for NXP Kinetis MCUs
|
9
drivers/pinctrl/Kconfig.nxp_port
Normal file
9
drivers/pinctrl/Kconfig.nxp_port
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Copyright 2022, 2024 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config PINCTRL_NXP_PORT
|
||||
bool "Pin controller driver for NXP PORT peripheral"
|
||||
default y
|
||||
depends on DT_HAS_NXP_PORT_PINMUX_ENABLED
|
||||
help
|
||||
Enable pin controller driver for NXP PORT peripheral
|
|
@ -5,14 +5,14 @@
|
|||
*/
|
||||
|
||||
|
||||
#define DT_DRV_COMPAT nxp_kinetis_pinmux
|
||||
#define DT_DRV_COMPAT nxp_port_pinmux
|
||||
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <fsl_clock.h>
|
||||
|
||||
LOG_MODULE_REGISTER(pinctrl_kinetis, CONFIG_PINCTRL_LOG_LEVEL);
|
||||
LOG_MODULE_REGISTER(pinctrl_nxp_port, CONFIG_PINCTRL_LOG_LEVEL);
|
||||
|
||||
/* Port register addresses. */
|
||||
static PORT_Type *ports[] = {
|
||||
|
@ -52,10 +52,6 @@ int pinctrl_configure_pins(const pinctrl_soc_pin_t *pins, uint8_t pin_cnt,
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* Kinetis pinmux driver binds to the same DTS nodes,
|
||||
* and handles clock init. Only bind to these nodes if pinmux driver
|
||||
* is disabled.
|
||||
*/
|
||||
static int pinctrl_mcux_init(const struct device *dev)
|
||||
{
|
||||
const struct pinctrl_mcux_config *config = dev->config;
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -194,31 +194,31 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 9>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 10>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 11>;
|
||||
};
|
||||
|
||||
portd: pinmux@4004c000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004c000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 12>;
|
||||
};
|
||||
|
||||
porte: pinmux@4004d000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004d000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 13>;
|
||||
};
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -255,31 +255,31 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 9>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 10>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 11>;
|
||||
};
|
||||
|
||||
portd: pinmux@4004c000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004c000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 12>;
|
||||
};
|
||||
|
||||
porte: pinmux@4004d000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004d000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 13>;
|
||||
};
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -260,31 +260,31 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0x1000>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 9>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0x1000>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 10>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0x1000>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 11>;
|
||||
};
|
||||
|
||||
portd: pinmux@4004c000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004c000 0x1000>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 12>;
|
||||
};
|
||||
|
||||
porte: pinmux@4004d000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004d000 0x1000>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 13>;
|
||||
};
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -422,31 +422,31 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0x1000>;
|
||||
clocks = <&pcc 0x124 KINETIS_PCC_SRC_NONE_OR_EXT>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0x1000>;
|
||||
clocks = <&pcc 0x128 KINETIS_PCC_SRC_NONE_OR_EXT>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0x1000>;
|
||||
clocks = <&pcc 0x12c KINETIS_PCC_SRC_NONE_OR_EXT>;
|
||||
};
|
||||
|
||||
portd: pinmux@4004c000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004c000 0x1000>;
|
||||
clocks = <&pcc 0x130 KINETIS_PCC_SRC_NONE_OR_EXT>;
|
||||
};
|
||||
|
||||
porte: pinmux@4004d000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004d000 0x1000>;
|
||||
clocks = <&pcc 0x134 KINETIS_PCC_SRC_NONE_OR_EXT>;
|
||||
};
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
};
|
||||
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
};
|
||||
|
||||
soc {
|
||||
|
@ -187,31 +187,31 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0x1000>;
|
||||
clocks = <&pcc 0x124 KINETIS_PCC_SRC_NONE_OR_EXT>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0x1000>;
|
||||
clocks = <&pcc 0x128 KINETIS_PCC_SRC_NONE_OR_EXT>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0x1000>;
|
||||
clocks = <&pcc 0x12c KINETIS_PCC_SRC_NONE_OR_EXT>;
|
||||
};
|
||||
|
||||
portd: pinmux@4004c000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004c000 0x1000>;
|
||||
clocks = <&pcc 0x130 KINETIS_PCC_SRC_NONE_OR_EXT>;
|
||||
};
|
||||
|
||||
porte: pinmux@4004d000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004d000 0x1000>;
|
||||
clocks = <&pcc 0x134 KINETIS_PCC_SRC_NONE_OR_EXT>;
|
||||
};
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -119,31 +119,31 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 9>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 10>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 11>;
|
||||
};
|
||||
|
||||
portd: pinmux@4004c000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004c000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 12>;
|
||||
};
|
||||
|
||||
porte: pinmux@4004d000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004d000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 13>;
|
||||
};
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -177,31 +177,31 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0x1000>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 9>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0x1000>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 10>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0x1000>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 11>;
|
||||
};
|
||||
|
||||
portd: pinmux@4004c000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004c000 0x1000>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 12>;
|
||||
};
|
||||
|
||||
porte: pinmux@4004d000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004d000 0x1000>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 13>;
|
||||
};
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
/*
|
||||
* KW2XD is a system in package part, so the SPI1 controller is
|
||||
|
@ -176,31 +176,31 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 9>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 10>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 11>;
|
||||
};
|
||||
|
||||
portd: pinmux@4004c000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004c000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 12>;
|
||||
};
|
||||
|
||||
porte: pinmux@4004d000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004d000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 13>;
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -124,19 +124,19 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0xa4>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 9>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0xa4>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 10>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0xa4>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 11>;
|
||||
};
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -131,19 +131,19 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0xa4>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 9>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0xa4>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 10>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0xa4>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 11>;
|
||||
};
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -50,31 +50,31 @@
|
|||
};
|
||||
|
||||
porta: pinmux@400bc000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x400bc000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT0_CLK>;
|
||||
};
|
||||
|
||||
portb: pinmux@400bd000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x400bd000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT1_CLK>;
|
||||
};
|
||||
|
||||
portc: pinmux@400be000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x400be000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT2_CLK>;
|
||||
};
|
||||
|
||||
portd: pinmux@400bf000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x400bf000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT3_CLK>;
|
||||
};
|
||||
|
||||
porte: pinmux@400c0000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x400c0000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT4_CLK>;
|
||||
};
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -107,31 +107,31 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 9>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 10>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 11>;
|
||||
};
|
||||
|
||||
portd: pinmux@4004c000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004c000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 12>;
|
||||
};
|
||||
|
||||
porte: pinmux@4004d000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004d000 0xd0>;
|
||||
clocks = <&sim KINETIS_SIM_BUS_CLK 0x1038 13>;
|
||||
};
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
};
|
||||
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
@ -74,37 +74,37 @@
|
|||
};
|
||||
|
||||
porta: pinmux@116000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x116000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT0_CLK>;
|
||||
};
|
||||
|
||||
portb: pinmux@117000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x117000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT1_CLK>;
|
||||
};
|
||||
|
||||
portc: pinmux@118000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x118000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT2_CLK>;
|
||||
};
|
||||
|
||||
portd: pinmux@119000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x119000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT3_CLK>;
|
||||
};
|
||||
|
||||
porte: pinmux@11a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x11a000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT4_CLK>;
|
||||
};
|
||||
|
||||
portf: pinmux@42000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x42000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT5_CLK>;
|
||||
};
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
@ -80,37 +80,37 @@
|
|||
};
|
||||
|
||||
porta: pinmux@116000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x116000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT0_CLK>;
|
||||
};
|
||||
|
||||
portb: pinmux@117000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x117000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT1_CLK>;
|
||||
};
|
||||
|
||||
portc: pinmux@118000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x118000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT2_CLK>;
|
||||
};
|
||||
|
||||
portd: pinmux@119000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x119000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT3_CLK>;
|
||||
};
|
||||
|
||||
porte: pinmux@11a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x11a000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT4_CLK>;
|
||||
};
|
||||
|
||||
portf: pinmux@42000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x42000 0x1000>;
|
||||
clocks = <&syscon MCUX_PORT5_CLK>;
|
||||
};
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
};
|
||||
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -147,25 +147,25 @@
|
|||
};
|
||||
|
||||
porta: pinctrl@42000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x42000 0xe0>;
|
||||
clocks = <&scg SCG_K4_SLOW_CLK 0x108>;
|
||||
};
|
||||
|
||||
portb: pinctrl@43000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x43000 0xe0>;
|
||||
clocks = <&scg SCG_K4_SLOW_CLK 0x10c>;
|
||||
};
|
||||
|
||||
portc: pinctrl@44000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x44000 0xe0>;
|
||||
clocks = <&scg SCG_K4_SLOW_CLK 0x110>;
|
||||
};
|
||||
|
||||
portd: pinctrl@45000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x45000 0xe0>;
|
||||
clocks = <&scg SCG_K4_SLOW_CLK 0>;
|
||||
};
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
/* Dummy pinctrl node, filled with pin mux options at board level */
|
||||
pinctrl: pinctrl {
|
||||
compatible = "nxp,kinetis-pinctrl";
|
||||
compatible = "nxp,port-pinctrl";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -99,31 +99,31 @@
|
|||
};
|
||||
|
||||
porta: pinmux@40049000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x40049000 0x1000>;
|
||||
clocks = <&clock NXP_S32_PORTA_CLK>;
|
||||
};
|
||||
|
||||
portb: pinmux@4004a000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004a000 0x1000>;
|
||||
clocks = <&clock NXP_S32_PORTB_CLK>;
|
||||
};
|
||||
|
||||
portc: pinmux@4004b000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004b000 0x1000>;
|
||||
clocks = <&clock NXP_S32_PORTC_CLK>;
|
||||
};
|
||||
|
||||
portd: pinmux@4004c000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004c000 0x1000>;
|
||||
clocks = <&clock NXP_S32_PORTD_CLK>;
|
||||
};
|
||||
|
||||
porte: pinmux@4004d000 {
|
||||
compatible = "nxp,kinetis-pinmux";
|
||||
compatible = "nxp,port-pinmux";
|
||||
reg = <0x4004d000 0x1000>;
|
||||
clocks = <&clock NXP_S32_PORTE_CLK>;
|
||||
};
|
||||
|
|
|
@ -2,13 +2,14 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
Kinetis pinctrl node. This node will define pin configurations in pin groups,
|
||||
and has the 'pinctrl' node identifier in the SOC's devicetree. Each group
|
||||
within the pin configuration defines the pin configuration for a peripheral,
|
||||
and each numbered subgroup in the pin group defines all the pins for that
|
||||
peripheral with the same configuration properties. The 'pins' property in
|
||||
a group selects the pins to be configured, and the remaining properties set
|
||||
configuration values for those pins. Here is an example group for UART0 pins:
|
||||
NXP PORT pinctrl node. This node will define pin configurations in pin
|
||||
groups, and has the 'pinctrl' node identifier in the SOC's devicetree. Each
|
||||
group within the pin configuration defines the pin configuration for a
|
||||
peripheral, and each numbered subgroup in the pin group defines all the pins
|
||||
for that peripheral with the same configuration properties. The 'pins'
|
||||
property in a group selects the pins to be configured, and the remaining
|
||||
properties set configuration values for those pins. Here is an example
|
||||
group for UART0 pins:
|
||||
|
||||
uart0_default: uart0_default {
|
||||
group0 {
|
||||
|
@ -28,15 +29,15 @@ description: |
|
|||
PCR_DSE=<drive-strength selection>,
|
||||
PCR_PFE=0
|
||||
|
||||
compatible: "nxp,kinetis-pinctrl"
|
||||
compatible: "nxp,port-pinctrl"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
child-binding:
|
||||
description: Kinetis pin controller pin group
|
||||
description: NXP PORT pin controller pin group
|
||||
child-binding:
|
||||
description: |
|
||||
Kinetis pin controller pin configuration node
|
||||
NXP PORT pin controller pin configuration node
|
||||
|
||||
include:
|
||||
- name: pincfg-node.yaml
|
|
@ -1,6 +1,6 @@
|
|||
description: Kinetis pinmux node
|
||||
description: NXP PORT pinmux node
|
||||
|
||||
compatible: "nxp,kinetis-pinmux"
|
||||
compatible: "nxp,port-pinmux"
|
||||
|
||||
include: base.yaml
|
||||
|
2
west.yml
2
west.yml
|
@ -198,7 +198,7 @@ manifest:
|
|||
groups:
|
||||
- hal
|
||||
- name: hal_nxp
|
||||
revision: 3c64cd63125c86870802a561ce79dc33697b005c
|
||||
revision: cae40020064894f67b00215dad2baf7c743e1dfb
|
||||
path: modules/hal/nxp
|
||||
groups:
|
||||
- hal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue