Add i.MXRT family support
Subsystems (9)
v2 cover Add i.MXRT family support
This patchset add support for i.MXRT family starting from i.MXRT1050 SoC. It provides:
- i.MXRT1050 SoC entry
- i.MXRT pinctrl driver
- i.MXRT serial driver tweaking
- i.MXRT sdram controller driver
- i.MXRT usdhc driver tweaking
- i.MXRT1050-evk initial support
It uses all DM clocks all around and it loads correctly a basic Linux zImage.
Changes:V1->V2:
* added gpio driver adaption
* fixed potential failure on lpuart get_clock() if DM is not used
* introduced CONFIG_IMXRT and CONFIG_IMXRT1050 to prevent using ARCH_IMXRT
* removed lcd enabling from defconfig(it's still not available)
* added -u-boot.dtsi for imxrt1050-evk.dts board
* re-grouped some patch separating support for board and support for i.MXRT family
Giulio Benetti (21):
spl: fix entry_point equal to load_addr
armv7m: cache: add mmu_set_region_dcache_behaviour() stub for
compatibility
clk: imx: pllv3: register PLLV3 GENERIC and USB as 2 different clocks
clk: imx: pllv3: set div_mask differently if PLLV3 is GENERIC or USB
clk: imx: pllv3: add enable() support
clk: imx: pllv3: add disable() support
clk: imx: pllv3: add set_rate() support
clk: imx: pllv3: add PLLV3_SYS support
clk: imx: pllv3: add support for PLLV3_AV type
clk: imx: pfd: add set_rate()
clk: imx: add i.IMXRT1050 clk driver
pinctrl: add i.MXRT driver
gpio: mxc_gpio: add support for i.MXRT1050
ARM: dts: imxrt1050: add dtsi file
serial_lpuart: add clock enable if CONFIG_CLK is defined
serial_lpuart: add support for i.MXRT
ram: add SDRAM driver for i.MXRT SoCs
mmc: fsl_esdhc: make if(CONFIG_IS_ENABLED(CLK)) an #if statement
mmc: fsl_esdhc: add compatible for fsl, imxrt-usdhc
imx: Add basic support for the NXP IMXRT10xx SoC family
imx: imxrt1050-evk: Add support for the NXP i.MXRT1050-EVK
arch/arm/Kconfig | 10 + arch/arm/Makefile | 4 +- arch/arm/cpu/armv7m/cache.c | 6 + arch/arm/dts/Makefile | 2 + arch/arm/dts/imxrt1050-evk-u-boot.dtsi | 44 + arch/arm/dts/imxrt1050-evk.dts | 200 ++++ arch/arm/dts/imxrt1050.dtsi | 146 +++ arch/arm/include/asm/arch-imxrt/clock.h | 10 + arch/arm/include/asm/arch-imxrt/gpio.h | 19 + arch/arm/include/asm/arch-imxrt/imx-regs.h | 20 + arch/arm/include/asm/arch-imxrt/imxrt.h | 11 + arch/arm/include/asm/arch-imxrt/sys_proto.h | 11 + arch/arm/mach-imx/Makefile | 3 +- arch/arm/mach-imx/imxrt/Kconfig | 25 + arch/arm/mach-imx/imxrt/Makefile | 7 + arch/arm/mach-imx/imxrt/soc.c | 35 + board/freescale/imxrt1050-evk/Kconfig | 22 + board/freescale/imxrt1050-evk/MAINTAINERS | 6 + board/freescale/imxrt1050-evk/Makefile | 6 + board/freescale/imxrt1050-evk/README | 31 + board/freescale/imxrt1050-evk/imximage.cfg | 36 + board/freescale/imxrt1050-evk/imxrt1050-evk.c | 81 ++ common/spl/spl.c | 4 +- configs/imxrt1050-evk_defconfig | 69 ++ drivers/clk/imx/Kconfig | 16 + drivers/clk/imx/Makefile | 2 + drivers/clk/imx/clk-imxrt1050.c | 292 +++++ drivers/clk/imx/clk-pfd.c | 22 + drivers/clk/imx/clk-pllv3.c | 218 +++- drivers/gpio/mxc_gpio.c | 7 +- drivers/mmc/Kconfig | 2 +- drivers/mmc/fsl_esdhc_imx.c | 41 +- drivers/pinctrl/nxp/Kconfig | 14 + drivers/pinctrl/nxp/Makefile | 1 + drivers/pinctrl/nxp/pinctrl-imxrt.c | 40 + drivers/ram/Kconfig | 8 + drivers/ram/Makefile | 2 + drivers/ram/imxrt_sdram.c | 439 ++++++++ drivers/serial/serial_lpuart.c | 31 +- include/configs/imxrt1050-evk.h | 46 + include/dt-bindings/clock/imxrt1050-clock.h | 65 ++ include/dt-bindings/memory/imxrt-sdram.h | 100 ++ include/dt-bindings/pinctrl/pins-imxrt1050.h | 993 ++++++++++++++++++ include/fsl_lpuart.h | 3 +- 44 files changed, 3111 insertions(+), 39 deletions(-) create mode 100644 arch/arm/dts/imxrt1050-evk-u-boot.dtsi create mode 100644 arch/arm/dts/imxrt1050-evk.dts create mode 100644 arch/arm/dts/imxrt1050.dtsi create mode 100644 arch/arm/include/asm/arch-imxrt/clock.h create mode 100644 arch/arm/include/asm/arch-imxrt/gpio.h create mode 100644 arch/arm/include/asm/arch-imxrt/imx-regs.h create mode 100644 arch/arm/include/asm/arch-imxrt/imxrt.h create mode 100644 arch/arm/include/asm/arch-imxrt/sys_proto.h create mode 100644 arch/arm/mach-imx/imxrt/Kconfig create mode 100644 arch/arm/mach-imx/imxrt/Makefile create mode 100644 arch/arm/mach-imx/imxrt/soc.c create mode 100644 board/freescale/imxrt1050-evk/Kconfig create mode 100644 board/freescale/imxrt1050-evk/MAINTAINERS create mode 100644 board/freescale/imxrt1050-evk/Makefile create mode 100644 board/freescale/imxrt1050-evk/README create mode 100644 board/freescale/imxrt1050-evk/imximage.cfg create mode 100644 board/freescale/imxrt1050-evk/imxrt1050-evk.c create mode 100644 configs/imxrt1050-evk_defconfig create mode 100644 drivers/clk/imx/clk-imxrt1050.c create mode 100644 drivers/pinctrl/nxp/pinctrl-imxrt.c create mode 100644 drivers/ram/imxrt_sdram.c create mode 100644 include/configs/imxrt1050-evk.h create mode 100644 include/dt-bindings/clock/imxrt1050-clock.h create mode 100644 include/dt-bindings/memory/imxrt-sdram.h create mode 100644 include/dt-bindings/pinctrl/pins-imxrt1050.h
Signature · 1 line
2.20.1
PATCH v2 1/21 spl: fix entry_point equal to load_addr
At the moment entry_point is set to image_get_load(header) that sets it to "load address" instead of "entry point", assuming entry_point is equal to load_addr, but it's not true. Then load_addr is set to "entry_point - header_size", but this is wrong too since load_addr is not an entry point.
So use image_get_ep() for entry_point assignment and image_get_load() for load_addr assignment.
--- common/spl/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
common/spl/spl.c +2 -2
@@ -284,9 +284,9 @@ int spl_parse_image_header(struct spl_image_info *spl_image, spl_image->entry_point =image_get_ep (header); spl_image->size =image_get_data_size (header); }else { - spl_image->entry_point =image_get_load (header); + spl_image->entry_point =image_get_ep (header);/* Load including the header */ - spl_image->load_addr = spl_image->entry_point - + spl_image->load_addr =image_get_load (header) - header_size; spl_image->size =image_get_data_size (header) + header_size;
Signature · 1 line
2.20.1
PATCH v2 1/21 spl: fix entry_point equal to load_addr
Quoted 8 lines
At the moment
entry_pointis set toimage_get_load(header)that sets it to "load address" instead of "entry point", assumingentry_pointis equal toload_addr, but it's not true. Thenload_addris set to "entry_point-header_size", but this is wrong too sinceload_addris not an entry point.
So useimage_get_ep()forentry_pointassignment andimage_get_load()forload_addrassignment.Signed-off-by Giulio Benetti <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 1/21 spl: fix entry_point equal to load_addr
In reply to Giulio BenettiHi Giulio,
Quoted 29 lines
At the moment
entry_pointis set toimage_get_load(header)that sets it to "load address" instead of "entry point", assumingentry_pointis equal toload_addr, but it's not true. Thenload_addris set to "entry_point-header_size", but this is wrong too sinceload_addris not an entry point.So use
image_get_ep()forentry_pointassignment andimage_get_load()forload_addrassignment.Signed-off-by Giulio Benetti <[email protected]>--- common/spl/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)common/spl/spl.c +1
-1@@ -284,9 +284,9 @@ int spl_parse_image_header(struct spl_image_info *spl_image, spl_image->entry_point =image_get_ep (header); spl_image->size =image_get_data_size (header); }else { - spl_image->entry_point =image_get_load (header); + spl_image->entry_point =
image_get_ep(header); /* Load including the header */common/spl/spl.c +0
-1- spl_image->load_addr =
spl_image->entry_point-common/spl/spl.c +1
-0+ spl_image->load_addr =
Quoted 3 lines
image_get_load(header)-header_size;
spl_image->size=image_get_data_size(header)+header_size;
I'm concerned, that this change will silently break several boards - the problem is with assumption that entry point is equal to load_addr.
It would be best to pull this change ASAP, so we would have a chance to fix this by next release.
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200128/4a2d9831/attachment-0001.sig>
PATCH v2 1/21 spl: fix entry_point equal to load_addr
Hi Lukasz,
all patch series has already been applied, anyway I answer to your suggestions since something was missing and I'm going to create a patch for that.
So...
Quoted 38 lines · Lukasz Majewski
Hi Giulio,
Quoted 29 lines
At the moment
entry_pointis set toimage_get_load(header)that sets it to "load address" instead of "entry point", assumingentry_pointis equal toload_addr, but it's not true. Thenload_addris set to "entry_point-header_size", but this is wrong too sinceload_addris not an entry point.So use
image_get_ep()forentry_pointassignment andimage_get_load()forload_addrassignment.Signed-off-by Giulio Benetti <[email protected]>--- common/spl/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)common/spl/spl.c +1
-1@@ -284,9 +284,9 @@ int spl_parse_image_header(struct spl_image_info *spl_image, spl_image->entry_point =image_get_ep (header); spl_image->size =image_get_data_size (header); }else { - spl_image->entry_point =image_get_load (header); + spl_image->entry_point =
image_get_ep(header); /* Load including the header */common/spl/spl.c +0
-1- spl_image->load_addr =
spl_image->entry_point-common/spl/spl.c +1
-0+ spl_image->load_addr =Quoted 3 lines
image_get_load(header)-header_size;
spl_image->size=image_get_data_size(header)+header_size;I'm concerned, that this change will silently break several boards - the problem is with assumption that entry point is equal to
load_addr.
Quoted 2 lines
It would be best to pull this change ASAP, so we would have a chance to fix this by next release.
It's been committed after Patrice fixed a lot of boards:
https://gitlab.denx.de/u-boot/u-boot/commit/38a6cce65737096b836d43a22f09b7a54c9d020c
and
https://gitlab.denx.de/u-boot/u-boot/commit/74bb4570a952b06fecfafc5b961a5cb5147ec544
Indeed at the first moment it's been committed by Tom Rini and started to cause boot failure as you were worried for, then it's been reverted, then it's been re-applied after applying Patrice series.
Best regards
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Quoted 11 lines
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
PATCH v2 1/21 spl: fix entry_point equal to load_addr
Quoted 51 lines · On Tue, 28 Jan 2020 17:37:17 +0100 Giulio Benetti…
Hi Lukasz,
all patch series has already been applied, anyway I answer to your suggestions since something was missing and I'm going to create a patch for that.
So...
Quoted 39 lines · Lukasz Majewski
Hi Giulio,
Quoted 29 lines
At the moment
entry_pointis set toimage_get_load(header)that sets it to "load address" instead of "entry point", assumingentry_pointis equal toload_addr, but it's not true. Thenload_addris set to "entry_point-header_size", but this is wrong too sinceload_addris not an entry point.So use
image_get_ep()forentry_pointassignment andimage_get_load()forload_addrassignment.Signed-off-by: Giulio Benetti
<[email protected]> ---common/spl/spl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)common/spl/spl.c +0
-0@@ -284,9 +284,9 @@ int spl_parse_image_header(struct
spl_image_info*spl_image,spl_image->entry_point=image_get_ep(header);spl_image->size=image_get_data_size(header); } else {common/spl/spl.c +0
-1- spl_image->entry_point =
image_get_load(header);common/spl/spl.c +1
-0+ spl_image->entry_point =
image_get_ep(header); /* Load including the header */common/spl/spl.c +0
-1- spl_image->load_addr =
spl_image->entry_point-common/spl/spl.c +1
-0+ spl_image->load_addr =Quoted 3 lines
image_get_load(header)-header_size;
spl_image->size=image_get_data_size(header)+header_size;I'm concerned, that this change will silently break several boards - the problem is with assumption that entry point is equal to
load_addr.Quoted 2 lines
It would be best to pull this change ASAP, so we would have a chance to fix this by next release.
Quoted 9 lines
It's been committed after Patrice fixed a lot of boards:
https://gitlab.denx.de/u-boot/u-boot/commit/38a6cce65737096b836d43a22f09b7a54c9d020c
and
https://gitlab.denx.de/u-boot/u-boot/commit/74bb4570a952b06fecfafc5b961a5cb5147ec544Indeed at the first moment it's been committed by Tom Rini and started to cause boot failure as you were worried for, then it's been reverted, then it's been re-applied after applying Patrice series.
Ach... Ok. No problem then.
Quoted 1 line
Best regards
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200129/dad41610/attachment.sig>
PATCH v2 2/21 armv7m: cache: add mmu_set_region_dcache_behaviour() stub for compatibility
In reply to Giulio BenettiSince some driver requires this function add it as an empty stub when DCACHE is OFF.
--- arch/arm/cpu/armv7m/cache.c | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/cpu/armv7m/cache.c +6 -0
@@ -291,6 +291,12 @@ void flush_dcache_all(void)void invalidate_dcache_all (void ) { } + +void mmu_set_region_dcache_behaviour (phys_addr_t start,size_t size, +enum dcache_option option) +{ +} +#endif #if !CONFIG_IS_ENABLED (SYS_ICACHE_OFF )
Signature · 1 line
2.20.1
PATCH v2 2/21 armv7m: cache: add mmu_set_region_dcache_behaviour() stub for compatibility
Quoted 3 lines
Since some driver requires this function add it as an empty stub when DCACHE is OFF.
Signed-off-by Giulio Benetti <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 2/21 armv7m: cache: add mmu_set_region_dcache_behaviour() stub for compatibility
In reply to Giulio BenettiHi Giulio,
Quoted 1 line
Since some driver
I would prefer more verbose commit message. Please share which driver requires this change.
Quoted 15 lines
requires this function add it as an empty stub
when DCACHE is OFF.Signed-off-by Giulio Benetti <[email protected]>--- arch/arm/cpu/armv7m/cache.c | 6 ++++++ 1 file changed, 6 insertions(+)arch/arm/cpu/armv7m/cache.c +0
-0@@ -291,6 +291,12 @@ void flush_dcache_all(void)void invalidate_dcache_all (void ) {
arch/arm/cpu/armv7m/cache.c void flush_dcache_all(void) · line 302
Quoted 10 lines
arch/arm/cpu/armv7m/cache.c +6
-0} + +void mmu_set_region_dcache_behaviour (phys_addr_t start,size_t size, +enum dcache_option option) +{ +} +#endif #if !CONFIG_IS_ENABLED (SYS_ICACHE_OFF )
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200128/ee6478d2/attachment.sig>
PATCH v2 2/21 armv7m: cache: add mmu_set_region_dcache_behaviour() stub for compatibility
Quoted 6 lines · Lukasz Majewski
Hi Giulio,
Quoted 1 line
Since some driver
I would prefer more verbose commit message. Please share which driver requires this change.
Yes, you were right, this is a quite dumb commit log.
Now commit log can't be changed, anyway this is the list of drivers that use it:drivers/video/mvebu_lcd.cdrivers/video/mxsfb.c (that I'm going to use soon) drivers/video/bcm2835.cdrivers/video/fsl_dcu_fb.cdrivers/video/tegra.cdrivers/video/imx/mxc_ipuv3_fb.c
drivers/net/zynq_gem.cdrivers/net/mvneta.cdrivers/net/mvpp2.c
And this function prototype is provided by arch/arm/include/asm/system.h
Everything came out when I've tried to build mxsfb.c.
But after this e-mail I've dug deeper and see that sometimes mmu_set_region_dcache_behaviour() call is guarded by CONFIG_IS_ENABLED(SYS_DCACHE_OFF) and sometimes i.e. arch/arm/cpu/armv8/cache_v8.c that function is defined both implemented and empty according to CONFIG_IS_ENABLED(SYS_DCACHE_OFF). So one chance is to put a check to guard against CONFIG_IS_ENABLED(SYS_DCACHE_OFF) on every call(the files listed above), otherwise, where is guarded we should remove the guard and adding missing mmu_set_region_dcache_behaviour() empty implementation. ~5 files to touch, but if you say it's worth, I can do patches for that, and I don't see any drawbacks expect having a standard way on dealing with the cache function.
What about that?
Kind regards
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Quoted 37 lines
Quoted 15 lines
requires this function add it as an empty stub
when DCACHE is OFF.Signed-off-by Giulio Benetti <[email protected]>--- arch/arm/cpu/armv7m/cache.c | 6 ++++++ 1 file changed, 6 insertions(+)arch/arm/cpu/armv7m/cache.c +0
-0@@ -291,6 +291,12 @@ void flush_dcache_all(void)void invalidate_dcache_all (void ) {arch/arm/cpu/armv7m/cache.c void flush_dcache_all(void) · line 302
Quoted 10 lines
arch/arm/cpu/armv7m/cache.c +6
-0} + +void mmu_set_region_dcache_behaviour (phys_addr_t start,size_t size, +enum dcache_option option) +{ +} +#endif #if !CONFIG_IS_ENABLED (SYS_ICACHE_OFF )Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
PATCH v2 2/21 armv7m: cache: add mmu_set_region_dcache_behaviour() stub for compatibility
Quoted 41 lines · On Tue, 28 Jan 2020 17:50:03 +0100 Giulio Benetti…
Quoted 6 lines · Lukasz Majewski
Hi Giulio,
Quoted 1 line
Since some driver
I would prefer more verbose commit message. Please share which driver requires this change.
Yes, you were right, this is a quite dumb commit log.
Now commit log can't be changed, anyway this is the list of drivers that use it:
drivers/video/mvebu_lcd.cdrivers/video/mxsfb.c(that I'm going to use soon)drivers/video/bcm2835.cdrivers/video/fsl_dcu_fb.cdrivers/video/tegra.cdrivers/video/imx/mxc_ipuv3_fb.c
drivers/net/zynq_gem.cdrivers/net/mvneta.cdrivers/net/mvpp2.cAnd this function prototype is provided by
arch/arm/include/asm/system.hEverything came out when I've tried to build
mxsfb.c.But after this e-mail I've dug deeper and see that sometimes
mmu_set_region_dcache_behaviour()call is guarded byCONFIG_IS_ENABLED(SYS_DCACHE_OFF)and sometimes i.e.arch/arm/cpu/armv8/cache_v8.cthat function is defined both implemented and empty according toCONFIG_IS_ENABLED(SYS_DCACHE_OFF). So one chance is to put a check to guard againstCONFIG_IS_ENABLED(SYS_DCACHE_OFF)on every call(the files listed above), otherwise, where is guarded we should remove the guard and adding missingmmu_set_region_dcache_behaviour()empty implementation. ~5 files to touch, but if you say it's worth, I can do patches for that, and I don't see any drawbacks expect having a standard way on dealing with the cache function.
Quoted 1 line
What about that?
IMHO, it would be best to to this change when you decide to add support for DCACHE/ICACHE on this SoC.
Quoted 2 lines
Kind regards
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200129/ebd39903/attachment.sig>
PATCH v2 3/21 clk: imx: pllv3: register PLLV3 GENERIC and USB as 2 different clocks
In reply to Giulio BenettiBetter to register the 2 clock as 2 different drivers because they work slightly differently depending on power_bit and powerup_set bits coming on next patches.
--- drivers/clk/imx/clk-pllv3.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-)
drivers/clk/imx/clk-pllv3.c +15 -5
@@ -13,7 +13,8 @@#include <clk.h> #include "clk.h" -#define UBOOT_DM_CLK_IMX_PLLV3 "imx_clk_pllv3" +#define UBOOT_DM_CLK_IMX_PLLV3_GENERIC "imx_clk_pllv3_generic" +#define UBOOT_DM_CLK_IMX_PLLV3_USB "imx_clk_pllv3_usb"struct clk_pllv3 {struct clk clk;
@@ -24,7 +25,7 @@ struct clk_pllv3 {#define to_clk_pllv3 (_clk) container_of(_clk, struct clk_pllv3, clk) -static ulong clk_pllv3_get_rate (struct clk *clk) +static ulong clk_pllv3_generic_get_rate (struct clk *clk) {struct clk_pllv3 *pll =to_clk_pllv3 (dev_get_clk_ptr (clk->dev));unsigned long parent_rate =clk_get_parent_rate (clk);
@@ -35,7 +36,7 @@ static ulong clk_pllv3_get_rate(struct clk *clk) }static const struct clk_ops clk_pllv3_generic_ops = { - .get_rate = clk_pllv3_get_rate, + .get_rate = clk_pllv3_generic_get_rate, }; struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name,
@@ -53,8 +54,10 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name,switch (type) {case IMX_PLLV3_GENERIC : + drv_name =UBOOT_DM_CLK_IMX_PLLV3_GENERIC ; +break ;case IMX_PLLV3_USB : - drv_name =UBOOT_DM_CLK_IMX_PLLV3 ; + drv_name =UBOOT_DM_CLK_IMX_PLLV3_USB ;break ;default :kfree (pll);
@@ -75,7 +78,14 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name, }U_BOOT_DRIVER (clk_pllv3_generic) = { - .name =UBOOT_DM_CLK_IMX_PLLV3 , + .name =UBOOT_DM_CLK_IMX_PLLV3_GENERIC , + .id =UCLASS_CLK , + .ops = &clk_pllv3_generic_ops, + .flags =DM_FLAG_PRE_RELOC , +}; + +U_BOOT_DRIVER (clk_pllv3_usb) = { + .name =UBOOT_DM_CLK_IMX_PLLV3_USB , .id =UCLASS_CLK , .ops = &clk_pllv3_generic_ops, .flags =DM_FLAG_PRE_RELOC ,
Signature · 1 line
2.20.1
PATCH v2 3/21 clk: imx: pllv3: register PLLV3 GENERIC and USB as 2 different clocks
Quoted 5 lines
Better to register the 2 clock as 2 different drivers because they work slightly differently depending on
power_bitandpowerup_setbits coming on next patches.Signed-off-by Giulio Benetti <[email protected]>Reviewed-by Lukasz Majewski <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 4/21 clk: imx: pllv3: set div_mask differently if PLLV3 is GENERIC or USB
In reply to Giulio Benettidiv_mask is different for GENERIC and USB pll, so set it according.
--- drivers/clk/imx/clk-pllv3.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/clk/imx/clk-pllv3.c +2 -0
@@ -55,9 +55,11 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name,switch (type) {case IMX_PLLV3_GENERIC : drv_name =UBOOT_DM_CLK_IMX_PLLV3_GENERIC ; + pll->div_shift =0 ;break ;case IMX_PLLV3_USB : drv_name =UBOOT_DM_CLK_IMX_PLLV3_USB ; + pll->div_shift =1 ;break ;default :kfree (pll);
Signature · 1 line
2.20.1
PATCH v2 4/21 clk: imx: pllv3: set div_mask differently if PLLV3 is GENERIC or USB
Quoted 3 lines
div_maskis different for GENERIC and USB pll, so set it according.Signed-off-by Giulio Benetti <[email protected]>Reviewed-by Lukasz Majewski <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 5/21 clk: imx: pllv3: add enable() support
In reply to Giulio BenettiBefore set_rate() pllv3 needs enable() to power the pll up. Add enable() taking into account different power_bit and different powerup_set, because some pll needs its power_bit to be set or reset to be powered on.
--- drivers/clk/imx/clk-pllv3.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
drivers/clk/imx/clk-pllv3.c +24 -0
@@ -16,9 +16,13 @@#define UBOOT_DM_CLK_IMX_PLLV3_GENERIC "imx_clk_pllv3_generic"#define UBOOT_DM_CLK_IMX_PLLV3_USB "imx_clk_pllv3_usb" +#define BM_PLL_POWER (0x1 << 12) +struct clk_pllv3 {struct clk clk;void __iomem *base; +u32 power_bit; +bool powerup_set;u32 div_mask;u32 div_shift; };
@@ -35,8 +39,24 @@ static ulong clk_pllv3_generic_get_rate(struct clk *clk)return (div ==1 ) ? parent_rate *22 : parent_rate *20 ; } +static int clk_pllv3_generic_enable (struct clk *clk) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +u32 val; + + val =readl (pll->base); +if (pll->powerup_set) + val |= pll->power_bit; +else + val &= ~pll->power_bit; +writel (val, pll->base); + +return 0 ; +} +static const struct clk_ops clk_pllv3_generic_ops = { .get_rate = clk_pllv3_generic_get_rate, + .enable = clk_pllv3_generic_enable, }; struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name,
@@ -52,14 +72,18 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name,if (!pll)return ERR_PTR (-ENOMEM ); + pll->power_bit =BM_PLL_POWER ; +switch (type) {case IMX_PLLV3_GENERIC : drv_name =UBOOT_DM_CLK_IMX_PLLV3_GENERIC ; pll->div_shift =0 ; + pll->powerup_set = false;break ;case IMX_PLLV3_USB : drv_name =UBOOT_DM_CLK_IMX_PLLV3_USB ; pll->div_shift =1 ; + pll->powerup_set = true;break ;default :kfree (pll);
Signature · 1 line
2.20.1
PATCH v2 5/21 clk: imx: pllv3: add enable() support
Quoted 5 lines
Before
set_rate()pllv3 needsenable()to power the pll up. Addenable()taking into account differentpower_bitand differentpowerup_set, because some pll needs itspower_bitto be set or reset to be powered on.Signed-off-by Giulio Benetti <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 5/21 clk: imx: pllv3: add enable() support
In reply to Giulio BenettiHi Giulio,
Quoted 4 lines
Before
set_rate()pllv3 needsenable()to power the pll up. Addenable()taking into account differentpower_bitand differentpowerup_set, because some pll needs itspower_bitto be set or reset to be powered on.
I do guess that this code is similar to what we do have in the Linux kernel (and which I've probably omitted as it was not needed in the i.MX6Q use case)?
Quoted 58 lines
Signed-off-by Giulio Benetti <[email protected]>--- drivers/clk/imx/clk-pllv3.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)drivers/clk/imx/clk-pllv3.c +22
-0@@ -16,9 +16,13 @@#define UBOOT_DM_CLK_IMX_PLLV3_GENERIC "imx_clk_pllv3_generic"#define UBOOT_DM_CLK_IMX_PLLV3_USB "imx_clk_pllv3_usb" +#define BM_PLL_POWER (0x1 << 12) +struct clk_pllv3 {struct clk clk;void __iomem *base; +u32 power_bit; +bool powerup_set;u32 div_mask;u32 div_shift; };@@ -35,8 +39,24 @@ static ulong clk_pllv3_generic_get_rate(struct clk *clk) return (div == 1) ? parent_rate * 22 : parent_rate * 20; } +static int clk_pllv3_generic_enable (struct clk *clk) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +u32 val; + + val =readl (pll->base); +if (pll->powerup_set) + val |= pll->power_bit; +else + val &= ~pll->power_bit; +writel (val, pll->base); + +return 0 ; +} +static const struct clk_ops clk_pllv3_generic_ops = { .get_rate = clk_pllv3_generic_get_rate, + .enable = clk_pllv3_generic_enable, }; struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name,@@ -52,14 +72,18 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name, if (!pll)return ERR_PTR (-ENOMEM ); + pll->power_bit =BM_PLL_POWER ; +switch (type) {case IMX_PLLV3_GENERIC : drv_name =UBOOT_DM_CLK_IMX_PLLV3_GENERIC ;
drivers/clk/imx/clk-pllv3.c struct clk *imx_clk_pllv3(enum imx_pllv3_type · line 89
Quoted 10 lines
drivers/clk/imx/clk-pllv3.c +2
-0pll->div_shift =0 ; + pll->powerup_set = false;break ;case IMX_PLLV3_USB : drv_name =UBOOT_DM_CLK_IMX_PLLV3_USB ; pll->div_shift =1 ; + pll->powerup_set = true;break ;default :kfree (pll);
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200128/ccfb34a9/attachment.sig>
PATCH v2 5/21 clk: imx: pllv3: add enable() support
Quoted 10 lines · Lukasz Majewski
Hi Giulio,
Quoted 4 lines
Before
set_rate()pllv3 needsenable()to power the pll up. Addenable()taking into account differentpower_bitand differentpowerup_set, because some pll needs itspower_bitto be set or reset to be powered on.I do guess that this code is similar to what we do have in the Linux kernel (and which I've probably omitted as it was not needed in the i.MX6Q use case)?
Exactly, in i.MXRT case need a different enabling sequence and this can be useful for other i.MX families.
Best regards
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Quoted 82 lines
Quoted 58 lines
Signed-off-by Giulio Benetti <[email protected]>--- drivers/clk/imx/clk-pllv3.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)drivers/clk/imx/clk-pllv3.c +22
-0@@ -16,9 +16,13 @@#define UBOOT_DM_CLK_IMX_PLLV3_GENERIC "imx_clk_pllv3_generic"#define UBOOT_DM_CLK_IMX_PLLV3_USB "imx_clk_pllv3_usb" +#define BM_PLL_POWER (0x1 << 12) +struct clk_pllv3 {struct clk clk;void __iomem *base; +u32 power_bit; +bool powerup_set;u32 div_mask;u32 div_shift; };@@ -35,8 +39,24 @@ static ulong clk_pllv3_generic_get_rate(struct clk *clk) return (div == 1) ? parent_rate * 22 : parent_rate * 20; } +static int clk_pllv3_generic_enable (struct clk *clk) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +u32 val; + + val =readl (pll->base); +if (pll->powerup_set) + val |= pll->power_bit; +else + val &= ~pll->power_bit; +writel (val, pll->base); + +return 0 ; +} +static const struct clk_ops clk_pllv3_generic_ops = { .get_rate = clk_pllv3_generic_get_rate, + .enable = clk_pllv3_generic_enable, }; struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name,@@ -52,14 +72,18 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name, if (!pll)return ERR_PTR (-ENOMEM ); + pll->power_bit =BM_PLL_POWER ; +switch (type) {case IMX_PLLV3_GENERIC : drv_name =UBOOT_DM_CLK_IMX_PLLV3_GENERIC ;drivers/clk/imx/clk-pllv3.c struct clk *imx_clk_pllv3(enum imx_pllv3_type · line 89
Quoted 10 lines
drivers/clk/imx/clk-pllv3.c +2
-0pll->div_shift =0 ; + pll->powerup_set = false;break ;case IMX_PLLV3_USB : drv_name =UBOOT_DM_CLK_IMX_PLLV3_USB ; pll->div_shift =1 ; + pll->powerup_set = true;break ;default :kfree (pll);Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
PATCH v2 6/21 clk: imx: pllv3: add disable() support
In reply to Giulio BenettiAdd disable() support.
--- drivers/clk/imx/clk-pllv3.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
drivers/clk/imx/clk-pllv3.c +16 -0
@@ -54,9 +54,25 @@ static int clk_pllv3_generic_enable(struct clk *clk)return 0 ; } +static int clk_pllv3_generic_disable (struct clk *clk) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +u32 val; + + val =readl (pll->base); +if (pll->powerup_set) + val &= ~pll->power_bit; +else + val |= pll->power_bit; +writel (val, pll->base); + +return 0 ; +} +static const struct clk_ops clk_pllv3_generic_ops = { .get_rate = clk_pllv3_generic_get_rate, .enable = clk_pllv3_generic_enable, + .disable = clk_pllv3_generic_disable, }; struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name,
Signature · 1 line
2.20.1
PATCH v2 6/21 clk: imx: pllv3: add disable() support
Quoted 3 lines
Add
disable()support.Signed-off-by Giulio Benetti <[email protected]>Reviewed-by Lukasz Majewski <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 7/21 clk: imx: pllv3: add set_rate() support
In reply to Giulio BenettiAdd generic set_rate() support.
--- drivers/clk/imx/clk-pllv3.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
drivers/clk/imx/clk-pllv3.c +27 -0
@@ -17,6 +17,7 @@#define UBOOT_DM_CLK_IMX_PLLV3_USB "imx_clk_pllv3_usb"#define BM_PLL_POWER (0x1 << 12) +#define BM_PLL_LOCK (0x1 << 31)struct clk_pllv3 {struct clk clk;
@@ -39,6 +40,31 @@ static ulong clk_pllv3_generic_get_rate(struct clk *clk)return (div ==1 ) ? parent_rate *22 : parent_rate *20 ; } +static ulong clk_pllv3_generic_set_rate (struct clk *clk,ulong rate) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +unsigned long parent_rate =clk_get_parent_rate (clk); +u32 val, div; + +if (rate == parent_rate *22 ) + div =1 ; +else if (rate == parent_rate *20 ) + div =0 ; +else +return -EINVAL ; + + val =readl (pll->base); + val &= ~(pll->div_mask << pll->div_shift); + val |= (div << pll->div_shift); +writel (val, pll->base); + +/* Wait for PLL to lock */ +while (!(readl (pll->base) &BM_PLL_LOCK )) + ; + +return 0 ; +} +static int clk_pllv3_generic_enable (struct clk *clk) {struct clk_pllv3 *pll =to_clk_pllv3 (clk);
@@ -73,6 +99,7 @@ static const struct clk_ops clk_pllv3_generic_ops = { .get_rate = clk_pllv3_generic_get_rate, .enable = clk_pllv3_generic_enable, .disable = clk_pllv3_generic_disable, + .set_rate = clk_pllv3_generic_set_rate, }; struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name,
Signature · 1 line
2.20.1
PATCH v2 7/21 clk: imx: pllv3: add set_rate() support
Quoted 3 lines
Add generic
set_rate()support.Signed-off-by Giulio Benetti <[email protected]>Reviewed-by Lukasz Majewski <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 8/21 clk: imx: pllv3: add PLLV3_SYS support
In reply to Giulio BenettiAdd PLLV3_SYS support by adding set/get_rate() for PLLV3_SYS but keeping generic enable()/disable(). Add a different driver because ops are different respect to GENERIC/USB.
--- drivers/clk/imx/clk-pllv3.c | 53 +++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+)
drivers/clk/imx/clk-pllv3.c +53 -0
@@ -14,6 +14,7 @@#include "clk.h" #define UBOOT_DM_CLK_IMX_PLLV3_GENERIC "imx_clk_pllv3_generic" +#define UBOOT_DM_CLK_IMX_PLLV3_SYS "imx_clk_pllv3_sys"#define UBOOT_DM_CLK_IMX_PLLV3_USB "imx_clk_pllv3_usb"#define BM_PLL_POWER (0x1 << 12)
@@ -102,6 +103,46 @@ static const struct clk_ops clk_pllv3_generic_ops = { .set_rate = clk_pllv3_generic_set_rate, }; +static ulong clk_pllv3_sys_get_rate (struct clk *clk) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +unsigned long parent_rate =clk_get_parent_rate (clk); +u32 div =readl (pll->base) & pll->div_mask; + +return parent_rate * div /2 ; +} + +static ulong clk_pllv3_sys_set_rate (struct clk *clk,ulong rate) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +unsigned long parent_rate =clk_get_parent_rate (clk); +unsigned long min_rate = parent_rate *54 /2 ; +unsigned long max_rate = parent_rate *108 /2 ; +u32 val, div; + +if (rate < min_rate || rate > max_rate) +return -EINVAL ; + + div = rate *2 / parent_rate; + val =readl (pll->base); + val &= ~pll->div_mask; + val |= div; +writel (val, pll->base); + +/* Wait for PLL to lock */ +while (!(readl (pll->base) &BM_PLL_LOCK )) + ; + +return 0 ; +} + +static const struct clk_ops clk_pllv3_sys_ops = { + .enable = clk_pllv3_generic_enable, + .disable = clk_pllv3_generic_disable, + .get_rate = clk_pllv3_sys_get_rate, + .set_rate = clk_pllv3_sys_set_rate, +}; +struct clk *imx_clk_pllv3 (enum imx_pllv3_type type,const char *name,const char *parent_name,void __iomem *base,u32 div_mask)
@@ -123,6 +164,11 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name, pll->div_shift =0 ; pll->powerup_set = false;break ; +case IMX_PLLV3_SYS : + drv_name =UBOOT_DM_CLK_IMX_PLLV3_SYS ; + pll->div_shift =0 ; + pll->powerup_set = false; +break ;case IMX_PLLV3_USB : drv_name =UBOOT_DM_CLK_IMX_PLLV3_USB ; pll->div_shift =1 ;
@@ -153,6 +199,13 @@ U_BOOT_DRIVER(clk_pllv3_generic) = { .flags = DM_FLAG_PRE_RELOC, }; +U_BOOT_DRIVER (clk_pllv3_sys) = { + .name =UBOOT_DM_CLK_IMX_PLLV3_SYS , + .id =UCLASS_CLK , + .ops = &clk_pllv3_sys_ops, + .flags =DM_FLAG_PRE_RELOC , +}; +U_BOOT_DRIVER (clk_pllv3_usb) = { .name =UBOOT_DM_CLK_IMX_PLLV3_USB , .id =UCLASS_CLK ,
Signature · 1 line
2.20.1
PATCH v2 8/21 clk: imx: pllv3: add PLLV3_SYS support
Quoted 5 lines
Add
PLLV3_SYSsupport by adding set/get_rate() forPLLV3_SYSbut keeping generic enable()/disable(). Add a different driver because ops are different respect to GENERIC/USB.Signed-off-by Giulio Benetti <[email protected]>Reviewed-by Lukasz Majewski <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 9/21 clk: imx: pllv3: add support for PLLV3_AV type
In reply to Giulio BenettiAdd support for PLLV3 AV type.
--- drivers/clk/imx/clk-pllv3.c | 76 +++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+)
drivers/clk/imx/clk-pllv3.c +76 -0
@@ -6,6 +6,7 @@#include <common.h> #include <asm/io.h> +#include <div64.h> #include <malloc.h> #include <clk-uclass.h> #include <dm/device.h>
@@ -16,6 +17,10 @@#define UBOOT_DM_CLK_IMX_PLLV3_GENERIC "imx_clk_pllv3_generic"#define UBOOT_DM_CLK_IMX_PLLV3_SYS "imx_clk_pllv3_sys"#define UBOOT_DM_CLK_IMX_PLLV3_USB "imx_clk_pllv3_usb" +#define UBOOT_DM_CLK_IMX_PLLV3_AV "imx_clk_pllv3_av" + +#define PLL_NUM_OFFSET 0x10 +#define PLL_DENOM_OFFSET 0x20#define BM_PLL_POWER (0x1 << 12)#define BM_PLL_LOCK (0x1 << 31)
@@ -143,6 +148,65 @@ static const struct clk_ops clk_pllv3_sys_ops = { .set_rate = clk_pllv3_sys_set_rate, }; +static ulong clk_pllv3_av_get_rate (struct clk *clk) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +unsigned long parent_rate =clk_get_parent_rate (clk); +u32 mfn =readl (pll->base +PLL_NUM_OFFSET ); +u32 mfd =readl (pll->base +PLL_DENOM_OFFSET ); +u32 div =readl (pll->base) & pll->div_mask; +u64 temp64 = (u64 )parent_rate; + + temp64 *= mfn; +do_div (temp64, mfd); + +return parent_rate * div + (unsigned long )temp64; +} + +static ulong clk_pllv3_av_set_rate (struct clk *clk,ulong rate) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +unsigned long parent_rate =clk_get_parent_rate (clk); +unsigned long min_rate = parent_rate *27 ; +unsigned long max_rate = parent_rate *54 ; +u32 val, div; +u32 mfn, mfd =1000000 ; +u32 max_mfd =0x3FFFFFFF ; +u64 temp64; + +if (rate < min_rate || rate > max_rate) +return -EINVAL ; + +if (parent_rate <= max_mfd) + mfd = parent_rate; + + div = rate / parent_rate; + temp64 = (u64)(rate - div * parent_rate); + temp64 *= mfd; +do_div (temp64, parent_rate); + mfn = temp64; + + val =readl (pll->base); + val &= ~pll->div_mask; + val |= div; +writel (val, pll->base); +writel (mfn, pll->base +PLL_NUM_OFFSET ); +writel (mfd, pll->base +PLL_DENOM_OFFSET ); + +/* Wait for PLL to lock */ +while (!(readl (pll->base) &BM_PLL_LOCK )) + ; + +return 0 ; +} + +static const struct clk_ops clk_pllv3_av_ops = { + .enable = clk_pllv3_generic_enable, + .disable = clk_pllv3_generic_disable, + .get_rate = clk_pllv3_av_get_rate, + .set_rate = clk_pllv3_av_set_rate, +}; +struct clk *imx_clk_pllv3 (enum imx_pllv3_type type,const char *name,const char *parent_name,void __iomem *base,u32 div_mask)
@@ -174,6 +238,11 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name, pll->div_shift =1 ; pll->powerup_set = true;break ; +case IMX_PLLV3_AV : + drv_name =UBOOT_DM_CLK_IMX_PLLV3_AV ; + pll->div_shift =0 ; + pll->powerup_set = false; +break ;default :kfree (pll);return ERR_PTR (-ENOTSUPP );
@@ -212,3 +281,10 @@ U_BOOT_DRIVER(clk_pllv3_usb) = { .ops = &clk_pllv3_generic_ops, .flags = DM_FLAG_PRE_RELOC, }; + +U_BOOT_DRIVER (clk_pllv3_av) = { + .name =UBOOT_DM_CLK_IMX_PLLV3_AV , + .id =UCLASS_CLK , + .ops = &clk_pllv3_av_ops, + .flags =DM_FLAG_PRE_RELOC , +};
Signature · 1 line
2.20.1
PATCH v2 9/21 clk: imx: pllv3: add support for PLLV3_AV type
Quoted 2 lines
Add support for PLLV3 AV type.
Signed-off-by Giulio Benetti <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 9/21 clk: imx: pllv3: add support for PLLV3_AV type
In reply to Giulio BenettiHi Giulio,
Quoted 1 line
Add support for PLLV3 AV type.
If this code has been ported from Linux kernel, then provide SHA1, branch, and commit message.
Quoted 108 lines
Signed-off-by Giulio Benetti <[email protected]>--- drivers/clk/imx/clk-pllv3.c | 76+++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+)
drivers/clk/imx/clk-pllv3.c +69
-0@@ -6,6 +6,7 @@#include <common.h> #include <asm/io.h> +#include <div64.h> #include <malloc.h> #include <clk-uclass.h> #include <dm/device.h> @@ -16,6 +17,10 @@#define UBOOT_DM_CLK_IMX_PLLV3_GENERIC "imx_clk_pllv3_generic"#define UBOOT_DM_CLK_IMX_PLLV3_SYS "imx_clk_pllv3_sys"#define UBOOT_DM_CLK_IMX_PLLV3_USB "imx_clk_pllv3_usb" +#define UBOOT_DM_CLK_IMX_PLLV3_AV "imx_clk_pllv3_av" + +#define PLL_NUM_OFFSET 0x10 +#define PLL_DENOM_OFFSET 0x20#define BM_PLL_POWER (0x1 << 12)#define BM_PLL_LOCK (0x1 << 31)@@ -143,6 +148,65 @@ static const struct clk_ops clk_pllv3_sys_ops = { .set_rate = clk_pllv3_sys_set_rate, }; +static ulong clk_pllv3_av_get_rate (struct clk *clk) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +unsigned long parent_rate =clk_get_parent_rate (clk); +u32 mfn =readl (pll->base +PLL_NUM_OFFSET ); +u32 mfd =readl (pll->base +PLL_DENOM_OFFSET ); +u32 div =readl (pll->base) & pll->div_mask; +u64 temp64 = (u64 )parent_rate; + + temp64 *= mfn; +do_div (temp64, mfd); + +return parent_rate * div + (unsigned long )temp64; +} + +static ulong clk_pllv3_av_set_rate (struct clk *clk,ulong rate) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +unsigned long parent_rate =clk_get_parent_rate (clk); +unsigned long min_rate = parent_rate *27 ; +unsigned long max_rate = parent_rate *54 ; +u32 val, div; +u32 mfn, mfd =1000000 ; +u32 max_mfd =0x3FFFFFFF ; +u64 temp64; + +if (rate < min_rate || rate > max_rate) +return -EINVAL ; + +if (parent_rate <= max_mfd) + mfd = parent_rate; + + div = rate / parent_rate; + temp64 = (u64)(rate - div * parent_rate); + temp64 *= mfd; +do_div (temp64, parent_rate); + mfn = temp64; + + val =readl (pll->base); + val &= ~pll->div_mask; + val |= div; +writel (val, pll->base); +writel (mfn, pll->base +PLL_NUM_OFFSET ); +writel (mfd, pll->base +PLL_DENOM_OFFSET ); + +/* Wait for PLL to lock */ +while (!(readl (pll->base) &BM_PLL_LOCK )) + ; + +return 0 ; +} + +static const struct clk_ops clk_pllv3_av_ops = { + .enable = clk_pllv3_generic_enable, + .disable = clk_pllv3_generic_disable, + .get_rate = clk_pllv3_av_get_rate, + .set_rate = clk_pllv3_av_set_rate, +}; +struct clk *imx_clk_pllv3 (enum imx_pllv3_type type,const char *name,const char *parent_name,void __iomem *base,u32 div_mask)@@ -174,6 +238,11 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name, pll->div_shift = 1; pll->powerup_set = true;break ; +case IMX_PLLV3_AV : + drv_name =UBOOT_DM_CLK_IMX_PLLV3_AV ; + pll->div_shift =0 ; + pll->powerup_set = false; +break ;default :kfree (pll);return ERR_PTR (-ENOTSUPP );
drivers/clk/imx/clk-pllv3.c U_BOOT_DRIVER(clk_pllv3_usb) = { · line 290
Quoted 10 lines
drivers/clk/imx/clk-pllv3.c +7
-0@@ -212,3 +281,10 @@ U_BOOT_DRIVER(clk_pllv3_usb) = { .ops = &clk_pllv3_generic_ops, .flags = DM_FLAG_PRE_RELOC, }; + +U_BOOT_DRIVER (clk_pllv3_av) = { + .name =UBOOT_DM_CLK_IMX_PLLV3_AV , + .id =UCLASS_CLK , + .ops = &clk_pllv3_av_ops, + .flags =DM_FLAG_PRE_RELOC , +};
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200128/4eaa0713/attachment.sig>
PATCH v2 9/21 clk: imx: pllv3: add support for PLLV3_AV type
Hi Lukasz,
Quoted 6 lines · Lukasz Majewski
Hi Giulio,
Quoted 1 line
Add support for PLLV3 AV type.
If this code has been ported from Linux kernel, then provide SHA1, branch, and commit message.
Oh sorry,
Code taken from Linux with below commit:
"ARM: imx: add common clock support for pllv3"
(sha1: a3f6b9dbf2a964b85f0523e577807d6f63d6b29d)
Hope this way is ok, I imitated other commit logs in u-boot.
Best regards
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Quoted 134 lines
Acked-by Lukasz Majewski <[email protected]>Quoted 108 lines
Signed-off-by Giulio Benetti <[email protected]>--- drivers/clk/imx/clk-pllv3.c | 76+++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+)
drivers/clk/imx/clk-pllv3.c +69
-0@@ -6,6 +6,7 @@#include <common.h> #include <asm/io.h> +#include <div64.h> #include <malloc.h> #include <clk-uclass.h> #include <dm/device.h> @@ -16,6 +17,10 @@#define UBOOT_DM_CLK_IMX_PLLV3_GENERIC "imx_clk_pllv3_generic"#define UBOOT_DM_CLK_IMX_PLLV3_SYS "imx_clk_pllv3_sys"#define UBOOT_DM_CLK_IMX_PLLV3_USB "imx_clk_pllv3_usb" +#define UBOOT_DM_CLK_IMX_PLLV3_AV "imx_clk_pllv3_av" + +#define PLL_NUM_OFFSET 0x10 +#define PLL_DENOM_OFFSET 0x20#define BM_PLL_POWER (0x1 << 12)#define BM_PLL_LOCK (0x1 << 31)@@ -143,6 +148,65 @@ static const struct clk_ops clk_pllv3_sys_ops = { .set_rate = clk_pllv3_sys_set_rate, }; +static ulong clk_pllv3_av_get_rate (struct clk *clk) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +unsigned long parent_rate =clk_get_parent_rate (clk); +u32 mfn =readl (pll->base +PLL_NUM_OFFSET ); +u32 mfd =readl (pll->base +PLL_DENOM_OFFSET ); +u32 div =readl (pll->base) & pll->div_mask; +u64 temp64 = (u64 )parent_rate; + + temp64 *= mfn; +do_div (temp64, mfd); + +return parent_rate * div + (unsigned long )temp64; +} + +static ulong clk_pllv3_av_set_rate (struct clk *clk,ulong rate) +{ +struct clk_pllv3 *pll =to_clk_pllv3 (clk); +unsigned long parent_rate =clk_get_parent_rate (clk); +unsigned long min_rate = parent_rate *27 ; +unsigned long max_rate = parent_rate *54 ; +u32 val, div; +u32 mfn, mfd =1000000 ; +u32 max_mfd =0x3FFFFFFF ; +u64 temp64; + +if (rate < min_rate || rate > max_rate) +return -EINVAL ; + +if (parent_rate <= max_mfd) + mfd = parent_rate; + + div = rate / parent_rate; + temp64 = (u64)(rate - div * parent_rate); + temp64 *= mfd; +do_div (temp64, parent_rate); + mfn = temp64; + + val =readl (pll->base); + val &= ~pll->div_mask; + val |= div; +writel (val, pll->base); +writel (mfn, pll->base +PLL_NUM_OFFSET ); +writel (mfd, pll->base +PLL_DENOM_OFFSET ); + +/* Wait for PLL to lock */ +while (!(readl (pll->base) &BM_PLL_LOCK )) + ; + +return 0 ; +} + +static const struct clk_ops clk_pllv3_av_ops = { + .enable = clk_pllv3_generic_enable, + .disable = clk_pllv3_generic_disable, + .get_rate = clk_pllv3_av_get_rate, + .set_rate = clk_pllv3_av_set_rate, +}; +struct clk *imx_clk_pllv3 (enum imx_pllv3_type type,const char *name,const char *parent_name,void __iomem *base,u32 div_mask)@@ -174,6 +238,11 @@ struct clk *imx_clk_pllv3(enum imx_pllv3_type type, const char *name, pll->div_shift = 1; pll->powerup_set = true;break ; +case IMX_PLLV3_AV : + drv_name =UBOOT_DM_CLK_IMX_PLLV3_AV ; + pll->div_shift =0 ; + pll->powerup_set = false; +break ;default :kfree (pll);return ERR_PTR (-ENOTSUPP );drivers/clk/imx/clk-pllv3.c U_BOOT_DRIVER(clk_pllv3_usb) = { · line 290
Quoted 10 lines
drivers/clk/imx/clk-pllv3.c +7
-0@@ -212,3 +281,10 @@ U_BOOT_DRIVER(clk_pllv3_usb) = { .ops = &clk_pllv3_generic_ops, .flags = DM_FLAG_PRE_RELOC, }; + +U_BOOT_DRIVER (clk_pllv3_av) = { + .name =UBOOT_DM_CLK_IMX_PLLV3_AV , + .id =UCLASS_CLK , + .ops = &clk_pllv3_av_ops, + .flags =DM_FLAG_PRE_RELOC , +};Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
PATCH v2 10/21 clk: imx: pfd: add set_rate()
In reply to Giulio BenettiImplement set_rate() for pfd.
--- drivers/clk/imx/clk-pfd.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
drivers/clk/imx/clk-pfd.c +22 -0
@@ -52,8 +52,30 @@ static unsigned long clk_pfd_recalc_rate(struct clk *clk)return tmp; } +static unsigned long clk_pfd_set_rate (struct clk *clk,unsigned long rate) +{ +struct clk_pfd *pfd =to_clk_pfd (clk); +unsigned long parent_rate =clk_get_parent_rate (clk); +u64 tmp = parent_rate; +u8 frac; + + tmp = tmp *18 + rate /2 ; +do_div (tmp, rate); + frac = tmp; +if (frac <12 ) + frac =12 ; +else if (frac >35 ) + frac =35 ; + +writel (0x3f << (pfd->idx *8 ), pfd->reg +CLR ); +writel (frac << (pfd->idx *8 ), pfd->reg +SET ); + +return 0 ; +} +static const struct clk_ops clk_pfd_ops = { .get_rate = clk_pfd_recalc_rate, + .set_rate = clk_pfd_set_rate, }; struct clk *imx_clk_pfd(const char *name, const char *parent_name,
Signature · 1 line
2.20.1
PATCH v2 10/21 clk: imx: pfd: add set_rate()
Quoted 3 lines
Implement
set_rate()for pfd.Signed-off-by Giulio Benetti <[email protected]>Reviewed-by Lukasz Majewski <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 11/21 clk: imx: add i.IMXRT1050 clk driver
In reply to Giulio BenettiAdd i.MXRT1050 clk driver support.
--- drivers/clk/imx/Kconfig | 16 ++ drivers/clk/imx/Makefile | 2 + drivers/clk/imx/clk-imxrt1050.c | 292 ++++++++++++++++++++ include/dt-bindings/clock/imxrt1050-clock.h | 65 +++++ 4 files changed, 375 insertions(+) create mode 100644 drivers/clk/imx/clk-imxrt1050.c create mode 100644 include/dt-bindings/clock/imxrt1050-clock.h
drivers/clk/imx/Kconfig +16 -0
@@ -68,3 +68,19 @@ config CLK_IMX8MP select CLK_CCF help This enables support clock driver for i.MX8MP platforms. + +config SPL_CLK_IMXRT1050 + bool "SPL clock support for i.MXRT1050" + depends on ARCH_IMXRT && SPL + select SPL_CLK + select SPL_CLK_CCF + help + This enables SPL DM/DTS support for clock driver in i.MXRT1050 + +config CLK_IMXRT1050 + bool "Clock support for i.MXRT1050" + depends on ARCH_IMXRT + select CLK + select CLK_CCF + help + This enables support clock driver for i.MXRT1050 platforms.
drivers/clk/imx/Makefile +2 -0
@@ -16,3 +16,5 @@ obj-$(CONFIG_$(SPL_TPL_)CLK_IMX8MN) += clk-imx8mn.o clk-pll14xx.o \ clk-composite-8m.o obj-$(CONFIG_$(SPL_TPL_)CLK_IMX8MP) += clk-imx8mp.o clk-pll14xx.o \ clk-composite-8m.o + +obj-$(CONFIG_$(SPL_TPL_)CLK_IMXRT1050) += clk-imxrt1050.o
drivers/clk/imx/clk-imxrt1050.c new file +292 -0
292 lines not on this page · raw message
include/dt-bindings/clock/imxrt1050-clock.h new file +65 -0
65 lines not on this page · raw message
Signature · 1 line
2.20.1
PATCH v2 11/21 clk: imx: add i.IMXRT1050 clk driver
Quoted 2 lines
Add i.MXRT1050 clk driver support.
Signed-off-by Giulio Benetti <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 11/21 clk: imx: add i.IMXRT1050 clk driver
In reply to Giulio BenettiHi Giulio,
Quoted 2 lines
Add i.MXRT1050 clk driver support.
Quoted 419 lines
Signed-off-by Giulio Benetti <[email protected]>--- drivers/clk/imx/Kconfig | 16 ++ drivers/clk/imx/Makefile | 2 + drivers/clk/imx/clk-imxrt1050.c | 292 ++++++++++++++++++++ include/dt-bindings/clock/imxrt1050-clock.h | 65 +++++ 4 files changed, 375 insertions(+) create mode 100644 drivers/clk/imx/clk-imxrt1050.c create mode 100644 include/dt-bindings/clock/imxrt1050-clock.hdrivers/clk/imx/Kconfig +8
-0@@ -68,3 +68,19 @@ config CLK_IMX8MP select CLK_CCF help This enables support clock driver for i.MX8MP platforms. + +config SPL_CLK_IMXRT1050 + bool "SPL clock support for i.MXRT1050" + depends on ARCH_IMXRT && SPL + select SPL_CLK + select SPL_CLK_CCF + help + This enables SPL DM/DTS support for clock driver ini.MXRT1050 +
drivers/clk/imx/Kconfig +7
-0+config CLK_IMXRT1050 + bool "Clock support for i.MXRT1050" + depends on ARCH_IMXRT + select CLK + select CLK_CCF + help + This enables support clock driver for i.MXRT1050 platforms.drivers/clk/imx/Makefile +0
-0@@ -16,3 +16,5 @@ obj-$(CONFIG_$(SPL_TPL_)CLK_IMX8MN) += clk-imx8mn.oclk-pll14xx.o \ clk-composite-8m.o
obj-$(CONFIG_$(SPL_TPL_)CLK_IMX8MP) += clk-imx8mp.o clk-pll14xx.o \drivers/clk/imx/Makefile +2
-0clk-composite-8m.o + +obj-$(CONFIG_$(SPL_TPL_)CLK_IMXRT1050) += clk-imxrt1050.o(quoted diff) +0
-0
b/drivers/clk/imx/clk-imxrt1050.cnew file mode 100644 index 0000000000..44ca52c013drivers/clk/imx/clk-imxrt1050.c new file +82
-0@@ -0,0 +1,292 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* +* Copyright(C) 2019 +* Author(s): Giulio Benetti <[email protected]> +*/ + +#include <common.h> +#include <clk.h> +#include <clk-uclass.h> +#include <dm.h> +#include <asm/arch/clock.h> +#include <asm/arch/imx-regs.h> +#include <dt-bindings/clock/imxrt1050-clock.h> + +#include "clk.h" + +static ulong imxrt1050_clk_get_rate (struct clk *clk) +{ +struct clk *c; +int ret; + +debug ("%s(#%lu)\n" , __func__, clk->id); + + ret =clk_get_by_id (clk->id, &c); +if (ret) +return ret; + +return clk_get_rate (c); +} + +static ulong imxrt1050_clk_set_rate (struct clk *clk,ulong rate) +{ +struct clk *c; +int ret; + +debug ("%s(#%lu), rate: %lu\n" , __func__, clk->id, rate); + + ret =clk_get_by_id (clk->id, &c); +if (ret) +return ret; + +return clk_set_rate (c, rate); +} + +static int __imxrt1050_clk_enable (struct clk *clk,bool enable) +{ +struct clk *c; +int ret; + +debug ("%s(#%lu) en: %d\n" , __func__, clk->id, enable); + + ret =clk_get_by_id (clk->id, &c); +if (ret) +return ret; + +if (enable) + ret =clk_enable (c); +else + ret =clk_disable (c); + +return ret; +} + +static int imxrt1050_clk_disable (struct clk *clk) +{ +return __imxrt1050_clk_enable (clk,0 ); +} + +static int imxrt1050_clk_enable (struct clk *clk) +{ +return __imxrt1050_clk_enable (clk,1 ); +} + +static struct clk_ops imxrt1050_clk_ops = { + .set_rate = imxrt1050_clk_set_rate, + .get_rate = imxrt1050_clk_get_rate, + .enable = imxrt1050_clk_enable, + .disable = imxrt1050_clk_disable, +}; + +static const char *const pll_ref_sels[] = {"osc" ,"dummy" , }; +static const char *const pll1_bypass_sels[] = {"pll1_arm" ,"
pll1_arm_ref_sel", }; +static const char * const pll2_bypass_sels[] = {"pll2_sys", "pll2_sys_ref_sel", }; +static const char * const pll3_bypass_sels[] = {"pll3_usb_otg", "pll3_usb_otg_ref_sel", }; +static const char * const pll5_bypass_sels[] = {"pll5_video", "pll5_video_ref_sel", }; + +static const char *const pre_periph_sels[] = { "pll2_sys", "pll2_pfd2_396m", "pll2_pfd0_352m", "arm_podf", }; +static const char *const periph_sels[] = { "pre_periph_sel", "todo", }; +static const char *const usdhc_sels[] = { "pll2_pfd2_396m", "pll2_pfd0_352m", }; +static const char *const lpuart_sels[] = { "pll3_80m", "osc", }; +static const char *const semc_alt_sels[] = { "pll2_pfd2_396m", "pll3_pfd1_664_62m", }; +static const char *const semc_sels[] = { "periph_sel", "semc_alt_sel", }; +static const char *const lcdif_sels[] = { "pll2_sys", "pll3_pfd3_454_74m", "pll5_video:", "pll2_pfd0_352m", "pll2_pfd1_594m", "pll3_pfd1_664_62m"}; + +static intimxrt1050_clk_probe(struct udevice *dev)+{drivers/clk/imx/clk-imxrt1050.c new file +13
-0+void *base; + +/* Anatop clocks */ + base = (void *)ANATOP_BASE_ADDR ; + +clk_dm (IMXRT1050_CLK_PLL1_REF_SEL , +imx_clk_mux ("pll1_arm_ref_sel" , base +0x0 ,14 ,2 , + pll_ref_sels,ARRAY_SIZE (pll_ref_sels))); +clk_dm (IMXRT1050_CLK_PLL2_REF_SEL , +imx_clk_mux ("pll2_sys_ref_sel" , base +0x30 ,14 ,2 , + pll_ref_sels,ARRAY_SIZE (pll_ref_sels))); + clk_dm(IMXRT1050_CLK_PLL3_REF_SEL, + imx_clk_mux("pll3_usb_otg_ref_sel", base + 0x10, 14,2,
drivers/clk/imx/clk-imxrt1050.c new file +7
-0+ pll_ref_sels, ARRAY_SIZE(pll_ref_sels))); +clk_dm (IMXRT1050_CLK_PLL5_REF_SEL , +imx_clk_mux ("pll5_video_ref_sel" , base +0xa0 ,14 ,2 , + pll_ref_sels,ARRAY_SIZE (pll_ref_sels))); + + clk_dm(IMXRT1050_CLK_PLL1_ARM, + imx_clk_pllv3(IMX_PLLV3_SYS, "pll1_arm","
pll1_arm_ref_sel",drivers/clk/imx/clk-imxrt1050.c new file +3
-0+ base + 0x0, 0x7f)); + clk_dm(IMXRT1050_CLK_PLL2_SYS, + imx_clk_pllv3(IMX_PLLV3_GENERIC, "pll2_sys","
pll2_sys_ref_sel",drivers/clk/imx/clk-imxrt1050.c new file +7
-0+ base + 0x30, 0x1)); +clk_dm (IMXRT1050_CLK_PLL3_USB_OTG , +imx_clk_pllv3 (IMX_PLLV3_USB ,"pll3_usb_otg" , +"pll3_usb_otg_ref_sel" , + base +0x10 ,0x1 )); + clk_dm(IMXRT1050_CLK_PLL5_VIDEO, + imx_clk_pllv3(IMX_PLLV3_AV, "pll5_video","
pll5_video_ref_sel",drivers/clk/imx/clk-imxrt1050.c new file +33
-0+ base + 0xa0, 0x7f)); + +/* PLL bypass out */ +clk_dm (IMXRT1050_CLK_PLL1_BYPASS , +imx_clk_mux_flags ("pll1_bypass" , base +0x0 ,16 ,1 , + pll1_bypass_sels, +ARRAY_SIZE (pll1_bypass_sels), +CLK_SET_RATE_PARENT )); +clk_dm (IMXRT1050_CLK_PLL2_BYPASS , +imx_clk_mux_flags ("pll2_bypass" , base +0x30 ,16 ,1 , + pll2_bypass_sels, +ARRAY_SIZE (pll2_bypass_sels), +CLK_SET_RATE_PARENT )); +clk_dm (IMXRT1050_CLK_PLL3_BYPASS , +imx_clk_mux_flags ("pll3_bypass" , base +0x10 ,16 ,1 , + pll3_bypass_sels, +ARRAY_SIZE (pll3_bypass_sels), +CLK_SET_RATE_PARENT )); +clk_dm (IMXRT1050_CLK_PLL5_BYPASS , +imx_clk_mux_flags ("pll5_bypass" , base +0xa0 ,16 ,1 , + pll5_bypass_sels, +ARRAY_SIZE (pll5_bypass_sels), +CLK_SET_RATE_PARENT )); + +clk_dm (IMXRT1050_CLK_VIDEO_POST_DIV_SEL , +imx_clk_divider ("video_post_div_sel" ,"pll5_video" , + base +0xa0 ,19 ,2 )); +clk_dm (IMXRT1050_CLK_VIDEO_DIV , +imx_clk_divider ("video_div" ,"video_post_div_sel" , + base +0x170 ,30 ,2 )); + + clk_dm(IMXRT1050_CLK_PLL3_80M, + imx_clk_fixed_factor("pll3_80m", "pll3_usb_otg",1, 6)); +
drivers/clk/imx/clk-imxrt1050.c new file +2
-0+ clk_dm(IMXRT1050_CLK_PLL2_PFD0_352M, + imx_clk_pfd("pll2_pfd0_352m", "pll2_sys", base +
0x100, 0));drivers/clk/imx/clk-imxrt1050.c new file +2
-0+ clk_dm(IMXRT1050_CLK_PLL2_PFD1_594M, + imx_clk_pfd("pll2_pfd1_594m", "pll2_sys", base +
0x100, 1));drivers/clk/imx/clk-imxrt1050.c new file +2
-0+ clk_dm(IMXRT1050_CLK_PLL2_PFD2_396M, + imx_clk_pfd("pll2_pfd2_396m", "pll2_sys", base +
0x100, 2));drivers/clk/imx/clk-imxrt1050.c new file +21
-0+clk_dm (IMXRT1050_CLK_PLL3_PFD1_664_62M , +imx_clk_pfd ("pll3_pfd1_664_62m" ,"pll3_usb_otg" , base + 0xf0, +1 )); +clk_dm (IMXRT1050_CLK_PLL3_PFD3_454_74M , +imx_clk_pfd ("pll3_pfd3_454_74m" ,"pll3_usb_otg" , base + 0xf0, +3 )); + +/* CCM clocks */ + base =dev_read_addr_ptr (dev); +if (base == (void *)FDT_ADDR_T_NONE ) +return -EINVAL ; + +clk_dm (IMXRT1050_CLK_ARM_PODF , +imx_clk_divider ("arm_podf" ,"pll1_arm" , + base +0x10 ,0 ,3 )); + + clk_dm(IMXRT1050_CLK_PRE_PERIPH_SEL, + imx_clk_mux("pre_periph_sel", base + 0x18, 18, 2, + pre_periph_sels,
ARRAY_SIZE(pre_periph_sels)));drivers/clk/imx/clk-imxrt1050.c new file +15
-0+clk_dm (IMXRT1050_CLK_PERIPH_SEL , +imx_clk_mux ("periph_sel" , base +0x14 ,25 ,1 , + periph_sels,ARRAY_SIZE (periph_sels))); +clk_dm (IMXRT1050_CLK_USDHC1_SEL , +imx_clk_mux ("usdhc1_sel" , base +0x1c ,16 ,1 , + usdhc_sels,ARRAY_SIZE (usdhc_sels))); +clk_dm (IMXRT1050_CLK_USDHC2_SEL , +imx_clk_mux ("usdhc2_sel" , base +0x1c ,17 ,1 , + usdhc_sels,ARRAY_SIZE (usdhc_sels))); +clk_dm (IMXRT1050_CLK_LPUART_SEL , +imx_clk_mux ("lpuart_sel" , base +0x24 ,6 ,1 , + lpuart_sels,ARRAY_SIZE (lpuart_sels))); + clk_dm(IMXRT1050_CLK_SEMC_ALT_SEL, + imx_clk_mux("semc_alt_sel", base + 0x14, 7, 1, + semc_alt_sels,
ARRAY_SIZE(semc_alt_sels)));drivers/clk/imx/clk-imxrt1050.c new file +31
-0+clk_dm (IMXRT1050_CLK_SEMC_SEL , +imx_clk_mux ("semc_sel" , base +0x14 ,6 ,1 , + semc_sels,ARRAY_SIZE (semc_sels))); +clk_dm (IMXRT1050_CLK_LCDIF_SEL , +imx_clk_mux ("lcdif_sel" , base +0x38 ,15 ,3 , + lcdif_sels,ARRAY_SIZE (lcdif_sels))); + +clk_dm (IMXRT1050_CLK_AHB_PODF , +imx_clk_divider ("ahb_podf" ,"periph_sel" , + base +0x14 ,10 ,3 )); +clk_dm (IMXRT1050_CLK_USDHC1_PODF , +imx_clk_divider ("usdhc1_podf" ,"usdhc1_sel" , + base +0x24 ,11 ,3 )); +clk_dm (IMXRT1050_CLK_USDHC2_PODF , +imx_clk_divider ("usdhc2_podf" ,"usdhc2_sel" , + base +0x24 ,16 ,3 )); +clk_dm (IMXRT1050_CLK_LPUART_PODF , +imx_clk_divider ("lpuart_podf" ,"lpuart_sel" , + base +0x24 ,0 ,6 )); +clk_dm (IMXRT1050_CLK_SEMC_PODF , +imx_clk_divider ("semc_podf" ,"semc_sel" , + base +0x14 ,16 ,3 )); +clk_dm (IMXRT1050_CLK_LCDIF_PRED , +imx_clk_divider ("lcdif_pred" ,"lcdif_sel" , + base +0x38 ,12 ,3 )); +clk_dm (IMXRT1050_CLK_LCDIF_PODF , +imx_clk_divider ("lcdif_podf" ,"lcdif_pred" , + base +0x18 ,23 ,3 )); + + clk_dm(IMXRT1050_CLK_USDHC1, + imx_clk_gate2("usdhc1", "usdhc1_podf", base + 0x80,2));
drivers/clk/imx/clk-imxrt1050.c new file +2
-0+ clk_dm(IMXRT1050_CLK_USDHC2, + imx_clk_gate2("usdhc2", "usdhc2_podf", base + 0x80,4));
drivers/clk/imx/clk-imxrt1050.c new file +2
-0+ clk_dm(IMXRT1050_CLK_LPUART1, + imx_clk_gate2("lpuart1", "lpuart_podf", base + 0x7c,24));
drivers/clk/imx/clk-imxrt1050.c new file +4
-0+clk_dm (IMXRT1050_CLK_SEMC , +imx_clk_gate2 ("semc" ,"semc_podf" , base +0x74 ,4 )); + clk_dm(IMXRT1050_CLK_LCDIF, + imx_clk_gate2("lcdif", "lcdif_podf", base + 0x70,28)); +
drivers/clk/imx/clk-imxrt1050.c new file +52
-0+#ifdef CONFIG_SPL_BUILD +struct clk *clk, *clk1; + +/* bypass pll1 before setting its rate */ +clk_get_by_id (IMXRT1050_CLK_PLL1_REF_SEL , &clk); +clk_get_by_id (IMXRT1050_CLK_PLL1_BYPASS , &clk1); +clk_set_parent (clk1, clk); + +clk_get_by_id (IMXRT1050_CLK_PLL1_ARM , &clk); +clk_enable (clk); +clk_set_rate (clk,1056000000UL ); + +clk_get_by_id (IMXRT1050_CLK_PLL1_BYPASS , &clk1); +clk_set_parent (clk1, clk); + +clk_get_by_id (IMXRT1050_CLK_SEMC_SEL , &clk1); +clk_get_by_id (IMXRT1050_CLK_SEMC_ALT_SEL , &clk); +clk_set_parent (clk1, clk); + +clk_get_by_id (IMXRT1050_CLK_PLL2_SYS , &clk); +clk_enable (clk); +clk_set_rate (clk,528000000UL ); + +clk_get_by_id (IMXRT1050_CLK_PLL2_BYPASS , &clk1); +clk_set_parent (clk1, clk); + +/* Configure PLL3_USB_OTG to 480MHz */ +clk_get_by_id (IMXRT1050_CLK_PLL3_USB_OTG , &clk); +clk_enable (clk); +clk_set_rate (clk,480000000UL ); + +clk_get_by_id (IMXRT1050_CLK_PLL3_BYPASS , &clk1); +clk_set_parent (clk1, clk); + +#endif + +return 0 ; +} + +static const struct udevice_id imxrt1050_clk_ids[] = { + { .compatible ="fsl,imxrt1050-ccm" }, + { }, +}; + +U_BOOT_DRIVER (imxrt1050_clk) = { + .name ="clk_imxrt1050" , + .id =UCLASS_CLK , + .of_match = imxrt1050_clk_ids, + .ops = &imxrt1050_clk_ops, + .probe = imxrt1050_clk_probe, + .flags =DM_FLAG_PRE_RELOC , +};(quoted diff) +0
-0
b/include/dt-bindings/clock/imxrt1050-clock.hnew file mode 100644 index 0000000000..c174f90c1ainclude/dt-bindings/clock/imxrt1050-clock.h new file +55
-0@@ -0,0 +1,65 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Copyright(C) 2019 +* Author(s): Giulio Benetti <[email protected]> +*/ + +#ifndef __DT_BINDINGS_CLOCK_IMXRT1050_H +#define __DT_BINDINGS_CLOCK_IMXRT1050_H + +#define IMXRT1050_CLK_DUMMY 0 +#define IMXRT1050_CLK_CKIL 1 +#define IMXRT1050_CLK_CKIH 2 +#define IMXRT1050_CLK_OSC 3 +#define IMXRT1050_CLK_PLL2_PFD0_352M 4 +#define IMXRT1050_CLK_PLL2_PFD1_594M 5 +#define IMXRT1050_CLK_PLL2_PFD2_396M 6 +#define IMXRT1050_CLK_PLL3_PFD0_720M 7 +#define IMXRT1050_CLK_PLL3_PFD1_664_62M 8 +#define IMXRT1050_CLK_PLL3_PFD2_508_24M 9 +#define IMXRT1050_CLK_PLL3_PFD3_454_74M 10 +#define IMXRT1050_CLK_PLL2_198M 11 +#define IMXRT1050_CLK_PLL3_120M 12 +#define IMXRT1050_CLK_PLL3_80M 13 +#define IMXRT1050_CLK_PLL3_60M 14 +#define IMXRT1050_CLK_PLL1_BYPASS 15 +#define IMXRT1050_CLK_PLL2_BYPASS 16 +#define IMXRT1050_CLK_PLL3_BYPASS 17 +#define IMXRT1050_CLK_PLL5_BYPASS 19 +#define IMXRT1050_CLK_PLL1_REF_SEL 20 +#define IMXRT1050_CLK_PLL2_REF_SEL 21 +#define IMXRT1050_CLK_PLL3_REF_SEL 22 +#define IMXRT1050_CLK_PLL5_REF_SEL 23 +#define IMXRT1050_CLK_PRE_PERIPH_SEL 24 +#define IMXRT1050_CLK_PERIPH_SEL 25 +#define IMXRT1050_CLK_SEMC_ALT_SEL 26 +#define IMXRT1050_CLK_SEMC_SEL 27 +#define IMXRT1050_CLK_USDHC1_SEL 28 +#define IMXRT1050_CLK_USDHC2_SEL 29 +#define IMXRT1050_CLK_LPUART_SEL 30 +#define IMXRT1050_CLK_LCDIF_SEL 31 +#define IMXRT1050_CLK_VIDEO_POST_DIV_SEL 32 +#define IMXRT1050_CLK_VIDEO_DIV 33 +#define IMXRT1050_CLK_ARM_PODF 34 +#define IMXRT1050_CLK_LPUART_PODF 35 +#define IMXRT1050_CLK_USDHC1_PODF 36 +#define IMXRT1050_CLK_USDHC2_PODF 37 +#define IMXRT1050_CLK_SEMC_PODF 38 +#define IMXRT1050_CLK_AHB_PODF 39 +#define IMXRT1050_CLK_LCDIF_PRED 40 +#define IMXRT1050_CLK_LCDIF_PODF 41 +#define IMXRT1050_CLK_USDHC1 42 +#define IMXRT1050_CLK_USDHC2 43 +#define IMXRT1050_CLK_LPUART1 44 +#define IMXRT1050_CLK_SEMC 45 +#define IMXRT1050_CLK_LCDIF 46
include/dt-bindings/clock/imxrt1050-clock.h line 65
Quoted 10 lines
include/dt-bindings/clock/imxrt1050-clock.h new file +10
-0+#define IMXRT1050_CLK_PLL1_ARM 47 +#define IMXRT1050_CLK_PLL2_SYS 48 +#define IMXRT1050_CLK_PLL3_USB_OTG 49 +#define IMXRT1050_CLK_PLL4_AUDIO 50 +#define IMXRT1050_CLK_PLL5_VIDEO 51 +#define IMXRT1050_CLK_PLL6_ENET 52 +#define IMXRT1050_CLK_PLL7_USB_HOST 53 +#define IMXRT1050_CLK_END 54 + +#endif /* __DT_BINDINGS_CLOCK_IMXRT1050_H */
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200128/213fa25b/attachment.sig>
PATCH v2 12/21 pinctrl: add i.MXRT driver
In reply to Giulio BenettiAdd i.MXRT pinctrl driver.
--- drivers/pinctrl/nxp/Kconfig | 14 ++++++++++ drivers/pinctrl/nxp/Makefile | 1 + drivers/pinctrl/nxp/pinctrl-imxrt.c | 40 +++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 drivers/pinctrl/nxp/pinctrl-imxrt.c
drivers/pinctrl/nxp/Kconfig +14 -0
@@ -99,6 +99,20 @@ config PINCTRL_MXS familiy, e.g. i.MX28. This feature depends on device tree configuration. +config PINCTRL_IMXRT + bool "IMXRT pinctrl driver" + depends on ARCH_IMXRT && PINCTRL_FULL + select DEVRES + select PINCTRL_IMX + help + Say Y here to enable the imxrt pinctrl driver + + This provides a simple pinctrl driver for i.MXRT SoC familiy. + This feature depends on device tree configuration. This driver + is different from the linux one, this is a simple implementation, + only parses the 'fsl,pins' property and configure related + registers. + config PINCTRL_VYBRID bool "Vybrid (vf610) pinctrl driver" depends on ARCH_VF610 && PINCTRL_FULL
drivers/pinctrl/nxp/Makefile +1 -0
@@ -8,3 +8,4 @@ obj-$(CONFIG_PINCTRL_IMX8) += pinctrl-imx8.o obj-$(CONFIG_PINCTRL_IMX8M) += pinctrl-imx8m.o obj-$(CONFIG_PINCTRL_MXS) += pinctrl-mxs.o obj-$(CONFIG_PINCTRL_VYBRID) += pinctrl-vf610.o +obj-$(CONFIG_PINCTRL_IMXRT) += pinctrl-imxrt.o
drivers/pinctrl/nxp/pinctrl-imxrt.c new file +40 -0
@@ -0,0 +1,40 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* +* Copyright (C) 2019 +* Author(s): Giulio Benetti <[email protected]> +*/ + +#include <common.h> +#include <dm.h> +#include <dm/pinctrl.h> + +#include "pinctrl-imx.h" + +static struct imx_pinctrl_soc_info imxrt_pinctrl_soc_info = { + .flags =ZERO_OFFSET_VALID , +}; + +static int imxrt_pinctrl_probe (struct udevice *dev) +{ +struct imx_pinctrl_soc_info *info = + (struct imx_pinctrl_soc_info *)dev_get_driver_data (dev); + +return imx_pinctrl_probe (dev, info); +} + +static const struct udevice_id imxrt_pinctrl_match[] = { + { .compatible ="fsl,imxrt-iomuxc" , + .data = (ulong)&imxrt_pinctrl_soc_info }, + {/* sentinel */ } +}; + +U_BOOT_DRIVER (imxrt_pinctrl) = { + .name ="imxrt-pinctrl" , + .id =UCLASS_PINCTRL , + .of_match =of_match_ptr (imxrt_pinctrl_match), + .probe = imxrt_pinctrl_probe, + .remove = imx_pinctrl_remove, + .priv_auto_alloc_size =sizeof (struct imx_pinctrl_priv ), + .ops = &imx_pinctrl_ops, + .flags =DM_FLAG_PRE_RELOC , +};
Signature · 1 line
2.20.1
PATCH v2 12/21 pinctrl: add i.MXRT driver
Quoted 2 lines
Add i.MXRT pinctrl driver.
Signed-off-by Giulio Benetti <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 12/21 pinctrl: add i.MXRT driver
In reply to Giulio BenettiHi Giulio,
Quoted 1 line
Add i.MXRT pinctrl driver.
Please add information from where this code was ported (SHA1, branch, commit name).
Nit tip:
- Please use patman, which will give you a warning if somethinf with the commit or commit message is broken.
Quoted 82 lines
Signed-off-by Giulio Benetti <[email protected]>--- drivers/pinctrl/nxp/Kconfig | 14 ++++++++++ drivers/pinctrl/nxp/Makefile | 1 + drivers/pinctrl/nxp/pinctrl-imxrt.c | 40 +++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 drivers/pinctrl/nxp/pinctrl-imxrt.cdrivers/pinctrl/nxp/Kconfig +9
-0@@ -99,6 +99,20 @@ config PINCTRL_MXS familiy, e.g. i.MX28. This feature depends on device tree configuration. +config PINCTRL_IMXRT + bool "IMXRT pinctrl driver" + depends on ARCH_IMXRT && PINCTRL_FULL + select DEVRES + select PINCTRL_IMX + help + Say Y here to enable the imxrt pinctrl driver + + This provides a simple pinctrl driver for i.MXRT SoCfamiliy.
drivers/pinctrl/nxp/Kconfig +1
-0+ This feature depends on device tree configuration. Thisdriver
drivers/pinctrl/nxp/Kconfig +1
-0+ is different from the linux one, this is a simpleimplementation,
drivers/pinctrl/nxp/Kconfig +3
-0+ only parses the 'fsl,pins' property and configure related + registers. + config PINCTRL_VYBRID bool "Vybrid (vf610) pinctrl driver" depends on ARCH_VF610 && PINCTRL_FULL(quoted diff) +0
-0b/drivers/pinctrl/nxp/Makefile index
b86448aac9..066ca75b65100644drivers/pinctrl/nxp/Makefile +0
-0@@ -8,3 +8,4 @@ obj-$(CONFIG_PINCTRL_IMX8) +=pinctrl-imx8.o obj-$(CONFIG_PINCTRL_IMX8M) +=
pinctrl-imx8m.o obj-$(CONFIG_PINCTRL_MXS) +=
pinctrl-mxs.o obj-$(CONFIG_PINCTRL_VYBRID) +=
pinctrl-vf610.o +obj-$(CONFIG_PINCTRL_IMXRT) +=
pinctrl-imxrt.o diff --gita/drivers/pinctrl/nxp/pinctrl-imxrt.cb/drivers/pinctrl/nxp/pinctrl-imxrt.cnew file mode 100644 index 0000000000..4a93941927drivers/pinctrl/nxp/pinctrl-imxrt.c new file +20
-0@@ -0,0 +1,40 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* +* Copyright (C) 2019 +* Author(s): Giulio Benetti <[email protected]> +*/ + +#include <common.h> +#include <dm.h> +#include <dm/pinctrl.h> + +#include "pinctrl-imx.h" + +static struct imx_pinctrl_soc_info imxrt_pinctrl_soc_info = { + .flags =ZERO_OFFSET_VALID , +}; + +static int imxrt_pinctrl_probe (struct udevice *dev) +{ + struct imx_pinctrl_soc_info *info = + (struct imx_pinctrl_soc_info*)dev_get_driver_data(dev); +
drivers/pinctrl/nxp/pinctrl-imxrt.c new file +9
-0+return imx_pinctrl_probe (dev, info); +} + +static const struct udevice_id imxrt_pinctrl_match[] = { + { .compatible ="fsl,imxrt-iomuxc" , + .data = (ulong)&imxrt_pinctrl_soc_info }, + {/* sentinel */ } +}; +
drivers/pinctrl/nxp/pinctrl-imxrt.c line 40
Quoted 10 lines
drivers/pinctrl/nxp/pinctrl-imxrt.c new file +10
-0+U_BOOT_DRIVER (imxrt_pinctrl) = { + .name ="imxrt-pinctrl" , + .id =UCLASS_PINCTRL , + .of_match =of_match_ptr (imxrt_pinctrl_match), + .probe = imxrt_pinctrl_probe, + .remove = imx_pinctrl_remove, + .priv_auto_alloc_size =sizeof (struct imx_pinctrl_priv ), + .ops = &imx_pinctrl_ops, + .flags =DM_FLAG_PRE_RELOC , +};
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200128/81b0b907/attachment.sig>
PATCH v2 13/21 gpio: mxc_gpio: add support for i.MXRT1050
In reply to Giulio BenettiAdd i.MXRT1050 support, there are 5 GPIO banks.
---V1->V2:
* introduced this patch
--- drivers/gpio/mxc_gpio.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/gpio/mxc_gpio.c +4 -3
@@ -41,14 +41,15 @@ static unsigned long gpio_ports[] = {#if defined(CONFIG_MX25 ) || defined(CONFIG_MX27 ) || defined(CONFIG_MX51 ) || \ defined(CONFIG_MX53 ) || defined(CONFIG_MX6 ) || \ defined(CONFIG_MX7 ) || defined(CONFIG_IMX8M ) || \ - defined(CONFIG_ARCH_IMX8 ) + defined(CONFIG_ARCH_IMX8 ) || defined(CONFIG_IMXRT1050 ) [3] = GPIO4_BASE_ADDR,#endif #if defined(CONFIG_MX27 ) || defined(CONFIG_MX53 ) || defined(CONFIG_MX6 ) || \ defined(CONFIG_MX7 ) || defined(CONFIG_IMX8M ) || \ - defined(CONFIG_ARCH_IMX8 ) + defined(CONFIG_ARCH_IMX8 ) || defined(CONFIG_IMXRT1050 ) [4] = GPIO5_BASE_ADDR, -#if !(defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL) || defined(CONFIG_IMX8M)) +#if !(defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL) || \ + defined(CONFIG_IMX8M) || defined(CONFIG_IMXRT1050)) [5] = GPIO6_BASE_ADDR,#endif #endif
Signature · 1 line
2.20.1
PATCH v2 13/21 gpio: mxc_gpio: add support for i.MXRT1050
Quoted 2 lines
Add i.MXRT1050 support, there are 5 GPIO banks.
Signed-off-by Giulio Benetti <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 13/21 gpio: mxc_gpio: add support for i.MXRT1050
In reply to Giulio BenettiQuoted 31 lines · On Fri, 10 Jan 2020 15:47:03 +0100 Giulio Benetti…
Add i.MXRT1050 support, there are 5 GPIO banks.
Signed-off-by Giulio Benetti <[email protected]>---
V1->V2:
* introduced this patch--- drivers/gpio/mxc_gpio.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)drivers/gpio/mxc_gpio.c +2
-3@@ -41,14 +41,15 @@ static unsigned long gpio_ports[] = { #if defined(CONFIG_MX25) || defined(CONFIG_MX27) || defined(CONFIG_MX51) || \ defined(CONFIG_MX53) || defined(CONFIG_MX6) || \ defined(CONFIG_MX7) || defined(CONFIG_IMX8M) || \ - defined(CONFIG_ARCH_IMX8 ) + defined(CONFIG_ARCH_IMX8 ) || defined(CONFIG_IMXRT1050) [3] = GPIO4_BASE_ADDR, #endif #if defined(CONFIG_MX27) || defined(CONFIG_MX53) || defined(CONFIG_MX6) || \ defined(CONFIG_MX7) || defined(CONFIG_IMX8M) || \ - defined(CONFIG_ARCH_IMX8 ) +defined (CONFIG_ARCH_IMX8 ) || defined(CONFIG_IMXRT1050) [4] = GPIO5_BASE_ADDR, -#if !(defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL) ||
defined(CONFIG_IMX8M)) +#if !(defined(CONFIG_MX6UL) ||defined(CONFIG_MX6ULL)|| \
drivers/gpio/mxc_gpio.c static unsigned long gpio_ports[] = { · line 55
Quoted 4 lines
drivers/gpio/mxc_gpio.c +1
-0+ defined(CONFIG_IMX8M) || defined(CONFIG_IMXRT1050)) [5] = GPIO6_BASE_ADDR,#endif #endif
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200128/c64183f0/attachment.sig>
PATCH v2 14/21 ARM: dts: imxrt1050: add dtsi file
In reply to Giulio BenettiAdd dtsi file for i.MXRT1050.
--- arch/arm/dts/imxrt1050.dtsi | 146 +++ include/dt-bindings/pinctrl/pins-imxrt1050.h | 993 +++++++++++++++++++ 2 files changed, 1139 insertions(+) create mode 100644 arch/arm/dts/imxrt1050.dtsi create mode 100644 include/dt-bindings/pinctrl/pins-imxrt1050.h
arch/arm/dts/imxrt1050.dtsi new file +146 -0
@@ -0,0 +1,146 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) 2019 + * Author(s): Giulio Benetti <[email protected]> + */ + +#include "skeleton.dtsi" +#include "armv7-m.dtsi" +#include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/clock/imxrt1050-clock.h> +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/memory/imxrt-sdram.h> + +/ { + aliases { + gpio0 = &gpio1; + gpio1 = &gpio2; + gpio2 = &gpio3; + gpio3 = &gpio4; + gpio4 = &gpio5; + mmc0 = &usdhc1; + serial0 = &lpuart1; + }; + + clocks { + u-boot,dm-spl; + + osc { + u-boot,dm-spl; + compatible = "fsl,imx-osc", "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; + }; + + soc { + u-boot,dm-spl; + + semc: semc at 402f0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-semc"; + reg = <0x402f0000 0x4000>; + clocks = <&clks IMXRT1050_CLK_SEMC>; + pinctrl-0 = <&pinctrl_semc>; + pinctrl-names = "default"; + status = "okay"; + }; + + lpuart1: serial at 40184000 { + compatible = "fsl,imxrt-lpuart"; + reg = <0x40184000 0x4000>; + interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMXRT1050_CLK_LPUART1>; + clock-names = "per"; + status = "disabled"; + }; + + iomuxc: iomuxc at 401f8000 { + compatible = "fsl,imxrt-iomuxc"; + reg = <0x401f8000 0x4000>; + fsl,mux_mask = <0x7>; + }; + + clks: ccm at 400fc000 { + u-boot,dm-spl; + compatible = "fsl,imxrt1050-ccm"; + reg = <0x400fc000 0x4000>; + interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; + #clock-cells = <1>; + }; + + usdhc1: usdhc at 402c0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-usdhc"; + reg = <0x402c0000 0x10000>; + interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMXRT1050_CLK_USDHC1>; + clock-names = "per"; + bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; + status = "disabled"; + }; + + gpio1: gpio at 401b8000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio", "fsl,imx35-gpio"; + reg = <0x401b8000 0x4000>; + interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio2: gpio at 401bc000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio", "fsl,imx35-gpio"; + reg = <0x401bc000 0x4000>; + interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio3: gpio at 401c0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio", "fsl,imx35-gpio"; + reg = <0x401c0000 0x4000>; + interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio4: gpio at 401c4000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio", "fsl,imx35-gpio"; + reg = <0x401c4000 0x4000>; + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio5: gpio at 400c0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio", "fsl,imx35-gpio"; + reg = <0x400c0000 0x4000>; + interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +};
include/dt-bindings/pinctrl/pins-imxrt1050.h new file +993 -0
993 lines not on this page · raw message
Signature · 1 line
2.20.1
PATCH v2 14/21 ARM: dts: imxrt1050: add dtsi file
Quoted 2 lines
Add dtsi file for i.MXRT1050.
Signed-off-by Giulio Benetti <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 14/21 ARM: dts: imxrt1050: add dtsi file
In reply to Giulio BenettiHi Giulio,
Quoted 2 lines
Add dtsi file for i.MXRT1050.
Please add information from where this code was ported (as I've pointed out in other mails).
Also a tip:
To avoid extra dtsi maintenance burden, there are u-boot*.dtsi files (in e.g. arch/arm/dts/) which add extra properties (U-boot specific).
In that way "original" dtsi (from e.g. Linux) are kept separated from U-Boot adjustments).
Quoted 1,895 lines
Signed-off-by Giulio Benetti <[email protected]>--- arch/arm/dts/imxrt1050.dtsi | 146 +++ include/dt-bindings/pinctrl/pins-imxrt1050.h | 993 +++++++++++++++++++ 2 files changed, 1139 insertions(+) create mode 100644 arch/arm/dts/imxrt1050.dtsi create mode 100644 include/dt-bindings/pinctrl/pins-imxrt1050.harch/arm/dts/imxrt1050.dtsi new file +52
-0@@ -0,0 +1,146 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) 2019 + * Author(s): Giulio Benetti <[email protected]> + */ + +#include "skeleton.dtsi" +#include "armv7-m.dtsi" +#include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/clock/imxrt1050-clock.h> +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/memory/imxrt-sdram.h> + +/ { + aliases { + gpio0 = &gpio1; + gpio1 = &gpio2; + gpio2 = &gpio3; + gpio3 = &gpio4; + gpio4 = &gpio5; + mmc0 = &usdhc1; + serial0 = &lpuart1; + }; + + clocks { + u-boot,dm-spl; + + osc { + u-boot,dm-spl; + compatible = "fsl,imx-osc", "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; + }; + + soc { + u-boot,dm-spl; + + semc: semc at 402f0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-semc"; + reg = <0x402f0000 0x4000>; + clocks = <&clks IMXRT1050_CLK_SEMC>; + pinctrl-0 = <&pinctrl_semc>; + pinctrl-names = "default"; + status = "okay"; + }; + + lpuart1: serial at 40184000 { + compatible = "fsl,imxrt-lpuart"; + reg = <0x40184000 0x4000>; + interrupts = <GIC_SPI 20
IRQ_TYPE_LEVEL_HIGH>;arch/arm/dts/imxrt1050.dtsi new file +16
-0+ clocks = <&clks IMXRT1050_CLK_LPUART1>; + clock-names = "per"; + status = "disabled"; + }; + + iomuxc: iomuxc at 401f8000 { + compatible = "fsl,imxrt-iomuxc"; + reg = <0x401f8000 0x4000>; + fsl,mux_mask = <0x7>; + }; + + clks: ccm at 400fc000 { + u-boot,dm-spl; + compatible = "fsl,imxrt1050-ccm"; + reg = <0x400fc000 0x4000>; + interrupts = <GIC_SPI 95
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +1
-0+ <GIC_SPI 96
IRQ_TYPE_LEVEL_HIGH>;arch/arm/dts/imxrt1050.dtsi new file +8
-0+ #clock-cells = <1>; + }; + + usdhc1: usdhc at 402c0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-usdhc"; + reg = <0x402c0000 0x10000>; + interrupts = <GIC_SPI 110
IRQ_TYPE_LEVEL_HIGH>;arch/arm/dts/imxrt1050.dtsi new file +11
-0+ clocks = <&clks IMXRT1050_CLK_USDHC1>; + clock-names = "per"; + bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; + status = "disabled"; + }; + + gpio1: gpio at 401b8000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio","fsl,imx35-gpio";
arch/arm/dts/imxrt1050.dtsi new file +2
-0+ reg = <0x401b8000 0x4000>; + interrupts = <GIC_SPI 80
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +1
-0+ <GIC_SPI 81
IRQ_TYPE_LEVEL_HIGH>;arch/arm/dts/imxrt1050.dtsi new file +9
-0+ gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio2: gpio at 401bc000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio","fsl,imx35-gpio";
arch/arm/dts/imxrt1050.dtsi new file +2
-0+ reg = <0x401bc000 0x4000>; + interrupts = <GIC_SPI 82
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +10
-0+ <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio3: gpio at 401c0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio","fsl,imx35-gpio";
arch/arm/dts/imxrt1050.dtsi new file +2
-0+ reg = <0x401c0000 0x4000>; + interrupts = <GIC_SPI 84
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +10
-0+ <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio4: gpio at 401c4000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio","fsl,imx35-gpio";
arch/arm/dts/imxrt1050.dtsi new file +2
-0+ reg = <0x401c4000 0x4000>; + interrupts = <GIC_SPI 86
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +1
-0+ <GIC_SPI 87
IRQ_TYPE_LEVEL_HIGH>;arch/arm/dts/imxrt1050.dtsi new file +9
-0+ gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio5: gpio at 400c0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio","fsl,imx35-gpio";
arch/arm/dts/imxrt1050.dtsi new file +2
-0+ reg = <0x400c0000 0x4000>; + interrupts = <GIC_SPI 88
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +8
-0+ <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +};(quoted diff) +0
-0
b/include/dt-bindings/pinctrl/pins-imxrt1050.hnew file mode 100644 index 0000000000..a29031ab3dinclude/dt-bindings/pinctrl/pins-imxrt1050.h new file +17
-0@@ -0,0 +1,993 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Copyright (C) 2019 +* Author(s): Giulio Benetti <[email protected]> +*/ + +#ifndef _DT_BINDINGS_PINCTRL_IMXRT1050_PINFUNC_H +#define _DT_BINDINGS_PINCTRL_IMXRT1050_PINFUNC_H + +#define IMX_PAD_SION 0x40000000 + +/* +* The pin function ID is a tuple of +* <mux_reg conf_reg input_reg mux_mode input_val> +*/ + +#define MXRT1050_IOMUXC_GPIO_EMC_00_SEMC_DA00 0x014 0x204 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_00_FLEXPWM4_PWM0_A0x0140x2040x4940x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_00_LPSPI2_SCK0x0140x2040x5000x20x1+#defineMXRT1050_IOMUXC_GPIO_EMC_00_XBAR_INOUT20x014 0x204 0x60C 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_00_FLEXIO1_D00 0x014 0x204 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_00_GPIO4_IO000x0140x2040x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_01_SEMC_DA010x0180x2080x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_01_FLEXPWM4_PWM0_B0x0180x2080x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_01_LPSPI2_PCS00x018 0x208 0x4FC 0x2 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_01_XBAR_INOUT3 0x018 0x208 0x610 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_01_FLEXIO1_D01 0x018 0x208 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_01_GPIO4_IO010x0180x2080x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_02_SEMC_DA020x01C0x20C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_02_FLEXPWM4_PWM1_A0x01C0x20C0x4980x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_02_LPSPI2_SDO0x01C0x20C0x5080x20x1+#defineMXRT1050_IOMUXC_GPIO_EMC_02_XBAR_INOUT40x01C 0x20C 0x614 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_02_FLEXIO1_D02 0x01C 0x20C 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_02_GPIO4_IO020x01C0x20C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_03_SEMC_DA030x0200x2100x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_03_FLEXPWM4_PWM1_B0x0200x2100x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_03_LPSPI2_SDI0x0200x2100x5040x20x1+#defineMXRT1050_IOMUXC_GPIO_EMC_03_XBAR_INOUT50x020 0x210 0x618 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_03_FLEXIO1_D03 0x020 0x210 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_03_GPIO4_IO030x0200x2100x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_04_SEMC_DA040x0240x2140x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_04_FLEXPWM4_PWM2_A0x0240x2140x49C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_04_SAI2_TX_DATA0x0240x2140x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_04_XBAR_INOUT60x024 0x214 0x61C 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_04_FLEXIO1_D04 0x024 0x214 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_04_GPIO4_IO040x0240x2140x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_05_SEMC_DA050x0280x2180x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_05_FLEXPWM4_PWM2_B0x0280x2180x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_05_SAI2_TX_SYNC0x0280x2180x5C40x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_05_XBAR_INOUT70x028 0x218 0x620 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_05_FLEXIO1_D05 0x028 0x218 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_05_GPIO4_IO050x0280x2180x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_06_SEMC_DA060x02C0x21C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_06_FLEXPWM2_PWM0_A0x02C0x21C0x4780x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_06_SAI2_TX_BCLK0x02C0x21C0x5C00x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_06_XBAR_INOUT80x02C 0x21C 0x624 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_06_FLEXIO1_D06 0x02C 0x21C 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_06_GPIO4_IO060x02C0x21C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_07_SEMC_DA070x0300x2200x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_07_FLEXPWM2_PWM0_B0x0300x2200x4880x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_07_SAI2_MCLK0x0300x2200x5B00x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_07_XBAR_INOUT90x030 0x220 0x628 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_07_FLEXIO1_D07 0x030 0x220 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_07_GPIO4_IO070x0300x2200x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_08_SEMC_DM000x0340x2240x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_08_FLEXPWM2_PWM1_A0x0340x2240x47C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_08_SAI2_RX_DATA0x0340x2240x5B80x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_08_XBAR_INOUT170x0340x2240x62C0x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_08_FLEXIO1_D080x034 0x224 0x000 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_08_GPIO4_IO08 0x034 0x224 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_09_SEMC_ADDR00 0x038 0x228 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_09_FLEXPWM2_PWM1_B0x0380x2280x48C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_09_SAI2_RX_SYNC0x0380x2280x5BC0x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_09_FLEXCAN2_TX0x038 0x228 0x000 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_09_FLEXIO1_D09 0x038 0x228 0x000 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_09_GPIO4_IO09 0x038 0x228 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_10_SEMC_ADDR01 0x03C 0x22C 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_10_FLEXPWM2_PWM2_A0x03C0x22C0x4800x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_10_SAI2_RX_BCLK0x03C0x22C0x5B40x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_10_FLEXCAN2_RX0x03C 0x22C 0x450 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_10_FLEXIO1_D10 0x03C 0x22C 0x000 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_10_GPIO4_IO10 0x03C 0x22C 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_11_SEMC_ADDR02 0x040 0x230 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_11_FLEXPWM2_PWM2_B0x0400x2300x4900x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_11_LPI2C4_SDA0x0400x2300x4E80x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_11_USDHC2_RESET_B0x0400x2300x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_11_FLEXIO1_D110x040 0x230 0x000 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_11_GPIO4_IO11 0x040 0x230 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_12_SEMC_ADDR03 0x044 0x234 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_12_XBAR_INOUT240x0440x2340x6400x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_12_LPI2C4_SCL0x0440x2340x4E40x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_12_USDHC2_WP0x0440x2340x5D80x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_12_FLEXPWM1_PWM3_A0x0440x2340x4540x40x1+#defineMXRT1050_IOMUXC_GPIO_EMC_12_GPIO4_IO120x0440x2340x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_13_SEMC_ADDR040x048 0x238 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_13_XBAR_INOUT25 0x048 0x238 0x650 0x1 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_13_LPUART3_TXD 0x048 0x238 0x53C 0x2 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_13_MQS_RIGHT0x0480x2380x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_13_FLEXPWM1_PWM3_B0x0480x2380x4640x40x1+#defineMXRT1050_IOMUXC_GPIO_EMC_13_GPIO4_IO130x0480x2380x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_14_SEMC_ADDR050x04C 0x23C 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_14_XBAR_INOUT19 0x04C 0x23C 0x654 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_14_LPUART3_RXD 0x04C 0x23C 0x538 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_14_MQS_LEFT 0x04C 0x23C 0x000 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_14_LPSPI2_PCS1 0x04C 0x23C 0x000 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_14_GPIO4_IO14 0x04C 0x23C 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_15_SEMC_ADDR06 0x050 0x240 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_15_XBAR_INOUT200x0500x2400x6340x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_15_LPUART3_CTS_B0x0500x2400x5340x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_15_SPDIF_OUT0x0500x2400x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_15_TMR3_TIMER00x050 0x240 0x57C 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_15_GPIO4_IO15 0x050 0x240 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_16_SEMC_ADDR07 0x054 0x244 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_16_XBAR_INOUT210x0540x2440x6580x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_16_LPUART3_RTS_B0x0540x2440x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_16_SPDIF_IN0x0540x2440x5C80x30x1+#defineMXRT1050_IOMUXC_GPIO_EMC_16_TMR3_TIMER10x054 0x244 0x580 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_16_GPIO4_IO16 0x054 0x244 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_17_SEMC_ADDR08 0x058 0x248 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_17_FLEXPWM4_PWM3_A0x0580x2480x4A00x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_17_LPUART4_CTS_B0x0580x2480x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_17_FLEXCAN1_TX0x058 0x248 0x000 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_17_TMR3_TIMER2 0x058 0x248 0x584 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_17_GPIO4_IO17 0x058 0x248 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_18_SEMC_ADDR09 0x05C 0x24C 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_18_FLEXPWM4_PWM3_B0x05C0x24C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_18_LPUART4_RTS_B0x05C0x24C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_18_FLEXCAN1_RX0x05C 0x24C 0x44C 0x3 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_18_TMR3_TIMER3 0x05C 0x24C 0x588 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_18_GPIO4_IO180x05C0x24C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_18_SNVS_VIO_5_CTL0x05C0x24C0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_19_SEMC_ADDR110x060 0x250 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_19_FLEXPWM2_PWM3_A 0x060 0x250 0x000 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_19_LPUART4_TXD 0x060 0x250 0x544 0x2 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_19_ENET_RX_DATA01 0x060 0x250 0x438 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_19_TMR2_TIMER0 0x060 0x250 0x56C 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_19_GPIO4_IO190x0600x2500x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_19_SNVS_VIO_50x0600x2500x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_20_SEMC_ADDR120x064 0x254 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_20_FLEXPWM2_PWM3_B 0x064 0x254 0x484 0x1 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_20_LPUART4_RXD 0x064 0x254 0x540 0x2 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_20_ENET_RX_DATA00 0x064 0x254 0x434 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_20_TMR2_TIMER0 0x064 0x254 0x570 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_20_GPIO4_IO200x0640x2540x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_21_SEMC_BA00x0680x2580x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_21_FLEXPWM3_PWM3_A0x0680x2580x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_21_LPI2C3_SDA0x0680x2580x4E00x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_21_ENET_TX_DATA010x0680x2580x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_21_TMR2_TIMER20x068 0x258 0x574 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_21_GPIO4_IO210x0680x2580x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_22_SEMC_BA10x06C0x25C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_22_FLEXPWM3_PWM3_B0x06C0x25C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_22_LPI2C3_SCL0x06C0x25C0x4DC0x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_22_ENET_TX_DATA000x06C0x25C0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_22_TMR2_TIMER30x06C 0x25C 0x578 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_22_GPIO4_IO22 0x06C 0x25C 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_23_SEMC_ADDR10 0x070 0x260 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_23_FLEXPWM1_PWM0_A 0x070 0x260 0x458 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_23_LPUART5_TXD 0x070 0x260 0x54C 0x2 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_23_ENET_RX_EN0x0700x2600x43C0x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_23_GPT1_CAPTURE20x0700x2600x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_23_GPIO4_IO230x0700x2600x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_24_SEMC_CAS0x0740x2640x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_24_FLEXPWM1_PWM0_B0x0740x2640x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_24_LPUART5_RXD0x074 0x264 0x548 0x2 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_24_ENET_TX_EN0x0740x2640x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_24_GPT1_CAPTURE10x0740x2640x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_24_GPIO4_IO240x0740x2640x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_25_SEMC_RAS0x0780x2680x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_25_FLEXPWM1_PWM1_A0x0780x2680x45C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_25_LPUART6_TXD0x078 0x268 0x554 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_25_ENET_TX_CLK 0x078 0x268 0x448 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_25_ENET_REF_CLK0x0780x2680x42C0x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_25_GPIO4_IO250x0780x2680x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_26_SEMC_CLK0x07C0x26C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_26_FLEXPWM1_PWM1_B0x07C0x26C0x46C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_26_LPUART6_RXD0x07C 0x26C 0x550 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_26_ENET_RX_ER 0x07C 0x26C 0x440 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_26_FLEXIO1_D12 0x07C 0x26C 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_26_GPIO4_IO260x07C0x26C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_27_SEMC_CKE0x0800x2700x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_27_FLEXPWM1_PWM2_A0x0800x2700x4600x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_27_LPUART5_RTS_B0x0800x2700x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_27_LPSPI1_SCK0x0800x2700x4F00x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_27_FLEXIO1_D130x080 0x270 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_27_GPIO4_IO270x0800x2700x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_28_SEMC_WE0x0840x2740x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_28_FLEXPWM1_PWM2_B0x0840x2740x4700x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_28_LPUART5_CTS_B0x0840x2740x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_28_LPSPI1_SDO0x0840x2740x4F80x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_28_FLEXIO1_D140x084 0x274 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_28_GPIO4_IO280x0840x2740x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_29_SEMC_CS00x0880x2780x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_29_FLEXPWM3_PWM0_A0x0880x2780x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_29_LPUART6_RTS_B0x0880x2780x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_29_LPSPI1_SDI0x0880x2780x4F40x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_29_FLEXIO1_D150x088 0x278 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_29_GPIO4_IO290x0880x2780x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_30_SEMC_DA080x08C0x27C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_30_FLEXPWM3_PWM0_B0x08C0x27C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_30_LPUART6_CTS_B0x08C0x27C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_30_LPSPI1_PCS00x08C 0x27C 0x4EC 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_EMC_30_CSI_DATA230x08C0x27C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_30_GPIO4_IO300x08C0x27C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_31_SEMC_DA090x0900x2800x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_31_FLEXPWM3_PWM1_A0x0900x2800x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_31_LPUART7_TXD0x090 0x280 0x55C 0x2 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_31_LPSPI1_PCS1 0x090 0x280 0x000 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_31_CSI_DATA220x0900x2800x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_31_GPIO4_IO310x0900x2800x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_32_SEMC_DA100x0940x2840x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_32_FLEXPWM3_PWM1_B0x0940x2840x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_32_LPUART7_RXD0x094 0x284 0x558 0x2 0x1 +#define
MXRT1050_IOMUXC_GPIO_EMC_32_CCM_PMIC_READY0x0940x2840x3FC0x30x4+#defineMXRT1050_IOMUXC_GPIO_EMC_32_CSI_DATA210x0940x2840x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_32_GPIO3_IO180x0940x2840x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_33_SEMC_DA110x0980x2880x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_33_FLEXPWM3_PWM2_A0x0980x2880x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_33_USDHC1_RESET_B0x0980x2880x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_33_SAI3_RX_DATA0x0980x2880x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_33_CSI_DATA200x0980x2880x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_33_GPIO3_IO190x0980x2880x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_34_SEMC_DA120x09C0x28C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_34_FLEXPWM3_PWM2_B0x09C0x28C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_34_USDHC1_VSELECT0x09C0x28C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_34_SAI3_RX_SYNC0x09C0x28C0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_34_CSI_DATA190x09C0x28C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_34_GPIO3_IO200x09C0x28C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_35_SEMC_DA130x0A00x2900x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_XBAR_INOUT180x0A00x2900x6300x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_GPT1_COMPARE10x0A00x2900x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_SAI3_RX_BCLK0x0A00x2900x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_CSI_DATA180x0A00x2900x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_GPIO3_IO210x0A00x2900x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_USDHC1_CD_B0x0A0 0x290 0x5D4 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_EMC_36_SEMC_DA140x0A40x2940x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_XBAR_INOUT220x0A40x2940x6380x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_GPT1_COMPARE20x0A40x2940x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_SAI3_TX_DATA0x0A40x2940x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_CSI_DATA170x0A40x2940x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_GPIO3_IO220x0A40x2940x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_USDHC1_WP0x0A40x2940x5D80x60x1+ +#defineMXRT1050_IOMUXC_GPIO_EMC_37_SEMC_DA150x0A80x2980x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_XBAR_INOUT230x0A80x2980x63C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_GPT1_COMPARE30x0A80x2980x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_SAI3_MCLK0x0A80x2980x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_CSI_DATA160x0A80x2980x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_GPIO3_IO230x0A80x2980x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_USDHC2_WP0x0A80x2980x6080x60x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_38_SEMC_DM010x0AC0x29C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_38_FLEXPWM1_PWM3_A0x0AC0x29C0x4540x10x2+#defineMXRT1050_IOMUXC_GPIO_EMC_38_LPUART8_TXD0x0AC 0x29C 0x564 0x2 0x2 +#define
MXRT1050_IOMUXC_GPIO_EMC_38_SAI3_TX_BCLK0x0AC0x29C0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_38_CSI_FIELD0x0AC0x29C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_38_GPIO3_IO240x0AC0x29C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_38_USDHC2_VSELECT0x0AC0x29C0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_39_SEMC_DQS0x0B00x2A00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_39_FLEXPWM1_PWM3_B0x0B00x2A00x4640x10x2+#defineMXRT1050_IOMUXC_GPIO_EMC_39_LPUART8_RXD0x0B0 0x2A0 0x560 0x2 0x2 +#define
MXRT1050_IOMUXC_GPIO_EMC_39_SAI3_TX_SYNC0x0B00x2A00x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_39_WDOG1_B0x0B00x2A00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_39_GPIO3_IO250x0B00x2A00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_39_USDHC2_CD_B0x0B0 0x2A0 0x5E0 0x6 0x1 + +#define
MXRT1050_IOMUXC_GPIO_EMC_40_SEMC_RDY0x0B40x2A40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_40_GPT2_CAPTURE20x0B40x2A40x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_40_LPSPI1_PCS20x0B4 0x2A4 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_40_USB_OTG2_OC 0x0B4 0x2A4 0x5CC 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_EMC_40_ENET_MDC0x0B40x2A40x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_40_GPIO3_IO260x0B40x2A40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_40_USDHC2_RESET_B0x0B40x2A40x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_41_SEMC_CSX00x0B80x2A80x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_41_GPT2_CAPTURE10x0B80x2A80x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_41_LPSPI1_PCS30x0B8 0x2A8 0x000 0x2 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_41_USB_OTG2_PWR0x0B80x2A80x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_41_ENET_MDIO0x0B80x2A80x4300x40x1+#defineMXRT1050_IOMUXC_GPIO_EMC_41_GPIO3_IO270x0B80x2A80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_41_USDHC2_VSELECT0x0B80x2A80x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_FLEXPWM2_PWM3_A0x0BC0x2AC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_XBAR_INOUT140x0BC0x2AC0x6440x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_REF_CLK_32K0x0BC0x2AC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_USB_OTG2_ID0x0BC0x2AC0x3F80x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_LPI2C1_SCLS0x0BC0x2AC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_GPIO1_IO000x0BC0x2AC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_USDHC1_RESET_B0x0BC0x2AC0x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_LPSPI3_SCK0x0BC0x2AC0x5100x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_FLEXPWM2_PWM3_B0x0C00x2B00x4840x00x2+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_XBAR_INOUT150x0C00x2B00x6480x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_REF_CLK_24M0x0C00x2B00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_USB_OTG1_ID0x0C00x2B00x3F40x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_LPI2C1_SDAS0x0C00x2B00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_GPIO1_IO010x0C00x2B00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_EWM_OUT_B0x0C0 0x2B0 0x000 0x6 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_01_LPSPI3_SDO0x0C00x2B00x5180x70x1+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_FLEXCAN2_TX0x0C40x2B40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_XBAR_INOUT160x0C40x2B40x64C0x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_LPUART6_TXD0x0C40x2B40x5540x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_USB_OTG1_PWR0x0C40x2B40x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_FLEXPWM1_PWM0_X0x0C40x2B40x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_GPIO1_IO020x0C40x2B40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_LPI2C1_HREQ0x0C40x2B40x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_LPSPI3_SDI0x0C40x2B40x5140x70x1+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_FLEXCAN2_RX0x0C80x2B80x4500x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_XBAR_INOUT170x0C80x2B80x62C0x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_LPUART6_RXD0x0C80x2B80x5500x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_USB_OTG1_OC0x0C80x2B80x5D00x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_FLEXPWM1_PWM1_X0x0C80x2B80x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_GPIO1_IO030x0C80x2B80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_REF_CLK_24M0x0C80x2B80x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_LPSPI3_PCS00x0C80x2B80x50C0x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_SRC_BOOT_MODE000x0CC0x2BC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_MQS_RIGHT0x0CC 0x2BC 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_04_ENET_TX_DATA030x0CC0x2BC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_SAI2_TX_SYNC0x0CC0x2BC0x5C40x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_CSI_DATA090x0CC0x2BC0x41C0x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_GPIO1_IO040x0CC0x2BC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_PIT_TRIGGER000x0CC0x2BC0x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_LPSPI3_PCS10x0CC0x2BC0x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_SRC_BOOT_MODE010x0D00x2C00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_MQS_LEFT0x0D00x2C00x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_ENET_TX_DATA020x0D00x2C00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_SAI2_TX_BCLK0x0D00x2C00x5C00x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_CSI_DATA080x0D00x2C00x4180x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_GPIO1_IO050x0D00x2C00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_XBAR_INOUT170x0D00x2C00x62C0x60x2+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_LPSPI3_PCS20x0D00x2C00x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_JTAG_TMS0x0D40x2C40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_GPT2_COMPARE10x0D40x2C40x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_ENET_RX_CLK0x0D40x2C40x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_SAI2_RX_BCLK0x0D40x2C40x5B40x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_CSI_DATA070x0D40x2C40x4140x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_GPIO1_IO060x0D40x2C40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_XBAR_INOUT180x0D40x2C40x6300x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_LPSPI3_PCS30x0D40x2C40x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_JTAG_TCK0x0D80x2C80x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_GPT2_COMPARE20x0D80x2C80x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_ENET_TX_ER0x0D80x2C80x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_SAI2_RX_SYNC0x0D80x2C80x5BC0x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_CSI_DATA060x0D80x2C80x4100x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_GPIO1_IO070x0D80x2C80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_XBAR_INOUT190x0D80x2C80x6540x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_ENET_1588_EVENT3_OUT0x0D80x2C80x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_JTAG_MOD0x0DC0x2CC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_GPT2_COMPARE30x0DC0x2CC0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_ENET_RX_DATA030x0DC0x2CC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_SAI2_RX_DATA0x0DC0x2CC0x5B80x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_CSI_DATA050x0DC0x2CC0x40C0x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_GPIO1_IO080x0DC0x2CC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_XBAR_INOUT200x0DC0x2CC0x6340x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_ENET_1588_EVENT3_IN0x0DC0x2CC0x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_JTAG_TDI0x0E00x2D00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_FLEXPWM2_PWM3_A0x0E00x2D00x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_ENET_RX_DATA020x0E00x2D00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_SAI2_TX_DATA0x0E00x2D00x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_CSI_DATA040x0E00x2D00x4080x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_GPIO1_IO090x0E00x2D00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_XBAR_INOUT210x0E00x2D00x6580x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_GPT2_CLK0x0E00x2D00x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_JTAG_TDO0x0E40x2D40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_FLEXPWM1_PWM3_A0x0E40x2D40x4540x10x3+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_ENET_CRS0x0E40x2D40x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_SAI2_MCLK0x0E4 0x2D4 0x5B0 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_10_CSI_DATA030x0E40x2D40x4040x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_GPIO1_IO100x0E40x2D40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_XBAR_INOUT220x0E40x2D40x6380x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_ENET_1588_EVENT0_OUT0x0E40x2D40x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_JTAG_TRSTB0x0E80x2D80x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_FLEXPWM1_PWM3_B0x0E80x2D80x4640x10x3+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_ENET_COL0x0E80x2D80x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_WDOG1_B0x0E80x2D80x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_CSI_DATA020x0E80x2D80x4000x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_GPIO1_IO110x0E80x2D80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_XBAR_INOUT230x0E80x2D80x63C0x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_ENET_1588_EVENT0_IN0x0E80x2D80x4440x70x1+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_LPI2C4_SCL0x0EC0x2DC0x4E40x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_CCM_PMIC_READY0x0EC0x2DC0x3FC0x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_LPUART1_TXD0x0EC0x2DC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_WDOG2_B0x0EC0x2DC0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_FLEXPWM1_PWM2_X0x0EC0x2DC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_GPIO1_IO120x0EC0x2DC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_ENET_1588_EVENT1_OUT0x0EC0x2DC0x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_NMI0x0EC0x2DC0x5680x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_LPI2C4_SDA0x0F00x2E00x4E80x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_GPT1_CLK0x0F00x2E00x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_LPUART1_RXD0x0F00x2E00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_EWM_OUT_B0x0F0 0x2E0 0x000 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_13_FLEXPWM1_PWM3_X0x0F00x2E00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_GPIO1_IO130x0F00x2E00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_ENET_1588_EVENT1_IN0x0F00x2E00x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_REF_CLK_24M0x0F00x2E00x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_USB_OTG2_OC0x0F40x2E40x5CC0x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_XBAR_INOUT240x0F40x2E40x6400x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_LPUART1_CTS_B0x0F40x2E40x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_ENET_1588_EVENT0_OUT0x0F40x2E40x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_CSI_VSYNC0x0F4 0x2E4 0x428 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_14_GPIO1_IO140x0F40x2E40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_FLEXCAN2_TX0x0F40x2E40x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_USB_OTG2_PWR0x0F80x2E80x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_XBAR_INOUT250x0F80x2E80x6500x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_LPUART1_RTS_B0x0F80x2E80x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_ENET_1588_EVENT0_IN0x0F80x2E80x4440x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_CSI_HSYNC0x0F8 0x2E8 0x420 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_15_GPIO1_IO150x0F80x2E80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_FLEXCAN2_RX0x0F80x2E80x4500x60x2+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_WDOG1_WDOG_RST_B_DEB0x0F80x2E80x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_USB_OTG2_ID0x0FC0x2EC0x3F80x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_TMR3_TIMER00x0FC0x2EC0x57C0x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_LPUART2_CTS_B0x0FC0x2EC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_LPI2C1_SCL0x0FC0x2EC0x4CC0x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_WDOG1_B0x0FC0x2EC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_GPIO1_IO160x0FC0x2EC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_USDHC1_WP0x0FC 0x2EC 0x5D8 0x6 0x2 +#define MXRT1050_IOMUXC_GPIO_AD_B1_00_KPP_ROW07 0x0FC 0x2EC 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_01_USB_OTG1_PWR0x1000x2F00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_TMR3_TIMER10x1000x2F00x5800x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_LPUART2_RTS_B0x1000x2F00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_LPI2C1_SDA0x1000x2F00x4D00x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_CCM_PMIC_READY0x1000x2F00x3FC0x40x2+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_GPIO1_IO170x1000x2F00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_USDHC1_VSELECT0x1000x2F00x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_KPP_COL070x100 0x2F0 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_02_USB_OTG1_ID0x1040x2F40x3F40x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_TMR3_TIMER20x1040x2F40x5840x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_LPUART2_TXD0x1040x2F40x5300x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_SPDIF_OUT0x104 0x2F4 0x000 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_02_ENET_1588_EVENT2_OUT0x1040x2F40x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_GPIO1_IO180x1040x2F40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_USDHC1_CD_B0x1040x2F40x5D40x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_KPP_ROW060x104 0x2F4 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_03_USB_OTG1_OC0x1080x2F80x5D00x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_TMR3_TIMER30x1080x2F80x5880x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_LPUART2_RXD0x1080x2F80x52C0x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_SPDIF_IN0x1080x2F80x5C80x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_ENET_1588_EVENT2_IN0x1080x2F80x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_GPIO1_IO190x1080x2F80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_USDHC2_CD_B0x1080x2F80x5E00x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_KPP_COL060x108 0x2F8 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_04_FLEXSPI_B_DATA30x10C0x2FC0x4C40x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_ENET_MDC0x10C0x2FC0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_LPUART3_CTS_B0x10C0x2FC0x5340x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_SPDIF_SR_CLK0x10C0x2FC0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_CSI_PIXCLK0x10C0x2FC0x4240x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_GPIO1_IO200x10C0x2FC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_USDHC2_DATA00x10C0x2FC0x5E80x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_KPP_ROW050x10C 0x2FC 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_05_FLEXSPI_B_DATA2 0x110 0x300 0x4C0 0x0 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_05_ENET_MDIO 0x110 0x300 0x430 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_AD_B1_05_LPUART3_RTS_B 0x110 0x300 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_AD_B1_05_SPDIF_OUT 0x110 0x300 0x000 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_05_CSI_MCLK0x1100x3000x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_05_GPIO1_IO210x1100x3000x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_05_USDHC2_DATA10x1100x3000x5EC0x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_05_KPP_COL050x110 0x300 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_06_FLEXSPI_B_DATA10x1140x3040x4BC0x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_LPI2C3_SDA0x1140x3040x4E00x10x2+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_LPUART3_TXD0x1140x3040x53C0x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_SPDIF_LOCK0x1140x3040x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_CSI_VSYNC0x114 0x304 0x428 0x4 0x1 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_06_GPIO1_IO220x1140x3040x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_USDHC2_DATA20x1140x3040x5F00x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_KPP_ROW040x114 0x304 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_07_FLEXSPI_B_DATA00x1180x3080x4B80x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_LPI2C3_SCL0x1180x3080x4DC0x10x2+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_LPUART3_RXD0x1180x3080x5380x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_SPDIF_EXT_CLK0x1180x3080x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_CSI_HSYNC0x118 0x308 0x420 0x4 0x1 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_07_GPIO1_IO230x1180x3080x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_USDHC2_DATA30x1180x3080x5F40x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_KPP_COL040x118 0x308 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_08_FLEXSPI_A_SS1_B0x11C0x30C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_FLEXPWM4_PWM0_A0x11C0x30C0x4940x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_FLEXCAN1_TX0x11C0x30C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_CCM_PMIC_READY0x11C0x30C0x3FC0x30x3+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_CSI_DATA090x11C0x30C0x41C0x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_GPIO1_IO240x11C0x30C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_USDHC2_CMD0x11C0x30C0x5E40x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_KPP_ROW030x11C 0x30C 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_09_FLEXSPI_A_DQS0x1200x3100x4A40x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_FLEXPWM4_PWM1_A0x1200x3100x4980x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_FLEXCAN1_RX0x1200x3100x44C0x20x2+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_SAI1_MCLK0x120 0x310 0x58C 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_09_CSI_DATA080x1200x3100x4180x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_GPIO1_IO250x1200x3100x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_USDHC2_CLK0x1200x3100x5DC0x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_KPP_COL030x120 0x310 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_10_FLEXSPI_A_DATA30x1240x3140x4B40x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_WDOG1_B0x1240x3140x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_LPUART8_TXD0x1240x3140x5640x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_SAI1_RX_SYNC0x1240x3140x5A40x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_CSI_DATA070x1240x3140x4140x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_GPIO1_IO260x1240x3140x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_USDHC2_WP0x124 0x314 0x608 0x6 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_10_KPP_ROW02 0x124 0x314 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_11_FLEXSPI_A_DATA2 0x128 0x318 0x4B0 0x0 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_11_EWM_OUT_B 0x128 0x318 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_11_LPUART8_RXD0x1280x3180x5600x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_11_SAI1_RX_BCLK0x1280x3180x5900x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_11_CSI_DATA060x1280x3180x4100x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_11_GPIO1_IO270x1280x3180x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_11_USDHC2_RESET_B0x1280x3180x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_11_KPP_COL020x128 0x318 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_12_FLEXSPI_A_DATA1 0x12C 0x31C 0x4AC 0x0 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_12_ACMP1_OUT 0x12C 0x31C 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_12_LPSPI3_PCS00x12C0x31C0x50C0x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_12_SAI1_RX_DATA000x12C0x31C0x5940x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_12_CSI_DATA050x12C0x31C0x40C0x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_12_GPIO1_IO280x12C0x31C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_12_USDHC2_DATA40x12C0x31C0x5F80x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_12_KPP_ROW010x12C 0x31C 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_13_FLEXSPI_A_DATA0 0x130 0x320 0x4A8 0x0 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_13_ACMP2_OUT 0x130 0x320 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_13_LPSPI3_SDI0x1300x3200x5140x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_13_SAI1_TX_DATA000x1300x3200x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_13_CSI_DATA040x1300x3200x4080x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_13_GPIO1_IO290x1300x3200x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_13_USDHC2_DATA50x1300x3200x5FC0x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_13_KPP_COL010x130 0x320 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_14_FLEXSPI_A_SCLK 0x134 0x324 0x4C8 0x0 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_14_ACMP3_OUT 0x134 0x324 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_14_LPSPI3_SDO0x1340x3240x5180x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_14_SAI1_TX_BCLK0x1340x3240x5A80x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_14_CSI_DATA030x1340x3240x4040x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_14_GPIO1_IO300x1340x3240x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_14_USDHC2_DATA60x1340x3240x6000x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_14_KPP_ROW000x134 0x324 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_15_FLEXSPI_A_SS0_B 0x138 0x328 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_AD_B1_15_ACMP4_OUT 0x138 0x328 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_15_LPSPI3_SCK0x1380x3280x5100x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_15_SAI1_TX_SYNC0x1380x3280x5AC0x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_15_CSI_DATA020x1380x3280x4000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_15_GPIO1_IO310x1380x3280x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_15_USDHC2_DATA70x1380x3280x6040x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_15_KPP_COL000x138 0x328 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_00_LCD_CLK0x13C0x32C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_TMR1_TIMER00x13C0x32C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_MQS_RIGHT0x13C0x32C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_LPSPI4_PCS00x13C0x32C0x51C0x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_FLEXIO2_D000x13C0x32C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_GPIO2_IO000x13C0x32C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_SEMC_CSX10x13C0x32C0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B0_01_LCD_ENABLE0x1400x3300x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_TMR1_TIMER10x1400x3300x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_MQS_LEFT0x1400x3300x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_LPSPI4_SDI0x1400x3300x5240x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_FLEXIO2_D010x1400x3300x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_GPIO2_IO010x1400x3300x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_SEMC_CSX20x1400x3300x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B0_02_LCD_HSYNC0x1440x3340x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_TMR1_TIMER20x1440x3340x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_FLEXCAN1_TX0x1440x3340x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_LPSPI4_SDO0x1440x3340x5280x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_FLEXIO2_D020x1440x3340x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_GPIO2_IO020x1440x3340x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_SEMC_CSX30x1440x3340x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B0_03_LCD_VSYNC0x1480x3380x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_03_TMR2_TIMER00x1480x3380x56C0x10x1+#defineMXRT1050_IOMUXC_GPIO_B0_03_FLEXCAN1_RX0x1480x3380x44C0x20x3+#defineMXRT1050_IOMUXC_GPIO_B0_03_LPSPI4_SCK0x1480x3380x5200x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_03_FLEXIO2_D030x1480x3380x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_03_GPIO2_IO030x1480x3380x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_03_WDOG2_RESET_B_DEB0x1480x3380x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B0_04_LCD_DATA000x14C0x33C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_04_TMR2_TIMER10x14C0x33C0x5700x10x1+#defineMXRT1050_IOMUXC_GPIO_B0_04_LPI2C2_SCL0x14C0x33C0x4D40x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_04_ARM_TRACE000x14C0x33C0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_04_FLEXIO2_D040x14C0x33C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_04_GPIO2_IO040x14C0x33C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_04_SRC_BT_CFG000x14C 0x33C 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_05_LCD_DATA010x1500x3400x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_05_TMR2_TIMER20x1500x3400x5740x10x1+#defineMXRT1050_IOMUXC_GPIO_B0_05_LPI2C2_SDA0x1500x3400x4D80x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_05_ARM_TRACE010x1500x3400x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_05_FLEXIO2_D050x1500x3400x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_05_GPIO2_IO050x1500x3400x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_05_SRC_BT_CFG010x150 0x340 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_06_LCD_DATA020x1540x3440x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_06_TMR3_TIMER00x1540x3440x57C0x10x2+#defineMXRT1050_IOMUXC_GPIO_B0_06_FLEXPWM2_PWM0_A0x1540x3440x4780x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_06_ARM_TRACE020x1540x3440x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_06_FLEXIO2_D060x1540x3440x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_06_GPIO2_IO060x1540x3440x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_06_SRC_BT_CFG020x154 0x344 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_07_LCD_DATA030x1580x3480x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_07_TMR3_TIMER10x1580x3480x5800x10x2+#defineMXRT1050_IOMUXC_GPIO_B0_07_FLEXPWM2_PWM0_B0x1580x3480x4880x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_07_ARM_TRACE030x1580x3480x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_07_FLEXIO2_D070x1580x3480x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_07_GPIO2_IO070x1580x3480x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_07_SRC_BT_CFG030x158 0x348 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_08_LCD_DATA040x15C0x34C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_08_TMR3_TIMER20x15C0x34C0x5840x10x2+#defineMXRT1050_IOMUXC_GPIO_B0_08_FLEXPWM2_PWM1_A0x15C0x34C0x47C0x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_08_LPUART3_TXD0x15C0x34C0x53C0x30x2+#defineMXRT1050_IOMUXC_GPIO_B0_08_FLEXIO2_D080x15C0x34C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_08_GPIO2_IO080x15C0x34C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_08_SRC_BT_CFG040x15C 0x34C 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_09_LCD_DATA050x1600x3500x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_09_TMR4_TIMER00x1600x3500x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_09_FLEXPWM2_PWM1_B0x1600x3500x48C0x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_09_LPUART3_RXD0x1600x3500x5380x30x2+#defineMXRT1050_IOMUXC_GPIO_B0_09_FLEXIO2_D090x1600x3500x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_09_GPIO2_IO090x1600x3500x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_09_SRC_BT_CFG050x160 0x350 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_10_LCD_DATA060x1640x3540x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_10_TMR4_TIMER10x1640x3540x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_10_FLEXPWM2_PWM2_A0x1640x3540x4800x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_10_SAI1_TX_DATA030x1640x3540x5980x30x1+#defineMXRT1050_IOMUXC_GPIO_B0_10_FLEXIO2_D100x1640x3540x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_10_GPIO2_IO100x1640x3540x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_10_SRC_BT_CFG060x164 0x354 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_11_LCD_DATA070x1680x3580x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_11_TMR4_TIMER20x1680x3580x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_11_FLEXPWM2_PWM2_B0x1680x3580x4900x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_11_SAI1_TX_DATA020x1680x3580x59C0x30x1+#defineMXRT1050_IOMUXC_GPIO_B0_11_FLEXIO2_D110x1680x3580x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_11_GPIO2_IO110x1680x3580x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_11_SRC_BT_CFG070x168 0x358 0x000 0x6 0x0 + +#define MXRT1050_IOMUXC_GPIO_B0_12_LCD_DATA08 0x16C 0x35C 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_12_XBAR_INOUT10 0x16C 0x35C 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_B0_12_ARM_TRACE_CLK0x16C0x35C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B0_12_SAI1_TX_DATA010x16C0x35C0x5A00x30x1+#defineMXRT1050_IOMUXC_GPIO_B0_12_FLEXIO2_D120x16C0x35C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_12_GPIO2_IO120x16C0x35C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_12_SRC_BT_CFG080x16C 0x35C 0x000 0x6 0x0 + +#define MXRT1050_IOMUXC_GPIO_B0_13_LCD_DATA09 0x170 0x360 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_13_XBAR_INOUT11 0x170 0x360 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_B0_13_ARM_TRACE_SWO0x1700x3600x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B0_13_SAI1_MCLK0x1700x3600x58C0x30x2+#defineMXRT1050_IOMUXC_GPIO_B0_13_FLEXIO2_D130x1700x3600x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_13_GPIO2_IO130x1700x3600x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_13_SRC_BT_CFG090x170 0x360 0x000 0x6 0x0 + +#define MXRT1050_IOMUXC_GPIO_B0_14_LCD_DATA10 0x174 0x364 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_14_XBAR_INOUT12 0x174 0x364 0x000 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_14_ARM_CM7_TXEV 0x174 0x364 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_14_SAI1_RX_SYNC 0x174 0x364 0x5A4 0x3 0x2 +#define
MXRT1050_IOMUXC_GPIO_B0_14_FLEXIO2_D140x1740x3640x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_14_GPIO2_IO140x1740x3640x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_14_SRC_BT_CFG100x174 0x364 0x000 0x6 0x0 + +#define MXRT1050_IOMUXC_GPIO_B0_15_LCD_DATA11 0x178 0x368 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_15_XBAR_INOUT13 0x178 0x368 0x000 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_15_ARM_CM7_RXEV 0x178 0x368 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_15_SAI1_RX_BCLK 0x178 0x368 0x590 0x3 0x2 +#define
MXRT1050_IOMUXC_GPIO_B0_15_FLEXIO2_D150x1780x3680x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_15_GPIO2_IO150x1780x3680x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_15_SRC_BT_CFG110x178 0x368 0x000 0x6 0x0 + +#define MXRT1050_IOMUXC_GPIO_B1_00_LCD_DATA12 0x17C 0x36C 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_B1_00_XBAR_INOUT14 0x17C 0x36C 0x644 0x1 0x1 +#define
MXRT1050_IOMUXC_GPIO_B1_00_LPUART4_TXD0x17C0x36C0x5440x20x2+#defineMXRT1050_IOMUXC_GPIO_B1_00_SAI1_RX_DATA000x17C0x36C0x5940x30x2+#defineMXRT1050_IOMUXC_GPIO_B1_00_FLEXIO2_D160x17C0x36C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_00_GPIO2_IO160x17C0x36C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_00_FLEXPWM1_PWM3_A0x17C0x36C0x4540x60x4+ +#defineMXRT1050_IOMUXC_GPIO_B1_01_LCD_DATA130x1800x3700x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_01_XBAR_INOUT150x180 0x370 0x648 0x1 0x1 +#define
MXRT1050_IOMUXC_GPIO_B1_01_LPUART4_RXD0x1800x3700x5400x20x2+#defineMXRT1050_IOMUXC_GPIO_B1_01_SAI1_TX_DATA000x1800x3700x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B1_01_FLEXIO2_D170x1800x3700x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_01_GPIO2_IO170x1800x3700x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_01_FLEXPWM1_PWM3_B0x1800x3700x4640x60x4+ +#defineMXRT1050_IOMUXC_GPIO_B1_02_LCD_DATA140x1840x3740x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_02_XBAR_INOUT160x184 0x374 0x64C 0x1 0x1 +#define MXRT1050_IOMUXC_GPIO_B1_02_LPSPI4_PCS2 0x184 0x374 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_B1_02_SAI1_TX_BCLK 0x184 0x374 0x5A8 0x3 0x2 +#define
MXRT1050_IOMUXC_GPIO_B1_02_FLEXIO2_D180x1840x3740x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_02_GPIO2_IO180x1840x3740x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_02_FLEXPWM2_PWM3_A0x1840x3740x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_03_LCD_DATA150x1880x3780x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_03_XBAR_INOUT170x188 0x378 0x62C 0x1 0x3 +#define MXRT1050_IOMUXC_GPIO_B1_03_LPSPI4_PCS1 0x188 0x378 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_B1_03_SAI1_TX_SYNC 0x188 0x378 0x5AC 0x3 0x2 +#define
MXRT1050_IOMUXC_GPIO_B1_03_FLEXIO2_D190x1880x3780x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_03_GPIO2_IO190x1880x3780x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_03_FLEXPWM2_PWM3_B0x1880x3780x4840x60x3+ +#defineMXRT1050_IOMUXC_GPIO_B1_04_LCD_DATA160x18C0x37C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_04_LPSPI4_PCS00x18C0x37C0x51C0x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_04_CSI_DATA150x18C0x37C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_04_ENET_RX_DATA000x18C0x37C0x4340x30x1+#defineMXRT1050_IOMUXC_GPIO_B1_04_FLEXIO2_D200x18C0x37C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_04_GPIO2_IO200x18C0x37C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_05_LCD_DATA170x1900x3800x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_05_LPSPI4_SDI0x1900x3800x5240x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_05_CSI_DATA140x1900x3800x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_05_ENET_RX_DATA010x1900x3800x4380x30x1+#defineMXRT1050_IOMUXC_GPIO_B1_05_FLEXIO2_D210x1900x3800x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_05_GPIO2_IO210x1900x3800x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_06_LCD_DATA180x1940x3840x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_06_LPSPI4_SDO0x1940x3840x5280x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_06_CSI_DATA130x1940x3840x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_06_ENET_RX_EN0x1940x3840x43C0x30x1+#defineMXRT1050_IOMUXC_GPIO_B1_06_FLEXIO2_D220x1940x3840x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_06_GPIO2_IO220x1940x3840x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_07_LCD_DATA190x1980x3880x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_07_LPSPI4_SCK0x1980x3880x5200x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_07_CSI_DATA120x1980x3880x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_07_ENET_TX_DATA000x1980x3880x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B1_07_FLEXIO2_D230x1980x3880x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_07_GPIO2_IO230x1980x3880x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_08_LCD_DATA200x19C0x38C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_TMR1_TIMER30x19C0x38C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_CSI_DATA110x19C0x38C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_ENET_TX_DATA010x19C0x38C0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_FLEXIO2_D240x19C0x38C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_GPIO2_IO240x19C0x38C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_FLEXCAN2_TX0x19C0x38C0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_09_LCD_DATA210x1A00x3900x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_09_TMR2_TIMER30x1A00x3900x5780x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_09_CSI_DATA100x1A00x3900x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_09_ENET_TX_EN0x1A00x3900x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B1_09_FLEXIO2_D250x1A00x3900x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_09_GPIO2_IO250x1A00x3900x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_09_FLEXCAN2_RX0x1A00x3900x4500x60x3+ +#defineMXRT1050_IOMUXC_GPIO_B1_10_LCD_DATA220x1A40x3940x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_10_TMR3_TIMER30x1A40x3940x5880x10x2+#defineMXRT1050_IOMUXC_GPIO_B1_10_CSI_DATA000x1A40x3940x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_10_ENET_TX_CLK0x1A40x3940x4480x30x1+#defineMXRT1050_IOMUXC_GPIO_B1_10_FLEXIO2_D260x1A40x3940x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_10_GPIO2_IO260x1A40x3940x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_10_ENET_REF_CLK0x1A4 0x394 0x42C 0x6 0x1 + +#define
MXRT1050_IOMUXC_GPIO_B1_11_LCD_DATA230x1A80x3980x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_11_TMR4_TIMER30x1A80x3980x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B1_11_CSI_DATA010x1A80x3980x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_11_ENET_RX_ER0x1A80x3980x4400x30x1+#defineMXRT1050_IOMUXC_GPIO_B1_11_FLEXIO2_D270x1A80x3980x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_11_GPIO2_IO270x1A80x3980x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_11_LPSPI4_PCS30x1A80x3980x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_12_LPUART5_TXD0x1AC0x39C0x54C0x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_12_CSI_PIXCLK0x1AC0x39C0x4240x20x1+#defineMXRT1050_IOMUXC_GPIO_B1_12_ENET_1588_EVENT0_IN0x1AC0x39C0x4440x30x2+#defineMXRT1050_IOMUXC_GPIO_B1_12_FLEXIO2_D280x1AC0x39C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_12_GPIO2_IO280x1AC0x39C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_12_USDHC1_CD_B0x1AC0x39C0x5D40x60x2+ +#defineMXRT1050_IOMUXC_GPIO_B1_13_WDOG1_B0x1B00x3A00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_13_LPUART5_RXD0x1B00x3A00x5480x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_13_CSI_VSYNC0x1B00x3A00x4280x20x2+#defineMXRT1050_IOMUXC_GPIO_B1_13_ENET_1588_EVENT0_OUT0x1B0 0x3A0 0x000 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_B1_13_FLEXIO2_D290x1B00x3A00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_13_GPIO2_IO290x1B00x3A00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_13_USDHC1_WP0x1B00x3A00x5D80x60x3+ +#defineMXRT1050_IOMUXC_GPIO_B1_14_ENET_MDC0x1B40x3A40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_14_FLEXPWM4_PWM2_A0x1B40x3A40x49C0x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_14_CSI_HSYNC0x1B40x3A40x4200x20x2+#defineMXRT1050_IOMUXC_GPIO_B1_14_XBAR_INOUT020x1B4 0x3A4 0x60C 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_B1_14_FLEXIO2_D300x1B40x3A40x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_14_GPIO2_IO300x1B40x3A40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_14_USDHC1_VSELECT0x1B40x3A40x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_15_ENET_MDIO0x1B80x3A80x4300x00x2+#defineMXRT1050_IOMUXC_GPIO_B1_15_FLEXPWM4_PWM3_A0x1B80x3A80x4A00x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_15_CSI_MCLK0x1B80x3A80x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_15_XBAR_INOUT030x1B8 0x3A8 0x610 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_B1_15_FLEXIO2_D310x1B80x3A80x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_15_GPIO2_IO310x1B80x3A80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_15_USDHC1_RESET_B0x1B80x3A80x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_USDHC1_CMD0x1BC0x3AC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_FLEXPWM1_PWM0_A0x1BC0x3AC0x4580x10x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_LPI2C3_SCL0x1BC0x3AC0x4DC0x20x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_XBAR_INOUT040x1BC0x3AC0x6140x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_LPSPI1_SCK0x1BC0x3AC0x4F00x40x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_GPIO3_IO120x1BC0x3AC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_FLEXSPI_A_SS1_B0x1BC0x3AC0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_USDHC1_CLK0x1C00x3B00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_FLEXPWM1_PWM0_B0x1C00x3B00x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_LPI2C3_SDA0x1C00x3B00x4E00x20x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_XBAR_INOUT050x1C00x3B00x6180x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_LPSPI1_PCS00x1C00x3B00x4EC0x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_GPIO3_IO130x1C00x3B00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_FLEXSPI_B_SS1_B0x1C00x3B00x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_USDHC1_DATA00x1C40x3B40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_FLEXPWM1_PWM1_A0x1C40x3B40x45C0x10x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_LPUART8_CTS_B0x1C40x3B40x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_XBAR_INOUT060x1C40x3B40x61C0x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_LPSPI1_SDO0x1C40x3B40x4F80x40x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_GPIO3_IO140x1C40x3B40x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_USDHC1_DATA10x1C80x3B80x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_FLEXPWM1_PWM1_B0x1C80x3B80x46C0x10x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_LPUART8_RTS_B0x1C80x3B80x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_XBAR_INOUT070x1C80x3B80x6200x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_LPSPI1_SDI0x1C80x3B80x4F40x40x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_GPIO3_IO150x1C80x3B80x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_USDHC1_DATA20x1CC0x3BC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_FLEXPWM1_PWM2_A0x1CC0x3BC0x4600x10x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_LPUART8_TXD0x1CC0x3BC0x5640x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_XBAR_INOUT080x1CC0x3BC0x6240x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_FLEXSPI_B_SS0_B0x1CC0x3BC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_GPIO3_IO160x1CC0x3BC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_CCM_CLKO10x1CC 0x3BC 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_SD_B0_05_USDHC1_DATA30x1D00x3C00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_FLEXPWM1_PWM2_B0x1D00x3C00x4700x10x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_LPUART8_RXD0x1D00x3C00x5600x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_XBAR_INOUT090x1D00x3C00x6280x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_FLEXSPI_B_DQS0x1D00x3C00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_GPIO3_IO170x1D00x3C00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_CCM_CLKO20x1D0 0x3C0 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_SD_B1_00_USDHC2_DATA30x1D40x3C40x5F40x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_00_FLEXSPI_B_DATA30x1D40x3C40x4C40x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_00_FLEXPWM1_PWM3_A0x1D40x3C40x4540x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_00_SAI1_TX_DATA030x1D40x3C40x5980x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_00_LPUART4_TXD0x1D40x3C40x5440x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_00_GPIO3_IO000x1D40x3C40x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_USDHC2_DATA20x1D80x3C80x5F00x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_FLEXSPI_B_DATA20x1D80x3C80x4C00x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_FLEXPWM1_PWM3_B0x1D80x3C80x4640x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_SAI1_TX_DATA020x1D80x3C80x59C0x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_LPUART4_RXD0x1D80x3C80x5400x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_GPIO3_IO010x1D80x3C80x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_USDHC2_DATA10x1DC0x3CC0x5EC0x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_FLEXSPI_B_DATA10x1DC0x3CC0x4BC0x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_FLEXPWM2_PWM3_A0x1DC0x3CC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_SAI1_TX_DATA010x1DC0x3CC0x5A00x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_FLEXCAN1_TX0x1DC0x3CC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_GPIO3_IO020x1DC0x3CC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_CCM_WAIT0x1DC0x3CC0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_USDHC2_DATA00x1E00x3D00x5E80x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_FLEXSPI_B_DATA00x1E00x3D00x4B80x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_FLEXPWM2_PWM3_B0x1E00x3D00x4840x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_SAI1_MCLK0x1E0 0x3D0 0x58C 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_SD_B1_03_FLEXCAN1_RX0x1E00x3D00x44C0x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_GPIO3_IO030x1E00x3D00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_CCM_PMIC_READY0x1E00x3D00x3FC0x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_USDHC2_CLK0x1E40x3D40x5DC0x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_FLEXSPI_B_SCLK0x1E40x3D40x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_LPI2C1_SCL0x1E40x3D40x4CC0x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_SAI1_RX_SYNC0x1E40x3D40x5A40x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_FLEXCAN1_A_SS1_B0x1E40x3D40x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_GPIO3_IO040x1E40x3D40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_CCM_STOP0x1E40x3D40x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_USDHC2_CMD0x1E80x3D80x5E40x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_FLEXSPI_A_DQS0x1E80x3D80x4A40x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_LPI2C1_SDA0x1E80x3D80x4D00x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_SAI1_RX_BCLK0x1E80x3D80x5900x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_FLEXCAN1_B_SS0_B0x1E80x3D80x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_GPIO3_IO050x1E80x3D80x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_USDHC2_RESET_B0x1EC0x3DC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_FLEXSPI_A_SS0_B0x1EC0x3DC0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_LPUART7_CTS_B0x1EC0x3DC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_SAI1_RX_DATA000x1EC0x3DC0x5940x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_LPSPI2_PCS00x1EC0x3DC0x4FC0x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_GPIO3_IO060x1EC0x3DC0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_SEMC_CSX10x1F0 0x3E0 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_SD_B1_07_FLEXSPI_A_SCLK0x1F00x3E00x4C80x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_LPUART7_RTS_B0x1F00x3E00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_SAI1_TX_DATA000x1F00x3E00x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_LPSPI2_SCK0x1F00x3E00x5000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_GPIO3_IO070x1F00x3E00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_CCM_REF_EN_B0x1F00x3E00x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_USDHC2_DATA40x1F40x3E40x5F80x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_FLEXSPI_A_DATA00x1F40x3E40x4A80x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_LPUART7_TXD0x1F40x3E40x55C0x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_SAI1_TX_BLCK0x1F40x3E40x5A80x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_LPSPI2_SDO0x1F40x3E40x5080x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_GPIO3_IO080x1F40x3E40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_SEMC_CSX20x1F4 0x3E4 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_SD_B1_09_USDHC2_DATA50x1F80x3E80x5FC0x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_09_FLEXSPI_A_DATA10x1F80x3E80x4AC0x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_09_LPUART7_RXD0x1F80x3E80x5580x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_09_SAI1_TX_SYNC0x1F80x3E80x5AC0x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_09_LPSPI2_SDI0x1F80x3E80x5040x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_09_GPIO3_IO090x1F80x3E80x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_USDHC2_DATA60x1FC0x3EC0x6000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_FLEXSPI_A_DATA20x1FC0x3EC0x4B00x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_LPUART2_RXD0x1FC0x3EC0x52C0x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_LPI2C2_SDA0x1FC0x3EC0x4D80x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_LPSPI2_PCS20x1FC0x3EC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_GPIO3_IO100x1FC0x3EC0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_USDHC2_DATA70x2000x3F00x6040x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_FLEXSPI_A_DATA30x2000x3F00x4B40x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_LPUART2_TXD
Quoted 8 lines
0x2000x3F00x5300x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_LPI2C2_SCL0x2000x3F00x4D40x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_LPSPI2_PCS30x2000x3F00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_GPIO3_IO110x2000x3F00x0000x50x0+ +#endif /*_DT_BINDINGS_PINCTRL_IMXRT1050_PINFUNC_H*/
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200128/2e882d93/attachment.sig>
PATCH v2 14/21 ARM: dts: imxrt1050: add dtsi file
Quoted 7 lines · Lukasz Majewski
Hi Giulio,
Quoted 2 lines
Add dtsi file for i.MXRT1050.
Please add information from where this code was ported (as I've pointed out in other mails).
This is not ported, this is the original one. :-)
Quoted 7 lines
Also a tip:
To avoid extra dtsi maintenance burden, there are u-boot*.dtsi files (in e.g.
arch/arm/dts/) which add extra properties (U-boot specific).In that way "original" dtsi (from e.g. Linux) are kept separated from U-Boot adjustments).
Yes, next patch has -uboot.dtsi that includes this.
Best regards
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Quoted 1,918 lines
Quoted 1,896 lines
Signed-off-by Giulio Benetti <[email protected]>--- arch/arm/dts/imxrt1050.dtsi | 146 +++ include/dt-bindings/pinctrl/pins-imxrt1050.h | 993+++++++++++++++++++ 2 files changed, 1139 insertions(+)
create mode 100644arch/arm/dts/imxrt1050.dtsi
create mode 100644include/dt-bindings/pinctrl/pins-imxrt1050.harch/arm/dts/imxrt1050.dtsi new file +52
-0@@ -0,0 +1,146 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) 2019 + * Author(s): Giulio Benetti <[email protected]> + */ + +#include "skeleton.dtsi" +#include "armv7-m.dtsi" +#include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/clock/imxrt1050-clock.h> +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/memory/imxrt-sdram.h> + +/ { + aliases { + gpio0 = &gpio1; + gpio1 = &gpio2; + gpio2 = &gpio3; + gpio3 = &gpio4; + gpio4 = &gpio5; + mmc0 = &usdhc1; + serial0 = &lpuart1; + }; + + clocks { + u-boot,dm-spl; + + osc { + u-boot,dm-spl; + compatible = "fsl,imx-osc", "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; + }; + + soc { + u-boot,dm-spl; + + semc: semc at 402f0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-semc"; + reg = <0x402f0000 0x4000>; + clocks = <&clks IMXRT1050_CLK_SEMC>; + pinctrl-0 = <&pinctrl_semc>; + pinctrl-names = "default"; + status = "okay"; + }; + + lpuart1: serial at 40184000 { + compatible = "fsl,imxrt-lpuart"; + reg = <0x40184000 0x4000>; + interrupts = <GIC_SPI 20
IRQ_TYPE_LEVEL_HIGH>;arch/arm/dts/imxrt1050.dtsi new file +16
-0+ clocks = <&clks IMXRT1050_CLK_LPUART1>; + clock-names = "per"; + status = "disabled"; + }; + + iomuxc: iomuxc at 401f8000 { + compatible = "fsl,imxrt-iomuxc"; + reg = <0x401f8000 0x4000>; + fsl,mux_mask = <0x7>; + }; + + clks: ccm at 400fc000 { + u-boot,dm-spl; + compatible = "fsl,imxrt1050-ccm"; + reg = <0x400fc000 0x4000>; + interrupts = <GIC_SPI 95
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +1
-0+ <GIC_SPI 96
IRQ_TYPE_LEVEL_HIGH>;arch/arm/dts/imxrt1050.dtsi new file +8
-0+ #clock-cells = <1>; + }; + + usdhc1: usdhc at 402c0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-usdhc"; + reg = <0x402c0000 0x10000>; + interrupts = <GIC_SPI 110
IRQ_TYPE_LEVEL_HIGH>;arch/arm/dts/imxrt1050.dtsi new file +11
-0+ clocks = <&clks IMXRT1050_CLK_USDHC1>; + clock-names = "per"; + bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; + status = "disabled"; + }; + + gpio1: gpio at 401b8000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio","fsl,imx35-gpio";
arch/arm/dts/imxrt1050.dtsi new file +2
-0+ reg = <0x401b8000 0x4000>; + interrupts = <GIC_SPI 80
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +1
-0+ <GIC_SPI 81
IRQ_TYPE_LEVEL_HIGH>;arch/arm/dts/imxrt1050.dtsi new file +9
-0+ gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio2: gpio at 401bc000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio","fsl,imx35-gpio";
arch/arm/dts/imxrt1050.dtsi new file +2
-0+ reg = <0x401bc000 0x4000>; + interrupts = <GIC_SPI 82
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +10
-0+ <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio3: gpio at 401c0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio","fsl,imx35-gpio";
arch/arm/dts/imxrt1050.dtsi new file +2
-0+ reg = <0x401c0000 0x4000>; + interrupts = <GIC_SPI 84
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +10
-0+ <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio4: gpio at 401c4000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio","fsl,imx35-gpio";
arch/arm/dts/imxrt1050.dtsi new file +2
-0+ reg = <0x401c4000 0x4000>; + interrupts = <GIC_SPI 86
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +1
-0+ <GIC_SPI 87
IRQ_TYPE_LEVEL_HIGH>;arch/arm/dts/imxrt1050.dtsi new file +9
-0+ gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpio5: gpio at 400c0000 { + u-boot,dm-spl; + compatible = "fsl,imxrt-gpio","fsl,imx35-gpio";
arch/arm/dts/imxrt1050.dtsi new file +2
-0+ reg = <0x400c0000 0x4000>; + interrupts = <GIC_SPI 88
IRQ_TYPE_LEVEL_HIGH>,arch/arm/dts/imxrt1050.dtsi new file +8
-0+ <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +};(quoted diff) +0
-0
b/include/dt-bindings/pinctrl/pins-imxrt1050.hnew file mode 100644 index 0000000000..a29031ab3dinclude/dt-bindings/pinctrl/pins-imxrt1050.h new file +17
-0@@ -0,0 +1,993 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Copyright (C) 2019 +* Author(s): Giulio Benetti <[email protected]> +*/ + +#ifndef _DT_BINDINGS_PINCTRL_IMXRT1050_PINFUNC_H +#define _DT_BINDINGS_PINCTRL_IMXRT1050_PINFUNC_H + +#define IMX_PAD_SION 0x40000000 + +/* +* The pin function ID is a tuple of +* <mux_reg conf_reg input_reg mux_mode input_val> +*/ + +#define MXRT1050_IOMUXC_GPIO_EMC_00_SEMC_DA00 0x014 0x204 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_00_FLEXPWM4_PWM0_A0x0140x2040x4940x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_00_LPSPI2_SCK0x0140x2040x5000x20x1+#defineMXRT1050_IOMUXC_GPIO_EMC_00_XBAR_INOUT20x014 0x204 0x60C 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_00_FLEXIO1_D00 0x014 0x204 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_00_GPIO4_IO000x0140x2040x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_01_SEMC_DA010x0180x2080x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_01_FLEXPWM4_PWM0_B0x0180x2080x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_01_LPSPI2_PCS00x018 0x208 0x4FC 0x2 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_01_XBAR_INOUT3 0x018 0x208 0x610 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_01_FLEXIO1_D01 0x018 0x208 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_01_GPIO4_IO010x0180x2080x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_02_SEMC_DA020x01C0x20C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_02_FLEXPWM4_PWM1_A0x01C0x20C0x4980x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_02_LPSPI2_SDO0x01C0x20C0x5080x20x1+#defineMXRT1050_IOMUXC_GPIO_EMC_02_XBAR_INOUT40x01C 0x20C 0x614 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_02_FLEXIO1_D02 0x01C 0x20C 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_02_GPIO4_IO020x01C0x20C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_03_SEMC_DA030x0200x2100x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_03_FLEXPWM4_PWM1_B0x0200x2100x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_03_LPSPI2_SDI0x0200x2100x5040x20x1+#defineMXRT1050_IOMUXC_GPIO_EMC_03_XBAR_INOUT50x020 0x210 0x618 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_03_FLEXIO1_D03 0x020 0x210 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_03_GPIO4_IO030x0200x2100x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_04_SEMC_DA040x0240x2140x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_04_FLEXPWM4_PWM2_A0x0240x2140x49C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_04_SAI2_TX_DATA0x0240x2140x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_04_XBAR_INOUT60x024 0x214 0x61C 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_04_FLEXIO1_D04 0x024 0x214 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_04_GPIO4_IO040x0240x2140x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_05_SEMC_DA050x0280x2180x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_05_FLEXPWM4_PWM2_B0x0280x2180x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_05_SAI2_TX_SYNC0x0280x2180x5C40x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_05_XBAR_INOUT70x028 0x218 0x620 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_05_FLEXIO1_D05 0x028 0x218 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_05_GPIO4_IO050x0280x2180x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_06_SEMC_DA060x02C0x21C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_06_FLEXPWM2_PWM0_A0x02C0x21C0x4780x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_06_SAI2_TX_BCLK0x02C0x21C0x5C00x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_06_XBAR_INOUT80x02C 0x21C 0x624 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_06_FLEXIO1_D06 0x02C 0x21C 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_06_GPIO4_IO060x02C0x21C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_07_SEMC_DA070x0300x2200x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_07_FLEXPWM2_PWM0_B0x0300x2200x4880x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_07_SAI2_MCLK0x0300x2200x5B00x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_07_XBAR_INOUT90x030 0x220 0x628 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_07_FLEXIO1_D07 0x030 0x220 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_07_GPIO4_IO070x0300x2200x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_08_SEMC_DM000x0340x2240x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_08_FLEXPWM2_PWM1_A0x0340x2240x47C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_08_SAI2_RX_DATA0x0340x2240x5B80x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_08_XBAR_INOUT170x0340x2240x62C0x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_08_FLEXIO1_D080x034 0x224 0x000 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_08_GPIO4_IO08 0x034 0x224 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_09_SEMC_ADDR00 0x038 0x228 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_09_FLEXPWM2_PWM1_B0x0380x2280x48C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_09_SAI2_RX_SYNC0x0380x2280x5BC0x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_09_FLEXCAN2_TX0x038 0x228 0x000 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_09_FLEXIO1_D09 0x038 0x228 0x000 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_09_GPIO4_IO09 0x038 0x228 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_10_SEMC_ADDR01 0x03C 0x22C 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_10_FLEXPWM2_PWM2_A0x03C0x22C0x4800x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_10_SAI2_RX_BCLK0x03C0x22C0x5B40x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_10_FLEXCAN2_RX0x03C 0x22C 0x450 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_10_FLEXIO1_D10 0x03C 0x22C 0x000 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_10_GPIO4_IO10 0x03C 0x22C 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_11_SEMC_ADDR02 0x040 0x230 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_11_FLEXPWM2_PWM2_B0x0400x2300x4900x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_11_LPI2C4_SDA0x0400x2300x4E80x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_11_USDHC2_RESET_B0x0400x2300x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_11_FLEXIO1_D110x040 0x230 0x000 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_11_GPIO4_IO11 0x040 0x230 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_12_SEMC_ADDR03 0x044 0x234 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_12_XBAR_INOUT240x0440x2340x6400x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_12_LPI2C4_SCL0x0440x2340x4E40x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_12_USDHC2_WP0x0440x2340x5D80x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_12_FLEXPWM1_PWM3_A0x0440x2340x4540x40x1+#defineMXRT1050_IOMUXC_GPIO_EMC_12_GPIO4_IO120x0440x2340x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_13_SEMC_ADDR040x048 0x238 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_13_XBAR_INOUT25 0x048 0x238 0x650 0x1 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_13_LPUART3_TXD 0x048 0x238 0x53C 0x2 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_13_MQS_RIGHT0x0480x2380x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_13_FLEXPWM1_PWM3_B0x0480x2380x4640x40x1+#defineMXRT1050_IOMUXC_GPIO_EMC_13_GPIO4_IO130x0480x2380x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_14_SEMC_ADDR050x04C 0x23C 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_14_XBAR_INOUT19 0x04C 0x23C 0x654 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_14_LPUART3_RXD 0x04C 0x23C 0x538 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_14_MQS_LEFT 0x04C 0x23C 0x000 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_14_LPSPI2_PCS1 0x04C 0x23C 0x000 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_14_GPIO4_IO14 0x04C 0x23C 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_15_SEMC_ADDR06 0x050 0x240 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_15_XBAR_INOUT200x0500x2400x6340x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_15_LPUART3_CTS_B0x0500x2400x5340x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_15_SPDIF_OUT0x0500x2400x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_15_TMR3_TIMER00x050 0x240 0x57C 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_15_GPIO4_IO15 0x050 0x240 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_16_SEMC_ADDR07 0x054 0x244 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_16_XBAR_INOUT210x0540x2440x6580x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_16_LPUART3_RTS_B0x0540x2440x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_16_SPDIF_IN0x0540x2440x5C80x30x1+#defineMXRT1050_IOMUXC_GPIO_EMC_16_TMR3_TIMER10x054 0x244 0x580 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_16_GPIO4_IO16 0x054 0x244 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_17_SEMC_ADDR08 0x058 0x248 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_17_FLEXPWM4_PWM3_A0x0580x2480x4A00x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_17_LPUART4_CTS_B0x0580x2480x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_17_FLEXCAN1_TX0x058 0x248 0x000 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_17_TMR3_TIMER2 0x058 0x248 0x584 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_17_GPIO4_IO17 0x058 0x248 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_18_SEMC_ADDR09 0x05C 0x24C 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_18_FLEXPWM4_PWM3_B0x05C0x24C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_18_LPUART4_RTS_B0x05C0x24C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_18_FLEXCAN1_RX0x05C 0x24C 0x44C 0x3 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_18_TMR3_TIMER3 0x05C 0x24C 0x588 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_18_GPIO4_IO180x05C0x24C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_18_SNVS_VIO_5_CTL0x05C0x24C0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_19_SEMC_ADDR110x060 0x250 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_19_FLEXPWM2_PWM3_A 0x060 0x250 0x000 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_19_LPUART4_TXD 0x060 0x250 0x544 0x2 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_19_ENET_RX_DATA01 0x060 0x250 0x438 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_19_TMR2_TIMER0 0x060 0x250 0x56C 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_19_GPIO4_IO190x0600x2500x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_19_SNVS_VIO_50x0600x2500x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_20_SEMC_ADDR120x064 0x254 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_20_FLEXPWM2_PWM3_B 0x064 0x254 0x484 0x1 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_20_LPUART4_RXD 0x064 0x254 0x540 0x2 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_20_ENET_RX_DATA00 0x064 0x254 0x434 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_20_TMR2_TIMER0 0x064 0x254 0x570 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_20_GPIO4_IO200x0640x2540x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_21_SEMC_BA00x0680x2580x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_21_FLEXPWM3_PWM3_A0x0680x2580x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_21_LPI2C3_SDA0x0680x2580x4E00x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_21_ENET_TX_DATA010x0680x2580x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_21_TMR2_TIMER20x068 0x258 0x574 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_21_GPIO4_IO210x0680x2580x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_22_SEMC_BA10x06C0x25C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_22_FLEXPWM3_PWM3_B0x06C0x25C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_22_LPI2C3_SCL0x06C0x25C0x4DC0x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_22_ENET_TX_DATA000x06C0x25C0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_22_TMR2_TIMER30x06C 0x25C 0x578 0x4 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_22_GPIO4_IO22 0x06C 0x25C 0x000 0x5 0x0 + +#define MXRT1050_IOMUXC_GPIO_EMC_23_SEMC_ADDR10 0x070 0x260 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_23_FLEXPWM1_PWM0_A 0x070 0x260 0x458 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_23_LPUART5_TXD 0x070 0x260 0x54C 0x2 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_23_ENET_RX_EN0x0700x2600x43C0x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_23_GPT1_CAPTURE20x0700x2600x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_23_GPIO4_IO230x0700x2600x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_24_SEMC_CAS0x0740x2640x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_24_FLEXPWM1_PWM0_B0x0740x2640x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_24_LPUART5_RXD0x074 0x264 0x548 0x2 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_24_ENET_TX_EN0x0740x2640x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_24_GPT1_CAPTURE10x0740x2640x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_24_GPIO4_IO240x0740x2640x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_25_SEMC_RAS0x0780x2680x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_25_FLEXPWM1_PWM1_A0x0780x2680x45C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_25_LPUART6_TXD0x078 0x268 0x554 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_25_ENET_TX_CLK 0x078 0x268 0x448 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_25_ENET_REF_CLK0x0780x2680x42C0x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_25_GPIO4_IO250x0780x2680x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_26_SEMC_CLK0x07C0x26C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_26_FLEXPWM1_PWM1_B0x07C0x26C0x46C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_26_LPUART6_RXD0x07C 0x26C 0x550 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_26_ENET_RX_ER 0x07C 0x26C 0x440 0x3 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_26_FLEXIO1_D12 0x07C 0x26C 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_26_GPIO4_IO260x07C0x26C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_27_SEMC_CKE0x0800x2700x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_27_FLEXPWM1_PWM2_A0x0800x2700x4600x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_27_LPUART5_RTS_B0x0800x2700x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_27_LPSPI1_SCK0x0800x2700x4F00x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_27_FLEXIO1_D130x080 0x270 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_27_GPIO4_IO270x0800x2700x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_28_SEMC_WE0x0840x2740x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_28_FLEXPWM1_PWM2_B0x0840x2740x4700x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_28_LPUART5_CTS_B0x0840x2740x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_28_LPSPI1_SDO0x0840x2740x4F80x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_28_FLEXIO1_D140x084 0x274 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_28_GPIO4_IO280x0840x2740x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_29_SEMC_CS00x0880x2780x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_29_FLEXPWM3_PWM0_A0x0880x2780x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_29_LPUART6_RTS_B0x0880x2780x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_29_LPSPI1_SDI0x0880x2780x4F40x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_29_FLEXIO1_D150x088 0x278 0x000 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_29_GPIO4_IO290x0880x2780x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_30_SEMC_DA080x08C0x27C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_30_FLEXPWM3_PWM0_B0x08C0x27C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_30_LPUART6_CTS_B0x08C0x27C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_30_LPSPI1_PCS00x08C 0x27C 0x4EC 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_EMC_30_CSI_DATA230x08C0x27C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_30_GPIO4_IO300x08C0x27C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_31_SEMC_DA090x0900x2800x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_31_FLEXPWM3_PWM1_A0x0900x2800x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_31_LPUART7_TXD0x090 0x280 0x55C 0x2 0x1 +#define MXRT1050_IOMUXC_GPIO_EMC_31_LPSPI1_PCS1 0x090 0x280 0x000 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_31_CSI_DATA220x0900x2800x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_31_GPIO4_IO310x0900x2800x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_32_SEMC_DA100x0940x2840x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_32_FLEXPWM3_PWM1_B0x0940x2840x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_32_LPUART7_RXD0x094 0x284 0x558 0x2 0x1 +#define
MXRT1050_IOMUXC_GPIO_EMC_32_CCM_PMIC_READY0x0940x2840x3FC0x30x4+#defineMXRT1050_IOMUXC_GPIO_EMC_32_CSI_DATA210x0940x2840x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_32_GPIO3_IO180x0940x2840x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_33_SEMC_DA110x0980x2880x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_33_FLEXPWM3_PWM2_A0x0980x2880x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_33_USDHC1_RESET_B0x0980x2880x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_33_SAI3_RX_DATA0x0980x2880x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_33_CSI_DATA200x0980x2880x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_33_GPIO3_IO190x0980x2880x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_34_SEMC_DA120x09C0x28C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_34_FLEXPWM3_PWM2_B0x09C0x28C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_34_USDHC1_VSELECT0x09C0x28C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_34_SAI3_RX_SYNC0x09C0x28C0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_34_CSI_DATA190x09C0x28C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_34_GPIO3_IO200x09C0x28C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_35_SEMC_DA130x0A00x2900x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_XBAR_INOUT180x0A00x2900x6300x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_GPT1_COMPARE10x0A00x2900x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_SAI3_RX_BCLK0x0A00x2900x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_CSI_DATA180x0A00x2900x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_GPIO3_IO210x0A00x2900x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_35_USDHC1_CD_B0x0A0 0x290 0x5D4 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_EMC_36_SEMC_DA140x0A40x2940x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_XBAR_INOUT220x0A40x2940x6380x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_GPT1_COMPARE20x0A40x2940x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_SAI3_TX_DATA0x0A40x2940x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_CSI_DATA170x0A40x2940x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_GPIO3_IO220x0A40x2940x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_36_USDHC1_WP0x0A40x2940x5D80x60x1+ +#defineMXRT1050_IOMUXC_GPIO_EMC_37_SEMC_DA150x0A80x2980x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_XBAR_INOUT230x0A80x2980x63C0x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_GPT1_COMPARE30x0A80x2980x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_SAI3_MCLK0x0A80x2980x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_CSI_DATA160x0A80x2980x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_GPIO3_IO230x0A80x2980x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_37_USDHC2_WP0x0A80x2980x6080x60x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_38_SEMC_DM010x0AC0x29C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_38_FLEXPWM1_PWM3_A0x0AC0x29C0x4540x10x2+#defineMXRT1050_IOMUXC_GPIO_EMC_38_LPUART8_TXD0x0AC 0x29C 0x564 0x2 0x2 +#define
MXRT1050_IOMUXC_GPIO_EMC_38_SAI3_TX_BCLK0x0AC0x29C0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_38_CSI_FIELD0x0AC0x29C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_38_GPIO3_IO240x0AC0x29C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_38_USDHC2_VSELECT0x0AC0x29C0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_39_SEMC_DQS0x0B00x2A00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_39_FLEXPWM1_PWM3_B0x0B00x2A00x4640x10x2+#defineMXRT1050_IOMUXC_GPIO_EMC_39_LPUART8_RXD0x0B0 0x2A0 0x560 0x2 0x2 +#define
MXRT1050_IOMUXC_GPIO_EMC_39_SAI3_TX_SYNC0x0B00x2A00x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_39_WDOG1_B0x0B00x2A00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_39_GPIO3_IO250x0B00x2A00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_39_USDHC2_CD_B0x0B0 0x2A0 0x5E0 0x6 0x1 + +#define
MXRT1050_IOMUXC_GPIO_EMC_40_SEMC_RDY0x0B40x2A40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_40_GPT2_CAPTURE20x0B40x2A40x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_40_LPSPI1_PCS20x0B4 0x2A4 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_EMC_40_USB_OTG2_OC 0x0B4 0x2A4 0x5CC 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_EMC_40_ENET_MDC0x0B40x2A40x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_EMC_40_GPIO3_IO260x0B40x2A40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_40_USDHC2_RESET_B0x0B40x2A40x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_EMC_41_SEMC_CSX00x0B80x2A80x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_EMC_41_GPT2_CAPTURE10x0B80x2A80x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_EMC_41_LPSPI1_PCS30x0B8 0x2A8 0x000 0x2 0x0 +#define
MXRT1050_IOMUXC_GPIO_EMC_41_USB_OTG2_PWR0x0B80x2A80x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_EMC_41_ENET_MDIO0x0B80x2A80x4300x40x1+#defineMXRT1050_IOMUXC_GPIO_EMC_41_GPIO3_IO270x0B80x2A80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_EMC_41_USDHC2_VSELECT0x0B80x2A80x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_FLEXPWM2_PWM3_A0x0BC0x2AC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_XBAR_INOUT140x0BC0x2AC0x6440x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_REF_CLK_32K0x0BC0x2AC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_USB_OTG2_ID0x0BC0x2AC0x3F80x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_LPI2C1_SCLS0x0BC0x2AC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_GPIO1_IO000x0BC0x2AC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_USDHC1_RESET_B0x0BC0x2AC0x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_00_LPSPI3_SCK0x0BC0x2AC0x5100x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_FLEXPWM2_PWM3_B0x0C00x2B00x4840x00x2+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_XBAR_INOUT150x0C00x2B00x6480x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_REF_CLK_24M0x0C00x2B00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_USB_OTG1_ID0x0C00x2B00x3F40x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_LPI2C1_SDAS0x0C00x2B00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_GPIO1_IO010x0C00x2B00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_01_EWM_OUT_B0x0C0 0x2B0 0x000 0x6 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_01_LPSPI3_SDO0x0C00x2B00x5180x70x1+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_FLEXCAN2_TX0x0C40x2B40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_XBAR_INOUT160x0C40x2B40x64C0x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_LPUART6_TXD0x0C40x2B40x5540x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_USB_OTG1_PWR0x0C40x2B40x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_FLEXPWM1_PWM0_X0x0C40x2B40x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_GPIO1_IO020x0C40x2B40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_LPI2C1_HREQ0x0C40x2B40x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_02_LPSPI3_SDI0x0C40x2B40x5140x70x1+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_FLEXCAN2_RX0x0C80x2B80x4500x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_XBAR_INOUT170x0C80x2B80x62C0x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_LPUART6_RXD0x0C80x2B80x5500x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_USB_OTG1_OC0x0C80x2B80x5D00x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_FLEXPWM1_PWM1_X0x0C80x2B80x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_GPIO1_IO030x0C80x2B80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_REF_CLK_24M0x0C80x2B80x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_03_LPSPI3_PCS00x0C80x2B80x50C0x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_SRC_BOOT_MODE000x0CC0x2BC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_MQS_RIGHT0x0CC 0x2BC 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_04_ENET_TX_DATA030x0CC0x2BC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_SAI2_TX_SYNC0x0CC0x2BC0x5C40x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_CSI_DATA090x0CC0x2BC0x41C0x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_GPIO1_IO040x0CC0x2BC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_PIT_TRIGGER000x0CC0x2BC0x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_04_LPSPI3_PCS10x0CC0x2BC0x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_SRC_BOOT_MODE010x0D00x2C00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_MQS_LEFT0x0D00x2C00x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_ENET_TX_DATA020x0D00x2C00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_SAI2_TX_BCLK0x0D00x2C00x5C00x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_CSI_DATA080x0D00x2C00x4180x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_GPIO1_IO050x0D00x2C00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_XBAR_INOUT170x0D00x2C00x62C0x60x2+#defineMXRT1050_IOMUXC_GPIO_AD_B0_05_LPSPI3_PCS20x0D00x2C00x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_JTAG_TMS0x0D40x2C40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_GPT2_COMPARE10x0D40x2C40x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_ENET_RX_CLK0x0D40x2C40x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_SAI2_RX_BCLK0x0D40x2C40x5B40x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_CSI_DATA070x0D40x2C40x4140x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_GPIO1_IO060x0D40x2C40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_XBAR_INOUT180x0D40x2C40x6300x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_06_LPSPI3_PCS30x0D40x2C40x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_JTAG_TCK0x0D80x2C80x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_GPT2_COMPARE20x0D80x2C80x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_ENET_TX_ER0x0D80x2C80x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_SAI2_RX_SYNC0x0D80x2C80x5BC0x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_CSI_DATA060x0D80x2C80x4100x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_GPIO1_IO070x0D80x2C80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_XBAR_INOUT190x0D80x2C80x6540x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_07_ENET_1588_EVENT3_OUT0x0D80x2C80x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_JTAG_MOD0x0DC0x2CC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_GPT2_COMPARE30x0DC0x2CC0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_ENET_RX_DATA030x0DC0x2CC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_SAI2_RX_DATA0x0DC0x2CC0x5B80x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_CSI_DATA050x0DC0x2CC0x40C0x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_GPIO1_IO080x0DC0x2CC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_XBAR_INOUT200x0DC0x2CC0x6340x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_08_ENET_1588_EVENT3_IN0x0DC0x2CC0x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_JTAG_TDI0x0E00x2D00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_FLEXPWM2_PWM3_A0x0E00x2D00x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_ENET_RX_DATA020x0E00x2D00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_SAI2_TX_DATA0x0E00x2D00x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_CSI_DATA040x0E00x2D00x4080x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_GPIO1_IO090x0E00x2D00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_XBAR_INOUT210x0E00x2D00x6580x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_09_GPT2_CLK0x0E00x2D00x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_JTAG_TDO0x0E40x2D40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_FLEXPWM1_PWM3_A0x0E40x2D40x4540x10x3+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_ENET_CRS0x0E40x2D40x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_SAI2_MCLK0x0E4 0x2D4 0x5B0 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_10_CSI_DATA030x0E40x2D40x4040x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_GPIO1_IO100x0E40x2D40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_XBAR_INOUT220x0E40x2D40x6380x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_10_ENET_1588_EVENT0_OUT0x0E40x2D40x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_JTAG_TRSTB0x0E80x2D80x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_FLEXPWM1_PWM3_B0x0E80x2D80x4640x10x3+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_ENET_COL0x0E80x2D80x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_WDOG1_B0x0E80x2D80x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_CSI_DATA020x0E80x2D80x4000x40x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_GPIO1_IO110x0E80x2D80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_XBAR_INOUT230x0E80x2D80x63C0x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_11_ENET_1588_EVENT0_IN0x0E80x2D80x4440x70x1+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_LPI2C4_SCL0x0EC0x2DC0x4E40x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_CCM_PMIC_READY0x0EC0x2DC0x3FC0x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_LPUART1_TXD0x0EC0x2DC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_WDOG2_B0x0EC0x2DC0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_FLEXPWM1_PWM2_X0x0EC0x2DC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_GPIO1_IO120x0EC0x2DC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_ENET_1588_EVENT1_OUT0x0EC0x2DC0x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_12_NMI0x0EC0x2DC0x5680x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_LPI2C4_SDA0x0F00x2E00x4E80x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_GPT1_CLK0x0F00x2E00x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_LPUART1_RXD0x0F00x2E00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_EWM_OUT_B0x0F0 0x2E0 0x000 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_13_FLEXPWM1_PWM3_X0x0F00x2E00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_GPIO1_IO130x0F00x2E00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_ENET_1588_EVENT1_IN0x0F00x2E00x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_13_REF_CLK_24M0x0F00x2E00x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_USB_OTG2_OC0x0F40x2E40x5CC0x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_XBAR_INOUT240x0F40x2E40x6400x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_LPUART1_CTS_B0x0F40x2E40x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_ENET_1588_EVENT0_OUT0x0F40x2E40x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_CSI_VSYNC0x0F4 0x2E4 0x428 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_14_GPIO1_IO140x0F40x2E40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_14_FLEXCAN2_TX0x0F40x2E40x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_USB_OTG2_PWR0x0F80x2E80x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_XBAR_INOUT250x0F80x2E80x6500x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_LPUART1_RTS_B0x0F80x2E80x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_ENET_1588_EVENT0_IN0x0F80x2E80x4440x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_CSI_HSYNC0x0F8 0x2E8 0x420 0x4 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B0_15_GPIO1_IO150x0F80x2E80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_FLEXCAN2_RX0x0F80x2E80x4500x60x2+#defineMXRT1050_IOMUXC_GPIO_AD_B0_15_WDOG1_WDOG_RST_B_DEB0x0F80x2E80x0000x70x0+ +#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_USB_OTG2_ID0x0FC0x2EC0x3F80x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_TMR3_TIMER00x0FC0x2EC0x57C0x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_LPUART2_CTS_B0x0FC0x2EC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_LPI2C1_SCL0x0FC0x2EC0x4CC0x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_WDOG1_B0x0FC0x2EC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_GPIO1_IO160x0FC0x2EC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_00_USDHC1_WP0x0FC 0x2EC 0x5D8 0x6 0x2 +#define MXRT1050_IOMUXC_GPIO_AD_B1_00_KPP_ROW07 0x0FC 0x2EC 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_01_USB_OTG1_PWR0x1000x2F00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_TMR3_TIMER10x1000x2F00x5800x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_LPUART2_RTS_B0x1000x2F00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_LPI2C1_SDA0x1000x2F00x4D00x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_CCM_PMIC_READY0x1000x2F00x3FC0x40x2+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_GPIO1_IO170x1000x2F00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_USDHC1_VSELECT0x1000x2F00x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_01_KPP_COL070x100 0x2F0 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_02_USB_OTG1_ID0x1040x2F40x3F40x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_TMR3_TIMER20x1040x2F40x5840x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_LPUART2_TXD0x1040x2F40x5300x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_SPDIF_OUT0x104 0x2F4 0x000 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_02_ENET_1588_EVENT2_OUT0x1040x2F40x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_GPIO1_IO180x1040x2F40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_USDHC1_CD_B0x1040x2F40x5D40x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_02_KPP_ROW060x104 0x2F4 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_03_USB_OTG1_OC0x1080x2F80x5D00x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_TMR3_TIMER30x1080x2F80x5880x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_LPUART2_RXD0x1080x2F80x52C0x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_SPDIF_IN0x1080x2F80x5C80x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_ENET_1588_EVENT2_IN0x1080x2F80x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_GPIO1_IO190x1080x2F80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_USDHC2_CD_B0x1080x2F80x5E00x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_03_KPP_COL060x108 0x2F8 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_04_FLEXSPI_B_DATA30x10C0x2FC0x4C40x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_ENET_MDC0x10C0x2FC0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_LPUART3_CTS_B0x10C0x2FC0x5340x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_SPDIF_SR_CLK0x10C0x2FC0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_CSI_PIXCLK0x10C0x2FC0x4240x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_GPIO1_IO200x10C0x2FC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_USDHC2_DATA00x10C0x2FC0x5E80x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_04_KPP_ROW050x10C 0x2FC 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_05_FLEXSPI_B_DATA2 0x110 0x300 0x4C0 0x0 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_05_ENET_MDIO 0x110 0x300 0x430 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_AD_B1_05_LPUART3_RTS_B 0x110 0x300 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_AD_B1_05_SPDIF_OUT 0x110 0x300 0x000 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_05_CSI_MCLK0x1100x3000x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_05_GPIO1_IO210x1100x3000x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_05_USDHC2_DATA10x1100x3000x5EC0x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_05_KPP_COL050x110 0x300 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_06_FLEXSPI_B_DATA10x1140x3040x4BC0x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_LPI2C3_SDA0x1140x3040x4E00x10x2+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_LPUART3_TXD0x1140x3040x53C0x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_SPDIF_LOCK0x1140x3040x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_CSI_VSYNC0x114 0x304 0x428 0x4 0x1 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_06_GPIO1_IO220x1140x3040x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_USDHC2_DATA20x1140x3040x5F00x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_06_KPP_ROW040x114 0x304 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_07_FLEXSPI_B_DATA00x1180x3080x4B80x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_LPI2C3_SCL0x1180x3080x4DC0x10x2+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_LPUART3_RXD0x1180x3080x5380x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_SPDIF_EXT_CLK0x1180x3080x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_CSI_HSYNC0x118 0x308 0x420 0x4 0x1 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_07_GPIO1_IO230x1180x3080x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_USDHC2_DATA30x1180x3080x5F40x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_07_KPP_COL040x118 0x308 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_08_FLEXSPI_A_SS1_B0x11C0x30C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_FLEXPWM4_PWM0_A0x11C0x30C0x4940x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_FLEXCAN1_TX0x11C0x30C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_CCM_PMIC_READY0x11C0x30C0x3FC0x30x3+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_CSI_DATA090x11C0x30C0x41C0x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_GPIO1_IO240x11C0x30C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_USDHC2_CMD0x11C0x30C0x5E40x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_08_KPP_ROW030x11C 0x30C 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_09_FLEXSPI_A_DQS0x1200x3100x4A40x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_FLEXPWM4_PWM1_A0x1200x3100x4980x10x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_FLEXCAN1_RX0x1200x3100x44C0x20x2+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_SAI1_MCLK0x120 0x310 0x58C 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_09_CSI_DATA080x1200x3100x4180x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_GPIO1_IO250x1200x3100x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_USDHC2_CLK0x1200x3100x5DC0x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_09_KPP_COL030x120 0x310 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_AD_B1_10_FLEXSPI_A_DATA30x1240x3140x4B40x00x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_WDOG1_B0x1240x3140x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_LPUART8_TXD0x1240x3140x5640x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_SAI1_RX_SYNC0x1240x3140x5A40x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_CSI_DATA070x1240x3140x4140x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_GPIO1_IO260x1240x3140x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_10_USDHC2_WP0x124 0x314 0x608 0x6 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_10_KPP_ROW02 0x124 0x314 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_11_FLEXSPI_A_DATA2 0x128 0x318 0x4B0 0x0 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_11_EWM_OUT_B 0x128 0x318 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_11_LPUART8_RXD0x1280x3180x5600x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_11_SAI1_RX_BCLK0x1280x3180x5900x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_11_CSI_DATA060x1280x3180x4100x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_11_GPIO1_IO270x1280x3180x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_11_USDHC2_RESET_B0x1280x3180x0000x60x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_11_KPP_COL020x128 0x318 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_12_FLEXSPI_A_DATA1 0x12C 0x31C 0x4AC 0x0 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_12_ACMP1_OUT 0x12C 0x31C 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_12_LPSPI3_PCS00x12C0x31C0x50C0x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_12_SAI1_RX_DATA000x12C0x31C0x5940x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_12_CSI_DATA050x12C0x31C0x40C0x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_12_GPIO1_IO280x12C0x31C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_12_USDHC2_DATA40x12C0x31C0x5F80x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_12_KPP_ROW010x12C 0x31C 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_13_FLEXSPI_A_DATA0 0x130 0x320 0x4A8 0x0 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_13_ACMP2_OUT 0x130 0x320 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_13_LPSPI3_SDI0x1300x3200x5140x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_13_SAI1_TX_DATA000x1300x3200x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_13_CSI_DATA040x1300x3200x4080x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_13_GPIO1_IO290x1300x3200x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_13_USDHC2_DATA50x1300x3200x5FC0x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_13_KPP_COL010x130 0x320 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_14_FLEXSPI_A_SCLK 0x134 0x324 0x4C8 0x0 0x1 +#define MXRT1050_IOMUXC_GPIO_AD_B1_14_ACMP3_OUT 0x134 0x324 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_14_LPSPI3_SDO0x1340x3240x5180x20x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_14_SAI1_TX_BCLK0x1340x3240x5A80x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_14_CSI_DATA030x1340x3240x4040x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_14_GPIO1_IO300x1340x3240x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_14_USDHC2_DATA60x1340x3240x6000x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_14_KPP_ROW000x134 0x324 0x000 0x7 0x0 + +#define MXRT1050_IOMUXC_GPIO_AD_B1_15_FLEXSPI_A_SS0_B 0x138 0x328 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_AD_B1_15_ACMP4_OUT 0x138 0x328 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_AD_B1_15_LPSPI3_SCK0x1380x3280x5100x20x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_15_SAI1_TX_SYNC0x1380x3280x5AC0x30x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_15_CSI_DATA020x1380x3280x4000x40x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_15_GPIO1_IO310x1380x3280x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_AD_B1_15_USDHC2_DATA70x1380x3280x6040x60x1+#defineMXRT1050_IOMUXC_GPIO_AD_B1_15_KPP_COL000x138 0x328 0x000 0x7 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_00_LCD_CLK0x13C0x32C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_TMR1_TIMER00x13C0x32C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_MQS_RIGHT0x13C0x32C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_LPSPI4_PCS00x13C0x32C0x51C0x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_FLEXIO2_D000x13C0x32C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_GPIO2_IO000x13C0x32C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_00_SEMC_CSX10x13C0x32C0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B0_01_LCD_ENABLE0x1400x3300x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_TMR1_TIMER10x1400x3300x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_MQS_LEFT0x1400x3300x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_LPSPI4_SDI0x1400x3300x5240x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_FLEXIO2_D010x1400x3300x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_GPIO2_IO010x1400x3300x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_01_SEMC_CSX20x1400x3300x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B0_02_LCD_HSYNC0x1440x3340x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_TMR1_TIMER20x1440x3340x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_FLEXCAN1_TX0x1440x3340x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_LPSPI4_SDO0x1440x3340x5280x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_FLEXIO2_D020x1440x3340x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_GPIO2_IO020x1440x3340x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_02_SEMC_CSX30x1440x3340x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B0_03_LCD_VSYNC0x1480x3380x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_03_TMR2_TIMER00x1480x3380x56C0x10x1+#defineMXRT1050_IOMUXC_GPIO_B0_03_FLEXCAN1_RX0x1480x3380x44C0x20x3+#defineMXRT1050_IOMUXC_GPIO_B0_03_LPSPI4_SCK0x1480x3380x5200x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_03_FLEXIO2_D030x1480x3380x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_03_GPIO2_IO030x1480x3380x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_03_WDOG2_RESET_B_DEB0x1480x3380x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B0_04_LCD_DATA000x14C0x33C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_04_TMR2_TIMER10x14C0x33C0x5700x10x1+#defineMXRT1050_IOMUXC_GPIO_B0_04_LPI2C2_SCL0x14C0x33C0x4D40x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_04_ARM_TRACE000x14C0x33C0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_04_FLEXIO2_D040x14C0x33C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_04_GPIO2_IO040x14C0x33C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_04_SRC_BT_CFG000x14C 0x33C 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_05_LCD_DATA010x1500x3400x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_05_TMR2_TIMER20x1500x3400x5740x10x1+#defineMXRT1050_IOMUXC_GPIO_B0_05_LPI2C2_SDA0x1500x3400x4D80x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_05_ARM_TRACE010x1500x3400x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_05_FLEXIO2_D050x1500x3400x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_05_GPIO2_IO050x1500x3400x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_05_SRC_BT_CFG010x150 0x340 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_06_LCD_DATA020x1540x3440x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_06_TMR3_TIMER00x1540x3440x57C0x10x2+#defineMXRT1050_IOMUXC_GPIO_B0_06_FLEXPWM2_PWM0_A0x1540x3440x4780x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_06_ARM_TRACE020x1540x3440x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_06_FLEXIO2_D060x1540x3440x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_06_GPIO2_IO060x1540x3440x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_06_SRC_BT_CFG020x154 0x344 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_07_LCD_DATA030x1580x3480x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_07_TMR3_TIMER10x1580x3480x5800x10x2+#defineMXRT1050_IOMUXC_GPIO_B0_07_FLEXPWM2_PWM0_B0x1580x3480x4880x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_07_ARM_TRACE030x1580x3480x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B0_07_FLEXIO2_D070x1580x3480x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_07_GPIO2_IO070x1580x3480x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_07_SRC_BT_CFG030x158 0x348 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_08_LCD_DATA040x15C0x34C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_08_TMR3_TIMER20x15C0x34C0x5840x10x2+#defineMXRT1050_IOMUXC_GPIO_B0_08_FLEXPWM2_PWM1_A0x15C0x34C0x47C0x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_08_LPUART3_TXD0x15C0x34C0x53C0x30x2+#defineMXRT1050_IOMUXC_GPIO_B0_08_FLEXIO2_D080x15C0x34C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_08_GPIO2_IO080x15C0x34C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_08_SRC_BT_CFG040x15C 0x34C 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_09_LCD_DATA050x1600x3500x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_09_TMR4_TIMER00x1600x3500x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_09_FLEXPWM2_PWM1_B0x1600x3500x48C0x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_09_LPUART3_RXD0x1600x3500x5380x30x2+#defineMXRT1050_IOMUXC_GPIO_B0_09_FLEXIO2_D090x1600x3500x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_09_GPIO2_IO090x1600x3500x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_09_SRC_BT_CFG050x160 0x350 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_10_LCD_DATA060x1640x3540x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_10_TMR4_TIMER10x1640x3540x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_10_FLEXPWM2_PWM2_A0x1640x3540x4800x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_10_SAI1_TX_DATA030x1640x3540x5980x30x1+#defineMXRT1050_IOMUXC_GPIO_B0_10_FLEXIO2_D100x1640x3540x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_10_GPIO2_IO100x1640x3540x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_10_SRC_BT_CFG060x164 0x354 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_B0_11_LCD_DATA070x1680x3580x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B0_11_TMR4_TIMER20x1680x3580x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B0_11_FLEXPWM2_PWM2_B0x1680x3580x4900x20x1+#defineMXRT1050_IOMUXC_GPIO_B0_11_SAI1_TX_DATA020x1680x3580x59C0x30x1+#defineMXRT1050_IOMUXC_GPIO_B0_11_FLEXIO2_D110x1680x3580x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_11_GPIO2_IO110x1680x3580x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_11_SRC_BT_CFG070x168 0x358 0x000 0x6 0x0 + +#define MXRT1050_IOMUXC_GPIO_B0_12_LCD_DATA08 0x16C 0x35C 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_12_XBAR_INOUT10 0x16C 0x35C 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_B0_12_ARM_TRACE_CLK0x16C0x35C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B0_12_SAI1_TX_DATA010x16C0x35C0x5A00x30x1+#defineMXRT1050_IOMUXC_GPIO_B0_12_FLEXIO2_D120x16C0x35C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_12_GPIO2_IO120x16C0x35C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_12_SRC_BT_CFG080x16C 0x35C 0x000 0x6 0x0 + +#define MXRT1050_IOMUXC_GPIO_B0_13_LCD_DATA09 0x170 0x360 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_13_XBAR_INOUT11 0x170 0x360 0x000 0x1 0x0 +#define
MXRT1050_IOMUXC_GPIO_B0_13_ARM_TRACE_SWO0x1700x3600x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B0_13_SAI1_MCLK0x1700x3600x58C0x30x2+#defineMXRT1050_IOMUXC_GPIO_B0_13_FLEXIO2_D130x1700x3600x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_13_GPIO2_IO130x1700x3600x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_13_SRC_BT_CFG090x170 0x360 0x000 0x6 0x0 + +#define MXRT1050_IOMUXC_GPIO_B0_14_LCD_DATA10 0x174 0x364 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_14_XBAR_INOUT12 0x174 0x364 0x000 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_14_ARM_CM7_TXEV 0x174 0x364 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_14_SAI1_RX_SYNC 0x174 0x364 0x5A4 0x3 0x2 +#define
MXRT1050_IOMUXC_GPIO_B0_14_FLEXIO2_D140x1740x3640x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_14_GPIO2_IO140x1740x3640x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_14_SRC_BT_CFG100x174 0x364 0x000 0x6 0x0 + +#define MXRT1050_IOMUXC_GPIO_B0_15_LCD_DATA11 0x178 0x368 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_15_XBAR_INOUT13 0x178 0x368 0x000 0x1 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_15_ARM_CM7_RXEV 0x178 0x368 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_B0_15_SAI1_RX_BCLK 0x178 0x368 0x590 0x3 0x2 +#define
MXRT1050_IOMUXC_GPIO_B0_15_FLEXIO2_D150x1780x3680x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B0_15_GPIO2_IO150x1780x3680x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B0_15_SRC_BT_CFG110x178 0x368 0x000 0x6 0x0 + +#define MXRT1050_IOMUXC_GPIO_B1_00_LCD_DATA12 0x17C 0x36C 0x000 0x0 0x0 +#define MXRT1050_IOMUXC_GPIO_B1_00_XBAR_INOUT14 0x17C 0x36C 0x644 0x1 0x1 +#define
MXRT1050_IOMUXC_GPIO_B1_00_LPUART4_TXD0x17C0x36C0x5440x20x2+#defineMXRT1050_IOMUXC_GPIO_B1_00_SAI1_RX_DATA000x17C0x36C0x5940x30x2+#defineMXRT1050_IOMUXC_GPIO_B1_00_FLEXIO2_D160x17C0x36C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_00_GPIO2_IO160x17C0x36C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_00_FLEXPWM1_PWM3_A0x17C0x36C0x4540x60x4+ +#defineMXRT1050_IOMUXC_GPIO_B1_01_LCD_DATA130x1800x3700x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_01_XBAR_INOUT150x180 0x370 0x648 0x1 0x1 +#define
MXRT1050_IOMUXC_GPIO_B1_01_LPUART4_RXD0x1800x3700x5400x20x2+#defineMXRT1050_IOMUXC_GPIO_B1_01_SAI1_TX_DATA000x1800x3700x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B1_01_FLEXIO2_D170x1800x3700x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_01_GPIO2_IO170x1800x3700x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_01_FLEXPWM1_PWM3_B0x1800x3700x4640x60x4+ +#defineMXRT1050_IOMUXC_GPIO_B1_02_LCD_DATA140x1840x3740x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_02_XBAR_INOUT160x184 0x374 0x64C 0x1 0x1 +#define MXRT1050_IOMUXC_GPIO_B1_02_LPSPI4_PCS2 0x184 0x374 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_B1_02_SAI1_TX_BCLK 0x184 0x374 0x5A8 0x3 0x2 +#define
MXRT1050_IOMUXC_GPIO_B1_02_FLEXIO2_D180x1840x3740x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_02_GPIO2_IO180x1840x3740x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_02_FLEXPWM2_PWM3_A0x1840x3740x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_03_LCD_DATA150x1880x3780x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_03_XBAR_INOUT170x188 0x378 0x62C 0x1 0x3 +#define MXRT1050_IOMUXC_GPIO_B1_03_LPSPI4_PCS1 0x188 0x378 0x000 0x2 0x0 +#define MXRT1050_IOMUXC_GPIO_B1_03_SAI1_TX_SYNC 0x188 0x378 0x5AC 0x3 0x2 +#define
MXRT1050_IOMUXC_GPIO_B1_03_FLEXIO2_D190x1880x3780x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_03_GPIO2_IO190x1880x3780x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_03_FLEXPWM2_PWM3_B0x1880x3780x4840x60x3+ +#defineMXRT1050_IOMUXC_GPIO_B1_04_LCD_DATA160x18C0x37C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_04_LPSPI4_PCS00x18C0x37C0x51C0x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_04_CSI_DATA150x18C0x37C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_04_ENET_RX_DATA000x18C0x37C0x4340x30x1+#defineMXRT1050_IOMUXC_GPIO_B1_04_FLEXIO2_D200x18C0x37C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_04_GPIO2_IO200x18C0x37C0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_05_LCD_DATA170x1900x3800x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_05_LPSPI4_SDI0x1900x3800x5240x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_05_CSI_DATA140x1900x3800x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_05_ENET_RX_DATA010x1900x3800x4380x30x1+#defineMXRT1050_IOMUXC_GPIO_B1_05_FLEXIO2_D210x1900x3800x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_05_GPIO2_IO210x1900x3800x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_06_LCD_DATA180x1940x3840x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_06_LPSPI4_SDO0x1940x3840x5280x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_06_CSI_DATA130x1940x3840x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_06_ENET_RX_EN0x1940x3840x43C0x30x1+#defineMXRT1050_IOMUXC_GPIO_B1_06_FLEXIO2_D220x1940x3840x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_06_GPIO2_IO220x1940x3840x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_07_LCD_DATA190x1980x3880x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_07_LPSPI4_SCK0x1980x3880x5200x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_07_CSI_DATA120x1980x3880x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_07_ENET_TX_DATA000x1980x3880x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B1_07_FLEXIO2_D230x1980x3880x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_07_GPIO2_IO230x1980x3880x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_08_LCD_DATA200x19C0x38C0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_TMR1_TIMER30x19C0x38C0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_CSI_DATA110x19C0x38C0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_ENET_TX_DATA010x19C0x38C0x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_FLEXIO2_D240x19C0x38C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_GPIO2_IO240x19C0x38C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_08_FLEXCAN2_TX0x19C0x38C0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_09_LCD_DATA210x1A00x3900x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_09_TMR2_TIMER30x1A00x3900x5780x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_09_CSI_DATA100x1A00x3900x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_09_ENET_TX_EN0x1A00x3900x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_B1_09_FLEXIO2_D250x1A00x3900x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_09_GPIO2_IO250x1A00x3900x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_09_FLEXCAN2_RX0x1A00x3900x4500x60x3+ +#defineMXRT1050_IOMUXC_GPIO_B1_10_LCD_DATA220x1A40x3940x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_10_TMR3_TIMER30x1A40x3940x5880x10x2+#defineMXRT1050_IOMUXC_GPIO_B1_10_CSI_DATA000x1A40x3940x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_10_ENET_TX_CLK0x1A40x3940x4480x30x1+#defineMXRT1050_IOMUXC_GPIO_B1_10_FLEXIO2_D260x1A40x3940x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_10_GPIO2_IO260x1A40x3940x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_10_ENET_REF_CLK0x1A4 0x394 0x42C 0x6 0x1 + +#define
MXRT1050_IOMUXC_GPIO_B1_11_LCD_DATA230x1A80x3980x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_11_TMR4_TIMER30x1A80x3980x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_B1_11_CSI_DATA010x1A80x3980x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_11_ENET_RX_ER0x1A80x3980x4400x30x1+#defineMXRT1050_IOMUXC_GPIO_B1_11_FLEXIO2_D270x1A80x3980x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_11_GPIO2_IO270x1A80x3980x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_11_LPSPI4_PCS30x1A80x3980x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_12_LPUART5_TXD0x1AC0x39C0x54C0x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_12_CSI_PIXCLK0x1AC0x39C0x4240x20x1+#defineMXRT1050_IOMUXC_GPIO_B1_12_ENET_1588_EVENT0_IN0x1AC0x39C0x4440x30x2+#defineMXRT1050_IOMUXC_GPIO_B1_12_FLEXIO2_D280x1AC0x39C0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_12_GPIO2_IO280x1AC0x39C0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_12_USDHC1_CD_B0x1AC0x39C0x5D40x60x2+ +#defineMXRT1050_IOMUXC_GPIO_B1_13_WDOG1_B0x1B00x3A00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_13_LPUART5_RXD0x1B00x3A00x5480x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_13_CSI_VSYNC0x1B00x3A00x4280x20x2+#defineMXRT1050_IOMUXC_GPIO_B1_13_ENET_1588_EVENT0_OUT0x1B0 0x3A0 0x000 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_B1_13_FLEXIO2_D290x1B00x3A00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_13_GPIO2_IO290x1B00x3A00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_13_USDHC1_WP0x1B00x3A00x5D80x60x3+ +#defineMXRT1050_IOMUXC_GPIO_B1_14_ENET_MDC0x1B40x3A40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_B1_14_FLEXPWM4_PWM2_A0x1B40x3A40x49C0x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_14_CSI_HSYNC0x1B40x3A40x4200x20x2+#defineMXRT1050_IOMUXC_GPIO_B1_14_XBAR_INOUT020x1B4 0x3A4 0x60C 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_B1_14_FLEXIO2_D300x1B40x3A40x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_14_GPIO2_IO300x1B40x3A40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_14_USDHC1_VSELECT0x1B40x3A40x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_B1_15_ENET_MDIO0x1B80x3A80x4300x00x2+#defineMXRT1050_IOMUXC_GPIO_B1_15_FLEXPWM4_PWM3_A0x1B80x3A80x4A00x10x1+#defineMXRT1050_IOMUXC_GPIO_B1_15_CSI_MCLK0x1B80x3A80x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_B1_15_XBAR_INOUT030x1B8 0x3A8 0x610 0x3 0x1 +#define
MXRT1050_IOMUXC_GPIO_B1_15_FLEXIO2_D310x1B80x3A80x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_B1_15_GPIO2_IO310x1B80x3A80x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_B1_15_USDHC1_RESET_B0x1B80x3A80x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_USDHC1_CMD0x1BC0x3AC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_FLEXPWM1_PWM0_A0x1BC0x3AC0x4580x10x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_LPI2C3_SCL0x1BC0x3AC0x4DC0x20x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_XBAR_INOUT040x1BC0x3AC0x6140x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_LPSPI1_SCK0x1BC0x3AC0x4F00x40x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_GPIO3_IO120x1BC0x3AC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_00_FLEXSPI_A_SS1_B0x1BC0x3AC0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_USDHC1_CLK0x1C00x3B00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_FLEXPWM1_PWM0_B0x1C00x3B00x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_LPI2C3_SDA0x1C00x3B00x4E00x20x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_XBAR_INOUT050x1C00x3B00x6180x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_LPSPI1_PCS00x1C00x3B00x4EC0x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_GPIO3_IO130x1C00x3B00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_01_FLEXSPI_B_SS1_B0x1C00x3B00x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_USDHC1_DATA00x1C40x3B40x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_FLEXPWM1_PWM1_A0x1C40x3B40x45C0x10x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_LPUART8_CTS_B0x1C40x3B40x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_XBAR_INOUT060x1C40x3B40x61C0x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_LPSPI1_SDO0x1C40x3B40x4F80x40x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_02_GPIO3_IO140x1C40x3B40x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_USDHC1_DATA10x1C80x3B80x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_FLEXPWM1_PWM1_B0x1C80x3B80x46C0x10x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_LPUART8_RTS_B0x1C80x3B80x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_XBAR_INOUT070x1C80x3B80x6200x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_LPSPI1_SDI0x1C80x3B80x4F40x40x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_03_GPIO3_IO150x1C80x3B80x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_USDHC1_DATA20x1CC0x3BC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_FLEXPWM1_PWM2_A0x1CC0x3BC0x4600x10x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_LPUART8_TXD0x1CC0x3BC0x5640x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_XBAR_INOUT080x1CC0x3BC0x6240x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_FLEXSPI_B_SS0_B0x1CC0x3BC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_GPIO3_IO160x1CC0x3BC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_04_CCM_CLKO10x1CC 0x3BC 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_SD_B0_05_USDHC1_DATA30x1D00x3C00x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_FLEXPWM1_PWM2_B0x1D00x3C00x4700x10x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_LPUART8_RXD0x1D00x3C00x5600x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_XBAR_INOUT090x1D00x3C00x6280x30x1+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_FLEXSPI_B_DQS0x1D00x3C00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_GPIO3_IO170x1D00x3C00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B0_05_CCM_CLKO20x1D0 0x3C0 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_SD_B1_00_USDHC2_DATA30x1D40x3C40x5F40x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_00_FLEXSPI_B_DATA30x1D40x3C40x4C40x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_00_FLEXPWM1_PWM3_A0x1D40x3C40x4540x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_00_SAI1_TX_DATA030x1D40x3C40x5980x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_00_LPUART4_TXD0x1D40x3C40x5440x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_00_GPIO3_IO000x1D40x3C40x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_USDHC2_DATA20x1D80x3C80x5F00x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_FLEXSPI_B_DATA20x1D80x3C80x4C00x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_FLEXPWM1_PWM3_B0x1D80x3C80x4640x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_SAI1_TX_DATA020x1D80x3C80x59C0x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_LPUART4_RXD0x1D80x3C80x5400x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_01_GPIO3_IO010x1D80x3C80x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_USDHC2_DATA10x1DC0x3CC0x5EC0x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_FLEXSPI_B_DATA10x1DC0x3CC0x4BC0x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_FLEXPWM2_PWM3_A0x1DC0x3CC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_SAI1_TX_DATA010x1DC0x3CC0x5A00x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_FLEXCAN1_TX0x1DC0x3CC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_GPIO3_IO020x1DC0x3CC0x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_02_CCM_WAIT0x1DC0x3CC0x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_USDHC2_DATA00x1E00x3D00x5E80x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_FLEXSPI_B_DATA00x1E00x3D00x4B80x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_FLEXPWM2_PWM3_B0x1E00x3D00x4840x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_SAI1_MCLK0x1E0 0x3D0 0x58C 0x3 0x0 +#define
MXRT1050_IOMUXC_GPIO_SD_B1_03_FLEXCAN1_RX0x1E00x3D00x44C0x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_GPIO3_IO030x1E00x3D00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_03_CCM_PMIC_READY0x1E00x3D00x3FC0x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_USDHC2_CLK0x1E40x3D40x5DC0x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_FLEXSPI_B_SCLK0x1E40x3D40x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_LPI2C1_SCL0x1E40x3D40x4CC0x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_SAI1_RX_SYNC0x1E40x3D40x5A40x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_FLEXCAN1_A_SS1_B0x1E40x3D40x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_GPIO3_IO040x1E40x3D40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_04_CCM_STOP0x1E40x3D40x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_USDHC2_CMD0x1E80x3D80x5E40x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_FLEXSPI_A_DQS0x1E80x3D80x4A40x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_LPI2C1_SDA0x1E80x3D80x4D00x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_SAI1_RX_BCLK0x1E80x3D80x5900x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_FLEXCAN1_B_SS0_B0x1E80x3D80x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_05_GPIO3_IO050x1E80x3D80x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_USDHC2_RESET_B0x1EC0x3DC0x0000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_FLEXSPI_A_SS0_B0x1EC0x3DC0x0000x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_LPUART7_CTS_B0x1EC0x3DC0x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_SAI1_RX_DATA000x1EC0x3DC0x5940x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_LPSPI2_PCS00x1EC0x3DC0x4FC0x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_06_GPIO3_IO060x1EC0x3DC0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_SEMC_CSX10x1F0 0x3E0 0x000 0x0 0x0 +#define
MXRT1050_IOMUXC_GPIO_SD_B1_07_FLEXSPI_A_SCLK0x1F00x3E00x4C80x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_LPUART7_RTS_B0x1F00x3E00x0000x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_SAI1_TX_DATA000x1F00x3E00x0000x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_LPSPI2_SCK0x1F00x3E00x5000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_GPIO3_IO070x1F00x3E00x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_07_CCM_REF_EN_B0x1F00x3E00x0000x60x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_USDHC2_DATA40x1F40x3E40x5F80x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_FLEXSPI_A_DATA00x1F40x3E40x4A80x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_LPUART7_TXD0x1F40x3E40x55C0x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_SAI1_TX_BLCK0x1F40x3E40x5A80x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_LPSPI2_SDO0x1F40x3E40x5080x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_GPIO3_IO080x1F40x3E40x0000x50x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_08_SEMC_CSX20x1F4 0x3E4 0x000 0x6 0x0 + +#define
MXRT1050_IOMUXC_GPIO_SD_B1_09_USDHC2_DATA50x1F80x3E80x5FC0x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_09_FLEXSPI_A_DATA10x1F80x3E80x4AC0x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_09_LPUART7_RXD0x1F80x3E80x5580x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_09_SAI1_TX_SYNC0x1F80x3E80x5AC0x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_09_LPSPI2_SDI0x1F80x3E80x5040x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_09_GPIO3_IO090x1F80x3E80x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_USDHC2_DATA60x1FC0x3EC0x6000x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_FLEXSPI_A_DATA20x1FC0x3EC0x4B00x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_LPUART2_RXD0x1FC0x3EC0x52C0x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_LPI2C2_SDA0x1FC0x3EC0x4D80x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_LPSPI2_PCS20x1FC0x3EC0x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_10_GPIO3_IO100x1FC0x3EC0x0000x50x0+ +#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_USDHC2_DATA70x2000x3F00x6040x00x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_FLEXSPI_A_DATA30x2000x3F00x4B40x10x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_LPUART2_TXDQuoted 8 lines
0x2000x3F00x5300x20x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_LPI2C2_SCL0x2000x3F00x4D40x30x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_LPSPI2_PCS30x2000x3F00x0000x40x0+#defineMXRT1050_IOMUXC_GPIO_SD_B1_11_GPIO3_IO110x2000x3F00x0000x50x0+ +#endif /*_DT_BINDINGS_PINCTRL_IMXRT1050_PINFUNC_H*/Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
PATCH v2 15/21 serial_lpuart: add clock enable if CONFIG_CLK is defined
In reply to Giulio BenettiThis driver assumes that lpuart clock is already enabled before probing but using DM only lpuart won't be automatically enabled so add clk_enable() when probing if CONFIG_CLK is defined. If clock is not found, because DM is not used, let's emit a warning and proceed, because serial clock could also be already enabled by non DM code. If clock is found but cna't be enabled then return with error.
---V1->V2:
* moved error as warning if clk not found
--- drivers/serial/serial_lpuart.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
drivers/serial/serial_lpuart.c +16 -0
@@ -483,6 +483,22 @@ static int lpuart_serial_pending(struct udevice *dev, bool input)static int lpuart_serial_probe (struct udevice *dev) { +#if CONFIG_IS_ENABLED (CLK ) +struct clk per_clk; +int ret; + + ret =clk_get_by_name (dev,"per" , &per_clk); +if (!ret) { + ret =clk_enable (&per_clk); +if (ret) { +dev_err (dev,"Failed to get per clk: %d\n" , ret); +return ret; + } + }else { +dev_warn (dev,"Failed to get per clk: %d\n" , ret); + } +#endif +if (is_lpuart32 (dev))return _lpuart32_serial_init (dev);else
Signature · 1 line
2.20.1
PATCH v2 15/21 serial_lpuart: add clock enable if CONFIG_CLK is defined
Quoted 7 lines
This driver assumes that lpuart clock is already enabled before probing but using DM only lpuart won't be automatically enabled so add
clk_enable()when probing ifCONFIG_CLKis defined. If clock is not found, because DM is not used, let's emit a warning and proceed, because serial clock could also be already enabled by non DM code. If clock is found but cna't be enabled then return with error.Signed-off-by Giulio Benetti <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH v2 15/21 serial_lpuart: add clock enable if CONFIG_CLK is defined
In reply to Giulio BenettiHi Giulio,
Quoted 6 lines
This driver assumes that lpuart clock is already enabled before probing but using DM only lpuart won't be automatically enabled so add
clk_enable()when probing ifCONFIG_CLKis defined. If clock is not found, because DM is not used, let's emit a warning and proceed, because serial clock could also be already enabled by non DM code. If clock is found but cna't be enabled then return with error.
^^^^ - can't
Quoted 21 lines
Signed-off-by Giulio Benetti <[email protected]>---
V1->V2:
* moved error as warning if clk not found--- drivers/serial/serial_lpuart.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)(quoted diff) +0
-0
b/drivers/serial/serial_lpuart.cindex4b0a964d1b..b2ec56172e100644drivers/serial/serial_lpuart.c +4
-0@@ -483,6 +483,22 @@ static int lpuart_serial_pending(struct udevice *dev, bool input)static int lpuart_serial_probe (struct udevice *dev) { +#if CONFIG_IS_ENABLED (CLK ) +struct clk per_clk; +int ret; +
drivers/serial/serial_lpuart.c static int lpuart_serial_pending(struct udevice · line 499
Quoted 10 lines
drivers/serial/serial_lpuart.c +9
-0+ ret =clk_get_by_name (dev,"per" , &per_clk); +if (!ret) { + ret =clk_enable (&per_clk); +if (ret) { +dev_err (dev,"Failed to get per clk: %d\n" , ret); +return ret; + } + }else { +dev_warn (dev,"Failed to get per clk: %d\n" , ret);
^^^^^^ - please change to debug() as some devices may enable CONFIG_CLK, but did not yet support (have implemented) this clock in CCF.
Quoted 6 lines
drivers/serial/serial_lpuart.c +3
-0+ } +#endif +if (is_lpuart32 (dev))return _lpuart32_serial_init (dev);else
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200128/5e819bd1/attachment.sig>
PATCH v2 15/21 serial_lpuart: add clock enable if CONFIG_CLK is defined
Hi Lukasz,
Quoted 9 lines · Lukasz Majewski
Hi Giulio,
Quoted 6 lines
This driver assumes that lpuart clock is already enabled before probing but using DM only lpuart won't be automatically enabled so add
clk_enable()when probing ifCONFIG_CLKis defined. If clock is not found, because DM is not used, let's emit a warning and proceed, because serial clock could also be already enabled by non DM code. If clock is found but cna't be enabled then return with error.^^^^ - can't
It's too late now, but...
Quoted 26 lines
Quoted 26 lines
Signed-off-by Giulio Benetti <[email protected]>---
V1->V2:
* moved error as warning if clk not found--- drivers/serial/serial_lpuart.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)(quoted diff) +0
-0
b/drivers/serial/serial_lpuart.cindex4b0a964d1b..b2ec56172e100644drivers/serial/serial_lpuart.c +9
-0@@ -483,6 +483,22 @@ static int lpuart_serial_pending(struct udevice *dev, bool input) static int lpuart_serial_probe(struct udevice *dev) { +#if CONFIG_IS_ENABLED(CLK) + struct clk per_clk; + int ret; + + ret = clk_get_by_name(dev, "per", &per_clk); + if (!ret) { + ret = clk_enable(&per_clk); + if (ret) { + dev_err(dev, "Failed to get per clk: %d\n",
Quoted 8 lines
drivers/serial/serial_lpuart.c static int lpuart_serial_pending(struct udevice *dev, bool input) · line 498
Quoted 5 lines
drivers/serial/serial_lpuart.c +4
-0ret); +return ret; + } + }else { +dev_warn (dev,"Failed to get per clk: %d\n" , ret);^^^^^^ - please change to
debug()as some devices may enableCONFIG_CLK, but did not yet support (have implemented) this clock in CCF.
...not for this, I'm going to send a patch changing this string.
Best regards
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Quoted 20 lines
Quoted 6 lines
drivers/serial/serial_lpuart.c +3
-0+ } +#endif +if (is_lpuart32 (dev))return _lpuart32_serial_init (dev);else
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
PATCH 1/1 serial_lpuart: make clock failure less verbose
Some device may enable CONFIG_CLK but not still support this clock in CC, so better use debug() in place of dev_warn() otherwise a lot of boards will throw useless dev_warn()s.
--- drivers/serial/serial_lpuart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/serial/serial_lpuart.c +1 -1
@@ -498,7 +498,7 @@ static int lpuart_serial_probe(struct udevice *dev) return ret; } }else { -dev_warn (dev,"Failed to get per clk: %d\n" , ret); +debug ("%s: Failed to get per clk: %d\n" , __func__, ret); }#endif
Signature · 1 line
2.20.1
PATCH 1/1 serial_lpuart: make clock failure less verbose
Quoted 10 lines · Giulio Benetti
Some device may enable
CONFIG_CLKbut not still support this clock in CC, so better usedebug()in place ofdev_warn()otherwise a lot of boards will throw useless dev_warn()s.Signed-off-by Giulio Benetti <[email protected]>--- drivers/serial/serial_lpuart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH 1/1 serial_lpuart: make clock failure less verbose
Hi Lukasz,
Quoted 5 lines · Simon Glass
Quoted 3 lines · Giulio Benetti
Some device may enable
CONFIG_CLKbut not still support this clock in CC, so better usedebug()in place ofdev_warn()otherwise a lot of
^^ this must be CCF. Can you correct commit log while applying?
Thanks in advance
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Quoted 10 lines
Quoted 7 lines
boards will throw useless dev_warn()s.
Signed-off-by Giulio Benetti <[email protected]>--- drivers/serial/serial_lpuart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Reviewed-by Simon Glass <[email protected]>
PATCH 1/1 serial_lpuart: make clock failure less verbose
Hi Giulio,
Quoted 11 lines
Hi Lukasz,
Quoted 6 lines · Simon Glass
Quoted 4 lines · Giulio Benetti
Some device may enable
CONFIG_CLKbut not still support this clock in CC, so better usedebug()in place ofdev_warn()otherwise a lot of^^ this must be CCF. Can you correct commit log while applying?
I think that Stefano (or Tom) will apply this patch (as it is related to i.MX SoC's uart).
Quoted 2 lines
Thanks in advance
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200201/fc3f64ae/attachment.sig>
PATCH 1/1 serial_lpuart: make clock failure less verbose
+Cc Stefano
Quoted 33 lines · Lukasz Majewski
Hi Giulio,
Quoted 11 lines
Hi Lukasz,
Quoted 6 lines · Simon Glass
Quoted 4 lines · Giulio Benetti
Some device may enable
CONFIG_CLKbut not still support this clock in CC, so better usedebug()in place ofdev_warn()otherwise a lot of^^ this must be CCF. Can you correct commit log while applying?
I think that Stefano (or Tom) will apply this patch (as it is related to i.MX SoC's uart).
Quoted 2 lines
Thanks in advance
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
PATCH 1/1 serial_lpuart: make clock failure less verbose
In reply to Giulio BenettiQuoted 5 lines
Some device may enable
CONFIG_CLKbut not still support this clock in CC, so better usedebug()in place ofdev_warn()otherwise a lot of boards will throw useless dev_warn()s.Signed-off-by Giulio Benetti <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================