You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/03/23 02:28:49 UTC

[incubator-nuttx] branch master updated (6ff11d8 -> 1fdae80)

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from 6ff11d8  mm: add heap policy and anta logic to support mm debug on sim platform
     new 8dd660e  nuttx: Author David S. Alessio: update licenses to Apache
     new da7dfd0  drivers: Author David Sidrane: update licenses to Apache
     new 3d61857  libs: Author David Sidrane: update licenses to Apache
     new 579c70a  tools: Author David Sidrane: update licenses to Apache
     new 1863dca  boards: Author David Sidrane: update licenses to Apache
     new 37f91b0  arch: Author David Sidrane: update licenses to Apache
     new 85bcf1b  arch: Author Alan Carvalho de Assis: update licenses to Apache
     new 35e0d13  arch: Author Sebastien Lorquet: update licenses to Apache
     new 4daa276  arch: arm: include: Author Gregory Nutt: update licenses to Apache
     new c39339a  arch: arm: include: nxstyle fixes
     new e860694  libs: libc: nxstyle fixes
     new ee0861a  arch: arm: fixes for nxstyle errors
     new 881cfe4  arch: arm: kl: fix Mixed case identifier
     new fe64ed5  boards: arm: stm32: fix Mixed case identifier
     new b6a987a  arch: arm: imxrt: nxstyle fix
     new 1fdae80  arch: arm: kinetis: fix nxstyle errors

The 16 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 arch/arm/include/a1x/a10_irq.h                     |  73 +-
 arch/arm/include/a1x/chip.h                        |  65 +-
 arch/arm/include/a1x/irq.h                         |  69 +-
 arch/arm/include/am335x/am335x_irq.h               |  35 +-
 arch/arm/include/am335x/chip.h                     |  28 +-
 arch/arm/include/am335x/irq.h                      |  32 +-
 arch/arm/include/arch.h                            |  41 +-
 arch/arm/include/arm/irq.h                         |  43 +-
 arch/arm/include/arm/spinlock.h                    |  39 +-
 arch/arm/include/arm/syscall.h                     |  41 +-
 arch/arm/include/armv6-m/irq.h                     |  47 +-
 arch/arm/include/armv6-m/spinlock.h                |  39 +-
 arch/arm/include/armv6-m/syscall.h                 |  41 +-
 arch/arm/include/armv7-a/irq.h                     |  41 +-
 arch/arm/include/armv7-a/spinlock.h                |  39 +-
 arch/arm/include/armv7-a/syscall.h                 |  41 +-
 arch/arm/include/armv7-m/irq.h                     |   2 +-
 arch/arm/include/armv7-m/irq_cmnvector.h           |   2 +-
 arch/arm/include/armv7-m/irq_lazyfpu.h             |   2 +-
 arch/arm/include/armv7-m/nvicpri.h                 |  14 +-
 arch/arm/include/armv7-m/syscall.h                 |   2 +-
 arch/arm/include/armv7-r/irq.h                     |  41 +-
 arch/arm/include/armv7-r/spinlock.h                |  39 +-
 arch/arm/include/armv7-r/syscall.h                 |  41 +-
 arch/arm/include/armv8-m/irq.h                     |   2 +-
 arch/arm/include/armv8-m/irq_cmnvector.h           |   2 +-
 arch/arm/include/armv8-m/irq_lazyfpu.h             |   2 +-
 arch/arm/include/armv8-m/nvicpri.h                 |  14 +-
 arch/arm/include/armv8-m/syscall.h                 |   2 +-
 arch/arm/include/c5471/irq.h                       |  41 +-
 arch/arm/include/cxd56xx/adc.h                     |   2 +-
 arch/arm/include/cxd56xx/audio.h                   |   2 +-
 arch/arm/include/cxd56xx/battery_ioctl.h           |   2 +-
 arch/arm/include/cxd56xx/chip.h                    |  43 +-
 arch/arm/include/cxd56xx/crashdump.h               |   2 +-
 arch/arm/include/cxd56xx/irq.h                     |  43 +-
 arch/arm/include/cxd56xx/pin.h                     |  46 +-
 arch/arm/include/cxd56xx/pm.h                      |   4 +-
 arch/arm/include/cxd56xx/scu.h                     |   2 +-
 arch/arm/include/cxd56xx/timer.h                   |   2 +-
 arch/arm/include/cxd56xx/usbdev.h                  |   2 +-
 arch/arm/include/dm320/irq.h                       |  41 +-
 arch/arm/include/efm32/chip.h                      |  61 +-
 arch/arm/include/efm32/efm32g_irq.h                |  46 +-
 arch/arm/include/efm32/efm32gg_irq.h               |   4 +-
 arch/arm/include/efm32/efm32tg_irq.h               |   4 +-
 arch/arm/include/efm32/irq.h                       | 109 +--
 arch/arm/include/elf.h                             |  58 +-
 arch/arm/include/eoss3/chip.h                      |   2 +-
 arch/arm/include/eoss3/irq.h                       |   2 +-
 arch/arm/include/imx1/irq.h                        |  41 +-
 arch/arm/include/imx6/chip.h                       |  44 +-
 arch/arm/include/imx6/irq.h                        |  46 +-
 arch/arm/include/imxrt/chip.h                      |  71 +-
 arch/arm/include/imxrt/imxrt102x_irq.h             |  82 +-
 arch/arm/include/imxrt/imxrt105x_irq.h             |  82 +-
 arch/arm/include/imxrt/imxrt106x_irq.h             |  85 +-
 arch/arm/include/imxrt/irq.h                       |  80 +-
 arch/arm/include/inttypes.h                        |   2 +-
 arch/arm/include/kinetis/chip.h                    |  78 +-
 arch/arm/include/kinetis/irq.h                     |  87 +-
 arch/arm/include/kinetis/kinetis_dma.h             |  43 +-
 arch/arm/include/kinetis/kinetis_dmamux.h          |  39 +-
 arch/arm/include/kinetis/kinetis_k20irq.h          |  73 +-
 arch/arm/include/kinetis/kinetis_k28irq.h          |  37 +-
 arch/arm/include/kinetis/kinetis_k40irq.h          |  77 +-
 arch/arm/include/kinetis/kinetis_k60irq.h          |  77 +-
 arch/arm/include/kinetis/kinetis_k64irq.h          |  77 +-
 arch/arm/include/kinetis/kinetis_k66irq.h          |  78 +-
 arch/arm/include/kinetis/kinetis_lpuart.h          |  48 +-
 arch/arm/include/kinetis/kinetis_mcg.h             | 127 +--
 arch/arm/include/kinetis/kinetis_pmc.h             |  80 +-
 arch/arm/include/kinetis/kinetis_sim.h             | 101 +--
 arch/arm/include/kl/chip.h                         |  77 +-
 arch/arm/include/kl/irq.h                          | 131 ++-
 arch/arm/include/lc823450/chip.h                   |   2 +-
 arch/arm/include/lc823450/clk.h                    |   2 +-
 arch/arm/include/lc823450/irq.h                    |   2 +-
 arch/arm/include/limits.h                          |  41 +-
 arch/arm/include/lpc17xx_40xx/chip.h               |  52 +-
 arch/arm/include/lpc17xx_40xx/irq.h                |  42 +-
 arch/arm/include/lpc17xx_40xx/lpc176x_irq.h        |  58 +-
 arch/arm/include/lpc17xx_40xx/lpc178x_40xx_irq.h   |  15 +-
 arch/arm/include/lpc214x/irq.h                     |  41 +-
 arch/arm/include/lpc2378/irq.h                     |   6 +-
 arch/arm/include/lpc31xx/irq.h                     |  41 +-
 arch/arm/include/lpc43xx/chip.h                    | 119 ++-
 arch/arm/include/lpc43xx/irq.h                     |  84 +-
 arch/arm/include/lpc54xx/chip.h                    |  80 +-
 arch/arm/include/lpc54xx/irq.h                     |  68 +-
 arch/arm/include/lpc54xx/lpc546x_irq.h             |  53 +-
 arch/arm/include/max326xx/chip.h                   |  87 +-
 arch/arm/include/max326xx/irq.h                    |  76 +-
 arch/arm/include/max326xx/max32620_30_irq.h        |  77 +-
 arch/arm/include/max326xx/max32660_irq.h           |  81 +-
 arch/arm/include/moxart/irq.h                      |  41 +-
 arch/arm/include/nrf52/chip.h                      |  34 +-
 arch/arm/include/nrf52/irq.h                       |  72 +-
 arch/arm/include/nrf52/nrf52_irq.h                 |  53 +-
 arch/arm/include/nuc1xx/chip.h                     |  82 +-
 arch/arm/include/nuc1xx/irq.h                      |  82 +-
 arch/arm/include/nuc1xx/nuc120_irq.h               |  71 +-
 arch/arm/include/rp2040/irq.h                      |   2 +-
 arch/arm/include/s32k1xx/chip.h                    |  71 +-
 arch/arm/include/s32k1xx/irq.h                     |  39 +-
 arch/arm/include/s32k1xx/s32k11x_irq.h             |  68 +-
 arch/arm/include/s32k1xx/s32k14x_irq.h             |  68 +-
 arch/arm/include/sam34/chip.h                      | 142 +--
 arch/arm/include/sam34/irq.h                       |  76 +-
 arch/arm/include/sam34/sam3u_irq.h                 |  73 +-
 arch/arm/include/sam34/sam3x_irq.h                 |  73 +-
 arch/arm/include/sam34/sam4cm_irq.h                |  73 +-
 arch/arm/include/sam34/sam4e_irq.h                 |  75 +-
 arch/arm/include/sam34/sam4l_irq.h                 |  81 +-
 arch/arm/include/sam34/sam4s_irq.h                 |  73 +-
 arch/arm/include/sama5/chip.h                      | 277 +++---
 arch/arm/include/sama5/irq.h                       |  69 +-
 arch/arm/include/sama5/sama5d2_irq.h               |  93 +-
 arch/arm/include/sama5/sama5d3_irq.h               |  73 +-
 arch/arm/include/sama5/sama5d4_irq.h               |  73 +-
 arch/arm/include/samd2l2/chip.h                    | 108 ++-
 arch/arm/include/samd2l2/irq.h                     |  80 +-
 arch/arm/include/samd2l2/sam_adc.h                 |  45 +-
 arch/arm/include/samd2l2/samd20_irq.h              |  73 +-
 arch/arm/include/samd2l2/samd21_irq.h              |  82 +-
 arch/arm/include/samd2l2/saml21_irq.h              |  73 +-
 arch/arm/include/samd5e5/chip.h                    |  82 +-
 arch/arm/include/samd5e5/irq.h                     |  76 +-
 arch/arm/include/samd5e5/samd5e5_irq.h             |  74 +-
 arch/arm/include/samv7/chip.h                      |  77 +-
 arch/arm/include/samv7/irq.h                       |  76 +-
 arch/arm/include/samv7/same70_irq.h                |  77 +-
 arch/arm/include/samv7/samv71_irq.h                |  77 +-
 arch/arm/include/setjmp.h                          |  39 +-
 arch/arm/include/spinlock.h                        |  41 +-
 arch/arm/include/stdarg.h                          |  42 +-
 arch/arm/include/stm32/chip.h                      | 107 ++-
 arch/arm/include/stm32/irq.h                       |  80 +-
 arch/arm/include/stm32/stm32f10xxx_irq.h           |  41 +-
 arch/arm/include/stm32/stm32f20xxx_irq.h           |  41 +-
 arch/arm/include/stm32/stm32f30xxx_irq.h           |  41 +-
 arch/arm/include/stm32/stm32f33xxx_irq.h           |   2 +-
 arch/arm/include/stm32/stm32f37xxx_irq.h           |   2 +-
 arch/arm/include/stm32/stm32f40xxx_irq.h           |  36 +-
 arch/arm/include/stm32/stm32g4xxxx_irq.h           |  26 +-
 arch/arm/include/stm32/stm32l15xxx_irq.h           |  43 +-
 arch/arm/include/stm32f0l0g0/chip.h                |   2 +-
 arch/arm/include/stm32f0l0g0/irq.h                 |  42 +-
 arch/arm/include/stm32f0l0g0/stm32f0_irq.h         |  42 +-
 arch/arm/include/stm32f0l0g0/stm32g0_irq.h         |   2 +-
 arch/arm/include/stm32f0l0g0/stm32l0_irq.h         |  41 +-
 arch/arm/include/stm32f7/chip.h                    | 224 +++--
 arch/arm/include/stm32f7/irq.h                     |   2 +-
 arch/arm/include/stm32f7/stm32f72xx73xx_irq.h      |   2 +-
 arch/arm/include/stm32f7/stm32f74xx75xx_irq.h      |  41 +-
 arch/arm/include/stm32f7/stm32f76xx77xx_irq.h      |  42 +-
 arch/arm/include/stm32h7/chip.h                    |  20 +-
 arch/arm/include/stm32h7/irq.h                     |  41 +-
 arch/arm/include/stm32h7/stm32h7x3xx_irq.h         |  70 +-
 arch/arm/include/stm32h7/stm32h7x7xx_irq.h         |  42 +-
 arch/arm/include/stm32l4/chip.h                    |  43 +-
 arch/arm/include/stm32l4/irq.h                     |  41 +-
 arch/arm/include/stm32l4/stm32l4x3xx_irq.h         |   2 +-
 arch/arm/include/stm32l4/stm32l4x5xx_irq.h         |  44 +-
 arch/arm/include/stm32l4/stm32l4x6xx_irq.h         |  42 +-
 arch/arm/include/stm32l4/stm32l4xrxx_irq.h         |  42 +-
 arch/arm/include/stm32l5/chip.h                    |  16 +-
 arch/arm/include/stm32l5/irq.h                     |   8 +-
 arch/arm/include/stm32l5/stm32l562xx_irq.h         |  20 +-
 arch/arm/include/stm32l5/stm32l5_irq.h             |  42 +-
 arch/arm/include/str71x/irq.h                      |  67 +-
 arch/arm/include/syscall.h                         |   2 +-
 arch/arm/include/tiva/cc13x0_irq.h                 |  41 +-
 arch/arm/include/tiva/cc13x2_cc26x2_irq.h          |  41 +-
 arch/arm/include/tiva/chip.h                       |   2 +-
 arch/arm/include/tiva/irq.h                        |  69 +-
 arch/arm/include/tiva/lm3s_irq.h                   |  72 +-
 arch/arm/include/tiva/lm4f_irq.h                   |  72 +-
 arch/arm/include/tiva/tm4c_irq.h                   |  72 +-
 arch/arm/include/tms570/chip.h                     | 123 +--
 arch/arm/include/tms570/irq.h                      |  80 +-
 arch/arm/include/tms570/tms570ls04x03x_irq.h       |  76 +-
 arch/arm/include/types.h                           |   2 +-
 arch/arm/include/xmc4/chip.h                       |  77 +-
 arch/arm/include/xmc4/irq.h                        |  75 +-
 arch/arm/include/xmc4/xmc4500_irq.h                |  55 +-
 arch/arm/include/xmc4/xmc4700_irq.h                |  16 +-
 arch/arm/include/xmc4/xmc4800_irq.h                |  16 +-
 arch/arm/src/armv7-m/gnu/arm_setjmp.S              |  43 +-
 arch/arm/src/armv8-m/arm_setjmp.S                  |  43 +-
 arch/arm/src/imxrt/Make.defs                       |  40 +-
 arch/arm/src/imxrt/hardware/imxrt_adc.h            |  40 +-
 arch/arm/src/imxrt/hardware/imxrt_daisy.h          |  40 +-
 arch/arm/src/imxrt/hardware/imxrt_dmamux.h         |  40 +-
 arch/arm/src/imxrt/hardware/imxrt_flexpwm.h        | 224 +++--
 arch/arm/src/imxrt/hardware/imxrt_gpio.h           |  40 +-
 arch/arm/src/imxrt/hardware/imxrt_gpt.h            |  64 +-
 arch/arm/src/imxrt/hardware/imxrt_iomuxc.h         |  40 +-
 arch/arm/src/imxrt/hardware/imxrt_ocotp.h          |  62 +-
 arch/arm/src/imxrt/hardware/imxrt_pinmux.h         |  40 +-
 arch/arm/src/imxrt/hardware/imxrt_pit.h            |  43 +-
 arch/arm/src/imxrt/hardware/imxrt_tmr.h            |  77 +-
 arch/arm/src/imxrt/hardware/imxrt_usb_analog.h     |  65 +-
 arch/arm/src/imxrt/hardware/imxrt_xbar.h           |  41 +-
 .../arm/src/imxrt/hardware/rt105x/imxrt105x_gpio.h |  40 +-
 .../src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h   |  41 +-
 .../src/imxrt/hardware/rt106x/imxrt106x_dmamux.h   |  40 +-
 .../arm/src/imxrt/hardware/rt106x/imxrt106x_gpio.h |  40 +-
 .../src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h   |  41 +-
 .../imxrt/hardware/rt106x/imxrt106x_memorymap.h    | 180 +++-
 .../src/imxrt/hardware/rt106x/imxrt106x_pinmux.h   |  40 +-
 arch/arm/src/imxrt/imxrt102x_daisy.c               | 479 ++++++----
 arch/arm/src/imxrt/imxrt105x_daisy.c               | 984 ++++++++++++++-------
 arch/arm/src/imxrt/imxrt106x_daisy.c               | 980 +++++++++++++-------
 arch/arm/src/imxrt/imxrt_daisy.c                   |  75 +-
 arch/arm/src/imxrt/imxrt_gpio.h                    |  44 +-
 arch/arm/src/imxrt/imxrt_ocotp.c                   |  40 +-
 arch/arm/src/imxrt/imxrt_ocotp.h                   |  44 +-
 arch/arm/src/imxrt/imxrt_xbar.c                    |  46 +-
 arch/arm/src/imxrt/imxrt_xbar.h                    | 122 ++-
 arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h  |  81 +-
 .../src/kinetis/hardware/kinetis_k28k64k66mpu.h    |  79 +-
 arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h  |  89 +-
 arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h  |  78 +-
 arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h  |  78 +-
 arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h  |  84 +-
 .../src/kinetis/hardware/kinetis_k66memorymap.h    |  88 +-
 arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h  |  84 +-
 arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h     |  52 +-
 arch/arm/src/kinetis/hardware/kinetis_lpuart.h     |  82 +-
 arch/arm/src/kinetis/hardware/kinetis_mcg.h        |  90 +-
 arch/arm/src/kinetis/hardware/kinetis_sim.h        | 190 ++--
 arch/arm/src/kinetis/hardware/kinetis_uart.h       |  81 +-
 arch/arm/src/kinetis/kinetis.h                     |  44 +-
 arch/arm/src/kinetis/kinetis_clockconfig.c         |  53 +-
 arch/arm/src/kinetis/kinetis_config.h              |  93 +-
 arch/arm/src/kinetis/kinetis_enet.c                |  44 +-
 arch/arm/src/kinetis/kinetis_lowputc.c             |  40 +-
 arch/arm/src/kinetis/kinetis_lpserial.c            |  40 +-
 arch/arm/src/kinetis/kinetis_serialinit.c          |  45 +-
 arch/arm/src/kinetis/kinetis_spi.c                 |  44 +-
 arch/arm/src/kinetis/kinetis_spi.h                 | 104 +--
 arch/arm/src/kinetis/kinetis_tpm.h                 |  40 +-
 arch/arm/src/kl/hardware/kl_tpm.h                  |  45 +-
 arch/arm/src/kl/hardware/kl_tsi.h                  |  74 +-
 arch/arm/src/kl/kl_clockconfig.c                   |  65 +-
 arch/arm/src/kl/kl_pwm.c                           |  56 +-
 arch/arm/src/kl/kl_pwm.h                           | 103 +--
 arch/arm/src/lpc43xx/lpc43_sdmmc.c                 |  49 +-
 arch/arm/src/lpc43xx/lpc43_timer.c                 |  44 +-
 arch/arm/src/lpc43xx/lpc43_timer.h                 |  42 +-
 arch/arm/src/lpc54xx/lpc54_sdmmc.c                 |  54 +-
 arch/arm/src/nrf52/hardware/nrf52_nvmc.h           |  57 +-
 arch/arm/src/nrf52/hardware/nrf52_wdt.h            |  39 +-
 arch/arm/src/samv7/sam_systemreset.c               |  44 +-
 arch/arm/src/stm32/hardware/stm32_flash.h          |  40 +-
 arch/arm/src/stm32/stm32_bbsram.c                  |  44 +-
 arch/arm/src/stm32/stm32_bbsram.h                  |  40 +-
 arch/arm/src/stm32/stm32_otgfsdev.c                |  44 +-
 arch/arm/src/stm32/stm32_pwr.h                     |  44 +-
 arch/arm/src/stm32/stm32_rcc.c                     |  44 +-
 arch/arm/src/stm32/stm32_serial.c                  |  45 +-
 arch/arm/src/stm32f0l0g0/chip.h                    |  40 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h      |  89 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_can.h      |  59 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h      |  64 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h      |  56 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h      |  67 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_exti.h     |  40 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h      |  57 +-
 .../arm/src/stm32f0l0g0/hardware/stm32_memorymap.h |  40 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_pwr.h      |  40 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_rcc.h      |  40 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h     |  60 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_syscfg.h   |  40 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_uart.h     |  40 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h  |  59 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h      |  59 +-
 .../src/stm32f0l0g0/hardware/stm32f03x_memorymap.h |  74 +-
 .../src/stm32f0l0g0/hardware/stm32f03x_pinmap.h    |  70 +-
 .../src/stm32f0l0g0/hardware/stm32f05x_pinmap.h    |  40 +-
 .../hardware/stm32f05xf07xf09x_memorymap.h         |  71 +-
 .../src/stm32f0l0g0/hardware/stm32f07x_pinmap.h    |  70 +-
 .../src/stm32f0l0g0/hardware/stm32f09x_pinmap.h    |  71 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h   |  62 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h    |  59 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h    |  76 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h |  62 +-
 arch/arm/src/stm32f0l0g0/stm32_gpio.c              |  66 +-
 arch/arm/src/stm32f0l0g0/stm32_hsi48.h             |  58 +-
 arch/arm/src/stm32f0l0g0/stm32_idle.c              |  40 +-
 arch/arm/src/stm32f0l0g0/stm32_irq.c               |  42 +-
 arch/arm/src/stm32f0l0g0/stm32_lowputc.h           |  40 +-
 arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c        |  54 +-
 arch/arm/src/stm32f0l0g0/stm32_rcc.h               |  40 +-
 arch/arm/src/stm32f0l0g0/stm32_serial.c            |  48 +-
 arch/arm/src/stm32f0l0g0/stm32_serial.h            |  40 +-
 arch/arm/src/stm32f0l0g0/stm32_serial_v1.c         |  44 +-
 arch/arm/src/stm32f0l0g0/stm32_start.c             |  40 +-
 arch/arm/src/stm32f0l0g0/stm32_timerisr.c          |  46 +-
 arch/arm/src/stm32f0l0g0/stm32_uart.h              |  83 +-
 arch/arm/src/stm32f0l0g0/stm32f0_rcc.c             |  52 +-
 arch/arm/src/stm32f7/hardware/stm32_adc.h          |  40 +-
 arch/arm/src/stm32f7/hardware/stm32_dbgmcu.h       |  40 +-
 arch/arm/src/stm32f7/hardware/stm32_dma.h          |  40 +-
 arch/arm/src/stm32f7/hardware/stm32_ethernet.h     | 137 +--
 arch/arm/src/stm32f7/hardware/stm32_flash.h        |  40 +-
 arch/arm/src/stm32f7/hardware/stm32_gpio.h         |  40 +-
 arch/arm/src/stm32f7/hardware/stm32_memorymap.h    |  40 +-
 arch/arm/src/stm32f7/hardware/stm32_pinmap.h       |  40 +-
 arch/arm/src/stm32f7/hardware/stm32_pwr.h          |  40 +-
 arch/arm/src/stm32f7/hardware/stm32_rcc.h          |  40 +-
 arch/arm/src/stm32f7/hardware/stm32_rtcc.h         |  62 +-
 arch/arm/src/stm32f7/hardware/stm32_syscfg.h       |  40 +-
 arch/arm/src/stm32f7/hardware/stm32_tim.h          |  48 +-
 arch/arm/src/stm32f7/hardware/stm32_uart.h         |  40 +-
 .../src/stm32f7/hardware/stm32f74xx75xx_dbgmcu.h   |  40 +-
 .../src/stm32f7/hardware/stm32f74xx75xx_flash.h    |  64 +-
 .../stm32f7/hardware/stm32f74xx75xx_memorymap.h    |  79 +-
 .../src/stm32f7/hardware/stm32f74xx75xx_pinmap.h   |  40 +-
 arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pwr.h |  60 +-
 arch/arm/src/stm32f7/hardware/stm32f74xx75xx_rcc.h |  95 +-
 arch/arm/src/stm32f7/hardware/stm32f74xx75xx_tim.h | 148 ++--
 arch/arm/src/stm32f7/hardware/stm32f74xx77xx_adc.h |  99 +--
 arch/arm/src/stm32f7/hardware/stm32f74xx77xx_i2c.h |  58 +-
 .../src/stm32f7/hardware/stm32f74xx77xx_sdmmc.h    |  56 +-
 arch/arm/src/stm32f7/hardware/stm32f74xx77xx_spi.h |  67 +-
 .../arm/src/stm32f7/hardware/stm32f74xx77xx_uart.h |  61 +-
 .../src/stm32f7/hardware/stm32f76xx77xx_dbgmcu.h   |  40 +-
 .../src/stm32f7/hardware/stm32f76xx77xx_flash.h    |  64 +-
 .../arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h |  40 +-
 .../stm32f7/hardware/stm32f76xx77xx_memorymap.h    |  80 +-
 .../src/stm32f7/hardware/stm32f76xx77xx_pinmap.h   |  79 +-
 arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pwr.h |  60 +-
 arch/arm/src/stm32f7/hardware/stm32f76xx77xx_rcc.h |  99 ++-
 .../src/stm32f7/hardware/stm32f76xx77xx_syscfg.h   |  59 +-
 arch/arm/src/stm32f7/hardware/stm32f76xx77xx_tim.h | 136 +--
 arch/arm/src/stm32f7/stm32_bbsram.c                |  44 +-
 arch/arm/src/stm32f7/stm32_bbsram.h                |  44 +-
 arch/arm/src/stm32f7/stm32_dbgmcu.h                |  40 +-
 arch/arm/src/stm32f7/stm32_lse.c                   |  40 +-
 arch/arm/src/stm32f7/stm32_lsi.c                   |  40 +-
 arch/arm/src/stm32f7/stm32_otgdev.c                |  44 +-
 arch/arm/src/stm32f7/stm32_otghost.c               |  44 +-
 arch/arm/src/stm32f7/stm32_pwr.h                   |  44 +-
 arch/arm/src/stm32f7/stm32_rcc.c                   |  44 +-
 arch/arm/src/stm32f7/stm32_rtc.c                   |  44 +-
 arch/arm/src/stm32f7/stm32_rtc_lowerhalf.c         |  44 +-
 arch/arm/src/stm32f7/stm32_serial.c                |  44 +-
 arch/arm/src/stm32f7/stm32_spi.h                   |  44 +-
 arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c          |  40 +-
 arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c          |  40 +-
 arch/arm/src/stm32h7/hardware/stm32_axi.h          |  58 +-
 arch/arm/src/stm32h7/hardware/stm32_memorymap.h    |  40 +-
 arch/arm/src/stm32h7/hardware/stm32_rcc.h          |  40 +-
 arch/arm/src/stm32h7/hardware/stm32_rtcc.h         |  60 +-
 arch/arm/src/stm32h7/hardware/stm32_tim.h          | 125 +--
 arch/arm/src/stm32h7/hardware/stm32h7x3xx_i2c.h    |  58 +-
 arch/arm/src/stm32h7/hardware/stm32h7x3xx_syscfg.h |  63 +-
 arch/arm/src/stm32h7/stm32_bbsram.c                |  44 +-
 arch/arm/src/stm32h7/stm32_bbsram.h                |  40 +-
 arch/arm/src/stm32h7/stm32_dtcm.c                  |  40 +-
 arch/arm/src/stm32h7/stm32_lse.c                   |  40 +-
 arch/arm/src/stm32h7/stm32_lsi.c                   |  40 +-
 arch/arm/src/stm32h7/stm32_rcc.c                   |  44 +-
 arch/arm/src/stm32h7/stm32_rtc.c                   |  44 +-
 arch/arm/src/stm32h7/stm32_rtc_lowerhalf.c         |  57 +-
 arch/arm/src/stm32h7/stm32_serial.c                |  44 +-
 arch/arm/src/stm32l4/Make.defs                     |  40 +-
 arch/arm/src/stm32l4/chip.h                        |  39 +-
 arch/arm/src/stm32l4/hardware/stm32l4_can.h        |  86 +-
 arch/arm/src/stm32l4/hardware/stm32l4_crs.h        |  56 +-
 arch/arm/src/stm32l4/hardware/stm32l4_gpio.h       |  39 +-
 arch/arm/src/stm32l4/hardware/stm32l4_pinmap.h     |  40 +-
 arch/arm/src/stm32l4/hardware/stm32l4_syscfg.h     |  39 +-
 .../src/stm32l4/hardware/stm32l4x3xx_firewall.h    |  39 +-
 .../src/stm32l4/hardware/stm32l4x5xx_firewall.h    |  41 +-
 arch/arm/src/stm32l4/hardware/stm32l4x5xx_pinmap.h |  40 +-
 arch/arm/src/stm32l4/hardware/stm32l4x5xx_rcc.h    | 102 ++-
 .../src/stm32l4/hardware/stm32l4x6xx_firewall.h    |  39 +-
 arch/arm/src/stm32l4/hardware/stm32l4x6xx_pinmap.h |  39 +-
 arch/arm/src/stm32l4/hardware/stm32l4x6xx_rcc.h    |  84 +-
 .../src/stm32l4/hardware/stm32l4xrxx_firewall.h    |  39 +-
 arch/arm/src/stm32l4/hardware/stm32l4xrxx_pinmap.h |  39 +-
 arch/arm/src/stm32l4/stm32l4_can.h                 |  72 +-
 arch/arm/src/stm32l4/stm32l4_dumpgpio.c            |  40 +-
 arch/arm/src/stm32l4/stm32l4_firewall.c            |  39 +-
 arch/arm/src/stm32l4/stm32l4_firewall.h            |  68 +-
 arch/arm/src/stm32l4/stm32l4_gpio.h                | 128 ++-
 arch/arm/src/stm32l4/stm32l4_hsi48.h               |  42 +-
 arch/arm/src/stm32l4/stm32l4_rcc.c                 | 140 ++-
 arch/arm/src/stm32l4/stm32l4_serial.c              |  45 +-
 arch/arm/src/stm32l4/stm32l4x5xx_rcc.c             |  45 +-
 arch/arm/src/stm32l4/stm32l4x6xx_rcc.c             |  41 +-
 arch/arm/src/stm32l4/stm32l4xrxx_rcc.c             |  41 +-
 arch/arm/src/stm32l5/stm32l5_rcc.c                 |  50 +-
 arch/arm/src/xmc4/xmc4_spi.c                       |  44 +-
 boards/arm/imxrt/imxrt1060-evk/src/imxrt1060-evk.h |  44 +-
 boards/arm/imxrt/imxrt1060-evk/src/imxrt_appinit.c |  40 +-
 .../arm/imxrt/imxrt1060-evk/src/imxrt_autoleds.c   |  44 +-
 boards/arm/imxrt/imxrt1060-evk/src/imxrt_boot.c    |  47 +-
 boards/arm/imxrt/imxrt1060-evk/src/imxrt_bringup.c |  40 +-
 .../arm/imxrt/imxrt1060-evk/src/imxrt_ethernet.c   |  40 +-
 .../arm/imxrt/imxrt1060-evk/src/imxrt_userleds.c   |  40 +-
 boards/arm/stm32/olimexino-stm32/include/board.h   |  60 +-
 .../stm32/olimexino-stm32/src/olimexino-stm32.h    |   6 +-
 .../arm/stm32/olimexino-stm32/src/stm32_appinit.c  |  40 +-
 boards/arm/stm32/olimexino-stm32/src/stm32_boot.c  |  57 +-
 boards/arm/stm32/olimexino-stm32/src/stm32_can.c   |  44 +-
 .../stm32/olimexino-stm32/src/stm32_composite.c    |  64 +-
 boards/arm/stm32/olimexino-stm32/src/stm32_leds.c  |  40 +-
 boards/arm/stm32/olimexino-stm32/src/stm32_spi.c   |  90 +-
 .../arm/stm32/olimexino-stm32/src/stm32_usbdev.c   |  70 +-
 .../arm/stm32/olimexino-stm32/src/stm32_usbmsc.c   |  53 +-
 .../stm32f7/nucleo-144/configs/f746-nsh/Make.defs  |  40 +-
 .../nucleo-144/configs/f767-netnsh/Make.defs       |  40 +-
 .../stm32f7/nucleo-144/configs/f767-nsh/Make.defs  |  40 +-
 boards/arm/stm32f7/nucleo-144/src/Makefile         |  40 +-
 boards/arm/stm32f7/nucleo-144/src/stm32_autoleds.c |  40 +-
 boards/arm/stm32f7/nucleo-144/src/stm32_bbsram.c   |  39 +-
 boards/arm/stm32f7/nucleo-144/src/stm32_boot.c     |  64 +-
 boards/arm/stm32f7/nucleo-144/src/stm32_buttons.c  |  40 +-
 boards/arm/stm32f7/nucleo-144/src/stm32_spi.c      | 131 ++-
 boards/arm/stm32f7/nucleo-144/src/stm32_usb.c      |  40 +-
 boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c   |  50 +-
 .../arm/stm32h7/stm32h747i-disco/src/stm32_adc.c   |  40 +-
 boards/arm/stm32l4/nucleo-l496zg/src/Makefile      |  40 +-
 .../arm/stm32l4/nucleo-l496zg/src/stm32_autoleds.c |  40 +-
 boards/arm/stm32l4/nucleo-l496zg/src/stm32_boot.c  |  64 +-
 .../arm/stm32l4/nucleo-l496zg/src/stm32_buttons.c  |  40 +-
 boards/arm/stm32l4/nucleo-l496zg/src/stm32_spi.c   | 119 ++-
 boards/arm/stm32l4/nucleo-l496zg/src/stm32_usb.c   |  40 +-
 drivers/crypto/dev_urandom.c                       |  39 +-
 drivers/mtd/sst25.c                                |  45 +-
 include/nuttx/lib/xorshift128.h                    |  39 +-
 libs/libc/machine/arm/armv7-m/arch_fabsf.c         |  28 +-
 libs/libc/machine/arm/armv7-m/arch_sqrtf.c         |  28 +-
 libs/libc/misc/lib_xorshift128.c                   |  39 +-
 libs/libc/time/lib_dayofweek.c                     |  40 +-
 tools/gencromfs.c                                  |  48 +-
 440 files changed, 11074 insertions(+), 14867 deletions(-)

[incubator-nuttx] 07/16: arch: Author Alan Carvalho de Assis: update licenses to Apache

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 85bcf1bd4ce5ed4fa26424ba16372a9b3d81a29a
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sat Mar 20 21:14:02 2021 +0100

    arch: Author Alan Carvalho de Assis: update licenses to Apache
    
    Alan Carvalho de Assis has submitted the ICL and we can migrate the licenses
     to Apache.
    
    Gregory Nutt has submitted the SGA and we can migrate the licenses
     to Apache.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 arch/arm/include/stm32f0l0g0/irq.h                 | 40 +++++-----------
 arch/arm/include/stm32f0l0g0/stm32f0_irq.h         | 40 +++++-----------
 arch/arm/src/kl/hardware/kl_tsi.h                  | 39 +++++-----------
 arch/arm/src/kl/kl_clockconfig.c                   | 41 +++++-----------
 arch/arm/src/kl/kl_pwm.c                           | 44 ++++++------------
 arch/arm/src/kl/kl_pwm.h                           | 40 +++++-----------
 arch/arm/src/lpc43xx/lpc43_sdmmc.c                 | 49 ++++++--------------
 arch/arm/src/lpc43xx/lpc43_timer.c                 | 44 ++++++------------
 arch/arm/src/lpc43xx/lpc43_timer.h                 | 40 +++++-----------
 arch/arm/src/lpc54xx/lpc54_sdmmc.c                 | 54 ++++++----------------
 arch/arm/src/nrf52/hardware/nrf52_nvmc.h           | 39 +++++-----------
 arch/arm/src/nrf52/hardware/nrf52_wdt.h            | 39 +++++-----------
 arch/arm/src/stm32f0l0g0/chip.h                    | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h      | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_can.h      | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h      | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h      | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h      | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_exti.h     | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h      | 40 +++++-----------
 .../arm/src/stm32f0l0g0/hardware/stm32_memorymap.h | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_pwr.h      | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_rcc.h      | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h     | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_syscfg.h   | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_uart.h     | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h  | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h      | 40 +++++-----------
 .../src/stm32f0l0g0/hardware/stm32f03x_memorymap.h | 40 +++++-----------
 .../src/stm32f0l0g0/hardware/stm32f03x_pinmap.h    | 40 +++++-----------
 .../src/stm32f0l0g0/hardware/stm32f05x_pinmap.h    | 40 +++++-----------
 .../hardware/stm32f05xf07xf09x_memorymap.h         | 40 +++++-----------
 .../src/stm32f0l0g0/hardware/stm32f07x_pinmap.h    | 40 +++++-----------
 .../src/stm32f0l0g0/hardware/stm32f09x_pinmap.h    | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h   | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h    | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h    | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_gpio.c              | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_hsi48.h             | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_idle.c              | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_irq.c               | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_lowputc.h           | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c        | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_rcc.h               | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_serial.c            | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_serial.h            | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_serial_v1.c         | 44 ++++++------------
 arch/arm/src/stm32f0l0g0/stm32_start.c             | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_timerisr.c          | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32_uart.h              | 40 +++++-----------
 arch/arm/src/stm32f0l0g0/stm32f0_rcc.c             | 40 +++++-----------
 arch/arm/src/stm32l4/hardware/stm32l4_crs.h        | 40 +++++-----------
 arch/arm/src/stm32l4/stm32l4_hsi48.h               | 40 +++++-----------
 arch/arm/src/xmc4/xmc4_spi.c                       | 44 ++++++------------
 55 files changed, 672 insertions(+), 1565 deletions(-)

diff --git a/arch/arm/include/stm32f0l0g0/irq.h b/arch/arm/include/stm32f0l0g0/irq.h
index 184bf2e..5c59483 100644
--- a/arch/arm/include/stm32f0l0g0/irq.h
+++ b/arch/arm/include/stm32f0l0g0/irq.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32f0l0g0/irq.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32f0l0g0/stm32f0_irq.h b/arch/arm/include/stm32f0l0g0/stm32f0_irq.h
index 3b7291d..2d0e348 100644
--- a/arch/arm/include/stm32f0l0g0/stm32f0_irq.h
+++ b/arch/arm/include/stm32f0l0g0/stm32f0_irq.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32f0l0g0/stm32f0_irq.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/kl/hardware/kl_tsi.h b/arch/arm/src/kl/hardware/kl_tsi.h
index 8773f34..95d7005 100644
--- a/arch/arm/src/kl/hardware/kl_tsi.h
+++ b/arch/arm/src/kl/hardware/kl_tsi.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/kl/hardware/kl_tsi.h
  *
- *   Copyright (C) 2013 Alan Carvalho de Assis
- *   Author: Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/kl/kl_clockconfig.c b/arch/arm/src/kl/kl_clockconfig.c
index 3318a06..47109dc 100644
--- a/arch/arm/src/kl/kl_clockconfig.c
+++ b/arch/arm/src/kl/kl_clockconfig.c
@@ -1,37 +1,20 @@
 /****************************************************************************
  * arch/arm/src/kl/kl_clockconfig.c
- * arch/arm/src/chip/kl_clockconfig.c
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Alan Carvalho de Assis <ac...@gmail.com>
- *           Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/kl/kl_pwm.c b/arch/arm/src/kl/kl_pwm.c
index 33b82d6..84d5842 100644
--- a/arch/arm/src/kl/kl_pwm.c
+++ b/arch/arm/src/kl/kl_pwm.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/kl/kl_pwm.c
  *
- *   Copyright (C) 2013, 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/kl/kl_pwm.h b/arch/arm/src/kl/kl_pwm.h
index 3ac8314..c233267 100644
--- a/arch/arm/src/kl/kl_pwm.h
+++ b/arch/arm/src/kl/kl_pwm.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/kl/kl_pwm.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/lpc43xx/lpc43_sdmmc.c b/arch/arm/src/lpc43xx/lpc43_sdmmc.c
index 3735332..644b9e9 100644
--- a/arch/arm/src/lpc43xx/lpc43_sdmmc.c
+++ b/arch/arm/src/lpc43xx/lpc43_sdmmc.c
@@ -1,41 +1,20 @@
 /****************************************************************************
  * arch/arm/src/lpc43xx/lpc43_sdmmc.c
  *
- *   Copyright (C) 2017 Alan Carvalho de Assis. All rights reserved.
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Alan Carvalho de Assis <ac...@gmail.com>
- *
- * This code is based on arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c:
- *
- *   Copyright (C) 2013-2014, 2016-2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/lpc43xx/lpc43_timer.c b/arch/arm/src/lpc43xx/lpc43_timer.c
index db53b1d..51798c3 100644
--- a/arch/arm/src/lpc43xx/lpc43_timer.c
+++ b/arch/arm/src/lpc43xx/lpc43_timer.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/lpc43xx/lpc43_timer.c
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            Alan Carvalho de Assis <ac...@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/lpc43xx/lpc43_timer.h b/arch/arm/src/lpc43xx/lpc43_timer.h
index c8bfbf9..3181d76 100644
--- a/arch/arm/src/lpc43xx/lpc43_timer.h
+++ b/arch/arm/src/lpc43xx/lpc43_timer.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/lpc43xx/lpc43_timer.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/lpc54xx/lpc54_sdmmc.c b/arch/arm/src/lpc54xx/lpc54_sdmmc.c
index e7c6685..b1d05cd 100644
--- a/arch/arm/src/lpc54xx/lpc54_sdmmc.c
+++ b/arch/arm/src/lpc54xx/lpc54_sdmmc.c
@@ -1,46 +1,20 @@
 /****************************************************************************
  * arch/arm/src/lpc54xx/lpc54_sdmmc.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * This code is based on arch/arm/src/lpc43xx/lpc43_sdmmc.c:
- *
- *   Copyright (C) 2017 Alan Carvalho de Assis. All rights reserved.
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Alan Carvalho de Assis <ac...@gmail.com>
- *
- * which was itself based on arch/arm/src/lpc17xx_40xx/lpc17_40_sdcard.c:
- *
- *   Copyright (C) 2013-2014, 2016-2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/nrf52/hardware/nrf52_nvmc.h b/arch/arm/src/nrf52/hardware/nrf52_nvmc.h
index cef1537..77143d8 100644
--- a/arch/arm/src/nrf52/hardware/nrf52_nvmc.h
+++ b/arch/arm/src/nrf52/hardware/nrf52_nvmc.h
@@ -1,35 +1,20 @@
 /***************************************************************************************************
  * arch/arm/src/nrf52/hardware/nrf52_nvmc.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author:  Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ***************************************************************************************************/
 
diff --git a/arch/arm/src/nrf52/hardware/nrf52_wdt.h b/arch/arm/src/nrf52/hardware/nrf52_wdt.h
index b13a1b4..78ef4ea 100644
--- a/arch/arm/src/nrf52/hardware/nrf52_wdt.h
+++ b/arch/arm/src/nrf52/hardware/nrf52_wdt.h
@@ -1,35 +1,20 @@
 /***************************************************************************************************
  * arch/arm/src/nrf52/hardware/nrf52_wdt.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author:  Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ***************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/chip.h b/arch/arm/src/stm32f0l0g0/chip.h
index a838254..0f3ee1c 100644
--- a/arch/arm/src/stm32f0l0g0/chip.h
+++ b/arch/arm/src/stm32f0l0g0/chip.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/chip.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h
index dd147a4..ec5d3d7 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h
@@ -1,36 +1,20 @@
 /********************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_can.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_can.h
index 92cec17..5b530f2 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_can.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_can.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_can.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h
index 4e360dc..9cfac4d 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h
index 7edad2a..fb11b78 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h
index 74e1bbf..c287645 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_exti.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_exti.h
index 2baf8ce..9b0f00b 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_exti.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_exti.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_exti.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h
index 1f0bf66..25071bc 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_memorymap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_memorymap.h
index a24b5b3..d460bec 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_memorymap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_memorymap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_memorymap.h
  *
- *   Copyright (C) 2017, 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_pwr.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_pwr.h
index 0003a06..fe24785 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_pwr.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_pwr.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_pwr.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_rcc.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_rcc.h
index df37dee..cbc68d8 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_rcc.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_rcc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_rcc.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h
index 6605aa4..b829df1 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_syscfg.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_syscfg.h
index 8fded4c..3ff8cce 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_syscfg.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_syscfg.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_syscfg.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_uart.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_uart.h
index 390f0ad..0332894 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_uart.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_uart.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_uart.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h
index 839a3f1..5c8ab9c 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h
index 0f122ad..0169a2b 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_memorymap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_memorymap.h
index 30baacf..c852cbc 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_memorymap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_memorymap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f03x_memorymap.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_pinmap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_pinmap.h
index 528e009..16eb82c 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_pinmap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_pinmap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f03x_pinmap.h
  *
- *   Copyright (C) 2020 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f05x_pinmap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f05x_pinmap.h
index eefdef0..3bebd6c 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f05x_pinmap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f05x_pinmap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f05x_pinmap.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f05xf07xf09x_memorymap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f05xf07xf09x_memorymap.h
index 26b0f8e..9586435 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f05xf07xf09x_memorymap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f05xf07xf09x_memorymap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f05xf07xf09x_memorymap.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f07x_pinmap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f07x_pinmap.h
index c3ee565..8c22034 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f07x_pinmap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f07x_pinmap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f07x_pinmap.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f09x_pinmap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f09x_pinmap.h
index 3eaec3f..d3ce2c5 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f09x_pinmap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f09x_pinmap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f09x_pinmap.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h
index 3caf6b6..a4e6371 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h
index 17eda3c..07a82d3 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h
index 35df2a3..6a58a35 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h
index 038addf..89e8868 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_gpio.c b/arch/arm/src/stm32f0l0g0/stm32_gpio.c
index afaad83..dbf3c44 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_gpio.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_gpio.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_gpio.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_hsi48.h b/arch/arm/src/stm32f0l0g0/stm32_hsi48.h
index e638ca7..66a7fa7 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_hsi48.h
+++ b/arch/arm/src/stm32f0l0g0/stm32_hsi48.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_hsi48.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.orgr>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_idle.c b/arch/arm/src/stm32f0l0g0/stm32_idle.c
index fe5647d..56e20e2 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_idle.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_idle.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_idle.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_irq.c b/arch/arm/src/stm32f0l0g0/stm32_irq.c
index f83a2a6..e8af818 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_irq.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_irq.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_irq.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_lowputc.h b/arch/arm/src/stm32f0l0g0/stm32_lowputc.h
index 25ba89c..e8d1285 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_lowputc.h
+++ b/arch/arm/src/stm32f0l0g0/stm32_lowputc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_lowputc.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c b/arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c
index 993ba81..c089d8d 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c
  *
- *   Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_rcc.h b/arch/arm/src/stm32f0l0g0/stm32_rcc.h
index f53d3e7..f6a4613e 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_rcc.h
+++ b/arch/arm/src/stm32f0l0g0/stm32_rcc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_rcc.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.orgr>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_serial.c b/arch/arm/src/stm32f0l0g0/stm32_serial.c
index 6ff7d58..344cd8e 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_serial.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_serial.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_serial.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_serial.h b/arch/arm/src/stm32f0l0g0/stm32_serial.h
index 8fe1f9c..3a9839d 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_serial.h
+++ b/arch/arm/src/stm32f0l0g0/stm32_serial.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_serial.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_serial_v1.c b/arch/arm/src/stm32f0l0g0/stm32_serial_v1.c
index c26dcd3..7513f2f 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_serial_v1.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_serial_v1.c
@@ -1,36 +1,20 @@
 /**************************************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_serial_v1.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  **************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_start.c b/arch/arm/src/stm32f0l0g0/stm32_start.c
index 6b830d1..fa57870 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_start.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_start.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_start.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_timerisr.c b/arch/arm/src/stm32f0l0g0/stm32_timerisr.c
index c3e8997..0551e5d 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_timerisr.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_timerisr.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_timerisr.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_uart.h b/arch/arm/src/stm32f0l0g0/stm32_uart.h
index d6c952d..33cbefc 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_uart.h
+++ b/arch/arm/src/stm32f0l0g0/stm32_uart.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_uart.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c b/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c
index b1aeea3..2d56a86 100644
--- a/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c
+++ b/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32f0_rcc.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4_crs.h b/arch/arm/src/stm32l4/hardware/stm32l4_crs.h
index 383e7b0..50249d3 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4_crs.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4_crs.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4_crs.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/stm32l4_hsi48.h b/arch/arm/src/stm32l4/stm32l4_hsi48.h
index 7e62dab..8d7df4b 100644
--- a/arch/arm/src/stm32l4/stm32l4_hsi48.h
+++ b/arch/arm/src/stm32l4/stm32l4_hsi48.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32l4/stm32l4_hsi48.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.orgr>
- *           Alan Carvalho de Assis <ac...@gmail.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/xmc4/xmc4_spi.c b/arch/arm/src/xmc4/xmc4_spi.c
index 4a74c50..b539f7e 100644
--- a/arch/arm/src/xmc4/xmc4_spi.c
+++ b/arch/arm/src/xmc4/xmc4_spi.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/xmc4/xmc4_spi.c
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2018 Alan Carvalho de Assis. All rights reserved.
- *   Authors: Alan Carvalho de Assis <ac...@gmail.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 

[incubator-nuttx] 06/16: arch: Author David Sidrane: update licenses to Apache

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 37f91b023cc895360e14a883a150a5c7f6e38389
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sat Mar 20 21:00:51 2021 +0100

    arch: Author David Sidrane: update licenses to Apache
    
    David Sidrane has submitted the ICL and we can migrate the licenses
     to Apache.
    
    Gregory Nutt has submitted the SGA and we can migrate the licenses
     to Apache.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 arch/arm/include/imxrt/chip.h                      | 40 ++++++-------------
 arch/arm/include/imxrt/imxrt106x_irq.h             | 40 ++++++-------------
 arch/arm/include/imxrt/irq.h                       | 40 ++++++-------------
 arch/arm/include/kinetis/chip.h                    | 40 ++++++-------------
 arch/arm/include/kinetis/irq.h                     | 40 ++++++-------------
 arch/arm/include/kinetis/kinetis_k20irq.h          | 40 ++++++-------------
 arch/arm/include/kinetis/kinetis_k40irq.h          | 40 ++++++-------------
 arch/arm/include/kinetis/kinetis_k60irq.h          | 40 ++++++-------------
 arch/arm/include/kinetis/kinetis_k64irq.h          | 40 ++++++-------------
 arch/arm/include/kinetis/kinetis_k66irq.h          | 40 ++++++-------------
 arch/arm/include/kinetis/kinetis_mcg.h             | 40 ++++++-------------
 arch/arm/include/kinetis/kinetis_pmc.h             | 40 ++++++-------------
 arch/arm/include/kinetis/kinetis_sim.h             | 40 ++++++-------------
 arch/arm/include/stm32f7/stm32f76xx77xx_irq.h      | 40 ++++++-------------
 arch/arm/include/stm32h7/stm32h7x3xx_irq.h         | 40 ++++++-------------
 arch/arm/include/stm32h7/stm32h7x7xx_irq.h         | 40 ++++++-------------
 arch/arm/src/imxrt/Make.defs                       | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_adc.h            | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_daisy.h          | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_dmamux.h         | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_flexpwm.h        | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_gpio.h           | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_gpt.h            | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_iomuxc.h         | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_ocotp.h          | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_pinmux.h         | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_pit.h            | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_tmr.h            | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_usb_analog.h     | 40 ++++++-------------
 arch/arm/src/imxrt/hardware/imxrt_xbar.h           | 40 ++++++-------------
 .../arm/src/imxrt/hardware/rt105x/imxrt105x_gpio.h | 40 ++++++-------------
 .../src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h   | 40 ++++++-------------
 .../src/imxrt/hardware/rt106x/imxrt106x_dmamux.h   | 40 ++++++-------------
 .../arm/src/imxrt/hardware/rt106x/imxrt106x_gpio.h | 40 ++++++-------------
 .../src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h   | 40 ++++++-------------
 .../imxrt/hardware/rt106x/imxrt106x_memorymap.h    | 40 ++++++-------------
 .../src/imxrt/hardware/rt106x/imxrt106x_pinmux.h   | 40 ++++++-------------
 arch/arm/src/imxrt/imxrt105x_daisy.c               | 39 ++++++-------------
 arch/arm/src/imxrt/imxrt106x_daisy.c               | 39 ++++++-------------
 arch/arm/src/imxrt/imxrt_daisy.c                   | 39 ++++++-------------
 arch/arm/src/imxrt/imxrt_gpio.h                    | 44 +++++++--------------
 arch/arm/src/imxrt/imxrt_ocotp.c                   | 40 ++++++-------------
 arch/arm/src/imxrt/imxrt_ocotp.h                   | 44 +++++++--------------
 arch/arm/src/imxrt/imxrt_xbar.c                    | 39 ++++++-------------
 arch/arm/src/imxrt/imxrt_xbar.h                    | 44 +++++++--------------
 arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h  | 40 ++++++-------------
 .../src/kinetis/hardware/kinetis_k28k64k66mpu.h    | 40 ++++++-------------
 arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h  | 40 ++++++-------------
 arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h  | 40 ++++++-------------
 arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h  | 40 ++++++-------------
 arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h  | 40 ++++++-------------
 .../src/kinetis/hardware/kinetis_k66memorymap.h    | 40 ++++++-------------
 arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h  | 40 ++++++-------------
 arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h     | 40 ++++++-------------
 arch/arm/src/kinetis/hardware/kinetis_lpuart.h     | 40 ++++++-------------
 arch/arm/src/kinetis/hardware/kinetis_mcg.h        | 40 ++++++-------------
 arch/arm/src/kinetis/hardware/kinetis_sim.h        | 40 ++++++-------------
 arch/arm/src/kinetis/hardware/kinetis_uart.h       | 40 ++++++-------------
 arch/arm/src/kinetis/kinetis.h                     | 44 +++++++--------------
 arch/arm/src/kinetis/kinetis_clockconfig.c         | 40 ++++++-------------
 arch/arm/src/kinetis/kinetis_config.h              | 40 ++++++-------------
 arch/arm/src/kinetis/kinetis_enet.c                | 44 +++++++--------------
 arch/arm/src/kinetis/kinetis_lowputc.c             | 40 ++++++-------------
 arch/arm/src/kinetis/kinetis_lpserial.c            | 40 ++++++-------------
 arch/arm/src/kinetis/kinetis_serialinit.c          | 40 ++++++-------------
 arch/arm/src/kinetis/kinetis_spi.c                 | 44 +++++++--------------
 arch/arm/src/kinetis/kinetis_spi.h                 | 43 +++++++--------------
 arch/arm/src/kinetis/kinetis_tpm.h                 | 40 ++++++-------------
 arch/arm/src/samv7/sam_systemreset.c               | 40 ++++++-------------
 arch/arm/src/stm32/hardware/stm32_flash.h          | 40 ++++++-------------
 arch/arm/src/stm32/stm32_bbsram.c                  | 44 +++++++--------------
 arch/arm/src/stm32/stm32_bbsram.h                  | 40 ++++++-------------
 arch/arm/src/stm32/stm32_otgfsdev.c                | 44 +++++++--------------
 arch/arm/src/stm32/stm32_pwr.h                     | 44 +++++++--------------
 arch/arm/src/stm32/stm32_rcc.c                     | 44 +++++++--------------
 arch/arm/src/stm32/stm32_serial.c                  | 45 +++++++---------------
 arch/arm/src/stm32f7/hardware/stm32_adc.h          | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_dbgmcu.h       | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_dma.h          | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_ethernet.h     | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_flash.h        | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_gpio.h         | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_memorymap.h    | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_pinmap.h       | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_pwr.h          | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_rcc.h          | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_rtcc.h         | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_syscfg.h       | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_tim.h          | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32_uart.h         | 40 ++++++-------------
 .../src/stm32f7/hardware/stm32f74xx75xx_dbgmcu.h   | 40 ++++++-------------
 .../src/stm32f7/hardware/stm32f74xx75xx_flash.h    | 40 ++++++-------------
 .../stm32f7/hardware/stm32f74xx75xx_memorymap.h    | 40 ++++++-------------
 .../src/stm32f7/hardware/stm32f74xx75xx_pinmap.h   | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pwr.h | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32f74xx75xx_rcc.h | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32f74xx75xx_tim.h | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32f74xx77xx_adc.h | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32f74xx77xx_i2c.h | 40 ++++++-------------
 .../src/stm32f7/hardware/stm32f74xx77xx_sdmmc.h    | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32f74xx77xx_spi.h | 40 ++++++-------------
 .../arm/src/stm32f7/hardware/stm32f74xx77xx_uart.h | 40 ++++++-------------
 .../src/stm32f7/hardware/stm32f76xx77xx_dbgmcu.h   | 40 ++++++-------------
 .../src/stm32f7/hardware/stm32f76xx77xx_flash.h    | 40 ++++++-------------
 .../arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h | 40 ++++++-------------
 .../stm32f7/hardware/stm32f76xx77xx_memorymap.h    | 40 ++++++-------------
 .../src/stm32f7/hardware/stm32f76xx77xx_pinmap.h   | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pwr.h | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32f76xx77xx_rcc.h | 40 ++++++-------------
 .../src/stm32f7/hardware/stm32f76xx77xx_syscfg.h   | 40 ++++++-------------
 arch/arm/src/stm32f7/hardware/stm32f76xx77xx_tim.h | 40 ++++++-------------
 arch/arm/src/stm32f7/stm32_bbsram.c                | 44 +++++++--------------
 arch/arm/src/stm32f7/stm32_bbsram.h                | 44 +++++++--------------
 arch/arm/src/stm32f7/stm32_dbgmcu.h                | 40 ++++++-------------
 arch/arm/src/stm32f7/stm32_lse.c                   | 40 ++++++-------------
 arch/arm/src/stm32f7/stm32_lsi.c                   | 40 ++++++-------------
 arch/arm/src/stm32f7/stm32_otgdev.c                | 44 +++++++--------------
 arch/arm/src/stm32f7/stm32_otghost.c               | 44 +++++++--------------
 arch/arm/src/stm32f7/stm32_pwr.h                   | 44 +++++++--------------
 arch/arm/src/stm32f7/stm32_rcc.c                   | 44 +++++++--------------
 arch/arm/src/stm32f7/stm32_rtc.c                   | 44 +++++++--------------
 arch/arm/src/stm32f7/stm32_rtc_lowerhalf.c         | 44 +++++++--------------
 arch/arm/src/stm32f7/stm32_serial.c                | 44 +++++++--------------
 arch/arm/src/stm32f7/stm32_spi.h                   | 44 +++++++--------------
 arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c          | 40 ++++++-------------
 arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c          | 40 ++++++-------------
 arch/arm/src/stm32h7/hardware/stm32_axi.h          | 40 ++++++-------------
 arch/arm/src/stm32h7/hardware/stm32_memorymap.h    | 40 ++++++-------------
 arch/arm/src/stm32h7/hardware/stm32_rcc.h          | 40 ++++++-------------
 arch/arm/src/stm32h7/hardware/stm32_rtcc.h         | 40 ++++++-------------
 arch/arm/src/stm32h7/hardware/stm32_tim.h          | 40 ++++++-------------
 arch/arm/src/stm32h7/hardware/stm32h7x3xx_i2c.h    | 40 ++++++-------------
 arch/arm/src/stm32h7/hardware/stm32h7x3xx_syscfg.h | 40 ++++++-------------
 arch/arm/src/stm32h7/stm32_bbsram.c                | 44 +++++++--------------
 arch/arm/src/stm32h7/stm32_bbsram.h                | 40 ++++++-------------
 arch/arm/src/stm32h7/stm32_dtcm.c                  | 40 ++++++-------------
 arch/arm/src/stm32h7/stm32_lse.c                   | 40 ++++++-------------
 arch/arm/src/stm32h7/stm32_lsi.c                   | 40 ++++++-------------
 arch/arm/src/stm32h7/stm32_rcc.c                   | 44 +++++++--------------
 arch/arm/src/stm32h7/stm32_rtc.c                   | 44 +++++++--------------
 arch/arm/src/stm32h7/stm32_rtc_lowerhalf.c         | 44 +++++++--------------
 arch/arm/src/stm32h7/stm32_serial.c                | 44 +++++++--------------
 arch/arm/src/stm32l4/stm32l4_serial.c              | 45 +++++++---------------
 143 files changed, 1772 insertions(+), 4057 deletions(-)

diff --git a/arch/arm/include/imxrt/chip.h b/arch/arm/include/imxrt/chip.h
index 34faf21..0843f83 100644
--- a/arch/arm/include/imxrt/chip.h
+++ b/arch/arm/include/imxrt/chip.h
@@ -1,36 +1,20 @@
 /*****************************************************************************
  * arch/arm/include/imxrt/chip.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  *****************************************************************************/
 
diff --git a/arch/arm/include/imxrt/imxrt106x_irq.h b/arch/arm/include/imxrt/imxrt106x_irq.h
index 324d429..183ceb3 100644
--- a/arch/arm/include/imxrt/imxrt106x_irq.h
+++ b/arch/arm/include/imxrt/imxrt106x_irq.h
@@ -1,36 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/imxrt/imxrt106x_irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/imxrt/irq.h b/arch/arm/include/imxrt/irq.h
index 7a80b26..6c4affa 100644
--- a/arch/arm/include/imxrt/irq.h
+++ b/arch/arm/include/imxrt/irq.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/include/imxrt/irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/kinetis/chip.h b/arch/arm/include/kinetis/chip.h
index a36e09e..887cdf5 100644
--- a/arch/arm/include/kinetis/chip.h
+++ b/arch/arm/include/kinetis/chip.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/include/kinetis/chip.h
  *
- *   Copyright (C) 2011, 2013, 2015-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/kinetis/irq.h b/arch/arm/include/kinetis/irq.h
index ca820fc..a956211 100644
--- a/arch/arm/include/kinetis/irq.h
+++ b/arch/arm/include/kinetis/irq.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/include/kinetis/irq.h
  *
- *   Copyright (C) 2011, 2015-2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/kinetis/kinetis_k20irq.h b/arch/arm/include/kinetis/kinetis_k20irq.h
index 620c01d..384b0b2 100644
--- a/arch/arm/include/kinetis/kinetis_k20irq.h
+++ b/arch/arm/include/kinetis/kinetis_k20irq.h
@@ -1,36 +1,20 @@
 /**************************************************************************************
  * arch/arm/include/kinetis/kinetis_k20irq.h
  *
- *   Copyright (C) 2011, 2015-2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  *************************************************************************************/
 
diff --git a/arch/arm/include/kinetis/kinetis_k40irq.h b/arch/arm/include/kinetis/kinetis_k40irq.h
index d43add5..fa6938e 100644
--- a/arch/arm/include/kinetis/kinetis_k40irq.h
+++ b/arch/arm/include/kinetis/kinetis_k40irq.h
@@ -1,36 +1,20 @@
 /*************************************************************************************
  * arch/arm/include/kinetis/kinetis_k40irq.h
  *
- *   Copyright (C) 2011, 2015-2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/kinetis/kinetis_k60irq.h b/arch/arm/include/kinetis/kinetis_k60irq.h
index 5b21a7e..7ba22a1 100644
--- a/arch/arm/include/kinetis/kinetis_k60irq.h
+++ b/arch/arm/include/kinetis/kinetis_k60irq.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/include/kinetis/kinetis_k60irq.h
  *
- *   Copyright (C) 2011, 2015-2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/kinetis/kinetis_k64irq.h b/arch/arm/include/kinetis/kinetis_k64irq.h
index c3c5d75..898fa5d 100644
--- a/arch/arm/include/kinetis/kinetis_k64irq.h
+++ b/arch/arm/include/kinetis/kinetis_k64irq.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/include/kinetis/kinetis_k64irq.h
  *
- *   Copyright (C) 2011, 2015-2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/kinetis/kinetis_k66irq.h b/arch/arm/include/kinetis/kinetis_k66irq.h
index 878b6ac..957e9de 100644
--- a/arch/arm/include/kinetis/kinetis_k66irq.h
+++ b/arch/arm/include/kinetis/kinetis_k66irq.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/include/kinetis/kinetis_k66irq.h
  *
- *   Copyright (C) 2011, 2015-2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/kinetis/kinetis_mcg.h b/arch/arm/include/kinetis/kinetis_mcg.h
index 460d556..a5caf49 100644
--- a/arch/arm/include/kinetis/kinetis_mcg.h
+++ b/arch/arm/include/kinetis/kinetis_mcg.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/include/kinetis/kinetis_mcg.h
  *
- *   Copyright (C) 2017, 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/kinetis/kinetis_pmc.h b/arch/arm/include/kinetis/kinetis_pmc.h
index 14adabb..37b77c6 100644
--- a/arch/arm/include/kinetis/kinetis_pmc.h
+++ b/arch/arm/include/kinetis/kinetis_pmc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/include/kinetis/kinetis_pmc.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/kinetis/kinetis_sim.h b/arch/arm/include/kinetis/kinetis_sim.h
index 4610880..2960f50 100644
--- a/arch/arm/include/kinetis/kinetis_sim.h
+++ b/arch/arm/include/kinetis/kinetis_sim.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/include/kinetis/kinetis_sim.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/stm32f7/stm32f76xx77xx_irq.h b/arch/arm/include/stm32f7/stm32f76xx77xx_irq.h
index f5d1e46..e3dd548 100644
--- a/arch/arm/include/stm32f7/stm32f76xx77xx_irq.h
+++ b/arch/arm/include/stm32f7/stm32f76xx77xx_irq.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32f7/stm32f76xx77xx_irq.h
  *
- *   Copyright (C) 2009 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32h7/stm32h7x3xx_irq.h b/arch/arm/include/stm32h7/stm32h7x3xx_irq.h
index effe4c5..88ca875 100644
--- a/arch/arm/include/stm32h7/stm32h7x3xx_irq.h
+++ b/arch/arm/include/stm32h7/stm32h7x3xx_irq.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/include/stm32h7/stm32h7x3xx_irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/include/stm32h7/stm32h7x7xx_irq.h b/arch/arm/include/stm32h7/stm32h7x7xx_irq.h
index 6b41d68..d52fb87 100644
--- a/arch/arm/include/stm32h7/stm32h7x7xx_irq.h
+++ b/arch/arm/include/stm32h7/stm32h7x7xx_irq.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32h7/stm32h7x7xx_irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/imxrt/Make.defs b/arch/arm/src/imxrt/Make.defs
index b6f9d1b..c810248 100644
--- a/arch/arm/src/imxrt/Make.defs
+++ b/arch/arm/src/imxrt/Make.defs
@@ -1,36 +1,20 @@
 ############################################################################
 # arch/arm/src/imxrt/Make.defs
 #
-#   Copyright (C) 2018-2019 Gregory Nutt. All rights reserved.
-#   Authors: Gregory Nutt <gn...@nuttx.org>
-#            David Sidrane <da...@nscdg.com>
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.  The
+# ASF licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
 #
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
-# 1. Redistributions of source code must retain the above copyright
-#    notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-#    notice, this list of conditions and the following disclaimer in
-#    the documentation and/or other materials provided with the
-#    distribution.
-# 3. Neither the name NuttX nor the names of its contributors may be
-#    used to endorse or promote products derived from this software
-#    without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
-# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
-# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
 #
 ############################################################################
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_adc.h b/arch/arm/src/imxrt/hardware/imxrt_adc.h
index 486c03c..df307f3 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_adc.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_adc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_adc.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_daisy.h b/arch/arm/src/imxrt/hardware/imxrt_daisy.h
index a0645ac..c1938ea 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_daisy.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_daisy.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_daisy.h
  *
- *   Copyright (C) 2018-2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_dmamux.h b/arch/arm/src/imxrt/hardware/imxrt_dmamux.h
index 3b6c325..67d3074 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_dmamux.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_dmamux.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_dmamux.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h b/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h
index 857cfaa..1d752c4 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_flexpwm.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_gpio.h b/arch/arm/src/imxrt/hardware/imxrt_gpio.h
index 2d63141..efbfe95 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_gpio.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_gpio.h
@@ -1,36 +1,20 @@
 /********************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_gpio.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_gpt.h b/arch/arm/src/imxrt/hardware/imxrt_gpt.h
index aa2e08f..5dbae3c 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_gpt.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_gpt.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_gpt.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_iomuxc.h b/arch/arm/src/imxrt/hardware/imxrt_iomuxc.h
index 66037dd..2e9f1d2 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_iomuxc.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_iomuxc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_iomuxc.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author:  Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_ocotp.h b/arch/arm/src/imxrt/hardware/imxrt_ocotp.h
index 296b6fe..4810dfe 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_ocotp.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_ocotp.h
@@ -1,36 +1,20 @@
 /************************************************************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_ocotp.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_pinmux.h b/arch/arm/src/imxrt/hardware/imxrt_pinmux.h
index 61f4f60..6d256a1 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_pinmux.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_pinmux.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_pinmux.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_pit.h b/arch/arm/src/imxrt/hardware/imxrt_pit.h
index ce736f4..bde67c3 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_pit.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_pit.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_pit.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_tmr.h b/arch/arm/src/imxrt/hardware/imxrt_tmr.h
index 283ba70..dbadfd8 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_tmr.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_tmr.h
@@ -1,36 +1,20 @@
 /********************************************************************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_tmr.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_usb_analog.h b/arch/arm/src/imxrt/hardware/imxrt_usb_analog.h
index 14b9031..a87db5a 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_usb_analog.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_usb_analog.h
@@ -1,36 +1,20 @@
 /************************************************************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_usb_analog.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_xbar.h b/arch/arm/src/imxrt/hardware/imxrt_xbar.h
index 56a2793..e0f39b7 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_xbar.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_xbar.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_xbar.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_gpio.h b/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_gpio.h
index a868493..b75d3c9 100644
--- a/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_gpio.h
+++ b/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_gpio.h
@@ -1,36 +1,20 @@
 /********************************************************************************************
  * arch/arm/src/imxrt/hardware/rt105x/imxrt105x_gpio.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h b/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h
index dcffde2..35446d8 100644
--- a/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h
+++ b/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author:  Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_dmamux.h b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_dmamux.h
index b806c35..9231043 100644
--- a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_dmamux.h
+++ b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_dmamux.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/rt106x/imxrt106x_dmamux.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_gpio.h b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_gpio.h
index d6f830f..6413e71 100644
--- a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_gpio.h
+++ b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_gpio.h
@@ -1,36 +1,20 @@
 /********************************************************************************************
  * arch/arm/src/imxrt/hardware/rt106x/imxrt106x_gpio.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h
index 0ffb052..12e6e2f 100644
--- a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h
+++ b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author:  Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_memorymap.h b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_memorymap.h
index 5184a61..44d49c1 100644
--- a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_memorymap.h
+++ b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_memorymap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/hardware/rt106x/imxrt106x_memorymap.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_pinmux.h b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_pinmux.h
index b5d7eea..39f6a0a 100644
--- a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_pinmux.h
+++ b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_pinmux.h
@@ -1,36 +1,20 @@
 /*****************************************************************************
  * arch/arm/src/imxrt/hardware/rt106x/imxrt106x_pinmux.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  *****************************************************************************/
 
diff --git a/arch/arm/src/imxrt/imxrt105x_daisy.c b/arch/arm/src/imxrt/imxrt105x_daisy.c
index 843a28c..d9664de 100644
--- a/arch/arm/src/imxrt/imxrt105x_daisy.c
+++ b/arch/arm/src/imxrt/imxrt105x_daisy.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/src/imxrt/imxrt105x_daisy.c
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/imxrt/imxrt106x_daisy.c b/arch/arm/src/imxrt/imxrt106x_daisy.c
index 7da49e2..5813ef7 100644
--- a/arch/arm/src/imxrt/imxrt106x_daisy.c
+++ b/arch/arm/src/imxrt/imxrt106x_daisy.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/src/imxrt/imxrt106x_daisy.c
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/imxrt/imxrt_daisy.c b/arch/arm/src/imxrt/imxrt_daisy.c
index 5f08079..d658f89 100644
--- a/arch/arm/src/imxrt/imxrt_daisy.c
+++ b/arch/arm/src/imxrt/imxrt_daisy.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/src/imxrt/imxrt_daisy.c
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/imxrt/imxrt_gpio.h b/arch/arm/src/imxrt/imxrt_gpio.h
index aad7e22..dd4f66e 100644
--- a/arch/arm/src/imxrt/imxrt_gpio.h
+++ b/arch/arm/src/imxrt/imxrt_gpio.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/imxrt/imxrt_gpio.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/imxrt/imxrt_ocotp.c b/arch/arm/src/imxrt/imxrt_ocotp.c
index 2f9939c..3fa9a17 100644
--- a/arch/arm/src/imxrt/imxrt_ocotp.c
+++ b/arch/arm/src/imxrt/imxrt_ocotp.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/imxrt/imxrt_ocotp.c
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/imxrt/imxrt_ocotp.h b/arch/arm/src/imxrt/imxrt_ocotp.h
index 800083a..c916e31 100644
--- a/arch/arm/src/imxrt/imxrt_ocotp.h
+++ b/arch/arm/src/imxrt/imxrt_ocotp.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/imxrt/imxrt_ocotp.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/imxrt/imxrt_xbar.c b/arch/arm/src/imxrt/imxrt_xbar.c
index a7e629f..1039b7a 100644
--- a/arch/arm/src/imxrt/imxrt_xbar.c
+++ b/arch/arm/src/imxrt/imxrt_xbar.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/src/imxrt/imxrt_xbar.c
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/imxrt/imxrt_xbar.h b/arch/arm/src/imxrt/imxrt_xbar.h
index 3ffce6b..cda7fce 100644
--- a/arch/arm/src/imxrt/imxrt_xbar.h
+++ b/arch/arm/src/imxrt/imxrt_xbar.h
@@ -1,36 +1,20 @@
 /**************************************************************************************************************************************************
  * arch/arm/src/imxrt/imxrt_xbar.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  **************************************************************************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h b/arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h
index 647240d..30e707e 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h
@@ -1,36 +1,20 @@
 /********************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h
  *
- *   Copyright (C) 2015-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k28k64k66mpu.h b/arch/arm/src/kinetis/hardware/kinetis_k28k64k66mpu.h
index 650026b..9beb007 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k28k64k66mpu.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k28k64k66mpu.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k28k64k66mpu.h
  *
- *   Copyright (C) 2011, 2017-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h b/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h
index 5695476..020dd77 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h
  *
- *   Copyright (C) 2016-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h b/arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h
index 2a34264..e2f6682 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h
@@ -1,36 +1,20 @@
 /********************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h
  *
- *   Copyright (C) 2011, 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h b/arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h
index 2e8ee13..ffe1acc 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h
@@ -1,36 +1,20 @@
 /********************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h
  *
- *   Copyright (C) 2011, 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h b/arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h
index d44541c..083fc1d 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h
@@ -1,36 +1,20 @@
 /********************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h
  *
- *   Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k66memorymap.h b/arch/arm/src/kinetis/hardware/kinetis_k66memorymap.h
index ba8f537..2d8f7e0 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k66memorymap.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k66memorymap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k66memorymap.h
  *
- *   Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h b/arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h
index 7a57222..8d92dec 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h
@@ -1,36 +1,20 @@
 /********************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h
  *
- *   Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h b/arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h
index 00f81f5..3fcadca 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_lpuart.h b/arch/arm/src/kinetis/hardware/kinetis_lpuart.h
index 876ab95..0311565 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_lpuart.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_lpuart.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_lpuart.h
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane<da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_mcg.h b/arch/arm/src/kinetis/hardware/kinetis_mcg.h
index d2b1406..b6f3029 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_mcg.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_mcg.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_mcg.h
  *
- *   Copyright (C) 2011, 2016-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_sim.h b/arch/arm/src/kinetis/hardware/kinetis_sim.h
index 8dddb9e..152107f 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_sim.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_sim.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_sim.h
  *
- *   Copyright (C) 2011, 2016-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/hardware/kinetis_uart.h b/arch/arm/src/kinetis/hardware/kinetis_uart.h
index 8331a32..57bb889 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_uart.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_uart.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_uart.h
  *
- *   Copyright (C) 2011, 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane<da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/kinetis.h b/arch/arm/src/kinetis/kinetis.h
index 86bd629..04a3aef 100644
--- a/arch/arm/src/kinetis/kinetis.h
+++ b/arch/arm/src/kinetis/kinetis.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/kinetis/kinetis.h
  *
- *   Copyright (C) 2011, 2013, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/kinetis_clockconfig.c b/arch/arm/src/kinetis/kinetis_clockconfig.c
index 0a0ae74..f3af485 100644
--- a/arch/arm/src/kinetis/kinetis_clockconfig.c
+++ b/arch/arm/src/kinetis/kinetis_clockconfig.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/kinetis/kinetis_clockconfig.c
  *
- *   Copyright (C) 2011, 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane<da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/kinetis/kinetis_config.h b/arch/arm/src/kinetis/kinetis_config.h
index 7b7728e..23c41a1 100644
--- a/arch/arm/src/kinetis/kinetis_config.h
+++ b/arch/arm/src/kinetis/kinetis_config.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/kinetis/kinetis_config.h
  *
- *   Copyright (C) 2011, 2017-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane<da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/kinetis_enet.c b/arch/arm/src/kinetis/kinetis_enet.c
index 7c9941c..f34aa98 100644
--- a/arch/arm/src/kinetis/kinetis_enet.c
+++ b/arch/arm/src/kinetis/kinetis_enet.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/kinetis/kinetis_enet.c
  *
- *   Copyright (C) 2011-2012, 2014-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/kinetis/kinetis_lowputc.c b/arch/arm/src/kinetis/kinetis_lowputc.c
index d414ded..80084e4 100644
--- a/arch/arm/src/kinetis/kinetis_lowputc.c
+++ b/arch/arm/src/kinetis/kinetis_lowputc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/kinetis/kinetis_lowputc.c
  *
- *   Copyright (C) 2011, 2017-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane<da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/kinetis/kinetis_lpserial.c b/arch/arm/src/kinetis/kinetis_lpserial.c
index 6bf44b0..5cf3c89 100644
--- a/arch/arm/src/kinetis/kinetis_lpserial.c
+++ b/arch/arm/src/kinetis/kinetis_lpserial.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/kinetis/kinetis_lpserial.c
  *
- *   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/kinetis/kinetis_serialinit.c b/arch/arm/src/kinetis/kinetis_serialinit.c
index 5051ae3..149a735 100644
--- a/arch/arm/src/kinetis/kinetis_serialinit.c
+++ b/arch/arm/src/kinetis/kinetis_serialinit.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/kinetis/kinetis_serialinit.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/kinetis/kinetis_spi.c b/arch/arm/src/kinetis/kinetis_spi.c
index 6770905..cceb4c8 100644
--- a/arch/arm/src/kinetis/kinetis_spi.c
+++ b/arch/arm/src/kinetis/kinetis_spi.c
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/kinetis/kinetis_spi.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/kinetis/kinetis_spi.h b/arch/arm/src/kinetis/kinetis_spi.h
index a2045a8..badc5da 100644
--- a/arch/arm/src/kinetis/kinetis_spi.h
+++ b/arch/arm/src/kinetis/kinetis_spi.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/src/kinetis/kinetis_spi.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors:  David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/kinetis/kinetis_tpm.h b/arch/arm/src/kinetis/kinetis_tpm.h
index 5d256cd..98a56b7 100644
--- a/arch/arm/src/kinetis/kinetis_tpm.h
+++ b/arch/arm/src/kinetis/kinetis_tpm.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/kinetis/kinetis_tpm.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/samv7/sam_systemreset.c b/arch/arm/src/samv7/sam_systemreset.c
index 55a5d35..a1ffe58 100644
--- a/arch/arm/src/samv7/sam_systemreset.c
+++ b/arch/arm/src/samv7/sam_systemreset.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/samv7/sam_systemreset.c
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32/hardware/stm32_flash.h b/arch/arm/src/stm32/hardware/stm32_flash.h
index 32b6bf9..94ef1d6 100644
--- a/arch/arm/src/stm32/hardware/stm32_flash.h
+++ b/arch/arm/src/stm32/hardware/stm32_flash.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32/hardware/stm32_flash.h
  *
- *   Copyright (C) 2009, 2011, 2015, 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32/stm32_bbsram.c b/arch/arm/src/stm32/stm32_bbsram.c
index 0d6cc9d..5c8c7be 100644
--- a/arch/arm/src/stm32/stm32_bbsram.c
+++ b/arch/arm/src/stm32/stm32_bbsram.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32/stm32_bbsram.c
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32/stm32_bbsram.h b/arch/arm/src/stm32/stm32_bbsram.h
index ba74579..c44972c 100644
--- a/arch/arm/src/stm32/stm32_bbsram.h
+++ b/arch/arm/src/stm32/stm32_bbsram.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32/stm32_bbsram.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32/stm32_otgfsdev.c b/arch/arm/src/stm32/stm32_otgfsdev.c
index 13ef993..909588a 100644
--- a/arch/arm/src/stm32/stm32_otgfsdev.c
+++ b/arch/arm/src/stm32/stm32_otgfsdev.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32/stm32_otgfsdev.c
  *
- *   Copyright (C) 2012-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32/stm32_pwr.h b/arch/arm/src/stm32/stm32_pwr.h
index 83bd7d5..2ebdc7b 100644
--- a/arch/arm/src/stm32/stm32_pwr.h
+++ b/arch/arm/src/stm32/stm32_pwr.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32/stm32_pwr.h
  *
- *   Copyright (C) 2009, 2013, 2015, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32/stm32_rcc.c b/arch/arm/src/stm32/stm32_rcc.c
index f132627..9e2f414 100644
--- a/arch/arm/src/stm32/stm32_rcc.c
+++ b/arch/arm/src/stm32/stm32_rcc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32/stm32_rcc.c
  *
- *   Copyright (C) 2009, 2011-2012, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32/stm32_serial.c b/arch/arm/src/stm32/stm32_serial.c
index 4211ac6..2384fc2 100644
--- a/arch/arm/src/stm32/stm32_serial.c
+++ b/arch/arm/src/stm32/stm32_serial.c
@@ -1,37 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32/stm32_serial.c
  *
- *   Copyright (C) 2009-2014, 2016, 2017, 2019 Gregory Nutt.
- *   All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_adc.h b/arch/arm/src/stm32f7/hardware/stm32_adc.h
index 68e7982..6e3fe7f 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_adc.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_adc.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_adc.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_dbgmcu.h b/arch/arm/src/stm32f7/hardware/stm32_dbgmcu.h
index 4c2720b..a4f3001 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_dbgmcu.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_dbgmcu.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_dbgmcu.h
  *
- *   Copyright (C) 2016, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_dma.h b/arch/arm/src/stm32f7/hardware/stm32_dma.h
index a2f54cd..67876f2 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_dma.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_dma.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_dma.h
  *
- *   Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_ethernet.h b/arch/arm/src/stm32f7/hardware/stm32_ethernet.h
index e8e76b3..1fcb1a9 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_ethernet.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_ethernet.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_ethernet.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_flash.h b/arch/arm/src/stm32f7/hardware/stm32_flash.h
index 6ad9595..0a9a9c7 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_flash.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_flash.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_flash.h
  *
- *   Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_gpio.h b/arch/arm/src/stm32f7/hardware/stm32_gpio.h
index db3a592..4849112 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_gpio.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_gpio.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_gpio.h
  *
- *   Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_memorymap.h b/arch/arm/src/stm32f7/hardware/stm32_memorymap.h
index 6c8a138..f01a312 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_memorymap.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_memorymap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_memorymap.h
  *
- *   Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_pinmap.h b/arch/arm/src/stm32f7/hardware/stm32_pinmap.h
index 0629334..bcd16c7 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_pinmap.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_pinmap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_pinmap.h
  *
- *   Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_pwr.h b/arch/arm/src/stm32f7/hardware/stm32_pwr.h
index 91d325c..6ce5c6d 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_pwr.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_pwr.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_pwr.h
  *
- *   Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_rcc.h b/arch/arm/src/stm32f7/hardware/stm32_rcc.h
index 4b36025..71dedf1 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_rcc.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_rcc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_rcc.h
  *
- *   Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_rtcc.h b/arch/arm/src/stm32f7/hardware/stm32_rtcc.h
index 08d8361..505f246 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_rtcc.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_rtcc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_rtcc.h
  *
- *   Copyright (C) 2011-2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_syscfg.h b/arch/arm/src/stm32f7/hardware/stm32_syscfg.h
index 91e8054..ed9bd4c 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_syscfg.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_syscfg.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_syscfg.h
  *
- *   Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_tim.h b/arch/arm/src/stm32f7/hardware/stm32_tim.h
index 4a01d32..5813766 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_tim.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_tim.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_tim.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32_uart.h b/arch/arm/src/stm32f7/hardware/stm32_uart.h
index 76f3775..3abdd5f 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_uart.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_uart.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_uart.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_dbgmcu.h b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_dbgmcu.h
index d6b16ad..834909f 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_dbgmcu.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_dbgmcu.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx75xx_dbgmcu.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_flash.h b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_flash.h
index 2fdce04..ce52c45 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_flash.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_flash.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx75xx_flash.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_memorymap.h b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_memorymap.h
index 1eeda14..60c09aa 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_memorymap.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_memorymap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx75xx_memorymap.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pinmap.h b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pinmap.h
index 56dafc8..aee447b 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pinmap.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pinmap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pinmap.h
  *
- *   Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pwr.h b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pwr.h
index 3b41c0c..6328da2 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pwr.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pwr.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pwr.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_rcc.h b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_rcc.h
index 5494002..c530163 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_rcc.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_rcc.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx75xx_rcc.h
  *
- *   Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_tim.h b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_tim.h
index c46d57a..035fbff 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_tim.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_tim.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx75xx_tim.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_adc.h b/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_adc.h
index da7338a..b340c00 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_adc.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_adc.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx77xx_adc.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_i2c.h b/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_i2c.h
index b8df45c..9094cd9 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_i2c.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_i2c.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx77xx_i2c.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_sdmmc.h b/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_sdmmc.h
index 118039a..9518159 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_sdmmc.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_sdmmc.h
@@ -1,35 +1,19 @@
  /* arch/arm/src/stm32f7/hardware/stm32f74xx77xx_sdmmc.h
  *
- *   Copyright (C) 2009, 2011-2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_spi.h b/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_spi.h
index 98d1f84..00a1845 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_spi.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_spi.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx77xx_spi.h
- *stm32f74xx77xx
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_uart.h b/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_uart.h
index e2144d0..babd32e 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_uart.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx77xx_uart.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx77xx_uart.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_dbgmcu.h b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_dbgmcu.h
index e47ef7f..a85a0ae 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_dbgmcu.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_dbgmcu.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f76xx77xx_dbgmcu.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_flash.h b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_flash.h
index 48dc8cd..aed9121 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_flash.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_flash.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f76xx77xx_flash.h
  *
- *   Copyright (C) 2015, 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h
index 4ec5f0e..8f47b89 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f76xx77xx_gpio.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_memorymap.h b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_memorymap.h
index 64411cd..b270f2b 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_memorymap.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_memorymap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f76xx77xx_memorymap.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pinmap.h b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pinmap.h
index 121b1f9..b46013a 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pinmap.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pinmap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pinmap.h
  *
- *   Copyright (C) 2016, 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pwr.h b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pwr.h
index ceb46ba..2044eb9 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pwr.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pwr.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pwr.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_rcc.h b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_rcc.h
index 0ace1e2..5eae7de 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_rcc.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_rcc.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f76xx77xx_rcc.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_syscfg.h b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_syscfg.h
index 953e9e2..de4fddc 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_syscfg.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_syscfg.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f76xx77xx_syscfg.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_tim.h b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_tim.h
index d2bc195..700c4a2 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_tim.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f76xx77xx_tim.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f76xx77xx_tim.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_bbsram.c b/arch/arm/src/stm32f7/stm32_bbsram.c
index 5225197..b609f0a 100644
--- a/arch/arm/src/stm32f7/stm32_bbsram.c
+++ b/arch/arm/src/stm32f7/stm32_bbsram.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_bbsram.c
  *
- *   Copyright (C) 2015-2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_bbsram.h b/arch/arm/src/stm32f7/stm32_bbsram.h
index 70c8170..99b1720 100644
--- a/arch/arm/src/stm32f7/stm32_bbsram.h
+++ b/arch/arm/src/stm32f7/stm32_bbsram.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_bbsram.h
  *
- *   Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_dbgmcu.h b/arch/arm/src/stm32f7/stm32_dbgmcu.h
index f6d976b..dc97b88 100644
--- a/arch/arm/src/stm32f7/stm32_dbgmcu.h
+++ b/arch/arm/src/stm32f7/stm32_dbgmcu.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_dbgmcu.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_lse.c b/arch/arm/src/stm32f7/stm32_lse.c
index f91455c..7aaacf8 100644
--- a/arch/arm/src/stm32f7/stm32_lse.c
+++ b/arch/arm/src/stm32f7/stm32_lse.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_lse.c
  *
- *   Copyright (C) 2017, 2021 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_lsi.c b/arch/arm/src/stm32f7/stm32_lsi.c
index 0ab9dfb..a3905d4 100644
--- a/arch/arm/src/stm32f7/stm32_lsi.c
+++ b/arch/arm/src/stm32f7/stm32_lsi.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_lsi.c
  *
- *   Copyright (C) 2012, 2015-2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_otgdev.c b/arch/arm/src/stm32f7/stm32_otgdev.c
index b92a37c..c719157 100644
--- a/arch/arm/src/stm32f7/stm32_otgdev.c
+++ b/arch/arm/src/stm32f7/stm32_otgdev.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_otgdev.c
  *
- *   Copyright (C) 2012-2014, 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_otghost.c b/arch/arm/src/stm32f7/stm32_otghost.c
index 637d4b7..15aa847 100644
--- a/arch/arm/src/stm32f7/stm32_otghost.c
+++ b/arch/arm/src/stm32f7/stm32_otghost.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_otghost.c
  *
- *   Copyright (C) 2012-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_pwr.h b/arch/arm/src/stm32f7/stm32_pwr.h
index c27409a..4465144 100644
--- a/arch/arm/src/stm32f7/stm32_pwr.h
+++ b/arch/arm/src/stm32f7/stm32_pwr.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_pwr.h
  *
- *   Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_rcc.c b/arch/arm/src/stm32f7/stm32_rcc.c
index 3eb11aa..1fef26c 100644
--- a/arch/arm/src/stm32f7/stm32_rcc.c
+++ b/arch/arm/src/stm32f7/stm32_rcc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_rcc.c
  *
- *   Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_rtc.c b/arch/arm/src/stm32f7/stm32_rtc.c
index efee995..c38e5e2 100644
--- a/arch/arm/src/stm32f7/stm32_rtc.c
+++ b/arch/arm/src/stm32f7/stm32_rtc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_rtc.c
  *
- *   Copyright (C) 2011, 2015-2019 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_rtc_lowerhalf.c b/arch/arm/src/stm32f7/stm32_rtc_lowerhalf.c
index f74bdbf..f244173 100644
--- a/arch/arm/src/stm32f7/stm32_rtc_lowerhalf.c
+++ b/arch/arm/src/stm32f7/stm32_rtc_lowerhalf.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_rtc_lowerhalf.c
  *
- *   Copyright (C) 2015-2016, 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_serial.c b/arch/arm/src/stm32f7/stm32_serial.c
index 446eaa1..4c8d142 100644
--- a/arch/arm/src/stm32f7/stm32_serial.c
+++ b/arch/arm/src/stm32f7/stm32_serial.c
@@ -1,36 +1,20 @@
 /**************************************************************************************************
  * arch/arm/src/stm32f7/stm32_serial.c
  *
- *   Copyright (C) 2015-2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  **************************************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32_spi.h b/arch/arm/src/stm32f7/stm32_spi.h
index 47620e0..caafb56 100644
--- a/arch/arm/src/stm32f7/stm32_spi.h
+++ b/arch/arm/src/stm32f7/stm32_spi.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32_spi.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c b/arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c
index a9149b6..8643801 100644
--- a/arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c
+++ b/arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32f74xx75xx_rcc.c
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c b/arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c
index c51f840..ed1bc93 100644
--- a/arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c
+++ b/arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32f7/stm32f76xx77xx_rcc.c
  *
- *   Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/hardware/stm32_axi.h b/arch/arm/src/stm32h7/hardware/stm32_axi.h
index b5512ab..69c633e 100644
--- a/arch/arm/src/stm32h7/hardware/stm32_axi.h
+++ b/arch/arm/src/stm32h7/hardware/stm32_axi.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32h7/hardware/stm32_axi.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/hardware/stm32_memorymap.h b/arch/arm/src/stm32h7/hardware/stm32_memorymap.h
index 8d7c298..6f010b1 100644
--- a/arch/arm/src/stm32h7/hardware/stm32_memorymap.h
+++ b/arch/arm/src/stm32h7/hardware/stm32_memorymap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32h7/hardware/stm32_memorymap.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/hardware/stm32_rcc.h b/arch/arm/src/stm32h7/hardware/stm32_rcc.h
index b0dfeb3..04cbff1 100644
--- a/arch/arm/src/stm32h7/hardware/stm32_rcc.h
+++ b/arch/arm/src/stm32h7/hardware/stm32_rcc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32h7/hardware/stm32_rcc.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/hardware/stm32_rtcc.h b/arch/arm/src/stm32h7/hardware/stm32_rtcc.h
index 6d7a4cf..5288434 100644
--- a/arch/arm/src/stm32h7/hardware/stm32_rtcc.h
+++ b/arch/arm/src/stm32h7/hardware/stm32_rtcc.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32h7/hardware/stm32_rtcc.h
  *
- *   Copyright (C) 2011-2016, 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/hardware/stm32_tim.h b/arch/arm/src/stm32h7/hardware/stm32_tim.h
index 1beaebe..e9e6f00 100644
--- a/arch/arm/src/stm32h7/hardware/stm32_tim.h
+++ b/arch/arm/src/stm32h7/hardware/stm32_tim.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32h7/hardware/stm32_tim.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/hardware/stm32h7x3xx_i2c.h b/arch/arm/src/stm32h7/hardware/stm32h7x3xx_i2c.h
index d9b7990..e5f5963 100644
--- a/arch/arm/src/stm32h7/hardware/stm32h7x3xx_i2c.h
+++ b/arch/arm/src/stm32h7/hardware/stm32h7x3xx_i2c.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32h7/hardware/stm32h7x3xx_i2c.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/hardware/stm32h7x3xx_syscfg.h b/arch/arm/src/stm32h7/hardware/stm32h7x3xx_syscfg.h
index 51829b7..8d2a5ed 100644
--- a/arch/arm/src/stm32h7/hardware/stm32h7x3xx_syscfg.h
+++ b/arch/arm/src/stm32h7/hardware/stm32h7x3xx_syscfg.h
@@ -1,36 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32h7/hardware/stm32h7x3xx_syscfg.h
  *
- *   Copyright (C) 2016, 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/stm32_bbsram.c b/arch/arm/src/stm32h7/stm32_bbsram.c
index d0c406a..2c58136 100644
--- a/arch/arm/src/stm32h7/stm32_bbsram.c
+++ b/arch/arm/src/stm32h7/stm32_bbsram.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32h7/stm32_bbsram.c
  *
- *   Copyright (C) 2015-2017,2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/stm32_bbsram.h b/arch/arm/src/stm32h7/stm32_bbsram.h
index 0b0d242..defe09b 100644
--- a/arch/arm/src/stm32h7/stm32_bbsram.h
+++ b/arch/arm/src/stm32h7/stm32_bbsram.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32h7/stm32_bbsram.h
  *
- *   Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/stm32_dtcm.c b/arch/arm/src/stm32h7/stm32_dtcm.c
index 5ede648..85ba3aa 100644
--- a/arch/arm/src/stm32h7/stm32_dtcm.c
+++ b/arch/arm/src/stm32h7/stm32_dtcm.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32h7/stm32_dtcm.c
  *
- *   Copyright (C) 2015, 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
-   *          David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/stm32_lse.c b/arch/arm/src/stm32h7/stm32_lse.c
index 06f8854..7428ef7 100644
--- a/arch/arm/src/stm32h7/stm32_lse.c
+++ b/arch/arm/src/stm32h7/stm32_lse.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32h7/stm32_lse.c
  *
- *   Copyright (C) 2017, 2019, 2021 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/stm32_lsi.c b/arch/arm/src/stm32h7/stm32_lsi.c
index d7801e4..8db98fb 100644
--- a/arch/arm/src/stm32h7/stm32_lsi.c
+++ b/arch/arm/src/stm32h7/stm32_lsi.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32h7/stm32_lsi.c
  *
- *   Copyright (C) 2012, 2015-2016, 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/stm32_rcc.c b/arch/arm/src/stm32h7/stm32_rcc.c
index 3042f0e..7118bdd 100644
--- a/arch/arm/src/stm32h7/stm32_rcc.c
+++ b/arch/arm/src/stm32h7/stm32_rcc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32h7/stm32_rcc.c
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/stm32_rtc.c b/arch/arm/src/stm32h7/stm32_rtc.c
index 221204f..65465d8 100644
--- a/arch/arm/src/stm32h7/stm32_rtc.c
+++ b/arch/arm/src/stm32h7/stm32_rtc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32h7/stm32_rtc.c
  *
- *   Copyright (C) 2011, 2015-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/stm32_rtc_lowerhalf.c b/arch/arm/src/stm32h7/stm32_rtc_lowerhalf.c
index 2328f94..958ef1b 100644
--- a/arch/arm/src/stm32h7/stm32_rtc_lowerhalf.c
+++ b/arch/arm/src/stm32h7/stm32_rtc_lowerhalf.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32h7/stm32_rtc_lowerhalf.c
  *
- *   Copyright (C) 2015-2016, 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32h7/stm32_serial.c b/arch/arm/src/stm32h7/stm32_serial.c
index 952fed3..237ea69 100644
--- a/arch/arm/src/stm32h7/stm32_serial.c
+++ b/arch/arm/src/stm32h7/stm32_serial.c
@@ -1,36 +1,20 @@
 /**************************************************************************************************
  * arch/arm/src/stm32h7/stm32_serial.c
  *
- *   Copyright (C) 2015-2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  **************************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/stm32l4_serial.c b/arch/arm/src/stm32l4/stm32l4_serial.c
index d0f3a16..fc474bd 100644
--- a/arch/arm/src/stm32l4/stm32l4_serial.c
+++ b/arch/arm/src/stm32l4/stm32l4_serial.c
@@ -1,37 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32l4/stm32l4_serial.c
  *
- *   Copyright (C) 2009-2014, 2016-2017,2019 Gregory Nutt.
- *            All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 

[incubator-nuttx] 15/16: arch: arm: imxrt: nxstyle fix

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit b6a987afe034f963793011d73a52c21a7e256587
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Mon Mar 22 08:46:24 2021 +0100

    arch: arm: imxrt: nxstyle fix
    
    nxstyle is complaining that the headers are defines outside
    Included Files section and we have to duplicate the definitions
    to the imported files to avoid build errors.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 arch/arm/src/imxrt/imxrt102x_daisy.c | 479 ++++++++++++++++++++++++-----------
 arch/arm/src/imxrt/imxrt105x_daisy.c |  28 ++
 arch/arm/src/imxrt/imxrt106x_daisy.c |  28 ++
 arch/arm/src/imxrt/imxrt_daisy.c     |  36 +--
 4 files changed, 390 insertions(+), 181 deletions(-)

diff --git a/arch/arm/src/imxrt/imxrt102x_daisy.c b/arch/arm/src/imxrt/imxrt102x_daisy.c
index ea09f2b..63f57d7 100644
--- a/arch/arm/src/imxrt/imxrt102x_daisy.c
+++ b/arch/arm/src/imxrt/imxrt102x_daisy.c
@@ -36,9 +36,37 @@
 /*  Based on chip selection this file is included in imxrt_daisy.c */
 
 /****************************************************************************
+ * Pre-processor Definitions
+ ****************************************************************************/
+
+#define DAISY_INDEX_INVALID     255
+#define DAISY_SEL_INVALID       255
+#define ALT0                    0
+#define ALT1                    1
+#define ALT2                    2
+#define ALT3                    3
+#define ALT4                    4
+#define ALT5                    5
+#define ALT6                    6
+#define ALT7                    7
+#define ALT8                    8
+#define ALT9                    9
+
+/****************************************************************************
  * Private Data
  ****************************************************************************/
 
+struct imxrt_daisy_entry_t
+{
+  uint8_t   index;
+  uint8_t   sel;
+};
+
+struct imxrt_daisy_t
+{
+  struct imxrt_daisy_entry_t alts[10];
+};
+
 static const struct imxrt_daisy_t g_daisy_select[] =
 {
   /* index:0 GPIO_EMC_00 */
@@ -52,12 +80,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:0 Alt:1  GPIO EMC 00 QTIMER2 TIMER0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:0 Alt:2  GPIO EMC 00 LPUART4 CTS B */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_CTS_B_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_CTS_B_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:0 Alt:3 No input selection */
@@ -108,7 +138,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:1 Alt:1  GPIO EMC 01 QTIMER2 TIMER1 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:1 Alt:2 No input selection */
@@ -123,7 +154,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:1 Alt:4  GPIO EMC 01 LPSPI2 PCS0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:1 Alt:5 No input selection */
@@ -133,7 +165,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:1 Alt:6  GPIO EMC 01 FLEXCAN1 RX */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:1 Alt:7 No input selection */
@@ -164,7 +197,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:2 Alt:1  GPIO EMC 02 QTIMER2 TIMER2 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:2 Alt:2  GPIO EMC 02 LPUART4 TX */
@@ -220,7 +254,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:3 Alt:1  GPIO EMC 03 QTIMER2 TIMER3 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:3 Alt:2  GPIO EMC 03 LPUART4 RX */
@@ -286,7 +321,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:4 Alt:3  GPIO EMC 04 SAI2 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:4 Alt:4 No input selection */
@@ -342,7 +378,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:5 Alt:3  GPIO EMC 05 SAI2 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:5 Alt:4 No input selection */
@@ -454,7 +491,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:7 Alt:3  GPIO EMC 07 SAI2 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:7 Alt:4 No input selection */
@@ -510,7 +548,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:8 Alt:3  GPIO EMC 08 SAI2 RX DATA */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:8 Alt:4 No input selection */
@@ -561,12 +600,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:9 Alt:2  GPIO EMC 09 FLEXCAN2 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:9 Alt:3  GPIO EMC 09 SAI2 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:9 Alt:4 No input selection */
@@ -622,7 +663,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:10 Alt:3  GPIO EMC 10 SAI1 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:10 Alt:4 No input selection */
@@ -678,12 +720,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:11 Alt:3  GPIO EMC 11 SAI1 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:11 Alt:4  GPIO EMC 11 LPSPI2 PCS0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:11 Alt:5 No input selection */
@@ -790,7 +834,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:13 Alt:3  GPIO EMC 13 SAI1 RX DATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
+      [ALT3].index =
+       IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:13 Alt:4  GPIO EMC 13 LPSPI2 SDI */
@@ -810,7 +855,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:13 Alt:7  GPIO EMC 13 CCM PMIC RDY */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT7].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT7].sel   = 0,
 
       /* Index:13 Alt:8 No input selection */
@@ -846,7 +892,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:14 Alt:3  GPIO EMC 14 SAI1 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:14 Alt:4 No input selection */
@@ -902,7 +949,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:15 Alt:3  GPIO EMC 15 SAI1 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:15 Alt:4 No input selection */
@@ -917,7 +965,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:15 Alt:6  GPIO EMC 15 FLEXCAN1 RX */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT6].sel   = 3,
 
       /* Index:15 Alt:7 No input selection */
@@ -1070,7 +1119,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:18 Alt:3  GPIO EMC 18 SAI1 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:18 Alt:4 No input selection */
@@ -1126,7 +1176,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:19 Alt:3  GPIO EMC 19 SAI1 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:19 Alt:4 No input selection */
@@ -1172,17 +1223,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:20 Alt:1  GPIO EMC 20 FLEXPWM1 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:20 Alt:2  GPIO EMC 20 LPUART2 CTS B */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:20 Alt:3  GPIO EMC 20 SAI1 MCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_MCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_MCLK_OFFSET),
       [ALT3].sel   = 3,
 
       /* Index:20 Alt:4 No input selection */
@@ -1228,7 +1282,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:21 Alt:1  GPIO EMC 21 FLEXPWM1 PWMB03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:21 Alt:2 No input selection */
@@ -1238,7 +1293,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:21 Alt:3  GPIO EMC 21 SAI1 RX DATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:21 Alt:4 No input selection */
@@ -1284,7 +1340,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:22 Alt:1  GPIO EMC 22 FLEXPWM1 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:22 Alt:2  GPIO EMC 22 LPUART2 TX */
@@ -1294,7 +1351,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:22 Alt:3  GPIO EMC 22 SAI1 TX DATA03 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:22 Alt:4 No input selection */
@@ -1340,7 +1398,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:23 Alt:1  GPIO EMC 23 FLEXPWM1 PWMB02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:23 Alt:2  GPIO EMC 23 LPUART2 RX */
@@ -1350,7 +1409,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:23 Alt:3  GPIO EMC 23 SAI1 TX DATA02 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:23 Alt:4 No input selection */
@@ -1396,7 +1456,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:24 Alt:1  GPIO EMC 24 FLEXPWM1 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:24 Alt:2 No input selection */
@@ -1406,7 +1467,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:24 Alt:3  GPIO EMC 24 SAI1 TX DATA01 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:24 Alt:4 No input selection */
@@ -1452,7 +1514,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:25 Alt:1  GPIO EMC 25 FLEXPWM1 PWMB01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:25 Alt:2 No input selection */
@@ -1508,7 +1571,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:26 Alt:1  GPIO EMC 26 FLEXPWM1 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:26 Alt:2  GPIO EMC 26 LPUART8 TX */
@@ -1518,7 +1582,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:26 Alt:3  GPIO EMC 26 SAI1 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:26 Alt:4 No input selection */
@@ -1564,7 +1629,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:27 Alt:1  GPIO EMC 27 FLEXPWM1 PWMB00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:27 Alt:2  GPIO EMC 27 LPUART8 RX */
@@ -1574,7 +1640,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:27 Alt:3  GPIO EMC 27 SAI1 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:27 Alt:4 No input selection */
@@ -1620,7 +1687,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:28 Alt:1  GPIO EMC 28 FLEXPWM2 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:28 Alt:2  GPIO EMC 28 XBAR1 INOUT18 */
@@ -1676,17 +1744,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:29 Alt:1  GPIO EMC 29 FLEXPWM2 PWMB03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:29 Alt:2  GPIO EMC 29 XBAR1 INOUT19 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN19_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN19_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:29 Alt:3  GPIO EMC 29 SAI3 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:29 Alt:4 No input selection */
@@ -1732,17 +1803,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:30 Alt:1  GPIO EMC 30 FLEXPWM2 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:30 Alt:2  GPIO EMC 30 LPUART4 CTS B */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_CTS_B_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_CTS_B_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:30 Alt:3  GPIO EMC 30 SAI3 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:30 Alt:4 No input selection */
@@ -1788,7 +1862,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:31 Alt:1  GPIO EMC 31 FLEXPWM2 PWMB02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:31 Alt:2 No input selection */
@@ -1798,7 +1873,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:31 Alt:3  GPIO EMC 31 SAI3 RX DATA */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_DATA0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_DATA0_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:31 Alt:4 No input selection */
@@ -1844,7 +1920,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:32 Alt:1  GPIO EMC 32 QTIMER1 TIMER0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:32 Alt:2  GPIO EMC 32 LPUART4 TX */
@@ -1900,22 +1977,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:33 Alt:1  GPIO EMC 33 QTIMER1 TIMER1 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:33 Alt:2  GPIO EMC 33 LPUART4 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_RX_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_RX_OFFSET),
       [ALT2].sel   = 2,
 
       /* Index:33 Alt:3  GPIO EMC 33 SAI3 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_TX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_TX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:33 Alt:4  GPIO EMC 33 LPSPI4 PCS0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:33 Alt:5 No input selection */
@@ -1956,7 +2037,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:34 Alt:1  GPIO EMC 34 QTIMER1 TIMER2 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:34 Alt:2  GPIO EMC 34 LPUART7 TX */
@@ -1966,7 +2048,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:34 Alt:3  GPIO EMC 34 SAI3 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_TX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_TX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:34 Alt:4  GPIO EMC 34 LPSPI4 SDO */
@@ -2012,7 +2095,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:35 Alt:1  GPIO EMC 35 QTIMER1 TIMER3 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:35 Alt:2  GPIO EMC 35 LPUART7 RX */
@@ -2068,7 +2152,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:36 Alt:1  GPIO EMC 36 FLEXPWM2 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:36 Alt:2 No input selection */
@@ -2078,7 +2163,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:36 Alt:3  GPIO EMC 36 CCM PMIC RDY */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT3].sel   = 3,
 
       /* Index:36 Alt:4 No input selection */
@@ -2124,7 +2210,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:37 Alt:1  GPIO EMC 37 FLEXPWM2 PWMB01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:37 Alt:2 No input selection */
@@ -2180,7 +2267,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:38 Alt:1  GPIO EMC 38 FLEXPWM2 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:38 Alt:2  GPIO EMC 38 LPUART5 TX */
@@ -2210,7 +2298,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:38 Alt:7  GPIO EMC 38 USDHC1 CD B */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
+      [ALT7].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
       [ALT7].sel   = 3,
 
       /* Index:38 Alt:8 No input selection */
@@ -2236,7 +2325,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:39 Alt:1  GPIO EMC 39 FLEXPWM2 PWMB00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:39 Alt:2  GPIO EMC 39 LPUART5 RX */
@@ -2246,7 +2336,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:39 Alt:3  GPIO EMC 39 USB OTG1 OC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:39 Alt:4 No input selection */
@@ -2302,7 +2393,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:40 Alt:3  GPIO EMC 40 USB OTG1 ID */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:40 Alt:4  GPIO EMC 40 ENET MDIO */
@@ -2572,7 +2664,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:45 Alt:1  GPIO AD B0 03 USDHC2 CD B */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:45 Alt:2 No input selection */
@@ -2597,12 +2690,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:45 Alt:6  GPIO AD B0 03 USB OTG1 OC */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:45 Alt:7  GPIO AD B0 03 CCM PMIC RDY */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT7].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT7].sel   = 2,
 
       /* Index:45 Alt:8 No input selection */
@@ -2638,7 +2733,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:46 Alt:3  GPIO AD B0 04 QTIMER2 TIMER0 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:46 Alt:4  GPIO AD B0 04 ENET MDIO */
@@ -2684,17 +2780,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:47 Alt:1  GPIO AD B0 05 FLEXCAN1 RX */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:47 Alt:2  GPIO AD B0 05 USDHC1 CD B */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:47 Alt:3  GPIO AD B0 05 QTIMER2 TIMER1 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:47 Alt:4 No input selection */
@@ -2709,12 +2808,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:47 Alt:6  GPIO AD B0 05 USB OTG1 ID */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:47 Alt:7  GPIO AD B0 05 NMI GLUE NMI */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
+      [ALT7].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
       [ALT7].sel   = 0,
 
       /* Index:47 Alt:8 No input selection */
@@ -2750,12 +2851,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:48 Alt:3  GPIO AD B0 06 QTIMER2 TIMER2 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:48 Alt:4  GPIO AD B0 06 FLEXPWM2 PWMA03 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:48 Alt:5 No input selection */
@@ -2806,12 +2909,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:49 Alt:3  GPIO AD B0 07 QTIMER2 TIMER3 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:49 Alt:4  GPIO AD B0 07 FLEXPWM2 PWMB03 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:49 Alt:5 No input selection */
@@ -2867,7 +2972,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:50 Alt:4  GPIO AD B0 08 ENET REF CLK1 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:50 Alt:5 No input selection */
@@ -2903,7 +3009,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:51 Alt:0  GPIO AD B0 09 ENET RDATA01 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXDATA1_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXDATA1_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:51 Alt:1  GPIO AD B0 09 LPI2C3 SDA */
@@ -2959,7 +3066,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:52 Alt:0  GPIO AD B0 10 ENET RDATA00 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXDATA0_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXDATA0_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:52 Alt:1  GPIO AD B0 10 LPSPI1 SCK */
@@ -2979,7 +3087,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:52 Alt:4  GPIO AD B0 10 FLEXPWM2 PWMA02 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:52 Alt:5 No input selection */
@@ -3020,7 +3129,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:53 Alt:1  GPIO AD B0 11 LPSPI1 PCS0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:53 Alt:2  GPIO AD B0 11 LPUART5 RX */
@@ -3035,7 +3145,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:53 Alt:4  GPIO AD B0 11 FLEXPWM2 PWMB02 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:53 Alt:5 No input selection */
@@ -3091,7 +3202,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:54 Alt:4  GPIO AD B0 12 FLEXPWM2 PWMA01 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:54 Alt:5 No input selection */
@@ -3147,7 +3259,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:55 Alt:4  GPIO AD B0 13 FLEXPWM2 PWMB01 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:55 Alt:5 No input selection */
@@ -3203,7 +3316,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:56 Alt:4  GPIO AD B0 14 FLEXPWM2 PWMA00 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:56 Alt:5 No input selection */
@@ -3244,7 +3358,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:57 Alt:1  GPIO AD B0 15 FLEXCAN2 RX */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:57 Alt:2  GPIO AD B0 15 LPUART3 RX */
@@ -3259,7 +3374,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:57 Alt:4  GPIO AD B0 15 FLEXPWM2 PWMB00 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:57 Alt:5 No input selection */
@@ -3300,7 +3416,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:58 Alt:1  GPIO AD B1 00 FLEXSPI A DATA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:58 Alt:2 No input selection */
@@ -3356,17 +3473,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:59 Alt:1  GPIO AD B1 01 FLEXSPI A SCLK */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:59 Alt:2  GPIO AD B1 01 FLEXCAN2 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT2].sel   = 3,
 
       /* Index:59 Alt:3  GPIO AD B1 01 SAI1 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:59 Alt:4 No input selection */
@@ -3412,7 +3532,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:60 Alt:1  GPIO AD B1 02 FLEXSPI A DATA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:60 Alt:2  GPIO AD B1 02 LPSPI4 SCK */
@@ -3422,7 +3543,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:60 Alt:3  GPIO AD B1 02 SAI1 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:60 Alt:4 No input selection */
@@ -3468,12 +3590,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:61 Alt:1  GPIO AD B1 03 FLEXSPI A DATA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:61 Alt:2  GPIO AD B1 03 LPSPI4 PCS0 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:61 Alt:3 No input selection */
@@ -3524,7 +3648,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:62 Alt:1  GPIO AD B1 04 FLEXSPI A DATA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:62 Alt:2  GPIO AD B1 04 LPSPI4 SDO */
@@ -3534,7 +3659,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:62 Alt:3  GPIO AD B1 04 SAI1 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:62 Alt:4 No input selection */
@@ -3590,7 +3716,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:63 Alt:3  GPIO AD B1 05 SAI1 RX DATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:63 Alt:4 No input selection */
@@ -3636,17 +3763,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:64 Alt:1  GPIO AD B1 06 FLEXPWM1 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:64 Alt:2  GPIO AD B1 06 LPUART2 CTS B */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:64 Alt:3  GPIO AD B1 06 SAI1 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:64 Alt:4 No input selection */
@@ -3692,7 +3822,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:65 Alt:1  GPIO AD B1 07 FLEXPWM1 PWMB00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:65 Alt:2 No input selection */
@@ -3702,7 +3833,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:65 Alt:3  GPIO AD B1 07 SAI1 TX DATA01 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:65 Alt:4 No input selection */
@@ -3748,7 +3880,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:66 Alt:1  GPIO AD B1 08 FLEXPWM1 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:66 Alt:2  GPIO AD B1 08 LPUART2 TX */
@@ -3758,7 +3891,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:66 Alt:3  GPIO AD B1 08 SAI1 TX DATA02 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:66 Alt:4 No input selection */
@@ -3804,7 +3938,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:67 Alt:1  GPIO AD B1 09 FLEXPWM1 PWMB01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:67 Alt:2  GPIO AD B1 09 LPUART2 RX */
@@ -3814,7 +3949,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:67 Alt:3  GPIO AD B1 09 SAI1 TX DATA03 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:67 Alt:4 No input selection */
@@ -3860,7 +3996,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:68 Alt:1  GPIO AD B1 10 FLEXPWM1 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:68 Alt:2  GPIO AD B1 10 LPUART4 TX */
@@ -3870,7 +4007,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:68 Alt:3  GPIO AD B1 10 USDHC1 CD B */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:68 Alt:4 No input selection */
@@ -3911,12 +4049,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:69 Alt:0  GPIO AD B1 11 USB OTG1 ID */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:69 Alt:1  GPIO AD B1 11 FLEXPWM1 PWMB02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:69 Alt:2  GPIO AD B1 11 LPUART4 RX */
@@ -3967,7 +4107,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:70 Alt:0  GPIO AD B1 12 USB OTG1 OC */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:70 Alt:1 No input selection */
@@ -3982,7 +4123,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:70 Alt:3  GPIO AD B1 12 USDHC2 CD B */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:70 Alt:4 No input selection */
@@ -3997,7 +4139,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:70 Alt:6  GPIO AD B1 12 FLEXPWM1 PWMA03 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:70 Alt:7 No input selection */
@@ -4053,7 +4196,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:71 Alt:6  GPIO AD B1 13 FLEXPWM1 PWMB03 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:71 Alt:7 No input selection */
@@ -4196,7 +4340,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:74 Alt:1  GPIO SD B0 00 QTIMER1 TIMER0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:74 Alt:2  GPIO SD B0 00 SAI1 MCLK */
@@ -4252,7 +4397,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:75 Alt:1  GPIO SD B0 01 QTIMER1 TIMER1 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:75 Alt:2 No input selection */
@@ -4262,7 +4408,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:75 Alt:3  GPIO SD B0 01 SAI2 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:75 Alt:4  GPIO SD B0 01 LPI2C3 SDA */
@@ -4308,7 +4455,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:76 Alt:1  GPIO SD B0 02 QTIMER1 TIMER2 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:76 Alt:2 No input selection */
@@ -4318,7 +4466,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:76 Alt:3  GPIO SD B0 02 SAI2 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:76 Alt:4  GPIO SD B0 02 LPSPI1 SCK */
@@ -4364,7 +4513,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:77 Alt:1  GPIO SD B0 03 QTIMER1 TIMER3 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER1_TIMER3_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:77 Alt:2 No input selection */
@@ -4374,12 +4524,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:77 Alt:3  GPIO SD B0 03 SAI2 RX DATA */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:77 Alt:4  GPIO SD B0 03 LPSPI1 PCS0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:77 Alt:5 No input selection */
@@ -4476,7 +4628,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:79 Alt:1  GPIO SD B0 05 FLEXCAN2 RX */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:79 Alt:2  GPIO SD B0 05 LPUART7 RX */
@@ -4486,7 +4639,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:79 Alt:3  GPIO SD B0 05 SAI2 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:79 Alt:4  GPIO SD B0 05 LPSPI1 SDI */
@@ -4527,7 +4681,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:80 Alt:0  GPIO SD B0 06 USDHC1 CD B */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:80 Alt:1 No input selection */
@@ -4542,7 +4697,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:80 Alt:3  GPIO SD B0 06 SAI2 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:80 Alt:4 No input selection */
@@ -4659,7 +4815,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:82 Alt:4  GPIO SD B1 01 FLEXCAN1 RX */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:82 Alt:5 No input selection */
@@ -4705,7 +4862,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:83 Alt:2  GPIO SD B1 02 LPUART8 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_TX_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_TX_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:83 Alt:3  GPIO SD B1 02 LPI2C4 SCL */
@@ -4761,7 +4919,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:84 Alt:2  GPIO SD B1 03 LPUART8 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_RX_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_RX_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:84 Alt:3  GPIO SD B1 03 LPI2C4 SDA */
@@ -4822,7 +4981,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:85 Alt:3  GPIO SD B1 04 ENET REF CLK1 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:85 Alt:4 No input selection */
@@ -4873,12 +5033,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:86 Alt:2  GPIO SD B1 05 ENET RDATA01 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXDATA1_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXDATA1_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:86 Alt:3  GPIO SD B1 05 SAI3 MCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_MCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_MCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:86 Alt:4 No input selection */
@@ -4893,7 +5055,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:86 Alt:6  GPIO SD B1 05 CCM PMIC RDY */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:86 Alt:7 No input selection */
@@ -4919,27 +5082,32 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:87 Alt:0  GPIO SD B1 06 USDHC2 CD B */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:87 Alt:1  GPIO SD B1 06 FLEXSPI A DATA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:87 Alt:2  GPIO SD B1 06 ENET RDATA00 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXDATA0_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXDATA0_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:87 Alt:3  GPIO SD B1 06 SAI3 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_TX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_TX_BCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:87 Alt:4  GPIO SD B1 06 LPSPI2 PCS0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
       [ALT4].sel   = 2,
 
       /* Index:87 Alt:5 No input selection */
@@ -4980,7 +5148,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:88 Alt:1  GPIO SD B1 07 FLEXSPI A SCLK */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:88 Alt:2  GPIO SD B1 07 ENET RX EN */
@@ -4990,7 +5159,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:88 Alt:3  GPIO SD B1 07 SAI3 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_TX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_TX_SYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:88 Alt:4 No input selection */
@@ -5036,7 +5206,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:89 Alt:1  GPIO SD B1 08 FLEXSPI A DATA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:89 Alt:2  GPIO SD B1 08 ENET RX ER */
@@ -5092,7 +5263,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:90 Alt:1  GPIO SD B1 09 FLEXSPI A DATA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:90 Alt:2 No input selection */
@@ -5102,7 +5274,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:90 Alt:3  GPIO SD B1 09 SAI3 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_BCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:90 Alt:4  GPIO SD B1 09 LPSPI2 SDI */
@@ -5148,7 +5321,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:91 Alt:1  GPIO SD B1 10 FLEXSPI A DATA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:91 Alt:2 No input selection */
@@ -5158,7 +5332,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:91 Alt:3  GPIO SD B1 10 SAI3 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_SYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:91 Alt:4 No input selection */
@@ -5214,7 +5389,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:92 Alt:3  GPIO SD B1 11 SAI3 RX DATA */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_DATA0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_RX_DATA0_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:92 Alt:4 No input selection */
@@ -5290,7 +5466,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:93 Alt:7  SNVS WAKEUP NMI GLUE NMI */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
+      [ALT7].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
       [ALT7].sel   = 1,
 
       /* Index:93 Alt:8 No input selection */
@@ -5417,3 +5594,7 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     },
   },
 };
+
+/****************************************************************************
+ * Public Functions
+ ****************************************************************************/
diff --git a/arch/arm/src/imxrt/imxrt105x_daisy.c b/arch/arm/src/imxrt/imxrt105x_daisy.c
index ff83902..a120d81 100644
--- a/arch/arm/src/imxrt/imxrt105x_daisy.c
+++ b/arch/arm/src/imxrt/imxrt105x_daisy.c
@@ -21,9 +21,37 @@
 /* Based on chip selection this file is included in imxrt_daisy.c */
 
 /****************************************************************************
+ * Pre-processor Definitions
+ ****************************************************************************/
+
+#define DAISY_INDEX_INVALID     255
+#define DAISY_SEL_INVALID       255
+#define ALT0                    0
+#define ALT1                    1
+#define ALT2                    2
+#define ALT3                    3
+#define ALT4                    4
+#define ALT5                    5
+#define ALT6                    6
+#define ALT7                    7
+#define ALT8                    8
+#define ALT9                    9
+
+/****************************************************************************
  * Private Data
  ****************************************************************************/
 
+struct imxrt_daisy_entry_t
+{
+  uint8_t   index;
+  uint8_t   sel;
+};
+
+struct imxrt_daisy_t
+{
+  struct imxrt_daisy_entry_t alts[10];
+};
+
 static const struct imxrt_daisy_t g_daisy_select[] =
 {
   /* index:0 GPIO_EMC_00 */
diff --git a/arch/arm/src/imxrt/imxrt106x_daisy.c b/arch/arm/src/imxrt/imxrt106x_daisy.c
index 05e7d84..a1ff01a 100644
--- a/arch/arm/src/imxrt/imxrt106x_daisy.c
+++ b/arch/arm/src/imxrt/imxrt106x_daisy.c
@@ -21,9 +21,37 @@
 /*  Based on chip selection this file is included in imxrt_daisy.c */
 
 /****************************************************************************
+ * Pre-processor Definitions
+ ****************************************************************************/
+
+#define DAISY_INDEX_INVALID     255
+#define DAISY_SEL_INVALID       255
+#define ALT0                    0
+#define ALT1                    1
+#define ALT2                    2
+#define ALT3                    3
+#define ALT4                    4
+#define ALT5                    5
+#define ALT6                    6
+#define ALT7                    7
+#define ALT8                    8
+#define ALT9                    9
+
+/****************************************************************************
  * Private Data
  ****************************************************************************/
 
+struct imxrt_daisy_entry_t
+{
+  uint8_t   index;
+  uint8_t   sel;
+};
+
+struct imxrt_daisy_t
+{
+  struct imxrt_daisy_entry_t alts[10];
+};
+
 static const struct imxrt_daisy_t g_daisy_select[] =
 {
   /* index:0 GPIO_EMC_00 */
diff --git a/arch/arm/src/imxrt/imxrt_daisy.c b/arch/arm/src/imxrt/imxrt_daisy.c
index d658f89..05f6356 100644
--- a/arch/arm/src/imxrt/imxrt_daisy.c
+++ b/arch/arm/src/imxrt/imxrt_daisy.c
@@ -30,38 +30,6 @@
 #include "hardware/imxrt_daisy.h"
 #include "imxrt_iomuxc.h"
 
-/****************************************************************************
- * Pre-processor Definitions
- ****************************************************************************/
-
-#define DAISY_INDEX_INVALID     255
-#define DAISY_SEL_INVALID       255
-#define ALT0                    0
-#define ALT1                    1
-#define ALT2                    2
-#define ALT3                    3
-#define ALT4                    4
-#define ALT5                    5
-#define ALT6                    6
-#define ALT7                    7
-#define ALT8                    8
-#define ALT9                    9
-
-/****************************************************************************
- * Private Data
- ****************************************************************************/
-
-struct imxrt_daisy_entry_t
-{
-  uint8_t   index;
-  uint8_t   sel;
-};
-
-struct imxrt_daisy_t
-{
-  struct imxrt_daisy_entry_t alts[10];
-};
-
 /* Include chip-specific daisy input selection */
 
 #if defined(CONFIG_ARCH_FAMILY_IMXRT102x)
@@ -75,6 +43,10 @@ struct imxrt_daisy_t
 #endif
 
 /****************************************************************************
+ * Pre-processor Definitions
+ ****************************************************************************/
+
+/****************************************************************************
  * Public Functions
  ****************************************************************************/
 

[incubator-nuttx] 11/16: libs: libc: nxstyle fixes

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit e8606942ebac5df578ee25323dd23a831a2ad4e7
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sun Mar 21 22:03:54 2021 +0100

    libs: libc: nxstyle fixes
    
    nxstyle fixes to pass CI
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 libs/libc/machine/arm/armv7-m/arch_fabsf.c | 2 +-
 libs/libc/machine/arm/armv7-m/arch_sqrtf.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/libc/machine/arm/armv7-m/arch_fabsf.c b/libs/libc/machine/arm/armv7-m/arch_fabsf.c
index a065e2d..5a3c6b8 100644
--- a/libs/libc/machine/arm/armv7-m/arch_fabsf.c
+++ b/libs/libc/machine/arm/armv7-m/arch_fabsf.c
@@ -34,7 +34,7 @@
 float fabsf(float x)
 {
   float result;
-  asm volatile ( "vabs.f32\t%0, %1" : "=t" (result) : "t" (x) );
+  asm volatile ("vabs.f32\t%0, %1" : "=t" (result) : "t" (x));
   return result;
 }
 
diff --git a/libs/libc/machine/arm/armv7-m/arch_sqrtf.c b/libs/libc/machine/arm/armv7-m/arch_sqrtf.c
index 2781ca1..3bf1251 100644
--- a/libs/libc/machine/arm/armv7-m/arch_sqrtf.c
+++ b/libs/libc/machine/arm/armv7-m/arch_sqrtf.c
@@ -34,7 +34,7 @@
 float sqrtf(float x)
 {
   float result;
-  asm volatile ( "vsqrt.f32\t%0, %1" : "=t" (result) : "t" (x) );
+  asm volatile ("vsqrt.f32\t%0, %1" : "=t" (result) : "t" (x));
   return result;
 }
 

[incubator-nuttx] 12/16: arch: arm: fixes for nxstyle errors

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit ee0861ae7a3920c3126e22cdece871029833ea47
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sun Mar 21 15:41:45 2021 +0100

    arch: arm: fixes for nxstyle errors
    
    Nxstyle error fixes to pass CI
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 arch/arm/src/imxrt/hardware/imxrt_flexpwm.h        | 184 +++--
 arch/arm/src/imxrt/hardware/imxrt_gpt.h            |  24 +-
 arch/arm/src/imxrt/hardware/imxrt_ocotp.h          |  22 +-
 arch/arm/src/imxrt/hardware/imxrt_pit.h            |   3 +-
 arch/arm/src/imxrt/hardware/imxrt_tmr.h            |  37 +-
 arch/arm/src/imxrt/hardware/imxrt_usb_analog.h     |  25 +-
 arch/arm/src/imxrt/hardware/imxrt_xbar.h           |   1 -
 .../src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h   |   1 +
 .../src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h   |   1 +
 .../imxrt/hardware/rt106x/imxrt106x_memorymap.h    | 140 +++-
 arch/arm/src/imxrt/imxrt105x_daisy.c               | 917 ++++++++++++++-------
 arch/arm/src/imxrt/imxrt106x_daisy.c               | 913 +++++++++++++-------
 arch/arm/src/imxrt/imxrt_xbar.c                    |   7 +-
 arch/arm/src/imxrt/imxrt_xbar.h                    |  76 +-
 arch/arm/src/kl/hardware/kl_tsi.h                  |  35 +-
 arch/arm/src/kl/kl_clockconfig.c                   |  24 +-
 arch/arm/src/kl/kl_pwm.h                           |  63 +-
 arch/arm/src/lpc43xx/lpc43_timer.h                 |   2 +-
 arch/arm/src/nrf52/hardware/nrf52_nvmc.h           |  18 +-
 arch/arm/src/samv7/sam_systemreset.c               |   4 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h      |  49 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_can.h      |  19 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h      |  24 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h      |  16 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h      |  27 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h      |  17 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h     |  20 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h  |  19 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h      |  19 +-
 .../src/stm32f0l0g0/hardware/stm32f03x_memorymap.h |  34 +-
 .../src/stm32f0l0g0/hardware/stm32f03x_pinmap.h    |  30 +-
 .../hardware/stm32f05xf07xf09x_memorymap.h         |  31 +-
 .../src/stm32f0l0g0/hardware/stm32f07x_pinmap.h    |  30 +-
 .../src/stm32f0l0g0/hardware/stm32f09x_pinmap.h    |  31 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h   |  22 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h    |  19 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h    |  36 +-
 arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h |  22 +-
 arch/arm/src/stm32f0l0g0/stm32_gpio.c              |  26 +-
 arch/arm/src/stm32f0l0g0/stm32_hsi48.h             |  18 +-
 arch/arm/src/stm32f0l0g0/stm32_irq.c               |   2 +-
 arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c        |  14 +-
 arch/arm/src/stm32f0l0g0/stm32_serial.c            |   8 +-
 arch/arm/src/stm32f0l0g0/stm32_timerisr.c          |   6 +-
 arch/arm/src/stm32f0l0g0/stm32_uart.h              |  43 +-
 arch/arm/src/stm32f0l0g0/stm32f0_rcc.c             |  12 +-
 arch/arm/src/stm32f7/hardware/stm32_ethernet.h     |  97 ++-
 arch/arm/src/stm32f7/hardware/stm32_rtcc.h         |  22 +-
 arch/arm/src/stm32f7/hardware/stm32_tim.h          |   8 +-
 .../src/stm32f7/hardware/stm32f74xx75xx_flash.h    |  24 +-
 .../stm32f7/hardware/stm32f74xx75xx_memorymap.h    |  39 +-
 arch/arm/src/stm32f7/hardware/stm32f74xx75xx_pwr.h |  20 +-
 arch/arm/src/stm32f7/hardware/stm32f74xx75xx_rcc.h |  55 +-
 arch/arm/src/stm32f7/hardware/stm32f74xx75xx_tim.h | 108 ++-
 arch/arm/src/stm32f7/hardware/stm32f74xx77xx_adc.h |  59 +-
 arch/arm/src/stm32f7/hardware/stm32f74xx77xx_i2c.h |  18 +-
 .../src/stm32f7/hardware/stm32f74xx77xx_sdmmc.h    |  16 +-
 arch/arm/src/stm32f7/hardware/stm32f74xx77xx_spi.h |  27 +-
 .../arm/src/stm32f7/hardware/stm32f74xx77xx_uart.h |  21 +-
 .../src/stm32f7/hardware/stm32f76xx77xx_flash.h    |  24 +-
 .../stm32f7/hardware/stm32f76xx77xx_memorymap.h    |  40 +-
 .../src/stm32f7/hardware/stm32f76xx77xx_pinmap.h   |  39 +-
 arch/arm/src/stm32f7/hardware/stm32f76xx77xx_pwr.h |  20 +-
 arch/arm/src/stm32f7/hardware/stm32f76xx77xx_rcc.h |  59 +-
 .../src/stm32f7/hardware/stm32f76xx77xx_syscfg.h   |  19 +-
 arch/arm/src/stm32f7/hardware/stm32f76xx77xx_tim.h |  96 ++-
 arch/arm/src/stm32h7/hardware/stm32_axi.h          |  18 +-
 arch/arm/src/stm32h7/hardware/stm32_rtcc.h         |  20 +-
 arch/arm/src/stm32h7/hardware/stm32_tim.h          |  85 +-
 arch/arm/src/stm32h7/hardware/stm32h7x3xx_i2c.h    |  18 +-
 arch/arm/src/stm32h7/hardware/stm32h7x3xx_syscfg.h |  23 +-
 arch/arm/src/stm32h7/stm32_rtc_lowerhalf.c         |  13 +-
 arch/arm/src/stm32l4/hardware/stm32l4_can.h        |  43 +-
 arch/arm/src/stm32l4/hardware/stm32l4_crs.h        |  16 +-
 arch/arm/src/stm32l4/hardware/stm32l4x5xx_rcc.h    |  61 +-
 arch/arm/src/stm32l4/hardware/stm32l4x6xx_rcc.h    |  43 +-
 arch/arm/src/stm32l4/stm32l4_can.h                 |  29 +-
 arch/arm/src/stm32l4/stm32l4_dumpgpio.c            |   1 +
 arch/arm/src/stm32l4/stm32l4_firewall.h            |  29 +-
 arch/arm/src/stm32l4/stm32l4_gpio.h                |  81 +-
 arch/arm/src/stm32l4/stm32l4_hsi48.h               |   2 +-
 arch/arm/src/stm32l4/stm32l4_rcc.c                 |  99 +--
 arch/arm/src/stm32l4/stm32l4x5xx_rcc.c             |   4 +-
 boards/arm/imxrt/imxrt1060-evk/src/imxrt_boot.c    |   7 +-
 boards/arm/stm32/olimexino-stm32/include/board.h   |  17 +-
 boards/arm/stm32/olimexino-stm32/src/stm32_boot.c  |  17 +-
 .../stm32/olimexino-stm32/src/stm32_composite.c    |  24 +-
 boards/arm/stm32/olimexino-stm32/src/stm32_spi.c   |  42 +-
 .../arm/stm32/olimexino-stm32/src/stm32_usbdev.c   |  26 +-
 .../arm/stm32/olimexino-stm32/src/stm32_usbmsc.c   |  13 +-
 boards/arm/stm32f7/nucleo-144/src/stm32_boot.c     |  24 +-
 boards/arm/stm32f7/nucleo-144/src/stm32_spi.c      |  91 +-
 boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c   |  10 +-
 boards/arm/stm32l4/nucleo-l496zg/src/stm32_boot.c  |  24 +-
 boards/arm/stm32l4/nucleo-l496zg/src/stm32_spi.c   |  79 +-
 95 files changed, 3104 insertions(+), 1757 deletions(-)

diff --git a/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h b/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h
index 1d752c4..9e6b39f 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_flexpwm.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_flexpwm.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,23 +16,23 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_FLEXPWM_H
 #define __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_FLEXPWM_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "hardware/imxrt_memorymap.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define IMXRT_FLEXPWM_SM0CNT_OFFSET          0x0000  /* Counter Register */
 #define IMXRT_FLEXPWM_SM0INIT_OFFSET         0x0002  /* Initial Count Register */
@@ -219,7 +219,7 @@
 #define IMXRT_FLEXPWM_FTST0_OFFSET           0x0192  /* Fault Test Register */
 #define IMXRT_FLEXPWM_FCTRL20_OFFSET         0x0194  /* Fault Control 2 Register */
 
-/* Register addresses ***********************************************************************/
+/* Register addresses *******************************************************/
 
 /* FLEXPWM1 Register Addresses */
 
@@ -969,7 +969,7 @@
 #define IMXRT_FLEXPWM4_FTST0                 (IMXRT_FLEXPWM4_BASE + IMXRT_FLEXPWM_FTST0_OFFSET)         /* FLEXPWM4 Fault Test Register */
 #define IMXRT_FLEXPWM4_FCTRL20               (IMXRT_FLEXPWM4_BASE + IMXRT_FLEXPWM_FCTRL20_OFFSET)       /* FLEXPWM4 Fault Control 2 Register */
 
-/* Register Bit Definitions *********************************************************
+/* Register Bit Definitions *************************************************
  *
  *   A single FLEXPWM[n] module (where n is 1..4) has submodules 0 - 3
  * FLEXPWM module Base addresses are spaced every 0x4000 bytes starting at
@@ -978,41 +978,42 @@
  *
  *   Each submodule instance is 0x60 bytes.
  *
- *   The address of a register is the sum of a base address and an address offset.
- * The base address is defined as the module IMXRT_FLEXPWMn_BASE (n=1..4), and
- * the address offset is defined at the module level. Each PWM module has a set
- * of registers for each PWM submodule, for the configuration logic, and
- * for each fault channel. While the registers are 16-bits wide, they can be
- * accessed in pairs as 32-bit registers.
+ *   The address of a register is the sum of a base address and an address
+ * offset. The base address is defined as the module IMXRT_FLEXPWMn_BASE
+ * (n=1..4), and the address offset is defined at the module level. Each
+ * PWM module has a set of registers for each PWM submodule, for the
+ * configuration logic, and for each fault channel. While the registers are
+ * 16-bits wide, they can be accessed in pairs as 32-bit registers.
  *
- *   Submodule registers are repeated for each PWM submodule. To designate which
- * submodule they are in, register names are prefixed with SM0, SM1, SM2, and SM3
- * Since all these register definitions are identical the defines herein drops the
- * number 0-3 from the prefix.
+ *   Submodule registers are repeated for each PWM submodule. To designate
+ * which submodule they are in, register names are prefixed with SM0, SM1,
+ * SM2, and SM3 Since all these register definitions are identical the
+ * defines herein drops the number 0-3 from the prefix.
  *
  *   For example the 'Status Register' appears 4 times per module
- * (IMXRT_FLEXPWMn_BASE) as IMXRT_FLEXPWM_SM0STS_OFFSET, IMXRT_FLEXPWM_SM1STS_OFFSET,
- * IMXRT_FLEXPWM_SM2STS_OFFSET and IMXRT_FLEXPWM_SM3STS_OFFSET. But the bit
- * definitions for the  'Status Register' are defined as SMSTS_xxxxx (with the number
- * dropped.
+ * (IMXRT_FLEXPWMn_BASE) as IMXRT_FLEXPWM_SM0STS_OFFSET,
+ * IMXRT_FLEXPWM_SM1STS_OFFSET, IMXRT_FLEXPWM_SM2STS_OFFSET and
+ * IMXRT_FLEXPWM_SM3STS_OFFSET. But the bit definitions for the 'Status
+ * Register' are defined as SMSTS_xxxxx (with the number dropped.
  *
- *   The base address of submodule 0 is the same as the base address for the PWM
- * module as a whole. The base address of submodule 1 is offset 0x60 from the base
- * address for the PWM module as a whole. This 0x60 offset is based on the number
- * of registers in a submodule.  The base address of submodule 2 is equal to the
- * base address of submodule 1 plus this same 0x60 offset. The pattern repeats for
- * the base address of submodule 3
- * .
- *   The base address of the module configuration registers is equal to the base
- * address of the PWM module as a whole plus an offset of 0x180.
+ *   The base address of submodule 0 is the same as the base address for the
+ * PWM module as a whole. The base address of submodule 1 is offset 0x60 from
+ * the base address for the PWM module as a whole. This 0x60 offset is based
+ * on the number of registers in a submodule.  The base address of submodule
+ * 2 is equal to the base address of submodule 1 plus this same 0x60 offset.
+ * The pattern repeats for the base address of submodule 3.
  *
- *   Fault channel registers are repeated for each fault channel. To designate
- * which fault channel they are in, register names are prefixed with F0 and F1. The
- * base address of fault channel 0 is equal to the base address of the PWM module
- * as a whole plus an offset of 0x18C. The base address of fault channel 1 is the
- * base address of fault channel 0 + 4.  This 4 offset is based on the number of
- * registers in a fault channel. Each of the four fields in the fault channel
- * registers corresponds to fault inputs 3-0.
+ *   The base address of the module configuration registers is equal to the
+ * base address of the PWM module as a whole plus an offset of 0x180.
+ *
+ *   Fault channel registers are repeated for each fault channel. To
+ * designate which fault channel they are in, register names are prefixed
+ * with F0 and F1. The base address of fault channel 0 is equal to the base
+ * address of the PWM module as a whole plus an offset of 0x18C. The base
+ * address of fault channel 1 is the base address of fault channel 0 + 4.
+ *  This 4 offset is based on the number of registers in a fault channel.
+ * Each of the four fields in the fault channel registers corresponds to
+ * fault inputs 3-0.
  */
 
 /* Control 2 Register */
@@ -1023,6 +1024,7 @@
 #  define SMCTRL2_CLK_SEL_IPG_CLK            (0 << SMCTRL2_CLK_SEL_SHIFT)  /* The IPBus clock is used as the clock for the local prescaler and counter. */
 #  define SMCTRL2_CLK_SEL_EXT_CLK            (1 << SMCTRL2_CLK_SEL_SHIFT)  /* EXT_CLK is used as the clock for the local prescaler and counter. */
 #  define SMCTRL2_CLK_SEL_AUX_CLK            (2 << SMCTRL2_CLK_SEL_SHIFT)  /* Submodule 0’s clock (AUX_CLK) is used as the source clock for the local prescaler and counter. */
+
 #define SMCTRL2_RELOAD_SEL                   (1 << 2)   /* Bit: 2  Reload Source Select */
 #  define SMCTRL2_RELOAD_SEL_LOCAL           (0 << 2)   /* Reload Source is local */
 #  define SMCTRL2_RELOAD_SEL_SM0             (1 << 2)   /* Reload Source is submodule 0 */
@@ -1037,6 +1039,7 @@
 #  define SMCTRL2_FORCE_SEL_SM0_SYNC         (5 << SMCTRL2_FORCE_SEL_SHIFT)  /* The master sync signal from submodule0 is used to force updates. */
 #  define SMCTRL2_FORCE_SEL_EXT_FORCE        (6 << SMCTRL2_FORCE_SEL_SHIFT)  /* The external force signal, EXT_FORCE, from outside the PWM module causes updates. */
 #  define SMCTRL2_FORCE_SEL_EXT_SYNC         (7 << SMCTRL2_FORCE_SEL_SHIFT)  /* The external sync signal, EXT_SYNC, from outside the PWM module causes updates */
+
 #define SMCTRL2_FORCE                        (1 << 6)   /* Bit: 6  Force Initialization */
 #define SMCTRL2_FRCEN                        (1 << 7)   /* Bit: 7  FRCEN */
 #define SMCTRL2_INIT_SEL_SHIFT               (8)        /* Bits: 8-9  Initialization Control Select */
@@ -1046,6 +1049,7 @@
 #  define SMCTRL2_INIT_SEL_SM0               (1 << SMCTRL2_INIT_SEL_SHIFT)  /* Master reload from submodule 0 causes initialization. */
 #  define SMCTRL2_INIT_SEL_SM0_SYNC          (2 << SMCTRL2_INIT_SEL_SHIFT)  /* Master sync from submodule 0 causes initialization. */
 #  define SMCTRL2_INIT_SEL_EXT_SYNC          (3 << SMCTRL2_INIT_SEL_SHIFT)  /* EXT_SYNC causes initialization. */
+
 #define SMCTRL2_PWMX_INIT                    (1 << 10)  /* Bit: 10 PWM_X Initial Value */
 #define SMCTRL2_PWM45_INIT                   (1 << 11)  /* Bit: 11 PWM45 Initial Value */
 #define SMCTRL2_PWM23_INIT                   (1 << 12)  /* Bit: 12 PWM23 Initial Value */
@@ -1070,12 +1074,14 @@
 #  define SMCTRL_PRSC_DIV32                  (5 << SMCTRL_PRSC_SHIFT)  /* PWM clock frequency = fclk/32 */
 #  define SMCTRL_PRSC_DIV64                  (6 << SMCTRL_PRSC_SHIFT)  /* PWM clock frequency = fclk/64 */
 #  define SMCTRL_PRSC_DIV128                 (7 << SMCTRL_PRSC_SHIFT)  /* PWM clock frequency = fclk/128*/
+
 #define SMCTRL_COMPMODE                      (1 << 7)   /* Bit: 7  Compare Mode */
 #define SMCTRL_DT_SHIFT                      (8)        /* Bits: 8-9  Deadtime */
 #define SMCTRL_DT_MASK                       (3 << SMCTRL_DT_SHIFT)
 #  define SMCTRL_DT(n)                       ((uint32_t)(n) << SMCTRL_DT_SHIFT)
 #  define SMCTRL_DT0                         (1 << SMCTRL_DT_SHIFT)  /* Read Only. These read only bits reflect the sampled values of the PWM_X input */
 #  define SMCTRL_DT1                         (2 << SMCTRL_DT_SHIFT)  /* Sampling occurs at the end of deadtime 0 for DT[0] and the end of deadtime 1 for DT[1]. */
+
 #define SMCTRL_FULL                          (1 << 10)  /* Bit: 10 Full Cycle Reload */
 #define SMCTRL_HALF                          (1 << 11)  /* Bit: 11 Half Cycle Reload */
 #define SMCTRL_LDFQ_SHIFT                    (12)       /* Bits: 12-15  Load Frequency */
@@ -1091,12 +1097,12 @@
 #  define SMCTRL_LDFQ_EVERY8                 (7 << SMCTRL_LDFQ_SHIFT)   /* Every 8 PWM opportunities */
 #  define SMCTRL_LDFQ_EVERY9                 (8 << SMCTRL_LDFQ_SHIFT)   /* Every 9 PWM opportunities */
 #  define SMCTRL_LDFQ_EVERY10                (9 << SMCTRL_LDFQ_SHIFT)   /* Every 10 PWM opportunities */
-#  define SMCTRL_LDFQ_EVERY11                (10 << SMCTRL_LDFQ_SHIFT)  /* Every 11 PWM opportunities  */
-#  define SMCTRL_LDFQ_EVERY12                (11 << SMCTRL_LDFQ_SHIFT)  /* Every 12 PWM opportunities  */
-#  define SMCTRL_LDFQ_EVERY13                (12 << SMCTRL_LDFQ_SHIFT)  /* Every 13 PWM opportunities  */
-#  define SMCTRL_LDFQ_EVERY14                (13 << SMCTRL_LDFQ_SHIFT)  /* Every 14 PWM opportunities  */
-#  define SMCTRL_LDFQ_EVERY15                (14 << SMCTRL_LDFQ_SHIFT)  /* Every 15 PWM opportunities  */
-#  define SMCTRL_LDFQ_EVERY16                (0xf << SMCTRL_LDFQ_SHIFT)  /* Every 16 PWM opportunities */
+#  define SMCTRL_LDFQ_EVERY11                (10 << SMCTRL_LDFQ_SHIFT)  /* Every 11 PWM opportunities */
+#  define SMCTRL_LDFQ_EVERY12                (11 << SMCTRL_LDFQ_SHIFT)  /* Every 12 PWM opportunities */
+#  define SMCTRL_LDFQ_EVERY13                (12 << SMCTRL_LDFQ_SHIFT)  /* Every 13 PWM opportunities */
+#  define SMCTRL_LDFQ_EVERY14                (13 << SMCTRL_LDFQ_SHIFT)  /* Every 14 PWM opportunities */
+#  define SMCTRL_LDFQ_EVERY15                (14 << SMCTRL_LDFQ_SHIFT)  /* Every 15 PWM opportunities */
+#  define SMCTRL_LDFQ_EVERY16                (0xf << SMCTRL_LDFQ_SHIFT) /* Every 16 PWM opportunities */
 
 /* Fractional Value Register 1 */
 
@@ -1148,19 +1154,23 @@
 #  define SMOCTRL_PWMXFS_0                   (0 << SMOCTRL_PWMXFS_SHIFT)  /* Output is forced to logic 0 state prior to consideration of output polarity control. */
 #  define SMOCTRL_PWMXFS_1                   (1 << SMOCTRL_PWMXFS_SHIFT)  /* Output is forced to logic 1 state prior to consideration of output polarity control. */
 #  define SMOCTRL_PWMXFS_TRISTATE            (2 << SMOCTRL_PWMXFS_SHIFT)  /* Output is tristated. */
+
 #define SMOCTRL_PWMBFS_SHIFT                 (2)        /* Bits: 2-3  PWM_B Fault State */
 #define SMOCTRL_PWMBFS_MASK                  (3 << SMOCTRL_PWMBFS_SHIFT)
 #  define SMOCTRL_PWMBFS(n)                  ((uint32_t)(n) << SMOCTRL_PWMBFS_SHIFT)
 #  define SMOCTRL_PWMBFS_0                   (0 << SMOCTRL_PWMBFS_SHIFT)  /* Output is forced to logic 0 state prior to consideration of output polarity control. */
 #  define SMOCTRL_PWMBFS_1                   (1 << SMOCTRL_PWMBFS_SHIFT)  /* Output is forced to logic 1 state prior to consideration of output polarity control. */
 #  define SMOCTRL_PWMBFS_TRISTATE            (2 << SMOCTRL_PWMBFS_SHIFT)  /* Output is tristated. */
+
 #define SMOCTRL_PWMAFS_SHIFT                 (4)        /* Bits: 4-5  PWM_A Fault State */
 #define SMOCTRL_PWMAFS_MASK                  (3 << SMOCTRL_PWMAFS_SHIFT)
 #  define SMOCTRL_PWMAFS(n)                  ((uint32_t)(n) << SMOCTRL_PWMAFS_SHIFT)
 #  define SMOCTRL_PWMAFS_0                   (0 << SMOCTRL_PWMAFS_SHIFT)  /* Output is forced to logic 0 state prior to consideration of output polarity control. */
 #  define SMOCTRL_PWMAFS_1                   (1 << SMOCTRL_PWMAFS_SHIFT)  /* Output is forced to logic 1 state prior to consideration of output polarity control. */
 #  define SMOCTRL_PWMAFS_TRISTATE            (2 << SMOCTRL_PWMAFS_SHIFT)  /* Output is tristated. */
-                                                        /* Bits: 6-7 Reserved */
+
+                                                    /* Bits: 6-7 Reserved */
+
 #define SMOCTRL_POLX                         (1 << 8)   /* Bit: 8  PWM_X Output Polarity */
 #define SMOCTRL_POLB                         (1 << 9)   /* Bit: 9  PWM_B Output Polarity */
 #define SMOCTRL_POLA                         (1 << 10)  /* Bit: 10 PWM_A Output Polarity */
@@ -1180,6 +1190,7 @@
 #  define SMSTS_CMPF_VAL3                    (8 << SMSTS_CMPF_SHIFT)   /* A compare event has occurred for VAL3 value */
 #  define SMSTS_CMPF_VAL4                    (16 << SMSTS_CMPF_SHIFT)  /* A compare event has occurred for VAL4 value */
 #  define SMSTS_CMPF_VAL5                    (32 << SMSTS_CMPF_SHIFT)  /* A compare event has occurred for VAL5 value */
+
 #define SMSTS_CFX0                           (1 << 6)   /* Bit: 6  Capture Flag X0 */
 #define SMSTS_CFX1                           (1 << 7)   /* Bit: 7  Capture Flag X1 */
 #define SMSTS_CFB0                           (1 << 8)   /* Bit: 8  Capture Flag B0 */
@@ -1188,8 +1199,10 @@
 #define SMSTS_CFA1                           (1 << 11)  /* Bit: 11 Capture Flag A1 */
 #define SMSTS_RF                             (1 << 12)  /* Bit: 12 Reload Flag */
 #define SMSTS_REF                            (1 << 13)  /* Bit: 13 Reload Error Flag */
-#define SMSTS_RUF                            (1 << 14)  /* Bit: 14 This read-only flag is set when one of the INIT, VALx,FRACVALx, or CTRL[PRSC] is written */
-                                                        /* Bit: 15 Reserved */
+#define SMSTS_RUF                            (1 << 14)  /* Bit: 14 This read-only flag is set when one of the INIT,
+                                                         * VALx,FRACVALx, or CTRL[PRSC] is written */
+
+                                                    /* Bit: 15 Reserved */
 
 /* Interrupt Enable Register */
 
@@ -1200,8 +1213,9 @@
 #  define SMINTEN_CMPIE_VAL1                 (2 << SMINTEN_CMPIE_SHIFT)  /* A compare event for VAL1 value will generate an interrupt */
 #  define SMINTEN_CMPIE_VAL2                 (4 << SMINTEN_CMPIE_SHIFT)  /* A compare event for VAL2 value will generate an interrupt */
 #  define SMINTEN_CMPIE_VAL3                 (8 << SMINTEN_CMPIE_SHIFT)  /* A compare event for VAL3 value will generate an interrupt */
-#  define SMINTEN_CMPIE_VAL4                 (16 << SMINTEN_CMPIE_SHIFT)  /* A compare event for VAL4 value will generate an interrupt  */
-#  define SMINTEN_CMPIE_VAL5                 (32 << SMINTEN_CMPIE_SHIFT)  /* A compare event for VAL5 value will generate an interrupt  */
+#  define SMINTEN_CMPIE_VAL4                 (16 << SMINTEN_CMPIE_SHIFT) /* A compare event for VAL4 value will generate an interrupt  */
+#  define SMINTEN_CMPIE_VAL5                 (32 << SMINTEN_CMPIE_SHIFT) /* A compare event for VAL5 value will generate an interrupt  */
+
 #define SMINTEN_CX0IE                        (1 << 6)   /* Bit: 6  Capture X 0 Interrupt Enable */
 #define SMINTEN_CX1IE                        (1 << 7)   /* Bit: 7  Capture X 1 Interrupt Enable */
 #define SMINTEN_CB0IE                        (1 << 8)   /* Bit: 8  Capture B 0 Interrupt Enable */
@@ -1210,7 +1224,8 @@
 #define SMINTEN_CA1IE                        (1 << 11)  /* Bit: 11 Capture A 1 Interrupt Enable */
 #define SMINTEN_RIE                          (1 << 12)  /* Bit: 12 Reload Interrupt Enable */
 #define SMINTEN_REIE                         (1 << 13)  /* Bit: 13 Reload Error Interrupt Enable */
-                                                        /* Bits: 14-15 Reserved */
+
+                                                    /* Bits: 14-15 Reserved */
 
 /* DMA Enable Register */
 
@@ -1227,9 +1242,11 @@
 #  define SMDMAEN_CAPTDE_WMT                 (1 << SMDMAEN_CAPTDE_SHIFT)  /* Exceeding a FIFO watermark sets the DMA read request. */
 #  define SMDMAEN_CAPTDE_SYNC                (2 << SMDMAEN_CAPTDE_SHIFT)  /* A local sync (VAL1 matches counter) sets the read DMA request. */
 #  define SMDMAEN_CAPTDE_RELOAD              (3 << SMDMAEN_CAPTDE_SHIFT)  /* A local reload (STS[RF] being set) sets the read DMA request. */
+
 #define SMDMAEN_FAND                         (1 << 8)   /* Bit: 8  FIFO Watermark AND Control */
 #define SMDMAEN_VALDE                        (1 << 9)   /* Bit: 9  Value Registers DMA Enable */
-                                                        /* Bits: 10-15 Reserved */
+
+                                                    /* Bits: 10-15 Reserved */
 
 /* Output Trigger Control Register */
 
@@ -1242,7 +1259,9 @@
 #  define SMT_OUT_TRIG_EN_VAL3               (8 << SMT_OUT_TRIG_EN_SHIFT)   /* PWM_OUT_TRIGx will set when the counter value matches the VAL3 value */
 #  define SMT_OUT_TRIG_EN_VAL4               (16 << SMT_OUT_TRIG_EN_SHIFT)  /* PWM_OUT_TRIGx will set when the counter value matches the VAL4 value */
 #  define SMT_OUT_TRIG_EN_VAL5               (32 << SMT_OUT_TRIG_EN_SHIFT)  /* PWM_OUT_TRIGx will set when the counter value matches the VAL5 value */
-                                                        /* Bits: 6-11 Reserved */
+
+                                                     /* Bits: 6-11 Reserved */
+
 #define SMT_TRGFRQ                           (1 << 12)  /* Bit: 12 Trigger frequency */
                                                         /* Bit: 13 Reserved */
 #define SMT_PWBOT1                           (1 << 14)  /* Bit: 14 Output Trigger 1 Source Select */
@@ -1261,6 +1280,7 @@
 #  define SMD_DIS0A_FAULT1                   (2 << SMD_DIS0A_SHIFT)  /* FAULT1 inputs of fault channel 0. */
 #  define SMD_DIS0A_FAULT2                   (4 << SMD_DIS0A_SHIFT)  /* FAULT2 inputs of fault channel 0. */
 #  define SMD_DIS0A_FAULT3                   (8 << SMD_DIS0A_SHIFT)  /* FAULT3 inputs of fault channel 0. */
+
 #define SMD_DIS0B_SHIFT                      (4)        /* Bits: 4-7  PWM_B Fault Disable Mask 0 */
 #define SMD_DIS0B_MASK                       (0xf << SMD_DIS0B_SHIFT)
 #  define SMD_DIS0B(n)                       ((uint32_t)(n) << SMD_DIS0B_SHIFT)
@@ -1268,6 +1288,7 @@
 #  define SMD_DIS0B_FAULT1                   (2 << SMD_DIS0B_SHIFT)  /* FAULT1 inputs of fault channel 0. */
 #  define SMD_DIS0B_FAULT2                   (4 << SMD_DIS0B_SHIFT)  /* FAULT2 inputs of fault channel 0. */
 #  define SMD_DIS0B_FAULT3                   (8 << SMD_DIS0B_SHIFT)  /* FAULT3 inputs of fault channel 0. */
+
 #define SMD_DIS0X_SHIFT                      (8)        /* Bits: 8-11  PWM_X Fault Disable Mask 0 */
 #define SMD_DIS0X_MASK                       (0xf << SMD_DIS0X_SHIFT)
 #  define SMD_DIS0X(n)                       ((uint32_t)(n) << SMD_DIS0X_SHIFT)
@@ -1275,7 +1296,8 @@
 #  define SMD_DIS0X_FAULT1                   (2 << SMD_DIS0X_SHIFT)  /* FAULT1 inputs of fault channel 0. */
 #  define SMD_DIS0X_FAULT2                   (4 << SMD_DIS0X_SHIFT)  /* FAULT2 inputs of fault channel 0. */
 #  define SMD_DIS0X_FAULT3                   (8 << SMD_DIS0X_SHIFT)  /* FAULT3 inputs of fault channel 0. */
-                                                        /* Bits: 12-15 Reserved */
+
+                                                    /* Bits: 12-15 Reserved */
 
 /* Fault Disable Mapping Register 1 */
 
@@ -1286,6 +1308,7 @@
 #  define SMD_DIS1A_FAULT1                   (2 << SMD_DIS1A_SHIFT)  /* FAULT1 inputs of fault channel 1. */
 #  define SMD_DIS1A_FAULT2                   (4 << SMD_DIS1A_SHIFT)  /* FAULT2 inputs of fault channel 1. */
 #  define SMD_DIS1A_FAULT3                   (8 << SMD_DIS1A_SHIFT)  /* FAULT3 inputs of fault channel 1. */
+
 #define SMD_DIS1B_SHIFT                      (4)        /* Bits: 4-7  PWM_B Fault Disable Mask 1 */
 #define SMD_DIS1B_MASK                       (0xf << SMD_DIS1B_SHIFT)
 #  define SMD_DIS1B(n)                       ((uint32_t)(n) << SMD_DIS1B_SHIFT)
@@ -1293,6 +1316,7 @@
 #  define SMD_DIS1B_FAULT1                   (2 << SMD_DIS1B_SHIFT)  /* FAULT1 inputs of fault channel 1. */
 #  define SMD_DIS1B_FAULT2                   (4 << SMD_DIS1B_SHIFT)  /* FAULT2 inputs of fault channel 1. */
 #  define SMD_DIS1B_FAULT3                   (8 << SMD_DIS1B_SHIFT)  /* FAULT3 inputs of fault channel 1. */
+
 #define SMD_DIS1X_SHIFT                      (8)        /* Bits: 8-11  PWM_X Fault Disable Mask 1 */
 #define SMD_DIS1X_MASK                       (0xf << SMD_DIS1X_SHIFT)
 #  define SMD_DIS1X(n)                       ((uint32_t)(n) << SMD_DIS1X_SHIFT)
@@ -1300,7 +1324,8 @@
 #  define SMD_DIS1X_FAULT1                   (2 << SMD_DIS1X_SHIFT)  /* FAULT1 inputs of fault channel 1. */
 #  define SMD_DIS1X_FAULT2                   (4 << SMD_DIS1X_SHIFT)  /* FAULT2 inputs of fault channel 1. */
 #  define SMD_DIS1X_FAULT3                   (8 << SMD_DIS1X_SHIFT)  /* FAULT3 inputs of fault channel 1. */
-                                                        /* Bits: 12-15 Reserved */
+
+                                                    /* Bits: 12-15 Reserved */
 
 /* Capture Control A Register */
 
@@ -1313,6 +1338,7 @@
 #  define SMC_EDGA0_FALLING                  (1 << SMC_EDGA0_SHIFT)  /* Capture falling edges */
 #  define SMC_EDGA0_RISING                   (2 << SMC_EDGA0_SHIFT)  /* Capture rising edges */
 #  define SMC_EDGA0_BOTH                     (3 << SMC_EDGA0_SHIFT)  /* Capture any edge */
+
 #define SMC_EDGA1_SHIFT                      (4)        /* Bits: 4-5  Edge A 1 */
 #define SMC_EDGA1_MASK                       (3 << SMC_EDGA1_SHIFT)
 #  define SMC_EDGA1(n)                       ((uint32_t)(n) << SMC_EDGA1_SHIFT)
@@ -1320,6 +1346,7 @@
 #  define SMC_EDGA1_FALLING                  (1 << SMC_EDGA1_SHIFT)  /* Capture falling edges */
 #  define SMC_EDGA1_RISING                   (2 << SMC_EDGA1_SHIFT)  /* Capture rising edges */
 #  define SMC_EDGA1_BOTH                     (3 << SMC_EDGA1_SHIFT)  /* Capture any edge */
+
 #define SMC_INP_SELA                         (1 << 6)   /* Bit: 6  Input Select A */
 #define SMC_EDGCNTA_EN                       (1 << 7)   /* Bit: 7  Edge Counter A Enable */
 #define SMC_CFAWM_SHIFT                      (8)        /* Bits: 8-9  Capture A FIFOs Water Mark */
@@ -1329,6 +1356,7 @@
 #  define SMC_CFAWM_2                        (1 << SMC_CFAWM_SHIFT)  /* Water mark level of 2 for capture A FIFOs */
 #  define SMC_CFAWM_3                        (2 << SMC_CFAWM_SHIFT)  /* Water mark level of 3 for capture A FIFOs */
 #  define SMC_CFAWM_4                        (3 << SMC_CFAWM_SHIFT)  /* Water mark level of 4 for capture A FIFOs */
+
 #define SMC_CA0CNT_SHIFT                     (10)       /* Bits: 10-12  Capture A0 FIFO Word Count */
 #define SMC_CA0CNT_MASK                      (7 << SMC_CA0CNT_SHIFT)
 #  define SMC_CA0CNT(n)                      ((uint32_t)(n) << SMC_CA0CNT_SHIFT)
@@ -1340,6 +1368,7 @@
 #  define SMC_CA0CNT_05                      (5 << SMC_CA0CNT_SHIFT)  /* 5 words in the Capture A0 FIFO. */
 #  define SMC_CA0CNT_06                      (6 << SMC_CA0CNT_SHIFT)  /* 6 words in the Capture A0 FIFO. */
 #  define SMC_CA0CNT_07                      (7 << SMC_CA0CNT_SHIFT)  /* 7 words in the Capture A0 FIFO. */
+
 #define SMC_CA1CNT_SHIFT                     (13)       /* Bits: 13-15  Capture A1 FIFO Word Count */
 #define SMC_CA1CNT_MASK                      (7 << SMC_CA1CNT_SHIFT)
 #  define SMC_CA1CNT(n)                      ((uint32_t)(n) << SMC_CA1CNT_SHIFT)
@@ -1372,6 +1401,7 @@
 #  define SMC_EDGB0_FALLING                  (1 << SMC_EDGB0_SHIFT)  /* Capture falling edges */
 #  define SMC_EDGB0_RISING                   (2 << SMC_EDGB0_SHIFT)  /* Capture rising edges */
 #  define SMC_EDGB0_BOTH                     (3 << SMC_EDGB0_SHIFT)  /* Capture any edge */
+
 #define SMC_EDGB1_SHIFT                      (4)        /* Bits: 4-5  Edge B 1 */
 #define SMC_EDGB1_MASK                       (3 << SMC_EDGB1_SHIFT)
 #  define SMC_EDGB1(n)                       ((uint32_t)(n) << SMC_EDGB1_SHIFT)
@@ -1379,6 +1409,7 @@
 #  define SMC_EDGB1_FALLING                  (1 << SMC_EDGB1_SHIFT)  /* Capture falling edges */
 #  define SMC_EDGB1_RISING                   (2 << SMC_EDGB1_SHIFT)  /* Capture rising edges */
 #  define SMC_EDGB1_BOTH                     (3 << SMC_EDGB1_SHIFT)  /* Capture any edge */
+
 #define SMC_INP_SELB                         (1 << 6)   /* Bit: 6  Input Select B */
 #define SMC_EDGCNTB_EN                       (1 << 7)   /* Bit: 7  Edge Counter B Enable */
 #define SMC_CFBWM_SHIFT                      (8)        /* Bits: 8-9  Capture B FIFOs Water Mark */
@@ -1388,6 +1419,7 @@
 #  define SMC_CFBWM_1                        (1 << SMC_CFBWM_SHIFT)  /* Water mark level of 2 for capture B FIFOs */
 #  define SMC_CFBWM_2                        (2 << SMC_CFBWM_SHIFT)  /* Water mark level of 3 for capture B FIFOs */
 #  define SMC_CFBWM_3                        (3 << SMC_CFBWM_SHIFT)  /* Water mark level of 4 for capture B FIFOs */
+
 #define SMC_CB0CNT_SHIFT                     (10)       /* Bits: 10-12  Capture B0 FIFO Word Count */
 #define SMC_CB0CNT_MASK                      (7 << SMC_CB0CNT_SHIFT)
 #  define SMC_CB0CNT(n)                      ((uint32_t)(n) << SMC_CB0CNT_SHIFT)
@@ -1399,6 +1431,7 @@
 #  define SMC_CB0CNT_05                      (5 << SMC_CB0CNT_SHIFT)  /* 5 words in the Capture B0 FIFO. */
 #  define SMC_CB0CNT_06                      (6 << SMC_CB0CNT_SHIFT)  /* 6 words in the Capture B0 FIFO. */
 #  define SMC_CB0CNT_07                      (7 << SMC_CB0CNT_SHIFT)  /* 7 words in the Capture B0 FIFO. */
+
 #define SMC_CB1CNT_SHIFT                     (13)       /* Bits: 13-15  Capture B1 FIFO Word Count */
 #define SMC_CB1CNT_MASK                      (7 << SMC_CB1CNT_SHIFT)
 #  define SMC_CB1CNT(n)                      ((uint32_t)(n) << SMC_CB1CNT_SHIFT)
@@ -1431,6 +1464,7 @@
 #  define SMC_EDGX0_FALLING                  (1 << SMC_EDGX0_SHIFT)  /* Capture falling edges */
 #  define SMC_EDGX0_RISING                   (2 << SMC_EDGX0_SHIFT)  /* Capture rising edges */
 #  define SMC_EDGX0_BOTH                     (3 << SMC_EDGX0_SHIFT)  /* Capture any edge */
+
 #define SMC_EDGX1_SHIFT                      (4)        /* Bits: 4-5  Edge X 1 */
 #define SMC_EDGX1_MASK                       (3 << SMC_EDGX1_SHIFT)
 #  define SMC_EDGX1(n)                       ((uint32_t)(n) << SMC_EDGX1_SHIFT)
@@ -1438,6 +1472,7 @@
 #  define SMC_EDGX1_FALLING                  (1 << SMC_EDGX1_SHIFT)  /* Capture falling edges */
 #  define SMC_EDGX1_RISING                   (2 << SMC_EDGX1_SHIFT)  /* Capture rising edges */
 #  define SMC_EDGX1_BOTH                     (3 << SMC_EDGX1_SHIFT)  /* Capture any edge */
+
 #define SMC_INP_SELX                         (1 << 6)   /* Bit: 6  Input Select X */
 #define SMC_EDGCNTX_EN                       (1 << 7)   /* Bit: 7  Edge Counter X Enable */
 #define SMC_CFXWM_SHIFT                      (8)        /* Bits: 8-9  Capture X FIFOs Water Mark */
@@ -1447,6 +1482,7 @@
 #  define SMC_CFXWM_2                        (1 << SMC_CFXWM_SHIFT)  /* Water mark level of 2 for capture X FIFOs */
 #  define SMC_CFXWM_3                        (2 << SMC_CFXWM_SHIFT)  /* Water mark level of 3 for capture X FIFOs */
 #  define SMC_CFXWM_4                        (3 << SMC_CFXWM_SHIFT)  /* Water mark level of 4 for capture X FIFOs */
+
 #define SMC_CX0CNT_SHIFT                     (10)       /* Bits: 10-12  Capture X0 FIFO Word Count */
 #define SMC_CX0CNT_MASK                      (7 << SMC_CX0CNT_SHIFT)
 #  define SMC_CX0CNT(n)                      ((uint32_t)(n) << SMC_CX0CNT_SHIFT)
@@ -1458,6 +1494,7 @@
 #  define SMC_CX0CNT_05                      (5 << SMC_CX0CNT_SHIFT)  /* 5 words in the Capture X0 FIFO. */
 #  define SMC_CX0CNT_06                      (6 << SMC_CX0CNT_SHIFT)  /* 6 words in the Capture X0 FIFO. */
 #  define SMC_CX0CNT_07                      (7 << SMC_CX0CNT_SHIFT)  /* 7 words in the Capture X0 FIFO. */
+
 #define SMC_CX1CNT_SHIFT                     (13)       /* Bits: 13-15  Capture X1 FIFO Word Count */
 #define SMC_CX1CNT_MASK                      (7 << SMC_CX1CNT_SHIFT)
 #  define SMC_CX1CNT(n)                      ((uint32_t)(n) << SMC_CX1CNT_SHIFT)
@@ -1525,7 +1562,9 @@
 #  define OUTEN_PWMX_EN_SM1                  (2 << OUTEN_PWMX_EN_SHIFT)  /* Enable the PWM_X outputs of submodules 1 */
 #  define OUTEN_PWMX_EN_SM2                  (4 << OUTEN_PWMX_EN_SHIFT)  /* Enable the PWM_X outputs of submodules 2 */
 #  define OUTEN_PWMX_EN_SM3                  (8 << OUTEN_PWMX_EN_SHIFT)  /* Enable the PWM_X outputs of submodules 3 */
+
 #  define OUTEN_PWMX_EN_ALL                  (0xf << OUTEN_PWMX_EN_SHIFT)  /* All enabled */
+
 #define OUTEN_PWMB_EN_SHIFT                  (4)        /* Bits: 4-7  PWM_B Output Enables */
 #define OUTEN_PWMB_EN_MASK                   (0xf << OUTEN_PWMB_EN_SHIFT)
 #  define OUTEN_PWMB_EN(n)                   ((uint32_t)(n) << OUTEN_PWMB_EN_SHIFT)
@@ -1534,7 +1573,9 @@
 #  define OUTEN_PWMB_EN_SM1                  (2 << OUTEN_PWMB_EN_SHIFT)  /* Enable the PWM_B outputs of submodules 1 */
 #  define OUTEN_PWMB_EN_SM2                  (4 << OUTEN_PWMB_EN_SHIFT)  /* Enable the PWM_B outputs of submodules 2 */
 #  define OUTEN_PWMB_EN_SM3                  (8 << OUTEN_PWMB_EN_SHIFT)  /* Enable the PWM_B outputs of submodules 3 */
+
 #  define OUTEN_PWMB_EN_ALL                  (0xf << OUTEN_PWMB_EN_SHIFT)  /* All enabled */
+
 #define OUTEN_PWMA_EN_SHIFT                  (8)        /* Bits: 8-11  PWM_A Output Enables */
 #define OUTEN_PWMA_EN_MASK                   (0xf << OUTEN_PWMA_EN_SHIFT)
 #  define OUTEN_PWMA_EN(n)                   ((uint32_t)(n) << OUTEN_PWMA_EN_SHIFT)
@@ -1543,8 +1584,10 @@
 #  define OUTEN_PWMA_EN_SM1                  (2 << OUTEN_PWMA_EN_SHIFT)  /* Enable the PWM_A outputs of submodules 1 */
 #  define OUTEN_PWMA_EN_SM2                  (4 << OUTEN_PWMA_EN_SHIFT)  /* Enable the PWM_A outputs of submodules 2 */
 #  define OUTEN_PWMA_EN_SM3                  (8 << OUTEN_PWMA_EN_SHIFT)  /* Enable the PWM_A outputs of submodules 3 */
+
 #  define OUTEN_PWMA_EN_ALL                  (0xf << OUTEN_PWMA_EN_SHIFT)  /* All enabled */
-                                                        /* Bits: 12-15 Reserved */
+
+                                                    /* Bits: 12-15 Reserved */
 
 /* Mask Register */
 
@@ -1555,6 +1598,7 @@
 #  define MASK_MASKX_SM1                     (2 << MASK_MASKX_SHIFT)  /* Mask the PWM_X outputs of submodules 1 (forces output to 0) */
 #  define MASK_MASKX_SM2                     (4 << MASK_MASKX_SHIFT)  /* Mask the PWM_X outputs of submodules 2 (forces output to 0) */
 #  define MASK_MASKX_SM3                     (8 << MASK_MASKX_SHIFT)  /* Mask the PWM_X outputs of submodules 3 (forces output to 0) */
+
 #define MASK_MASKB_SHIFT                     (4)        /* Bits: 4-7  PWM_B Masks */
 #define MASK_MASKB_MASK                      (0xf << MASK_MASKB_SHIFT)
 #  define MASK_MASKB(n)                      ((uint32_t)(n) << MASK_MASKB_SHIFT)
@@ -1562,6 +1606,7 @@
 #  define MASK_MASKB_SM1                     (2 << MASK_MASKB_SHIFT)  /* Mask the PWM_B outputs of submodules 1 (forces output to 0) */
 #  define MASK_MASKB_SM2                     (4 << MASK_MASKB_SHIFT)  /* Mask the PWM_B outputs of submodules 2 (forces output to 0) */
 #  define MASK_MASKB_SM3                     (8 << MASK_MASKB_SHIFT)  /* Mask the PWM_B outputs of submodules 3 (forces output to 0) */
+
 #define MASK_MASKA_SHIFT                     (8)        /* Bits: 8-11  PWM_A Masks */
 #define MASK_MASKA_MASK                      (0xf << MASK_MASKB_SHIFT)
 #  define MASK_MASKA(n)                      ((uint32_t)(n) << MASK_MASKA_SHIFT)
@@ -1569,6 +1614,7 @@
 #  define MASK_MASKA_SM1                     (2 << MASK_MASKA_SHIFT)  /* Mask the PWM_A outputs of submodules 1 (forces output to 0) */
 #  define MASK_MASKA_SM2                     (4 << MASK_MASKA_SHIFT)  /* Mask the PWM_A outputs of submodules 2 (forces output to 0) */
 #  define MASK_MASKA_SM3                     (8 << MASK_MASKA_SHIFT)  /* Mask the PWM_A outputs of submodules 3 (forces output to 0) */
+
 #define MASK_UPDATE_MASK_SHIFT               (12)       /* Bits: 12-15  Update Mask Bits Immediately */
 #define MASK_UPDATE_MASK_MASK                (0xf << MASK_UPDATE_MASK_SHIFT)
 #  define MASK_UPDATE_MASK(n)                ((uint32_t)(n) << MASK_UPDATE_MASK_SHIFT)
@@ -1591,7 +1637,7 @@
 
 /* PWM Source Select Register */
 
-/* Register Bit Definitions *********************************************************/
+/* Register Bit Definitions *************************************************/
 
 #define DTSRCSEL_SM0SEL45_SHIFT              (0)        /* Bits: 0-1  Submodule 0 PWM45 Control Select */
 #define DTSRCSEL_SM0SEL45_MASK               (3 << DTSRCSEL_SM0SEL45_SHIFT)
@@ -1600,6 +1646,7 @@
 #  define DTSRCSEL_SM0SEL45_INVERT           (1 << DTSRCSEL_SM0SEL45_SHIFT)  /* Inverted generated SM0PWM45 signal is used by the deadtime logic. */
 #  define DTSRCSEL_SM0SEL45_SWCOUT           (2 << DTSRCSEL_SM0SEL45_SHIFT)  /* SWCOUT[SM0OUT45] is used by the deadtime logic. */
 #  define DTSRCSEL_SM0SEL45_PWM0_EXTB        (3 << DTSRCSEL_SM0SEL45_SHIFT)  /* PWM0_EXTB signal is used by the deadtime logic. */
+
 #define DTSRCSEL_SM0SEL23_SHIFT              (2)        /* Bits: 2-3  Submodule 0 PWM23 Control Select */
 #define DTSRCSEL_SM0SEL23_MASK               (3 << DTSRCSEL_SM0SEL23_SHIFT)
 #  define DTSRCSEL_SM0SEL23(n)               ((uint32_t)(n) << DTSRCSEL_SM0SEL23_SHIFT)
@@ -1607,6 +1654,7 @@
 #  define DTSRCSEL_SM0SEL23_INVERT           (1 << DTSRCSEL_SM0SEL23_SHIFT)  /* Inverted generated SM0PWM23 signal is used by the deadtime logic. */
 #  define DTSRCSEL_SM0SEL23_SWCOUT           (2 << DTSRCSEL_SM0SEL23_SHIFT)  /* SWCOUT[SM0OUT23] is used by the deadtime logic. */
 #  define DTSRCSEL_SM0SEL23_PWM0_EXTA        (3 << DTSRCSEL_SM0SEL23_SHIFT)  /* PWM0_EXTA signal is used by the deadtime logic. */
+
 #define DTSRCSEL_SM1SEL45_SHIFT              (4)        /* Bits: 4-5  Submodule 1 PWM45 Control Select */
 #define DTSRCSEL_SM1SEL45_MASK               (3 << DTSRCSEL_SM1SEL45_SHIFT)
 #  define DTSRCSEL_SM1SEL45(n)               ((uint32_t)(n) << DTSRCSEL_SM1SEL45_SHIFT)
@@ -1614,6 +1662,7 @@
 #  define DTSRCSEL_SM1SEL45_INVERT           (1 << DTSRCSEL_SM1SEL45_SHIFT)  /* Inverted generated SM1PWM45 signal is used by the deadtime logic. */
 #  define DTSRCSEL_SM1SEL45_SWCOUT           (2 << DTSRCSEL_SM1SEL45_SHIFT)  /* SWCOUT[SM1OUT45] is used by the deadtime logic. */
 #  define DTSRCSEL_SM1SEL45_PWM1_EXTB        (3 << DTSRCSEL_SM1SEL45_SHIFT)  /* PWM1_EXTB signal is used by the deadtime logic. */
+
 #define DTSRCSEL_SM1SEL23_SHIFT              (6)        /* Bits: 6-7  Submodule 1 PWM23 Control Select */
 #define DTSRCSEL_SM1SEL23_MASK               (3 << DTSRCSEL_SM1SEL23_SHIFT)
 #  define DTSRCSEL_SM1SEL23(n)               ((uint32_t)(n) << DTSRCSEL_SM1SEL23_SHIFT)
@@ -1621,6 +1670,7 @@
 #  define DTSRCSEL_SM1SEL23_INVERT           (1 << DTSRCSEL_SM1SEL23_SHIFT)  /* Inverted generated SM1PWM23 signal is used by the deadtime logic. */
 #  define DTSRCSEL_SM1SEL23_SWCOUT           (2 << DTSRCSEL_SM1SEL23_SHIFT)  /* SWCOUT[SM1OUT23] is used by the deadtime logic. */
 #  define DTSRCSEL_SM1SEL23_PWM1_EXTA        (3 << DTSRCSEL_SM1SEL23_SHIFT)  /* PWM1_EXTA signal is used by the deadtime logic */
+
 #define DTSRCSEL_SM2SEL45_SHIFT              (8)        /* Bits: 8-9  Submodule 2 PWM45 Control Select */
 #define DTSRCSEL_SM2SEL45_MASK               (3 << DTSRCSEL_SM2SEL45_SHIFT)
 #  define DTSRCSEL_SM2SEL45(n)               ((uint32_t)(n) << DTSRCSEL_SM2SEL45_SHIFT)
@@ -1628,6 +1678,7 @@
 #  define DTSRCSEL_SM2SEL45_INVERT           (1 << DTSRCSEL_SM2SEL45_SHIFT)  /* Inverted generated SM2PWM45 signal is used by the deadtime logic. */
 #  define DTSRCSEL_SM2SEL45_SWCOUT           (2 << DTSRCSEL_SM2SEL45_SHIFT)  /* SWCOUT[SM2OUT45] is used by the deadtime logic. */
 #  define DTSRCSEL_SM2SEL45_PWM2_EXTB        (3 << DTSRCSEL_SM2SEL45_SHIFT)  /* PWM2_EXTB signal is used by the deadtime logic. */
+
 #define DTSRCSEL_SM2SEL23_SHIFT              (10)       /* Bits: 10-11  Submodule 2 PWM23 Control Select */
 #define DTSRCSEL_SM2SEL23_MASK               (3 << DTSRCSEL_SM2SEL23_SHIFT)
 #  define DTSRCSEL_SM2SEL23(n)               ((uint32_t)(n) << DTSRCSEL_SM2SEL23_SHIFT)
@@ -1635,6 +1686,7 @@
 #  define DTSRCSEL_SM2SEL23_INVERT           (1 << DTSRCSEL_SM2SEL23_SHIFT)  /* Inverted generated SM2PWM23 signal is used by the deadtime logic. */
 #  define DTSRCSEL_SM2SEL23_SWCOUT           (2 << DTSRCSEL_SM2SEL23_SHIFT)  /* SWCOUT[SM2OUT23] is used by the deadtime logic. */
 #  define DTSRCSEL_SM2SEL23_PWM2_EXTA        (3 << DTSRCSEL_SM2SEL23_SHIFT)  /* PWM2_EXTA signal is used by the deadtime logic */
+
 #define DTSRCSEL_SM3SEL45_SHIFT              (12)       /* Bits: 12-13  Submodule 3 PWM45 Control Select */
 #define DTSRCSEL_SM3SEL45_MASK               (3 << DTSRCSEL_SM3SEL45_SHIFT)
 #  define DTSRCSEL_SM3SEL45(n)               ((uint32_t)(n) << DTSRCSEL_SM3SEL45_SHIFT)
@@ -1642,6 +1694,7 @@
 #  define DTSRCSEL_SM3SEL45_INVERT           (1 << DTSRCSEL_SM3SEL45_SHIFT)  /* Inverted generated SM3PWM45 signal is used by the deadtime logic. */
 #  define DTSRCSEL_SM3SEL45_SWCOUT           (2 << DTSRCSEL_SM3SEL45_SHIFT)  /* SWCOUT[SM3OUT45] is used by the deadtime logic. */
 #  define DTSRCSEL_SM3SEL45_PWM3_EXTB        (3 << DTSRCSEL_SM3SEL45_SHIFT)  /* PWM3_EXTB signal is used by the deadtime logic. */
+
 #define DTSRCSEL_SM3SEL23_SHIFT              (14)       /* Bits: 14-15  Submodule 3 PWM23 Control Select */
 #define DTSRCSEL_SM3SEL23_MASK               (3 << DTSRCSEL_SM3SEL23_SHIFT)
 #  define DTSRCSEL_SM3SEL23(n)               ((uint32_t)(n) << DTSRCSEL_SM3SEL23_SHIFT)
@@ -1659,6 +1712,7 @@
 #  define MCTRL_LDOK_SM1                     (2 << MCTRL_LDOK_SHIFT)  /* Load prescaler, modulus, and PWM values of submodule 1 */
 #  define MCTRL_LDOK_SM2                     (4 << MCTRL_LDOK_SHIFT)  /* Load prescaler, modulus, and PWM values of submodule 2 */
 #  define MCTRL_LDOK_SM3                     (8 << MCTRL_LDOK_SHIFT)  /* Load prescaler, modulus, and PWM values of submodule 3 */
+
 #define MCTRL_CLDOK_SHIFT                    (4)        /* Bits: 4-7  Clear Load Okay */
 #define MCTRL_CLDOK_MASK                     (15 << MCTRL_CLDOK_SHIFT)
 #  define MCTRL_CLDOK(n)                     ((uint32_t)(n) << MCTRL_CLDOK_SHIFT)
@@ -1666,6 +1720,7 @@
 #  define MCTRL_CLDOK_SM1                    (2 << MCTRL_CLDOK_SHIFT)  /* Clear Load Okay of submodule 1 */
 #  define MCTRL_CLDOK_SM2                    (4 << MCTRL_CLDOK_SHIFT)  /* Clear Load Okay of submodule 2 */
 #  define MCTRL_CLDOK_SM3                    (8 << MCTRL_CLDOK_SHIFT)  /* Clear Load Okay of submodule 3 */
+
 #define MCTRL_RUN_SHIFT                      (8)        /* Bits: 8-11  Run */
 #define MCTRL_RUN_MASK                       (15 << MCTRL_RUN_SHIFT)
 #  define MCTRL_RUN(n)                       ((uint32_t)(n) << MCTRL_RUN_SHIFT)
@@ -1673,6 +1728,7 @@
 #  define MCTRL_RUN_SM1                      (2 << MCTRL_RUN_SHIFT)  /* Enable PWM generator of submodules 1 */
 #  define MCTRL_RUN_SM2                      (4 << MCTRL_RUN_SHIFT)  /* Enable PWM generator of submodules 2 */
 #  define MCTRL_RUN_SM3                      (8 << MCTRL_RUN_SHIFT)  /* Enable PWM generator of submodules 3 */
+
 #define MCTRL_IPOL_SHIFT                     (12)       /* Bits: 12-15  Current Polarity */
 #define MCTRL_IPOL_MASK                      (15 << MCTRL_IPOL_SHIFT)
 #  define MCTRL_IPOL(n)                      ((uint32_t)(n) << MCTRL_IPOL_SHIFT)
@@ -1683,7 +1739,7 @@
 
 /* Master Control 2 Register */
 
-/* Register Bit Definitions *********************************************************/
+/* Register Bit Definitions *************************************************/
 
 #define MCTRL2_MONPLL_SHIFT                  (0)        /* Bits: 0-1  Monitor PLL State */
 #define MCTRL2_MONPLL_MASK                   (3 << MCTRL2_MONPLL_SHIFT)
@@ -1703,6 +1759,7 @@
 #  define FCTRL_FIE_FAULT1                   (2 << FCTRL_FIE_SHIFT)  /* FAULT1 Safe mode. PWM outputs disabled by this fault */
 #  define FCTRL_FIE_FAULT2                   (4 << FCTRL_FIE_SHIFT)  /* FAULT2 Safe mode. PWM outputs disabled by this fault */
 #  define FCTRL_FIE_FAULT3                   (8 << FCTRL_FIE_SHIFT)  /* FAULT3 Safe mode. PWM outputs disabled by this fault */
+
 #define FCTRL0_FSAFE_SHIFT                   (4)        /* Bits: 4-7  Fault Safety Mode */
 #define FCTRL0_FSAFE_MASK                    (15 << FCTRL0_FSAFE_SHIFT)
 #  define FCTRL0_FSAFE(n)                    ((uint32_t)(n) << FCTRL0_FSAFE_SHIFT)
@@ -1711,6 +1768,7 @@
 #  define FCTRL0_FSAFE_FAULT1                (2 << FCTRL0_FSAFE_SHIFT)  /* FAULT1 CPU interrupt requests enabled */
 #  define FCTRL0_FSAFE_FAULT2                (4 << FCTRL0_FSAFE_SHIFT)  /* FAULT2 CPU interrupt requests enabled */
 #  define FCTRL0_FSAFE_FAULT3                (8 << FCTRL0_FSAFE_SHIFT)  /* FAULT3 CPU interrupt requests enabled */
+
 #define FCTRL0_FAUTO_SHIFT                   (8)        /* Bits: 8-11  Automatic Fault Clearing */
 #define FCTRL0_FAUTO_MASK                    (15 << FCTRL0_FAUTO_SHIFT)
 #  define FCTRL0_FAUTO(n)                    ((uint32_t)(n) << FCTRL0_FAUTO_SHIFT)
@@ -1719,6 +1777,7 @@
 #  define FCTRL0_FAUTO_FAULT1                (2 << FCTRL0_FAUTO_SHIFT)  /* FAULT1 Automatic fault clearing. */
 #  define FCTRL0_FAUTO_FAULT2                (4 << FCTRL0_FAUTO_SHIFT)  /* FAULT2 Automatic fault clearing. */
 #  define FCTRL0_FAUTO_FAULT3                (8 << FCTRL0_FAUTO_SHIFT)  /* FAULT3 Automatic fault clearing. */
+
 #define FCTRL0_FLVL_SHIFT                    (12)       /* Bits: 12-15  Fault Level */
 #define FCTRL0_FLVL_MASK                     (15 << FCTRL0_FLVL_SHIFT)
 #  define FCTRL0_FLVL(n)                     ((uint32_t)(n) << FCTRL0_FLVL_SHIFT)
@@ -1738,6 +1797,7 @@
 #  define FSTS_FFLAG_FAULT1                  (2 << FSTS_FFLAG_SHIFT)  /* Fault on the FAULT1 pin */
 #  define FSTS_FFLAG_FAULT2                  (4 << FSTS_FFLAG_SHIFT)  /* Fault on the FAULT2 pin */
 #  define FSTS_FFLAG_FAULT3                  (8 << FSTS_FFLAG_SHIFT)  /* Fault on the FAULT3 pin */
+
 #define FSTS_FFULL_SHIFT                     (4)        /* Bits: 4-7  Full Cycle */
 #define FSTS_FFULL_MASK                      (15 << FSTS_FFULL_SHIFT)
 #  define FSTS_FFULL(n)                      ((uint32_t)(n) << FSTS_FFULL_SHIFT)
@@ -1746,6 +1806,7 @@
 #  define FSTS_FFULL_SM1                     (2 << FSTS_FFULL_SHIFT)  /* SM1 PWM output is re-enabled at the start of a full cycle */
 #  define FSTS_FFULL_SM2                     (4 << FSTS_FFULL_SHIFT)  /* SM2 PWM output is re-enabled at the start of a full cycle */
 #  define FSTS_FFULL_SM3                     (8 << FSTS_FFULL_SHIFT)  /* SM3 PWM output is re-enabled at the start of a full cycle */
+
 #define FSTS_FFPIN_SHIFT                     (8)        /* Bits: 8-11  Filtered Fault Pins */
 #define FSTS_FFPIN_MASK                      (15 << FSTS_FFPIN_SHIFT)
 #  define FSTS_FFPIN(n)                      ((uint32_t)(n) << FSTS_FFPIN_SHIFT)
@@ -1754,6 +1815,7 @@
 #  define FSTS_FFPIN_FAULT1                  (2 << FSTS_FFPIN_SHIFT)  /* This read-only bit reflect the current state of the filtered FAULT1 pin */
 #  define FSTS_FFPIN_FAULT2                  (4 << FSTS_FFPIN_SHIFT)  /* This read-only bit reflect the current state of the filtered FAULT2 pin */
 #  define FSTS_FFPIN_FAULT3                  (8 << FSTS_FFPIN_SHIFT)  /* This read-only bit reflect the current state of the filtered FAULT3 pin */
+
 #define FSTS_FHALF_SHIFT                     (12)       /* Bits: 12-15  Half Cycle Fault Recovery */
 #define FSTS_FHALF_MASK                      (15 << FSTS_FHALF_SHIFT)
 #  define FSTS_FHALF(n)                      ((uint32_t)(n) << FSTS_FHALF_SHIFT)
@@ -1769,6 +1831,7 @@
 #define FFILT_FILT_PER_MASK                  (0xff << FFILT_FILT_PER_SHIFT)
 #  define FFILT_FILT_PER(n)                  ((uint32_t)(n) << FFILT_FILT_PER_SHIFT)
 #define FFILT_FILT_CNT_SHIFT                 (8)        /* Bits: 8-10  Fault Filter Count */
+
 #define FFILT_FILT_CNT_MASK                  (7 << FFILT_FILT_CNT_SHIFT)
 #  define FFILT_FILT_CNT(n)                  ((uint32_t)(n) << FFILT_FILT_CNT_SHIFT)
 #  define FFILT_FILT_CNT_3                   (0 << FFILT_FILT_CNT_SHIFT)  /* */
@@ -1779,7 +1842,9 @@
 #  define FFILT_FILT_CNT_8                   (5 << FFILT_FILT_CNT_SHIFT)  /* */
 #  define FFILT_FILT_CNT_9                   (6 << FFILT_FILT_CNT_SHIFT)  /* */
 #  define FFILT_FILT_CNT_10                  (7 << FFILT_FILT_CNT_SHIFT)  /* */
-                                                        /* Bits: 11-14 Reserved */
+
+                                            /* Bits: 11-14 Reserved */
+
 #define FFILT_GSTR                           (1 << 15)  /* Bit: 15 Fault Glitch Stretch Enable */
 
 /* Fault Test Register */
@@ -1790,6 +1855,7 @@
 /* Fault Control 2 Register */
 
 #define FCTRL20_NOCOMB_SHIFT                 (0)        /* Bits: 0-3  No Combinational Path From Fault Input To PWM Output */
+
 #define FCTRL20_NOCOMB_MASK                  (0xf << FCTRL20_NOCOMB_SHIFT)
 #  define FCTRL20_NOCOMB(n)                  ((uint32_t)(n) << FCTRL20_NOCOMB_SHIFT)
 #  define FCTRL20_NOCOMB_ALL_ENABLED         (0 << FCTRL20_NOCOMB_SHIFT)  /* All combinational link from the fault inputs to the PWM outputs are enabled */
diff --git a/arch/arm/src/imxrt/hardware/imxrt_gpt.h b/arch/arm/src/imxrt/hardware/imxrt_gpt.h
index 5dbae3c..314d12e 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_gpt.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_gpt.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_gpt.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,23 +16,23 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_GPT_H
 #define __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_GPT_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "hardware/imxrt_memorymap.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define IMXRT_GPT_CR_OFFSET                 0x0000  /* GPT Control Register */
 #define IMXRT_GPT_PR_OFFSET                 0x0004  /* GPT Prescaler Register */
@@ -45,7 +45,7 @@
 #define IMXRT_GPT_ICR2_OFFSET               0x0020  /* GPT Input Capture Register 2 */
 #define IMXRT_GPT_CNT_OFFSET                0x0024  /* GPT Counter Register */
 
-/* Register addresses ***********************************************************************/
+/* Register addresses *******************************************************/
 
 #define IMXRT_GPT1_CR                       (IMXRT_GPT1_BASE + IMXRT_GPT1_CR_OFFSET)    /* GPT 1 Control Register */
 #define IMXRT_GPT1_PR                       (IMXRT_GPT1_BASE + IMXRT_GPT1_PR_OFFSET)    /* GPT 1 Prescaler Register */
@@ -70,7 +70,7 @@
 
 /* GPT Control Register */
 
-/* Register Bit Definitions *********************************************************/
+/* Register Bit Definitions *************************************************/
 
 #define GPT_CR_EN                  (1 << 0)   /* Bit: 0  GPT Enable. */
 #define GPT_CR_ENMOD               (1 << 1)   /* Bit: 1  GPT Enable mode. */
@@ -87,6 +87,7 @@
 #  define GPT_CR_CLKSRC_EXT        (3 << GPT_CR_CLKSRC_SHIFT)  /* External Clock */
 #  define GPT_CR_CLKSRC_IPG_LFR    (4 << GPT_CR_CLKSRC_SHIFT)  /* Low Frequency Reference Clock (ipg_clk_32k) */
 #  define GPT_CR_CLKSRC_IPG_24M    (5 << GPT_CR_CLKSRC_SHIFT)  /* Crystal oscillator as Reference Clock (ipg_clk_24M) */
+
 #define GPT_CR_FRR                 (1 << 9)   /* Bit: 9  Free-Run or Restart mode. */
 #define GPT_CR_EN_24M              (1 << 10)  /* Bit: 10 Enable 24 MHz clock input from crystal. */
                                               /* Bits: 11-14  Reserved */
@@ -98,6 +99,7 @@
 #  define GPT_CR_IM1_RISING        (1 << GPT_CR_IM1_SHIFT)  /* Capture on rising edge */
 #  define GPT_CR_IM1_FALLING       (2 << GPT_CR_IM1_SHIFT)  /* Capture on falling edge */
 #  define GPT_CR_IM1_BOTH          (3 << GPT_CR_IM1_SHIFT)  /* Capture on both edges */
+
 #define GPT_CR_IM2_SHIFT           (18)       /* Bits: 18-19  IM2 (bits 19-18, Input Capture Channel 2 operating mode) */
 #define GPT_CR_IM2_MASK            (3 << GPT_CR_IM2_SHIFT)
 #  define GPT_CR_IM2(n)            ((uint32_t)(n) << GPT_CR_IM2_SHIFT)
@@ -105,6 +107,7 @@
 #  define GPT_CR_IM2_RISING        (1 << GPT_CR_IM2_SHIFT)  /* Capture on rising edge */
 #  define GPT_CR_IM2_FALLING       (2 << GPT_CR_IM2_SHIFT)  /* Capture on falling edge */
 #  define GPT_CR_IM2_BOTH          (3 << GPT_CR_IM2_SHIFT)  /* Capture on both edges */
+
 #define GPT_CR_OM1_SHIFT           (20)       /* Bits: 20-22  See OM3 */
 #define GPT_CR_OM1_MASK            (7 << GPT_CR_OM1_SHIFT)
 #  define GPT_CR_OM1(n)            ((uint32_t)(n) << GPT_CR_OM1_SHIFT)
@@ -113,6 +116,7 @@
 #  define GPT_CR_OM1_CLEAR         (2 << GPT_CR_OM1_SHIFT)  /* Clear output pin */
 #  define GPT_CR_OM1_SET           (3 << GPT_CR_OM1_SHIFT)  /* Set output pin */
 #  define GPT_CR_OM1_PULSE         (4 << GPT_CR_OM1_SHIFT)  /* Generate an active low pulse */
+
 #define GPT_CR_OM2_SHIFT           (23)       /* Bits: 23-25  See OM3 */
 #define GPT_CR_OM2_MASK            (7 << GPT_CR_OM2_SHIFT)
 #  define GPT_CR_OM2(n)            ((uint32_t)(n) << GPT_CR_OM2_SHIFT)
@@ -121,6 +125,7 @@
 #  define GPT_CR_OM2_CLEAR         (2 << GPT_CR_OM2_SHIFT)  /* Clear output pin */
 #  define GPT_CR_OM2_SET           (3 << GPT_CR_OM2_SHIFT)  /* Set output pin */
 #  define GPT_CR_OM2_PULSE         (4 << GPT_CR_OM2_SHIFT)  /* Generate an active low pulse */
+
 #define GPT_CR_OM3_SHIFT           (26)       /* Bits: 26-28  OM3 (bits 28-26) controls the Output Compare Channel 3 operating mode. */
 #define GPT_CR_OM3_MASK            (7 << GPT_CR_OM3_SHIFT)
 #  define GPT_CR_OM3(n)            ((uint32_t)(n) << GPT_CR_OM3_SHIFT)
@@ -129,6 +134,7 @@
 #  define GPT_CR_OM3_CLEAR         (2 << GPT_CR_OM3_SHIFT)  /* Clear output pin */
 #  define GPT_CR_OM3_SET           (3 << GPT_CR_OM3_SHIFT)  /* Set output pin */
 #  define GPT_CR_OM3_PULSE         (4 << GPT_CR_OM3_SHIFT)  /* Generate an active low pulse */
+
 #define GPT_CR_FO1                 (1 << 29)  /* Bit: 29 See F03 */
 #define GPT_CR_FO2                 (1 << 30)  /* Bit: 30 See F03 */
 #define GPT_CR_FO3                 (1 << 31)  /* Bit: 31 FO3 Force Output Compare Channel 3 */
diff --git a/arch/arm/src/imxrt/hardware/imxrt_ocotp.h b/arch/arm/src/imxrt/hardware/imxrt_ocotp.h
index 4810dfe..270d245 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_ocotp.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_ocotp.h
@@ -1,4 +1,4 @@
-/************************************************************************************************************************************
+/****************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_ocotp.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,7 +16,7 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_OCOTP_H
 #define __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_OCOTP_H
@@ -27,18 +27,18 @@
  * OTP, OCOTP Indexes are used.
  */
 
-/************************************************************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "hardware/imxrt_memorymap.h"
 
-/************************************************************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define IMXRT_OCOTP_CTRL_OFFSET               0x0000  /* OTP Controller Control Register */
 #define IMXRT_OCOTP_CTRL_SET_OFFSET           0x0004  /* OTP Controller Control Register */
@@ -58,7 +58,7 @@
 #define IMXRT_OCOTP_VERSION_OFFSET            0x0090  /* OTP Controller Version Register */
 #define IMXRT_OCOTP_TIMING2_OFFSET            0x0100  /* OTP Controller Timing Register */
 
-/* OCOTP Shadow Offsets *************************************************************/
+/* OCOTP Shadow Offsets *****************************************************/
 
 #define IMXRT_OCOTP_LOCK_OFFSET               0x0400  /* Value of OTP Bank0 Word0 (Lock controls) */
 #define IMXRT_OCOTP_CFG0_OFFSET               0x0410  /* Value of OTP Bank0 Word1 (Configuration and Manufacturing */
@@ -124,7 +124,7 @@
 #define IMXRT_OCOTP_GP42_OFFSET               0x08e0  /* Value of OTP Bank7 Word6 (GP4) */
 #define IMXRT_OCOTP_GP43_OFFSET               0x08f0  /* Value of OTP Bank7 Word7 (GP4) */
 
-/* OCOTP Indexes *****************************************************************/
+/* OCOTP Indexes ************************************************************/
 
 #define IMXRT_OCOTP_O2I(offset)               (((offset) - IMXRT_OCOTP_LOCK_OFFSET) >> 4)
 
@@ -194,7 +194,7 @@
 #define IMXRT_OCOTP_GP42_INDEX                IMXRT_OCOTP_O2IP(IMXRT_OCOTP_GP42_OFFSET)         /* Value of OTP Bank7 Word6 (GP4) */
 #define IMXRT_OCOTP_GP43_INDEX                IMXRT_OCOTP_O2IP(IMXRT_OCOTP_GP43_OFFSET)         /* Value of OTP Bank7 Word7 (GP4) */
 
-/* Register addresses ***********************************************************************************************************************/
+/* Register addresses *******************************************************/
 
 #define IMXRT_OCOTP_CTRL                      (IMXRT_OCOTP_BASE + IMXRT_OCOTP_CTRL_OFFSET)            /* OTP Controller Control Register */
 #define IMXRT_OCOTP_CTRL_SET                  (IMXRT_OCOTP_BASE + IMXRT_OCOTP_CTRL_SET_OFFSET)        /* OTP Controller Control Register */
@@ -276,7 +276,7 @@
 #define IMXRT_OCOTP_GP42                      (IMXRT_OCOTP_BASE + IMXRT_OCOTP_GP42_OFFSET)            /* Value of OTP Bank7 Word6 (GP4) */
 #define IMXRT_OCOTP_GP43                      (IMXRT_OCOTP_BASE + IMXRT_OCOTP_GP43_OFFSET)            /* Value of OTP Bank7 Word7 (GP4) */
 
-/* Register Bit Definitions *********************************************************************************************************/
+/* Register Bit Definitions *************************************************/
 
 /* OTP Controller Control Register */
 
diff --git a/arch/arm/src/imxrt/hardware/imxrt_pit.h b/arch/arm/src/imxrt/hardware/imxrt_pit.h
index bde67c3..36ba4d0 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_pit.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_pit.h
@@ -85,6 +85,7 @@
                                              /* Bits 2-31: Reserved */
 
 /* Timer Load Value Register (32-bit Timer Start Value Bits) */
+
 /* Current Timer Value Register (32-bit Current Timer Value) */
 
 /* Timer Control Register */
@@ -109,7 +110,7 @@
  ************************************************************************************/
 
 /************************************************************************************
- * Public Functions
+ * Public Functions Prototypes
  ************************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_PIT_H */
diff --git a/arch/arm/src/imxrt/hardware/imxrt_tmr.h b/arch/arm/src/imxrt/hardware/imxrt_tmr.h
index dbadfd8..cb868f0 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_tmr.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_tmr.h
@@ -1,4 +1,4 @@
-/********************************************************************************************************************************************
+/****************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_tmr.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,23 +16,23 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ********************************************************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_TMR_H
 #define __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_TMR_H
 
-/********************************************************************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "hardware/imxrt_memorymap.h"
 
-/********************************************************************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ********************************************************************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *************************************************************************************************************************/
+/* Register Offsets *********************************************************/
 
 #define IMXRT_TMR_COMP1_OFFSET               0x0000  /* Timer Channel Compare Register 1 */
 #define IMXRT_TMR_COMP2_OFFSET               0x0002  /* Timer Channel Compare Register 2 */
@@ -279,7 +279,7 @@
 #define IMXRT_TMR4_FILT3_OFFSET              IMXRT_TMR_OFFSET(IMXRT_TMR_CH3, IMXRT_TMR_FILT_OFFSET)    /* Timer Channel Input Filter Register */
 #define IMXRT_TMR4_DMA3_OFFSET               IMXRT_TMR_OFFSET(IMXRT_TMR_CH3, IMXRT_TMR_DMA_OFFSET)     /* Timer Channel DMA Enable Register */
 
-/* Register addresses *******************************************************************************************************************************/
+/* Register addresses *******************************************************/
 
 #define IMXRT_TMR1_COMP10                   (IMXRT_QTIMER1_BASE + IMXRT_TMR1_COMP10_OFFSET)   /* Timer Channel Compare Register 1 */
 #define IMXRT_TMR1_COMP20                   (IMXRT_QTIMER1_BASE + IMXRT_TMR1_COMP20_OFFSET)   /* Timer Channel Compare Register 2 */
@@ -494,7 +494,7 @@
 #define IMXRT_TMR4_FILT3                    (IMXRT_QTIMER4_BASE + IMXRT_TMR4_FILT3_OFFSET)    /* Timer Channel Input Filter Register */
 #define IMXRT_TMR4_DMA3                     (IMXRT_QTIMER4_BASE + IMXRT_TMR4_DMA3_OFFSET)     /* Timer Channel DMA Enable Register */
 
-/* Register Bit Definitions *****************************************************************************************************************/
+/* Register Bit Definitions *************************************************/
 
 /* Timer Channel Control Register */
 
@@ -509,6 +509,7 @@
 #  define TMR_CTRL_OUTMODE_SET_CLR     (5 << TMR_CTRL_OUTMODE_SHIFT)  /* Set on compare, cleared on secondary source input edge */
 #  define TMR_CTRL_OUTMODE_SET_CLR_ROL (6 << TMR_CTRL_OUTMODE_SHIFT)  /* Set on compare, cleared on counter rollover */
 #  define TMR_CTRL_OUTMODE_GATED       (7 << TMR_CTRL_OUTMODE_SHIFT)  /* Enable gated clock output while counter is active */
+
 #define TMR_CTRL_COINIT                (1 << 3)   /* Bit: 3  Co-Channel Initialization */
 #define TMR_CTRL_DIR                   (1 << 4)   /* Bit: 4  Count Direction */
 #define TMR_CTRL_LENGTH                (1 << 5)   /* Bit: 5  Count Length */
@@ -520,6 +521,7 @@
 #  define TMR_CTRL_SCS_CNTR1           (1 << TMR_CTRL_SCS_SHIFT)  /* Counter 1 input pin */
 #  define TMR_CTRL_SCS_CNTR2           (2 << TMR_CTRL_SCS_SHIFT)  /* Counter 2 input pin */
 #  define TMR_CTRL_SCS_CNTR3           (3 << TMR_CTRL_SCS_SHIFT)  /* Counter 3 input pin */
+
 #define TMR_CTRL_PCS_SHIFT             (9)        /* Bits: 9-12  Primary Count Source */
 #define TMR_CTRL_PCS_MASK              (15 << TMR_CTRL_PCS_SHIFT)
 #  define TMR_CTRL_PCS(n)              ((uint32_t)(n) << TMR_CTRL_PCS_SHIFT)
@@ -533,12 +535,13 @@
 #  define TMR_CTRL_PCS_OUT3            (7 << TMR_CTRL_PCS_SHIFT)  /* Counter 3 output */
 #  define TMR_CTRL_PCS_DIV1            (8 << TMR_CTRL_PCS_SHIFT)  /* IP bus clock divide by 1 prescaler */
 #  define TMR_CTRL_PCS_DIV2            (9 << TMR_CTRL_PCS_SHIFT)  /* IP bus clock divide by 2 prescaler */
-#  define TMR_CTRL_PCS_DIV4            (10 << TMR_CTRL_PCS_SHIFT)  /*IP bus clock divide by 4 prescaler */
-#  define TMR_CTRL_PCS_DIV8            (11 << TMR_CTRL_PCS_SHIFT)  /*IP bus clock divide by 8 prescaler */
-#  define TMR_CTRL_PCS_DIV16           (12 << TMR_CTRL_PCS_SHIFT)  /*IP bus clock divide by 16 prescaler */
-#  define TMR_CTRL_PCS_DIV32           (13 << TMR_CTRL_PCS_SHIFT)  /*IP bus clock divide by 32 prescaler */
-#  define TMR_CTRL_PCS_DIV64           (14 << TMR_CTRL_PCS_SHIFT)  /*IP bus clock divide by 64 prescaler */
-#  define TMR_CTRL_PCS_DIV128          (15 << TMR_CTRL_PCS_SHIFT)  /*IP bus clock divide by 128 prescaler */
+#  define TMR_CTRL_PCS_DIV4            (10 << TMR_CTRL_PCS_SHIFT) /* IP bus clock divide by 4 prescaler */
+#  define TMR_CTRL_PCS_DIV8            (11 << TMR_CTRL_PCS_SHIFT) /* IP bus clock divide by 8 prescaler */
+#  define TMR_CTRL_PCS_DIV16           (12 << TMR_CTRL_PCS_SHIFT) /* IP bus clock divide by 16 prescaler */
+#  define TMR_CTRL_PCS_DIV32           (13 << TMR_CTRL_PCS_SHIFT) /* IP bus clock divide by 32 prescaler */
+#  define TMR_CTRL_PCS_DIV64           (14 << TMR_CTRL_PCS_SHIFT) /* IP bus clock divide by 64 prescaler */
+#  define TMR_CTRL_PCS_DIV128          (15 << TMR_CTRL_PCS_SHIFT) /* IP bus clock divide by 128 prescaler */
+
 #define TMR_CTRL_CM_SHIFT              (13)       /* Bits: 13-15  Count Mode */
 #define TMR_CTRL_CM_MASK               (7 << TMR_CTRL_CM_SHIFT)
 #  define TMR_CTRL_CM(n)               ((uint32_t)(n) << TMR_CTRL_CM_SHIFT)
@@ -566,6 +569,7 @@
 #  define TMR_SCTRL_CAPTURE_RISING     (1 << TMR_SCTRL_CAPTURE_MODE_SHIFT)  /* Load capture register on rising edge (when IPS=0) or falling edge (when IPS=1) of input */
 #  define TMR_SCTRL_CAPTURE_FALLING    (2 << TMR_SCTRL_CAPTURE_MODE_SHIFT)  /* Load capture register on falling edge (when IPS=0) or rising edge (when IPS=1) of input */
 #  define TMR_SCTRL_CAPTURE_BOTH       (3 << TMR_SCTRL_CAPTURE_MODE_SHIFT)  /* Load capture register on both edges of input */
+
 #define TMR_SCTRL_INPUT                (1 << 8)   /* Bit: 8  External Input Signal */
 #define TMR_SCTRL_IPS                  (1 << 9)   /* Bit: 9  Input Polarity Select */
 #define TMR_SCTRL_IEFIE                (1 << 10)  /* Bit: 10 Input Edge Flag Interrupt Enable */
@@ -583,12 +587,14 @@
 #  define TMR_CSCTRL_CL1_DIS           (0 << TMR_CSCTRL_CL1_SHIFT)  /* Never preload */
 #  define TMR_CSCTRL_CL1_COMP1         (1 << TMR_CSCTRL_CL1_SHIFT)  /* Load upon successful compare with the value in COMP1 */
 #  define TMR_CSCTRL_CL1_COMP2         (2 << TMR_CSCTRL_CL1_SHIFT)  /* Load upon successful compare with the value in COMP2 */
+
 #define TMR_CSCTRL_CL2_SHIFT           (2)        /* Bits: 2-3  Compare Load Control 2 */
 #define TMR_CSCTRL_CL2_MASK            (3 << TMR_CSCTRL_CL2_SHIFT)
 #  define TMR_CSCTRL_CL2(n)            ((uint32_t)(n) << TMR_CSCTRL_CL2_SHIFT)
 #  define TMR_CSCTRL_CL2_DIS           (0 << TMR_CSCTRL_CL2_SHIFT)  /* Never preload */
 #  define TMR_CSCTRL_CL2_COMP1         (1 << TMR_CSCTRL_CL2_SHIFT)  /* Load upon successful compare with the value in COMP1 */
 #  define TMR_CSCTRL_CL2_COMP2         (2 << TMR_CSCTRL_CL2_SHIFT)  /* Load upon successful compare with the value in COMP2 */
+
 #define TMR_CSCTRL_TCF1                (1 << 4)   /* Bit: 4  Timer Compare 1 Interrupt Flag */
 #define TMR_CSCTRL_TCF2                (1 << 5)   /* Bit: 5  Timer Compare 2 Interrupt Flag */
 #define TMR_CSCTRL_TCF1EN              (1 << 6)   /* Bit: 6  Timer Compare 1 Interrupt Enable */
@@ -641,6 +647,7 @@
 #  define TMR_ENBL_CHN1                (2 << TMR_ENBL_ENBL_SHIFT)  /* Channel 1 enable */
 #  define TMR_ENBL_CHN3                (4 << TMR_ENBL_ENBL_SHIFT)  /* Channel 2 enable */
 #  define TMR_ENBL_CHN4                (8 << TMR_ENBL_ENBL_SHIFT)  /* Channel 3 enable */
+
                                                   /* Bits: 4-15  Reserved */
 
 #endif /* __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_TMR_H */
diff --git a/arch/arm/src/imxrt/hardware/imxrt_usb_analog.h b/arch/arm/src/imxrt/hardware/imxrt_usb_analog.h
index a87db5a..f840a74 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_usb_analog.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_usb_analog.h
@@ -1,4 +1,4 @@
-/************************************************************************************************************************************
+/****************************************************************************
  * arch/arm/src/imxrt/hardware/imxrt_usb_analog.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,23 +16,23 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_USB_ANALOG_H
 #define __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT_USB_ANALOG_H
 
-/************************************************************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "hardware/imxrt_memorymap.h"
 
-/************************************************************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************************************************************/
+/* Register Offsets *********************************************************/
 
 #define IMXRT_USB_ANALOG_USB1_VBUS_DETECT_OFFSET       0x01a0  /* USB VBUS Detect Register */
 #define IMXRT_USB_ANALOG_USB1_VBUS_DETECT_SET_OFFSET   0x01a4  /* USB VBUS Detect Set Register */
@@ -64,7 +64,7 @@
 #define IMXRT_USB_ANALOG_USB2_MISC_TOG_OFFSET          0x025c  /* USB Misc Toggle Register */
 #define IMXRT_USB_ANALOG_DIGPROG_OFFSET                0x0260  /* Chip Silicon Version */
 
-/* Register addresses ***********************************************************************************************************************/
+/* Register addresses *******************************************************/
 
 /* Analog USB1 Register Addresses */
 
@@ -130,7 +130,7 @@
 #define IMXRT_USB_ANALOG_USB2_MISC_TOG                 (IMXRT_ANATOP_BASE + IMXRT_USB_ANALOG_USB2_MISC_TOG_OFFSET)          /* USB_ANALOG2 USB Misc Toggle Register */
 #define IMXRT_USB_ANALOG_DIGPROG                       (IMXRT_ANATOP_BASE + IMXRT_USB_ANALOG_DIGPROG_OFFSET)                /* USB_ANALOG2 Chip Silicon Version */
 
-/* Register Bit Definitions *********************************************************************************************************/
+/* Register Bit Definitions *************************************************/
 
 /* USB VBUS Detect Register */
 
@@ -145,7 +145,9 @@
 #  define USB_ANALOG_USB_VBUS_DETECT_VBUSVALID_THRESH_4V5  (5 << USB_ANALOG_USB_VBUS_DETECT_VBUSVALID_THRESH_SHIFT)  /* 4V5 — 4.5V           */
 #  define USB_ANALOG_USB_VBUS_DETECT_VBUSVALID_THRESH_4V6  (6 << USB_ANALOG_USB_VBUS_DETECT_VBUSVALID_THRESH_SHIFT)  /* 4V6 — 4.6V           */
 #  define USB_ANALOG_USB_VBUS_DETECT_VBUSVALID_THRESH_4V7  (7 << USB_ANALOG_USB_VBUS_DETECT_VBUSVALID_THRESH_SHIFT)  /* 4V7 — 4.7V           */
-                                                                      /* Bits: 3-19  Reserved */
+
+                                                  /* Bits: 3-19  Reserved */
+
 #define USB_ANALOG_USB_VBUS_DETECT_VBUSVALID_PWRUP_CMPS    (1 << 20)  /* Bit: 20 Powers up comparators for vbus_valid detector. */
                                                                       /* Bits: 21-25  Reserved */
 #define USB_ANALOG_USB_VBUS_DETECT_DISCHARGE_VBUS          (1 << 26)  /* Bit: 26 USB OTG discharge VBUS. */
@@ -154,7 +156,8 @@
 
 /* USB Charger Detect Register */
 
-                                                                      /* Bits: 0-17  Reserved */
+                                                  /* Bits: 0-17  Reserved */
+
 #define USB_ANALOG_USB_CHRG_DETECT_CHK_CONTACT             (1 << 18)  /* Bit: 18 Check the contact of USB plug */
 #define USB_ANALOG_USB_CHRG_DETECT_CHK_CHRG_B              (1 << 19)  /* Bit: 19 Check the charger connection */
 #define USB_ANALOG_USB_CHRG_DETECT_EN_B                    (1 << 20)  /* Bit: 20 Control the charger detector. */
diff --git a/arch/arm/src/imxrt/hardware/imxrt_xbar.h b/arch/arm/src/imxrt/hardware/imxrt_xbar.h
index e0f39b7..86ce4ad 100644
--- a/arch/arm/src/imxrt/hardware/imxrt_xbar.h
+++ b/arch/arm/src/imxrt/hardware/imxrt_xbar.h
@@ -39,7 +39,6 @@
 #  error Unrecognized i.MX RT architecture
 #endif
 
-
 /************************************************************************************
  * Pre-processor Definitions
  ************************************************************************************/
diff --git a/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h b/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h
index 35446d8..e389cb1 100644
--- a/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h
+++ b/arch/arm/src/imxrt/hardware/rt105x/imxrt105x_iomuxc.h
@@ -77,6 +77,7 @@
 #define IMXRT_IOMUXC_SNVS_GPR_GPR3_OFFSET                      0x000c /* SNVC GPR3 General Purpose Register */
 
 /* Pad Mux Registers */
+
 /* Pad Mux Register Indices (used by software for table lookups) */
 
 #define IMXRT_PADMUX_GPIO_EMC_00_INDEX              0
diff --git a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h
index 12e6e2f..08cd651 100644
--- a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h
+++ b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_iomuxc.h
@@ -86,6 +86,7 @@
 #define IMXRT_IOMUXC_SNVS_GPR_GPR3_OFFSET                      0x000c /* SNVC GPR3 General Purpose Register */
 
 /* Pad Mux Registers */
+
 /* Pad Mux Register Indices (used by software for table lookups) */
 
 #define IMXRT_PADMUX_GPIO_EMC_00_INDEX              0
diff --git a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_memorymap.h b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_memorymap.h
index 44d49c1..ce169e0 100644
--- a/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_memorymap.h
+++ b/arch/arm/src/imxrt/hardware/rt106x/imxrt106x_memorymap.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/imxrt/hardware/rt106x/imxrt106x_memorymap.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,58 +16,86 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT106X_MEMORYMAP_H
 #define __ARCH_ARM_SRC_IMXRT_HARDWARE_IMXRT106X_MEMORYMAP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
 /* System memory map */
 
 #define IMXRT_ITCM_BASE           0x00000000  /* 512KB ITCM */
+
                                /* 0x00080000     512KB ITCM Reserved */
+
                                /* 0x00100000     1MB ITCM Reserved */
+
 #define IMXRT_ROMCP_BASE          0x00200000  /* 128KB ROMCP */
+
                                /* 0x00220000     384KB ROMCP Reserved */
+
                                /* 0x00280000     1536KB Reserved */
+
                                /* 0x00400000     124MB Reserved */
+
 #define IMXRT_FLEXSPI_BASE        0x08000000  /* 128MB FlexSPI (Aliased) */
 #define IMXRT_SEMCA_BASE          0x10000000  /* 256MB SEMC (Aliased) */
 #define IMXRT_DTCM_BASE           0x20000000  /* 512KB DTCM */
+
                                /* 0x20080000     512KB DTCM Reserved */
+
                                /* 0x20100000     1MB Reserved */
+
 #define IMXRT_OCRAM2_BASE         0x20200000  /* 512KB OCRAM2 */
 #define IMXRT_OCRAM_BASE          0x20280000  /* 512KB OCRAM FlexRAM */
+
                                /* 0x20300000     512KB OCRAM Reserved */
+
                                /* 0x20400000     252MB Reserved */
+
                                /* 0x30000000     256MB Reserved */
+
 #define IMXRT_AIPS1_BASE          0x40000000  /* 1MB AIPS-1 */
 #define IMXRT_AIPS2_BASE          0x40100000  /* 1MB AIPS-2 */
 #define IMXRT_AIPS3_BASE          0x40200000  /* 1MB AIPS-3 */
 #define IMXRT_AIPS4_BASE          0x40300000  /* 1MB AIPS-4 */
+
                                /* 40400000       12MB Reserved */
+
 #define IMXRT_MAINCNF_BASE        0x41000000  /* 1MB "main" configuration port */
 #define IMXRT_MCNF_BASE           0x41100000  /* 1MB "m" configuration port */
+
                                /* 41200000       1MB Reserved for "per" GPV */
+
                                /* 41300000       1MB Reserved for "ems" GPV */
+
 #define IMXRT_CPUCNF_BASE         0x41400000  /* 1MB "cpu" configuration port */
+
                                /* 0x41500000     1MB GPV Reserved */
+
                                /* 0x41600000     1MB GPV Reserved */
+
                                /* 0x41700000     1MB GPV Reserved */
+
                                /* 0x41800000     8MB Reserved */
+
 #define IMXRT_AIPS5_BASE          0x42000000  /* 1MB AIPS-5 */
+
                                /* 0x42100000     31MB Reserved */
+
                                /* 0x44000000     64MB Reserved */
+
                                /* 0x48000000     384MB Reserved */
+
 #define IMXRT_FLEXCIPHER_BASE     0x60000000  /* 256MB FlexSPI/ FlexSPI ciphertext */
 #define IMXRT_FLEX2CIPHER_BASE    0x70000000  /* 240MB FlexSPI2/ FlexSPI ciphertext */
 #define IMXRT_FLEXSPI2TX_BASE     0x7f000000  /* 4MB FlexSPI2 TX FIFO */
@@ -76,22 +104,32 @@
 #define IMXRT_FLEXSPIRX_BASE      0x7fc00000  /* 4MB FlexSPI RX FIFO */
 #define IMXRT_EXTMEM_BASE         0x80000000  /* 1.5GB SEMC external memories shared memory space */
 #define IMXRT_CM7_BASE            0xe0000000  /* 1MB CM7 PPB */
+
                                /* 0xe0100000     511MB Reserved */
 
 /* AIPS-1 memory map */
 
                                /* 0x40000000     256KB Reserved */
+
                                /* 0x40040000     240KB Reserved */
+
 #define IMXRT_AIPS1CNF_BASE       0x4007c000  /* 6KB AIPS-1 Configuration */
 #define IMXRT_DCDC_BASE           0x40080000  /* 16KB DCDC */
 #define IMXRT_PIT_BASE            0x40084000  /* 16KB PIT */
+
                                /* 0x40088000     16KB Reserved */
+
                                /* 0x4008c000     16KB Reserved */
+
 #define IMXRT_MTR_BASE            0x40090000  /* 16KB MTR */
 #define IMXRT_ACMP_BASE           0x40094000  /* 16KB ACMP */
+
                                /* 0x40098000     16KB Reserved */
+
                                /* 0x4009c000     16KB Reserved */
+
                                /* 0x400a0000     16KB Reserved */
+
 #define IMXRT_IOMUXCSNVSGPR_BASE  0x400a4000  /* 16KB IOMUXC_SNVS_GPR */
 #define IMXRT_IOMUXCSNVS_BASE     0x400a8000  /* 16KB IOMUXC_SNVS */
 #define IMXRT_IOMUXCGPR_BASE      0x400ac000  /* 16KB IOMUXC_GPR */
@@ -107,11 +145,16 @@
 #define IMXRT_SNVSHP_BASE         0x400d4000  /* 16KB SNVS_HP */
 #define IMXRT_ANATOP_BASE         0x400d8000  /* 16KB ANATOP */
 #define IMXRT_CSU_BASE            0x400dc000  /* 16KB CSU */
+
                                /* 0x400e0000     16KB Reserved */
+
                                /* 0x400e4000     16KB Reserved */
+
 #define IMXRT_EDMA_BASE           0x400e8000  /* 16KB EDMA */
 #define IMXRT_DMAMUX_BASE         0x400ec000  /* 16KB DMA_CH_MUX */
+
                                /* 400f0000       16KB Reserved */
+
 #define IMXRT_GPC_BASE            0x400f4000  /* 16KB GPC */
 #define IMXRT_SRC_BASE            0x400f8000  /* 16KB SRC */
 #define IMXRT_CCM_BASE            0x400fc000  /* 16KB CCM */
@@ -119,7 +162,9 @@
 /* AIPS-2 memory map */
 
                                /* 0x40100000     256KB Reserved */
+
                                /* 0x40140000     240KB Reserved */
+
 #define IMXRT_AIPS2CNF_BASE       0x4017c000  /* 16KB AIPS-2 Configuration */
 #define IMXRT_ROMCPC_BASE         0x40180000  /* 16KB ROMCP controller*/
 #define IMXRT_LPUART1_BASE        0x40184000  /* 16KB LPUART1 */
@@ -130,17 +175,25 @@
 #define IMXRT_LPUART6_BASE        0x40198000  /* 16KB LPUART6 */
 #define IMXRT_LPUART7_BASE        0x4019c000  /* 16KB LPUART7 */
 #define IMXRT_LPUART8_BASE        0x401a0000  /* 16KB LPUART8 */
+
                                /* 0x401a4000     16KB Reserved */
+
                                /* 0x401a8000     16KB Reserved */
+
 #define IMXRT_FLEXIO1_BASE        0x401ac000  /* 16KB FlexIO1 */
 #define IMXRT_FLEXIO2_BASE        0x401b0000  /* 16KB FlexIO2 */
+
                                /* 0x401b4000     16KB Reserved */
+
 #define IMXRT_GPIO1_BASE          0x401b8000  /* 16KB GPIO1 */
 #define IMXRT_GPIO2_BASE          0x401bc000  /* 16KB GPIO2 */
 #define IMXRT_GPIO3_BASE          0x401c0000  /* 16KB GPIO3 */
 #define IMXRT_GPIO4_BASE          0x401c4000  /* 16KB GPIO4 */
+
                                /* 0x401c8000     16KB Reserved */
+
                                /* 0x401cc000     16KB Reserved */
+
 #define IMXRT_CAN1_BASE           0x401d0000  /* 16KB CAN1 */
 #define IMXRT_CAN2_BASE           0x401d4000  /* 16KB CAN2 */
 #define IMXRT_CAN3_BASE           0x401d8000  /* 16KB CAN3 */
@@ -157,59 +210,94 @@
 /* AIPS-3 memory map */
 
                                /* 0x40200000     256KB Reserved */
+
                                /* 0x40240000     240KB Reserved */
+
 #define IMXRT_AIOS3CNF_BASE       0x4027c000  /* 16KB AIPS-3 Configuration */
+
                                /* 0x40280000     16KB Reserved */
+
                                /* 0x40284000     16KB Reserved */
+
                                /* 0x40288000     16KB Reserved */
+
                                /* 0x4028c000     16KB Reserved */
+
                                /* 0x40290000     16KB Reserved */
+
                                /* 0x40294000     16KB Reserved */
+
                                /* 0x40298000     16KB Reserved */
+
                                /* 0x4029c000     16KB Reserved */
+
                                /* 0x402a0000     16KB Reserved */
+
 #define IMXRT_FLEXSPI2C_BASE      0x402a4000  /* 16KB FlexSPI2 */
 #define IMXRT_FLEXSPIC_BASE       0x402a8000  /* 16KB FlexSPI  */
+
                                /* 0x402ac000     16KB Reserved */
+
                                /* 0x402b0000     16KB Reserved */
+
 #define IMXRT_PXP_BASE            0x402b4000  /* 16KB PXP */
 #define IMXRT_LCDIF_BASE          0x402b8000  /* 16KB LCDIF */
 #define IMXRT_CSI_BASE            0x402bc000  /* 16KB CSI */
 #define IMXRT_USDHC1_BASE         0x402c0000  /* 16KB USDHC1 */
 #define IMXRT_USDHC2_BASE         0x402c4000  /* 16KB USDHC2 */
+
                                /* 0x402c8000     16KB Reserved */
+
                                /* 0x402cc000     16KB Reserved */
+
                                /* 0x402d0000     16KB Reserved */
+
                                /* 0x402d4000     16KB Reserved */
+
 #define IMXRT_ENET2_BASE          0x402d4000  /* 16KB ENET2 */
 #define IMXRT_ENET_BASE           0x402d8000  /* 16KB ENET */
 #define IMXRT_USBPL301_BASE       0x402dc000  /* 16KB USB(PL301) */
 #define IMXRT_USB_BASE            0x402e0000  /* 16KB USB(USB) */
+
                                /* 0x402e4000     16KB Reserved */
+
                                /* 0x402e8000     16KB Reserved */
+
                                /* 0x402ec000     16KB Reserved */
+
 #define IMXRT_SEMC_BASE           0x402f0000  /* 16KB SEMC */
+
                                /* 0x402f4000     16KB Reserved */
+
                                /* 0x402f8000     16KB Reserved */
+
 #define IMXRT_DCP_BASE            0x402fc000  /* 16KB DCP */
 
 /* AIPS-4 memory map */
 
                                /* 0x40300000     256KB Reserved */
+
                                /* 0x40340000     240KB Reserved */
+
 #define IMXRT_AIPS4CNF_BASE       0x4037c000  /* 16KB AIPS-4 Configuration */
 #define IMXRT_SPDIF_BASE          0x40380000  /* 16KB SPDIF */
 #define IMXRT_SAI1_BASE           0x40384000  /* 16KB SAI1 */
 #define IMXRT_SAI2_BASE           0x40388000  /* 16KB SAI2 */
 #define IMXRT_SAI3_BASE           0x4038c000  /* 16KB SAI3 */
+
                                /* 0x40390000     16KB Reserved */
+
 #define IMXRT_LPSPI1_BASE         0x40394000  /* 16KB LPSPI1 */
 #define IMXRT_LPSPI2_BASE         0x40398000  /* 16KB LPSPI2 */
 #define IMXRT_LPSPI3_BASE         0x4039c000  /* 16KB LPSPI3 */
 #define IMXRT_LPSPI4_BASE         0x403a0000  /* 16KB LPSPI4 */
+
                                /* 0x403a4000     16KB Reserved */
+
                                /* 0x403a8000     16KB Reserved */
+
                                /* 0x403ac000     16KB Reserved */
+
 #define IMXRT_ADCETC_BASE         0x403b0000  /* 16KB ADC_ETC */
 #define IMXRT_AOI1_BASE           0x403b4000  /* 16KB AOI1 */
 #define IMXRT_AOI2_BASE           0x403b8000  /* 16KB AOI2 */
@@ -220,7 +308,9 @@
 #define IMXRT_ENC2_BASE           0x403cc000  /* 16KB ENC2 */
 #define IMXRT_ENC3_BASE           0x403d0000  /* 16KB ENC3 */
 #define IMXRT_ENC4_BASE           0x403d4000  /* 16KB ENC4 */
+
                                /* 0x403d8000     16KB Reserved */
+
 #define IMXRT_FLEXPWM1_BASE       0x403dc000  /* 16KB FLEXPWM1 */
 #define IMXRT_FLEXPWM2_BASE       0x403e0000  /* 16KB FLEXPWM2 */
 #define IMXRT_FLEXPWM3_BASE       0x403e4000  /* 16KB FLEXPWM3 */
@@ -237,35 +327,66 @@
 #define IMXRT_GPIO7_BASE          0x42004000  /* 16KB GPIO7 */
 #define IMXRT_GPIO8_BASE          0x42008000  /* 16KB GPIO8 */
 #define IMXRT_GPIO9_BASE          0x4200c000  /* 16KB GPIO9 */
+
                                /* 0x42010000     16KB Reserved */
+
                                /* 0x42014000     16KB Reserved */
+
                                /* 0x42018000     16KB Reserved */
+
                                /* 0x4201c000     16KB Reserved */
+
 #define IMXRT_FLEXIO3_BASE        0x42020000  /* 16KB FlexIO3 */
+
                                /* 0x42024000     16KB Reserved */
+
                                /* 0x42028000     16KB Reserved */
+
                                /* 0x4202c000     16KB Reserved */
+
                                /* 0x42030000     16KB Reserved */
+
                                /* 0x42034000     16KB Reserved */
+
                                /* 0x42038000     16KB Reserved */
+
                                /* 0x4203c000     16KB Reserved */
+
                                /* 0x42040000     16KB Reserved */
+
                                /* 0x42044000     16KB Reserved */
+
                                /* 0x42048000     16KB Reserved */
+
                                /* 0x4204c000     16KB Reserved */
+
                                /* 0x42050000     16KB Reserved */
+
                                /* 0x42054000     16KB Reserved */
+
                                /* 0x42058000     16KB Reserved */
+
                                /* 0x4205c000     16KB Reserved */
+
                                /* 0x42060000     16KB Reserved */
+
                                /* 0x42064000     16KB Reserved */
+
                                /* 0x42068000     16KB Reserved */
+
                                /* 0x4206c000     16KB Reserved */
+
                                /* 0x42070000     16KB Reserved */
+
                                /* 0x42074000     16KB Reserved */
+
                                /* 0x42078000     16KB Reserved */
+
                                /* 0x4207c000     16KB Reserved */
-                               /* 0x42080000     512KB Reserved Off Platform */
+
+                               /* 0x42080000    512KB Reserved */
+
+                               /*                Off Platform */
 
 /* PPB memory map */
 
@@ -274,10 +395,15 @@
 #define IMXRT_CTI_BASE            0xe0042000  /* 4KB CTI */
 #define IMXRT_TSGEN_BASE          0xe0043000  /* 4KB TSGEN */
 #define IMXRT_PPBRES_BASE         0xe0044000  /* 4KB PPB RES */
+
                                /* 0xe0045000     236KB PPB Reserved */
+
 #define IMXRT_MCM_BASE            0xe0080000  /* 4KB MCM */
+
                                /* 0xe0081000     444KB PPB Reserved */
+
                                /* 0xe00f0000     52KB PPB Reserved */
+
 #define IMXRT_SYSROM_BASE         0xe00fd000  /* 4KB SYS ROM */
 #define IMXRT_PROCROM_BASE        0xe00fe000  /* 4KB Processor ROM */
 #define IMXRT_PPBROM_BASE         0xe00ff000  /* 4KB PPB ROM */
diff --git a/arch/arm/src/imxrt/imxrt105x_daisy.c b/arch/arm/src/imxrt/imxrt105x_daisy.c
index d9664de..ff83902 100644
--- a/arch/arm/src/imxrt/imxrt105x_daisy.c
+++ b/arch/arm/src/imxrt/imxrt105x_daisy.c
@@ -37,7 +37,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:0 Alt:1  GPIO EMC 00 FLEXPWM4 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:0 Alt:2  GPIO EMC 00 LPSPI2 SCK */
@@ -98,7 +99,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:1 Alt:2  GPIO EMC 01 LPSPI2 PCS0 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
+      [ALT2].index =
+                IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:1 Alt:3  GPIO EMC 01 XBAR1 IN03 */
@@ -149,7 +151,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:2 Alt:1  GPIO EMC 02 FLEXPWM4 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:2 Alt:2  GPIO EMC 02 LPSPI2 SDO */
@@ -261,7 +264,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:4 Alt:1  GPIO EMC 04 FLEXPWM4 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA2_OFFSET),
+      [ALT1].index =
+                IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:4 Alt:2 No input selection */
@@ -322,7 +326,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:5 Alt:2  GPIO EMC 05 SAI2 TX SYNC */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:5 Alt:3  GPIO EMC 05 XBAR1 INOUT07 */
@@ -373,12 +378,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:6 Alt:1  GPIO EMC 06 FLEXPWM2 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:6 Alt:2  GPIO EMC 06 SAI2 TX BCLK */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
+      [ALT2].index =
+                   IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:6 Alt:3  GPIO EMC 06 XBAR1 INOUT08 */
@@ -429,7 +436,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:7 Alt:1  GPIO EMC 07 FLEXPWM2 PWMB00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:7 Alt:2  GPIO EMC 07 SAI2 MCLK */
@@ -485,12 +493,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:8 Alt:1  GPIO EMC 08 FLEXPWM2 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
+      [ALT1].index =
+                IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:8 Alt:2  GPIO EMC 08 SAI2 RX DATA */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:8 Alt:3  GPIO EMC 08 XBAR1 INOUT17 */
@@ -541,12 +551,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:9 Alt:1  GPIO EMC 09 FLEXPWM2 PWMB01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:9 Alt:2  GPIO EMC 09 SAI2 RX SYNC */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
+      [ALT2].index =
+                  IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:9 Alt:3 No input selection */
@@ -597,17 +609,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:10 Alt:1  GPIO EMC 10 FLEXPWM2 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:10 Alt:2  GPIO EMC 10 SAI2 RX BCLK */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:10 Alt:3  GPIO EMC 10 FLEXCAN2 RX */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:10 Alt:4 No input selection */
@@ -653,7 +668,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:11 Alt:1  GPIO EMC 11 FLEXPWM2 PWMB02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
+      [ALT1].index =
+                IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:11 Alt:2  GPIO EMC 11 LPI2C4 SDA */
@@ -724,7 +740,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:12 Alt:4  GPIO EMC 12 FLEXPWM1 PWMA03 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:12 Alt:5 No input selection */
@@ -780,7 +797,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:13 Alt:4  GPIO EMC 13 FLEXPWM1 PWMB03 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:13 Alt:5 No input selection */
@@ -877,12 +895,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:15 Alt:1  GPIO EMC 15 XBAR1 IN20 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN20_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN20_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:15 Alt:2  GPIO EMC 15 LPUART3 CTS B */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:15 Alt:3 No input selection */
@@ -892,7 +912,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:15 Alt:4  GPIO EMC 15 QTIMER3 TIMER0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:15 Alt:5 No input selection */
@@ -933,7 +954,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:16 Alt:1  GPIO EMC 16 XBAR1 IN21 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN21_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN21_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:16 Alt:2 No input selection */
@@ -943,12 +965,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:16 Alt:3  GPIO EMC 16 SPDIF IN */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SPDIF_IN_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SPDIF_IN_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:16 Alt:4  GPIO EMC 16 QTIMER3 TIMER1 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:16 Alt:5 No input selection */
@@ -989,7 +1013,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:17 Alt:1  GPIO EMC 17 FLEXPWM4 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA3_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:17 Alt:2 No input selection */
@@ -1004,7 +1029,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:17 Alt:4  GPIO EMC 17 QTIMER3 TIMER2 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:17 Alt:5 No input selection */
@@ -1055,12 +1081,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:18 Alt:3  GPIO EMC 18 FLEXCAN1 RX */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:18 Alt:4  GPIO EMC 18 QTIMER3 TIMER3 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:18 Alt:5 No input selection */
@@ -1101,22 +1129,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:19 Alt:1  GPIO EMC 19 FLEXPWM2 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:19 Alt:2  GPIO EMC 19 LPUART4 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_TX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_TX_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:19 Alt:3  GPIO EMC 19 ENET RDATA01 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET1_RXDATA_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET1_RXDATA_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:19 Alt:4  GPIO EMC 19 QTIMER2 TIMER0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:19 Alt:5 No input selection */
@@ -1157,7 +1189,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:20 Alt:1  GPIO EMC 20 FLEXPWM2 PWMB03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:20 Alt:2  GPIO EMC 20 LPUART4 RX */
@@ -1167,12 +1200,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:20 Alt:3  GPIO EMC 20 ENET RDATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_RXDATA_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_RXDATA_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:20 Alt:4  GPIO EMC 20 QTIMER2 TIMER1 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:20 Alt:5 No input selection */
@@ -1228,7 +1263,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:21 Alt:4  GPIO EMC 21 QTIMER2 TIMER2 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:21 Alt:5 No input selection */
@@ -1284,7 +1320,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:22 Alt:4  GPIO EMC 22 QTIMER2 TIMER3 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:22 Alt:5 No input selection */
@@ -1325,7 +1362,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:23 Alt:1  GPIO EMC 23 FLEXPWM1 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:23 Alt:2  GPIO EMC 23 LPUART5 TX */
@@ -1381,7 +1419,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:24 Alt:1  GPIO EMC 24 FLEXPWM1 PWMB00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:24 Alt:2  GPIO EMC 24 LPUART5 RX */
@@ -1437,7 +1476,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:25 Alt:1  GPIO EMC 25 FLEXPWM1 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:25 Alt:2  GPIO EMC 25 LPUART6 TX */
@@ -1452,7 +1492,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:25 Alt:4  GPIO EMC 25 ENET REF CLK */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:25 Alt:5 No input selection */
@@ -1493,7 +1534,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:26 Alt:1  GPIO EMC 26 FLEXPWM1 PWMB01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:26 Alt:2  GPIO EMC 26 LPUART6 RX */
@@ -1503,7 +1545,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:26 Alt:3  GPIO EMC 26 ENET RX ER */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXERR_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXERR_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:26 Alt:4 No input selection */
@@ -1549,7 +1592,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:27 Alt:1  GPIO EMC 27 FLEXPWM1 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:27 Alt:2 No input selection */
@@ -1605,7 +1649,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:28 Alt:1  GPIO EMC 28 FLEXPWM1 PWMB02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:28 Alt:2 No input selection */
@@ -1727,7 +1772,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:30 Alt:3  GPIO EMC 30 LPSPI1 PCS0 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:30 Alt:4 No input selection */
@@ -1834,12 +1880,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:32 Alt:2  GPIO EMC 32 LPUART7 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART7_RX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART7_RX_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:32 Alt:3  GPIO EMC 32 CCM PMIC RDY */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT3].sel   = 4,
 
       /* Index:32 Alt:4 No input selection */
@@ -2022,7 +2070,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:35 Alt:6  GPIO EMC 35 USDHC1 CD B */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:35 Alt:7 No input selection */
@@ -2109,7 +2158,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:37 Alt:1  GPIO EMC 37 XBAR1 IN23 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN23_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN23_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:37 Alt:2 No input selection */
@@ -2134,7 +2184,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:37 Alt:6  GPIO EMC 37 USDHC2 WP */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_WP_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_WP_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:37 Alt:7 No input selection */
@@ -2165,12 +2216,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:38 Alt:1  GPIO EMC 38 FLEXPWM1 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:38 Alt:2  GPIO EMC 38 LPUART8 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_TX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_TX_OFFSET),
       [ALT2].sel   = 2,
 
       /* Index:38 Alt:3 No input selection */
@@ -2221,12 +2274,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:39 Alt:1  GPIO EMC 39 FLEXPWM1 PWMB03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:39 Alt:2  GPIO EMC 39 LPUART8 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_RX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_RX_OFFSET),
       [ALT2].sel   = 2,
 
       /* Index:39 Alt:3 No input selection */
@@ -2246,7 +2301,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:39 Alt:6  GPIO EMC 39 USDHC2 CD B */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:39 Alt:7 No input selection */
@@ -2287,7 +2343,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:40 Alt:3  GPIO EMC 40 USB OTG2 OC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG2_OC_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG2_OC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:40 Alt:4 No input selection */
@@ -2384,12 +2441,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:42 Alt:0  GPIO AD B0 00 FLEXPWM2 PWMA03 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT0].sel   = 2,
 
       /* Index:42 Alt:1  GPIO AD B0 00 XBAR1 INOUT14 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN14_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN14_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:42 Alt:2 No input selection */
@@ -2399,7 +2458,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:42 Alt:3  GPIO AD B0 00 USB OTG2 ID */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG2_ID_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG2_ID_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:42 Alt:4 No input selection */
@@ -2419,7 +2479,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:42 Alt:7  GPIO AD B0 00 LPSPI3 SCK */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_SCK_OFFSET),
+      [ALT7].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_SCK_OFFSET),
       [ALT7].sel   = 0,
 
       /* Index:42 Alt:8 No input selection */
@@ -2440,12 +2501,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:43 Alt:0  GPIO AD B0 01 FLEXPWM2 PWMB03 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
       [ALT0].sel   = 2,
 
       /* Index:43 Alt:1  GPIO AD B0 01 XBAR1 INOUT15 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN15_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN15_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:43 Alt:2 No input selection */
@@ -2455,7 +2518,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:43 Alt:3  GPIO AD B0 01 USB OTG1 ID */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:43 Alt:4 No input selection */
@@ -2475,7 +2539,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:43 Alt:7  GPIO AD B0 01 LPSPI3 SDO */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_SDO_OFFSET),
+      [ALT7].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_SDO_OFFSET),
       [ALT7].sel   = 0,
 
       /* Index:43 Alt:8 No input selection */
@@ -2501,12 +2566,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:44 Alt:1  GPIO AD B0 02 XBAR1 INOUT16 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN16_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN16_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:44 Alt:2  GPIO AD B0 02 LPUART6 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART6_TX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART6_TX_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:44 Alt:3 No input selection */
@@ -2531,7 +2598,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:44 Alt:7  GPIO AD B0 02 LPSPI3 SDI */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_SDI_OFFSET),
+      [ALT7].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_SDI_OFFSET),
       [ALT7].sel   = 0,
 
       /* Index:44 Alt:8 No input selection */
@@ -2552,22 +2620,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:45 Alt:0  GPIO AD B0 03 FLEXCAN2 RX */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:45 Alt:1  GPIO AD B0 03 XBAR1 INOUT17 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN17_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN17_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:45 Alt:2  GPIO AD B0 03 LPUART6 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART6_RX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART6_RX_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:45 Alt:3  GPIO AD B0 03 USB OTG1 OC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:45 Alt:4 No input selection */
@@ -2587,7 +2659,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:45 Alt:7  GPIO AD B0 03 LPSPI3 PCS0 */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_PCS0_OFFSET),
+      [ALT7].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_PCS0_OFFSET),
       [ALT7].sel   = 0,
 
       /* Index:45 Alt:8 No input selection */
@@ -2623,12 +2696,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:46 Alt:3  GPIO AD B0 04 SAI2 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:46 Alt:4  GPIO AD B0 04 CSI DATA09 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA09_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA09_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:46 Alt:5 No input selection */
@@ -2679,12 +2754,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:47 Alt:3  GPIO AD B0 05 SAI2 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:47 Alt:4  GPIO AD B0 05 CSI DATA08 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA08_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA08_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:47 Alt:5 No input selection */
@@ -2694,7 +2771,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:47 Alt:6  GPIO AD B0 05 XBAR1 INOUT17 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN17_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN17_OFFSET),
       [ALT6].sel   = 2,
 
       /* Index:47 Alt:7 No input selection */
@@ -2735,12 +2813,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:48 Alt:3  GPIO AD B0 06 SAI2 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:48 Alt:4  GPIO AD B0 06 CSI DATA07 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA07_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA07_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:48 Alt:5 No input selection */
@@ -2750,7 +2830,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:48 Alt:6  GPIO AD B0 06 XBAR1 INOUT18 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN18_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN18_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:48 Alt:7 No input selection */
@@ -2791,12 +2872,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:49 Alt:3  GPIO AD B0 07 SAI2 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:49 Alt:4  GPIO AD B0 07 CSI DATA06 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA06_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA06_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:49 Alt:5 No input selection */
@@ -2806,7 +2889,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:49 Alt:6  GPIO AD B0 07 XBAR1 INOUT19 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN19_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN19_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:49 Alt:7 No input selection */
@@ -2847,12 +2931,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:50 Alt:3  GPIO AD B0 08 SAI2 RX DATA */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:50 Alt:4  GPIO AD B0 08 CSI DATA05 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA05_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA05_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:50 Alt:5 No input selection */
@@ -2862,7 +2948,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:50 Alt:6  GPIO AD B0 08 XBAR1 IN20 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN20_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN20_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:50 Alt:7 No input selection */
@@ -2893,7 +2980,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:51 Alt:1  GPIO AD B0 09 FLEXPWM2 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT1].sel   = 3,
 
       /* Index:51 Alt:2 No input selection */
@@ -2908,7 +2996,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:51 Alt:4  GPIO AD B0 09 CSI DATA04 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA04_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA04_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:51 Alt:5 No input selection */
@@ -2918,7 +3007,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:51 Alt:6  GPIO AD B0 09 XBAR1 IN21 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN21_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN21_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:51 Alt:7 No input selection */
@@ -2949,7 +3039,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:52 Alt:1  GPIO AD B0 10 FLEXPWM1 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT1].sel   = 3,
 
       /* Index:52 Alt:2 No input selection */
@@ -2959,12 +3050,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:52 Alt:3  GPIO AD B0 10 SAI2 MCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_MCLK2_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_MCLK2_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:52 Alt:4  GPIO AD B0 10 CSI DATA03 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA03_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA03_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:52 Alt:5 No input selection */
@@ -2974,7 +3067,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:52 Alt:6  GPIO AD B0 10 XBAR1 IN22 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN22_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN22_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:52 Alt:7 No input selection */
@@ -3005,7 +3099,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:53 Alt:1  GPIO AD B0 11 FLEXPWM1 PWMB03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT1].sel   = 3,
 
       /* Index:53 Alt:2 No input selection */
@@ -3020,7 +3115,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:53 Alt:4  GPIO AD B0 11 CSI DATA02 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA02_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA02_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:53 Alt:5 No input selection */
@@ -3030,12 +3126,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:53 Alt:6  GPIO AD B0 11 XBAR1 IN23 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN23_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN23_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:53 Alt:7  GPIO AD B0 11 ENET 1588 EVENT0 IN */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
+      [ALT7].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
       [ALT7].sel   = 1,
 
       /* Index:53 Alt:8 No input selection */
@@ -3056,12 +3154,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:54 Alt:0  GPIO AD B0 12 LPI2C4 SCL */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C4_SCL_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C4_SCL_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:54 Alt:1  GPIO AD B0 12 CCM PMIC READY */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:54 Alt:2 No input selection */
@@ -3091,7 +3191,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:54 Alt:7  GPIO AD B0 12 NMI GLUE NMI */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
+      [ALT7].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
       [ALT7].sel   = 0,
 
       /* Index:54 Alt:8 No input selection */
@@ -3112,7 +3213,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:55 Alt:0  GPIO AD B0 13 LPI2C4 SDA */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C4_SDA_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C4_SDA_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:55 Alt:1 No input selection */
@@ -3168,12 +3270,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:56 Alt:0  GPIO AD B0 14 USB OTG2 OC */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG2_OC_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG2_OC_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:56 Alt:1  GPIO AD B0 14 XBAR1 IN24 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN24_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN24_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:56 Alt:2 No input selection */
@@ -3188,7 +3292,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:56 Alt:4  GPIO AD B0 14 CSI VSYNC */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_VSYNC_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_VSYNC_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:56 Alt:5 No input selection */
@@ -3229,7 +3334,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:57 Alt:1  GPIO AD B0 15 XBAR1 IN25 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN25_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN25_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:57 Alt:2 No input selection */
@@ -3239,12 +3345,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:57 Alt:3  GPIO AD B0 15 ENET 1588 EVENT0 IN */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:57 Alt:4  GPIO AD B0 15 CSI HSYNC */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_HSYNC_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_HSYNC_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:57 Alt:5 No input selection */
@@ -3254,7 +3362,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:57 Alt:6  GPIO AD B0 15 FLEXCAN2 RX */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT6].sel   = 2,
 
       /* Index:57 Alt:7 No input selection */
@@ -3280,12 +3389,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:58 Alt:0  GPIO AD B1 00 USB OTG2 ID */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG2_ID_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG2_ID_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:58 Alt:1  GPIO AD B1 00 QTIMER3 TIMER0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:58 Alt:2 No input selection */
@@ -3295,7 +3406,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:58 Alt:3  GPIO AD B1 00 LPI2C1 SCL */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C1_SCL_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C1_SCL_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:58 Alt:4 No input selection */
@@ -3310,7 +3422,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:58 Alt:6  GPIO AD B1 00 USDHC1 WP */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_WP_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_WP_OFFSET),
       [ALT6].sel   = 2,
 
       /* Index:58 Alt:7 No input selection */
@@ -3341,7 +3454,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:59 Alt:1  GPIO AD B1 01 QTIMER3 TIMER1 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:59 Alt:2 No input selection */
@@ -3351,12 +3465,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:59 Alt:3  GPIO AD B1 01 LPI2C1 SDA */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C1_SDA_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C1_SDA_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:59 Alt:4  GPIO AD B1 01 CCM PMIC READY */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT4].sel   = 2,
 
       /* Index:59 Alt:5 No input selection */
@@ -3392,17 +3508,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:60 Alt:0  GPIO AD B1 02 USB OTG1 ID */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:60 Alt:1  GPIO AD B1 02 QTIMER3 TIMER2 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:60 Alt:2  GPIO AD B1 02 LPUART2 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART2_TX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART2_TX_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:60 Alt:3 No input selection */
@@ -3422,7 +3541,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:60 Alt:6  GPIO AD B1 02 USDHC1 CD B */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:60 Alt:7 No input selection */
@@ -3448,22 +3568,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:61 Alt:0  GPIO AD B1 03 USB OTG1 OC */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:61 Alt:1  GPIO AD B1 03 QTIMER3 TIMER3 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:61 Alt:2  GPIO AD B1 03 LPUART2 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART2_RX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART2_RX_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:61 Alt:3  GPIO AD B1 03 SPDIF IN */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SPDIF_IN_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SPDIF_IN_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:61 Alt:4 No input selection */
@@ -3478,7 +3602,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:61 Alt:6  GPIO AD B1 03 USDHC2 CD B */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:61 Alt:7 No input selection */
@@ -3504,7 +3629,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:62 Alt:0  GPIO AD B1 04 FLEXSPIB DATA03 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA3_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA3_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:62 Alt:1 No input selection */
@@ -3514,7 +3640,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:62 Alt:2  GPIO AD B1 04 LPUART3 CTS B */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:62 Alt:3 No input selection */
@@ -3524,7 +3651,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:62 Alt:4  GPIO AD B1 04 CSI PIXCLK */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_PIXCLK_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_PIXCLK_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:62 Alt:5 No input selection */
@@ -3534,7 +3662,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:62 Alt:6  GPIO AD B1 04 USDHC2 DATA0 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA0_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA0_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:62 Alt:7 No input selection */
@@ -3560,12 +3689,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:63 Alt:0  GPIO AD B1 05 FLEXSPIB DATA02 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA2_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA2_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:63 Alt:1  GPIO AD B1 05 ENET MDIO */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_MDIO_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_MDIO_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:63 Alt:2 No input selection */
@@ -3590,7 +3721,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:63 Alt:6  GPIO AD B1 05 USDHC2 DATA1 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA1_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA1_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:63 Alt:7 No input selection */
@@ -3616,17 +3748,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:64 Alt:0  GPIO AD B1 06 FLEXSPIB DATA01 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA1_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA1_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:64 Alt:1  GPIO AD B1 06 LPI2C3 SDA */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C3_SDA_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C3_SDA_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:64 Alt:2  GPIO AD B1 06 LPUART3 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_TX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_TX_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:64 Alt:3 No input selection */
@@ -3636,7 +3771,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:64 Alt:4  GPIO AD B1 06 CSI VSYNC */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_VSYNC_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_VSYNC_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:64 Alt:5 No input selection */
@@ -3646,7 +3782,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:64 Alt:6  GPIO AD B1 06 USDHC2 DATA2 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA2_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA2_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:64 Alt:7 No input selection */
@@ -3672,17 +3809,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:65 Alt:0  GPIO AD B1 07 FLEXSPIB DATA00 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA0_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA0_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:65 Alt:1  GPIO AD B1 07 LPI2C3 SCL */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C3_SCL_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C3_SCL_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:65 Alt:2  GPIO AD B1 07 LPUART3 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_RX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_RX_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:65 Alt:3 No input selection */
@@ -3692,7 +3832,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:65 Alt:4  GPIO AD B1 07 CSI HSYNC */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_HSYNC_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_HSYNC_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:65 Alt:5 No input selection */
@@ -3702,7 +3843,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:65 Alt:6  GPIO AD B1 07 USDHC2 DATA3 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA3_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA3_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:65 Alt:7 No input selection */
@@ -3733,7 +3875,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:66 Alt:1  GPIO AD B1 08 FLEXPWM4 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:66 Alt:2 No input selection */
@@ -3743,12 +3886,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:66 Alt:3  GPIO AD B1 08 CCM PMIC READY */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT3].sel   = 3,
 
       /* Index:66 Alt:4  GPIO AD B1 08 CSI DATA09 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA09_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA09_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:66 Alt:5 No input selection */
@@ -3758,7 +3903,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:66 Alt:6  GPIO AD B1 08 USDHC2 CMD */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CMD_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CMD_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:66 Alt:7 No input selection */
@@ -3784,27 +3930,32 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:67 Alt:0  GPIO AD B1 09 FLEXSPIA DQS */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DQS_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DQS_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:67 Alt:1  GPIO AD B1 09 FLEXPWM4 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:67 Alt:2  GPIO AD B1 09 FLEXCAN1 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT2].sel   = 2,
 
       /* Index:67 Alt:3  GPIO AD B1 09 SAI1 MCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_MCLK2_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_MCLK2_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:67 Alt:4  GPIO AD B1 09 CSI DATA08 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA08_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA08_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:67 Alt:5 No input selection */
@@ -3814,7 +3965,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:67 Alt:6  GPIO AD B1 09 USDHC2 CLK */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CLK_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CLK_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:67 Alt:7 No input selection */
@@ -3840,7 +3992,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:68 Alt:0  GPIO AD B1 10 FLEXSPIA DATA03 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:68 Alt:1 No input selection */
@@ -3850,17 +4003,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:68 Alt:2  GPIO AD B1 10 LPUART8 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_TX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_TX_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:68 Alt:3  GPIO AD B1 10 SAI1 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:68 Alt:4  GPIO AD B1 10 CSI DATA07 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA07_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA07_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:68 Alt:5 No input selection */
@@ -3870,7 +4026,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:68 Alt:6  GPIO AD B1 10 USDHC2 WP */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_WP_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_WP_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:68 Alt:7 No input selection */
@@ -3896,7 +4053,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:69 Alt:0  GPIO AD B1 11 FLEXSPIA DATA02 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:69 Alt:1 No input selection */
@@ -3906,17 +4064,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:69 Alt:2  GPIO AD B1 11 LPUART8 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_RX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_RX_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:69 Alt:3  GPIO AD B1 11 SAI1 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:69 Alt:4  GPIO AD B1 11 CSI DATA06 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA06_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA06_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:69 Alt:5 No input selection */
@@ -3952,7 +4113,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:70 Alt:0  GPIO AD B1 12 FLEXSPIA DATA01 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:70 Alt:1 No input selection */
@@ -3962,17 +4124,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:70 Alt:2  GPIO AD B1 12 LPSPI3 PCS0 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_PCS0_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_PCS0_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:70 Alt:3  GPIO AD B1 12 SAI1 RX DATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:70 Alt:4  GPIO AD B1 12 CSI DATA05 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA05_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA05_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:70 Alt:5 No input selection */
@@ -3982,7 +4147,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:70 Alt:6  GPIO AD B1 12 USDHC2 DATA4 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA4_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA4_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:70 Alt:7 No input selection */
@@ -4008,7 +4174,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:71 Alt:0  GPIO AD B1 13 FLEXSPIA DATA00 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:71 Alt:1 No input selection */
@@ -4018,7 +4185,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:71 Alt:2  GPIO AD B1 13 LPSPI3 SDI */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_SDI_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_SDI_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:71 Alt:3 No input selection */
@@ -4028,7 +4196,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:71 Alt:4  GPIO AD B1 13 CSI DATA04 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA04_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA04_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:71 Alt:5 No input selection */
@@ -4038,7 +4207,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:71 Alt:6  GPIO AD B1 13 USDHC2 DATA5 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA5_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA5_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:71 Alt:7 No input selection */
@@ -4064,7 +4234,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:72 Alt:0  GPIO AD B1 14 FLEXSPIA SCLK */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:72 Alt:1 No input selection */
@@ -4074,17 +4245,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:72 Alt:2  GPIO AD B1 14 LPSPI3 SDO */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_SDO_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_SDO_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:72 Alt:3  GPIO AD B1 14 SAI1 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:72 Alt:4  GPIO AD B1 14 CSI DATA03 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA03_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA03_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:72 Alt:5 No input selection */
@@ -4094,7 +4268,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:72 Alt:6  GPIO AD B1 14 USDHC2 DATA6 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA6_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA6_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:72 Alt:7 No input selection */
@@ -4135,12 +4310,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:73 Alt:3  GPIO AD B1 15 SAI1 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:73 Alt:4  GPIO AD B1 15 CSI DATA02 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA02_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA02_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:73 Alt:5 No input selection */
@@ -4150,7 +4327,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:73 Alt:6  GPIO AD B1 15 USDHC2 DATA7 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA7_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA7_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:73 Alt:7 No input selection */
@@ -4191,7 +4369,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:74 Alt:3  GPIO B0 00 LPSPI4 PCS0 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:74 Alt:4 No input selection */
@@ -4247,7 +4426,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:75 Alt:3  GPIO B0 01 LPSPI4 SDI */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SDI_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SDI_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:75 Alt:4 No input selection */
@@ -4303,7 +4483,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:76 Alt:3  GPIO B0 02 LPSPI4 SDO */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SDO_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SDO_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:76 Alt:4 No input selection */
@@ -4349,17 +4530,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:77 Alt:1  GPIO B0 03 QTIMER2 TIMER0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:77 Alt:2  GPIO B0 03 FLEXCAN1 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT2].sel   = 3,
 
       /* Index:77 Alt:3  GPIO B0 03 LPSPI4 SCK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SCK_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SCK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:77 Alt:4 No input selection */
@@ -4405,12 +4589,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:78 Alt:1  GPIO B0 04 QTIMER2 TIMER1 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:78 Alt:2  GPIO B0 04 LPI2C2 SCL */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C2_SCL_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C2_SCL_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:78 Alt:3 No input selection */
@@ -4461,12 +4647,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:79 Alt:1  GPIO B0 05 QTIMER2 TIMER2 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:79 Alt:2  GPIO B0 05 LPI2C2 SDA */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C2_SDA_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C2_SDA_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:79 Alt:3 No input selection */
@@ -4517,12 +4705,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:80 Alt:1  GPIO B0 06 QTIMER3 TIMER0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:80 Alt:2  GPIO B0 06 FLEXPWM2 PWMA00 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:80 Alt:3 No input selection */
@@ -4573,12 +4763,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:81 Alt:1  GPIO B0 07 QTIMER3 TIMER1 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:81 Alt:2  GPIO B0 07 FLEXPWM2 PWMB00 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:81 Alt:3 No input selection */
@@ -4629,17 +4821,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:82 Alt:1  GPIO B0 08 QTIMER3 TIMER2 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:82 Alt:2  GPIO B0 08 FLEXPWM2 PWMA01 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:82 Alt:3  GPIO B0 08 LPUART3 TX */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_TX_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_TX_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:82 Alt:4 No input selection */
@@ -4690,12 +4885,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:83 Alt:2  GPIO B0 09 FLEXPWM2 PWMB01 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:83 Alt:3  GPIO B0 09 LPUART3 RX */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_RX_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_RX_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:83 Alt:4 No input selection */
@@ -4746,12 +4943,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:84 Alt:2  GPIO B0 10 FLEXPWM2 PWMA02 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:84 Alt:3  GPIO B0 10 SAI1 TX DATA03 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:84 Alt:4 No input selection */
@@ -4802,12 +5001,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:85 Alt:2  GPIO B0 11 FLEXPWM2 PWMB02 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:85 Alt:3  GPIO B0 11 SAI1 TX DATA02 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:85 Alt:4 No input selection */
@@ -4863,7 +5064,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:86 Alt:3  GPIO B0 12 SAI1 TX DATA01 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:86 Alt:4 No input selection */
@@ -4919,7 +5121,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:87 Alt:3  GPIO B0 13 SAI1 MCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_MCLK2_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_MCLK2_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:87 Alt:4 No input selection */
@@ -4975,7 +5178,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:88 Alt:3  GPIO B0 14 SAI1 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:88 Alt:4 No input selection */
@@ -5031,7 +5235,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:89 Alt:3  GPIO B0 15 SAI1 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:89 Alt:4 No input selection */
@@ -5077,17 +5282,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:90 Alt:1  GPIO B1 00 XBAR1 INOUT14 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN14_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN14_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:90 Alt:2  GPIO B1 00 LPUART4 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_TX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_TX_OFFSET),
       [ALT2].sel   = 2,
 
       /* Index:90 Alt:3  GPIO B1 00 SAI1 RX DATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:90 Alt:4 No input selection */
@@ -5102,7 +5310,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:90 Alt:6  GPIO B1 00 FLEXPWM1 PWMA03 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT6].sel   = 4,
 
       /* Index:90 Alt:7 No input selection */
@@ -5133,12 +5342,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:91 Alt:1  GPIO B1 01 XBAR1 INOUT15 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN15_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN15_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:91 Alt:2  GPIO B1 01 LPUART4 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_RX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_RX_OFFSET),
       [ALT2].sel   = 2,
 
       /* Index:91 Alt:3 No input selection */
@@ -5158,7 +5369,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:91 Alt:6  GPIO B1 01 FLEXPWM1 PWMB03 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT6].sel   = 4,
 
       /* Index:91 Alt:7 No input selection */
@@ -5189,7 +5401,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:92 Alt:1  GPIO B1 02 XBAR1 INOUT16 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN16_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN16_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:92 Alt:2 No input selection */
@@ -5199,7 +5412,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:92 Alt:3  GPIO B1 02 SAI1 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:92 Alt:4 No input selection */
@@ -5214,7 +5428,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:92 Alt:6  GPIO B1 02 FLEXPWM2 PWMA03 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT6].sel   = 4,
 
       /* Index:92 Alt:7 No input selection */
@@ -5245,7 +5460,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:93 Alt:1  GPIO B1 03 XBAR1 INOUT17 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN17_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN17_OFFSET),
       [ALT1].sel   = 3,
 
       /* Index:93 Alt:2 No input selection */
@@ -5255,7 +5471,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:93 Alt:3  GPIO B1 03 SAI1 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:93 Alt:4 No input selection */
@@ -5270,7 +5487,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:93 Alt:6  GPIO B1 03 FLEXPWM2 PWMB03 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
       [ALT6].sel   = 3,
 
       /* Index:93 Alt:7 No input selection */
@@ -5301,7 +5519,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:94 Alt:1  GPIO B1 04 LPSPI4 PCS0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:94 Alt:2 No input selection */
@@ -5311,7 +5530,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:94 Alt:3  GPIO B1 04 ENET RX DATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_RXDATA_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_RXDATA_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:94 Alt:4 No input selection */
@@ -5357,7 +5577,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:95 Alt:1  GPIO B1 05 LPSPI4 SDI */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SDI_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SDI_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:95 Alt:2 No input selection */
@@ -5367,7 +5588,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:95 Alt:3  GPIO B1 05 ENET RX DATA01 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET1_RXDATA_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET1_RXDATA_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:95 Alt:4 No input selection */
@@ -5413,7 +5635,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:96 Alt:1  GPIO B1 06 LPSPI4 SDO */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SDO_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SDO_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:96 Alt:2 No input selection */
@@ -5423,7 +5646,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:96 Alt:3  GPIO B1 06 ENET RX EN */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXEN_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXEN_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:96 Alt:4 No input selection */
@@ -5469,7 +5693,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:97 Alt:1  GPIO B1 07 LPSPI4 SCK */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SCK_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_SCK_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:97 Alt:2 No input selection */
@@ -5581,7 +5806,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:99 Alt:1  GPIO B1 09 QTIMER2 TIMER3 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:99 Alt:2 No input selection */
@@ -5606,7 +5832,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:99 Alt:6  GPIO B1 09 FLEXCAN2 RX */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT6].sel   = 3,
 
       /* Index:99 Alt:7 No input selection */
@@ -5637,7 +5864,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:100 Alt:1  GPIO B1 10 QTIMER3 TIMER3 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:100 Alt:2 No input selection */
@@ -5647,7 +5875,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:100 Alt:3  GPIO B1 10 ENET TX CLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_TXCLK_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_TXCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:100 Alt:4 No input selection */
@@ -5662,7 +5891,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:100 Alt:6  GPIO B1 10 ENET REF CLK */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
+      [ALT6].index =
+            IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:100 Alt:7 No input selection */
@@ -5703,7 +5933,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:101 Alt:3  GPIO B1 11 ENET RX ER */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXERR_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_RXERR_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:101 Alt:4 No input selection */
@@ -5749,17 +5980,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:102 Alt:1  GPIO B1 12 LPUART5 TX */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART5_TX_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART5_TX_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:102 Alt:2  GPIO B1 12 CSI PIXCLK */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_PIXCLK_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_PIXCLK_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:102 Alt:3  GPIO B1 12 ENET 1588 EVENT0 IN */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:102 Alt:4 No input selection */
@@ -5774,7 +6008,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:102 Alt:6  GPIO B1 12 USDHC1 CD B */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
       [ALT6].sel   = 2,
 
       /* Index:102 Alt:7 No input selection */
@@ -5805,12 +6040,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:103 Alt:1  GPIO B1 13 LPUART5 RX */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART5_RX_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART5_RX_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:103 Alt:2  GPIO B1 13 CSI VSYNC */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_VSYNC_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_VSYNC_OFFSET),
       [ALT2].sel   = 2,
 
       /* Index:103 Alt:3 No input selection */
@@ -5830,7 +6067,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:103 Alt:6  GPIO B1 13 USDHC1 WP */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_WP_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_WP_OFFSET),
       [ALT6].sel   = 3,
 
       /* Index:103 Alt:7 No input selection */
@@ -5861,17 +6099,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:104 Alt:1  GPIO B1 14 FLEXPWM4 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:104 Alt:2  GPIO B1 14 CSI HSYNC */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_HSYNC_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_HSYNC_OFFSET),
       [ALT2].sel   = 2,
 
       /* Index:104 Alt:3  GPIO B1 14 XBAR1 IN02 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN02_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN02_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:104 Alt:4 No input selection */
@@ -5912,12 +6153,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:105 Alt:0  GPIO B1 15 ENET MDIO */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_MDIO_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_MDIO_OFFSET),
       [ALT0].sel   = 2,
 
       /* Index:105 Alt:1  GPIO B1 15 FLEXPWM4 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:105 Alt:2 No input selection */
@@ -5927,7 +6170,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:105 Alt:3  GPIO B1 15 XBAR1 IN03 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN03_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN03_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:105 Alt:4 No input selection */
@@ -5973,22 +6217,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:106 Alt:1  GPIO SD B0 00 FLEXPWM1 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:106 Alt:2  GPIO SD B0 00 LPI2C3 SCL */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C3_SCL_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C3_SCL_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:106 Alt:3  GPIO SD B0 00 XBAR1 INOUT04 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN04_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN04_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:106 Alt:4  GPIO SD B0 00 LPSPI1 SCK */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_SCK_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_SCK_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:106 Alt:5 No input selection */
@@ -6029,22 +6277,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:107 Alt:1  GPIO SD B0 01 FLEXPWM1 PWMB00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:107 Alt:2  GPIO SD B0 01 LPI2C3 SDA */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C3_SDA_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C3_SDA_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:107 Alt:3  GPIO SD B0 01 XBAR1 INOUT05 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN05_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN05_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:107 Alt:4  GPIO SD B0 01 LPSPI1 PCS0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:107 Alt:5 No input selection */
@@ -6085,7 +6337,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:108 Alt:1  GPIO SD B0 02 FLEXPWM1 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:108 Alt:2 No input selection */
@@ -6095,12 +6348,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:108 Alt:3  GPIO SD B0 02 XBAR1 INOUT06 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN06_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN06_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:108 Alt:4  GPIO SD B0 02 LPSPI1 SDO */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_SDO_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_SDO_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:108 Alt:5 No input selection */
@@ -6141,7 +6396,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:109 Alt:1  GPIO SD B0 03 FLEXPWM1 PWMB01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:109 Alt:2 No input selection */
@@ -6151,12 +6407,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:109 Alt:3  GPIO SD B0 03 XBAR1 INOUT07 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN07_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN07_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:109 Alt:4  GPIO SD B0 03 LPSPI1 SDI */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_SDI_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_SDI_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:109 Alt:5 No input selection */
@@ -6197,17 +6455,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:110 Alt:1  GPIO SD B0 04 FLEXPWM1 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:110 Alt:2  GPIO SD B0 04 LPUART8 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_TX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_TX_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:110 Alt:3  GPIO SD B0 04 XBAR1 INOUT08 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN08_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN08_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:110 Alt:4 No input selection */
@@ -6253,17 +6514,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:111 Alt:1  GPIO SD B0 05 FLEXPWM1 PWMB02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:111 Alt:2  GPIO SD B0 05 LPUART8 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_RX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART8_RX_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:111 Alt:3  GPIO SD B0 05 XBAR1 INOUT09 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN09_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN09_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:111 Alt:4 No input selection */
@@ -6304,27 +6568,32 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:112 Alt:0  GPIO SD B1 00 USDHC2 DATA3 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA3_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA3_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:112 Alt:1  GPIO SD B1 00 FLEXSPIB DATA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA3_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA3_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:112 Alt:2  GPIO SD B1 00 FLEXPWM1 PWMA03 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:112 Alt:3  GPIO SD B1 00 SAI1 TX DATA03 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:112 Alt:4  GPIO SD B1 00 LPUART4 TX */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_TX_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_TX_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:112 Alt:5 No input selection */
@@ -6360,22 +6629,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:113 Alt:0  GPIO SD B1 01 USDHC2 DATA2 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA2_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA2_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:113 Alt:1  GPIO SD B1 01 FLEXSPIB DATA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:113 Alt:2  GPIO SD B1 01 FLEXPWM1 PWMB03 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:113 Alt:3  GPIO SD B1 01 SAI1 TX DATA02 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:113 Alt:4  GPIO SD B1 01 LPUART4 RX */
@@ -6416,22 +6689,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:114 Alt:0  GPIO SD B1 02 USDHC2 DATA1 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA1_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA1_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:114 Alt:1  GPIO SD B1 02 FLEXSPIB DATA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:114 Alt:2  GPIO SD B1 02 FLEXPWM2 PWMA03 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:114 Alt:3  GPIO SD B1 02 SAI1 TX DATA01 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:114 Alt:4 No input selection */
@@ -6472,17 +6749,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:115 Alt:0  GPIO SD B1 03 USDHC2 DATA0 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA0_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA0_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:115 Alt:1  GPIO SD B1 03 FLEXSPIB DATA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:115 Alt:2  GPIO SD B1 03 FLEXPWM2 PWMB03 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:115 Alt:3  GPIO SD B1 03 SAI1 MCLK */
@@ -6492,7 +6772,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:115 Alt:4  GPIO SD B1 03 FLEXCAN1 RX */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:115 Alt:5 No input selection */
@@ -6502,7 +6783,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:115 Alt:6  GPIO SD B1 03 CCM PMIC READY */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT6].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:115 Alt:7 No input selection */
@@ -6528,7 +6810,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:116 Alt:0  GPIO SD B1 04 USDHC2 CLK */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CLK_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CLK_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:116 Alt:1 No input selection */
@@ -6543,7 +6826,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:116 Alt:3  GPIO SD B1 04 SAI1 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:116 Alt:4 No input selection */
@@ -6584,22 +6868,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:117 Alt:0  GPIO SD B1 05 USDHC2 CMD */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CMD_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CMD_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:117 Alt:1  GPIO SD B1 05 FLEXSPIA DQS */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DQS_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DQS_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:117 Alt:2  GPIO SD B1 05 LPI2C1 SDA */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C1_SDA_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C1_SDA_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:117 Alt:3  GPIO SD B1 05 SAI1 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:117 Alt:4 No input selection */
@@ -6655,12 +6943,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:118 Alt:3  GPIO SD B1 06 SAI1 RX DATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:118 Alt:4  GPIO SD B1 06 LPSPI2 PCS0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:118 Alt:5 No input selection */
@@ -6701,7 +6991,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:119 Alt:1  GPIO SD B1 07 FLEXSPIA SCLK */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:119 Alt:2 No input selection */
@@ -6716,7 +7007,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:119 Alt:4  GPIO SD B1 07 LPSPI2 SCK */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_SCK_OFFSET),
+      [ALT4].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_SCK_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:119 Alt:5 No input selection */
@@ -6752,12 +7044,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:120 Alt:0  GPIO SD B1 08 USDHC2 DATA4 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA4_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA4_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:120 Alt:1  GPIO SD B1 08 FLEXSPIA DATA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:120 Alt:2  GPIO SD B1 08 LPUART7 TX */
@@ -6767,7 +7061,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:120 Alt:3  GPIO SD B1 08 SAI1 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:120 Alt:4  GPIO SD B1 08 LPSPI2 SD0 */
@@ -6808,22 +7103,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:121 Alt:0  GPIO SD B1 09 USDHC2 DATA5 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA5_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA5_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:121 Alt:1  GPIO SD B1 09 FLEXSPIA DATA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:121 Alt:2  GPIO SD B1 09 LPUART7 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART7_RX_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART7_RX_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:121 Alt:3  GPIO SD B1 09 SAI1 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
+      [ALT3].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:121 Alt:4  GPIO SD B1 09 LPSPI2 SDI */
@@ -6864,12 +7163,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:122 Alt:0  GPIO SD B1 10 USDHC2 DATA6 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA6_OFFSET),
+      [ALT0].index =
+                   IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA6_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:122 Alt:1  GPIO SD B1 10 FLEXSPIA DATA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:122 Alt:2  GPIO SD B1 10 LPUART2 RX */
@@ -6920,12 +7221,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:123 Alt:0  GPIO SD B1 11 USDHC2 DATA7 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA7_OFFSET),
+      [ALT0].index =
+                  IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA7_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:123 Alt:1  GPIO SD B1 11 FLEXSPIA DATA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
+      [ALT1].index =
+                IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:123 Alt:2  GPIO SD B1 11 LPUART2 TX */
@@ -7011,7 +7314,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:124 Alt:7  SNVS WAKEUP NMI GLUE NMI */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
+      [ALT7].index =
+                   IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
       [ALT7].sel   = 1,
 
       /* Index:124 Alt:8 No input selection */
@@ -7082,3 +7386,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     },
   },
 };
+
+/****************************************************************************
+ * Public Functions
+ ****************************************************************************/
+
diff --git a/arch/arm/src/imxrt/imxrt106x_daisy.c b/arch/arm/src/imxrt/imxrt106x_daisy.c
index 5813ef7..05e7d84 100644
--- a/arch/arm/src/imxrt/imxrt106x_daisy.c
+++ b/arch/arm/src/imxrt/imxrt106x_daisy.c
@@ -37,7 +37,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:0 Alt:1  GPIO EMC 00 FLEXPWM4 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:0 Alt:2  GPIO EMC 00 LPSPI2 SCK */
@@ -98,7 +99,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:1 Alt:2  GPIO EMC 01 LPSPI2 PCS0 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:1 Alt:3  GPIO EMC 01 XBAR1 IN03 */
@@ -149,7 +151,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:2 Alt:1  GPIO EMC 02 FLEXPWM4 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:2 Alt:2  GPIO EMC 02 LPSPI2 SDO */
@@ -261,7 +264,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:4 Alt:1  GPIO EMC 04 FLEXPWM4 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA2_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:4 Alt:2 No input selection */
@@ -322,7 +326,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:5 Alt:2  GPIO EMC 05 SAI2 TX SYNC */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:5 Alt:3  GPIO EMC 05 XBAR1 INOUT07 */
@@ -373,12 +378,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:6 Alt:1  GPIO EMC 06 FLEXPWM2 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:6 Alt:2  GPIO EMC 06 SAI2 TX BCLK */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:6 Alt:3  GPIO EMC 06 XBAR1 INOUT08 */
@@ -429,7 +436,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:7 Alt:1  GPIO EMC 07 FLEXPWM2 PWMB00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:7 Alt:2  GPIO EMC 07 SAI2 MCLK */
@@ -485,12 +493,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:8 Alt:1  GPIO EMC 08 FLEXPWM2 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:8 Alt:2  GPIO EMC 08 SAI2 RX DATA */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:8 Alt:3  GPIO EMC 08 XBAR1 INOUT17 */
@@ -541,12 +551,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:9 Alt:1  GPIO EMC 09 FLEXPWM2 PWMB01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
+      [ALT1].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:9 Alt:2  GPIO EMC 09 SAI2 RX SYNC */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
+      [ALT2].index =
+                 IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:9 Alt:3 No input selection */
@@ -597,17 +609,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:10 Alt:1  GPIO EMC 10 FLEXPWM2 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:10 Alt:2  GPIO EMC 10 SAI2 RX BCLK */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:10 Alt:3  GPIO EMC 10 FLEXCAN2 RX */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:10 Alt:4 No input selection */
@@ -653,7 +668,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:11 Alt:1  GPIO EMC 11 FLEXPWM2 PWMB02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:11 Alt:2  GPIO EMC 11 LPI2C4 SDA */
@@ -724,7 +740,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:12 Alt:4  GPIO EMC 12 FLEXPWM1 PWMA03 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:12 Alt:5 No input selection */
@@ -744,7 +761,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:12 Alt:8  GPIO EMC 12 FLEXSPI2 B SCLK */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_SCK_FB_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXSPI2_IPP_IND_SCK_FB_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:12 Alt:9 No input selection */
@@ -780,7 +799,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:13 Alt:4  GPIO EMC 13 FLEXPWM1 PWMB03 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:13 Alt:5 No input selection */
@@ -800,7 +820,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:13 Alt:8  GPIO EMC 13 FLEXSPI2 B DATA00 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT0_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT0_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:13 Alt:9 No input selection */
@@ -856,7 +878,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:14 Alt:8  GPIO EMC 14 FLEXSPI2 B DATA01 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT1_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT1_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:14 Alt:9 No input selection */
@@ -882,7 +906,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:15 Alt:2  GPIO EMC 15 LPUART3 CTS B */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:15 Alt:3 No input selection */
@@ -892,7 +917,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:15 Alt:4  GPIO EMC 15 QTIMER3 TIMER0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:15 Alt:5 No input selection */
@@ -912,7 +938,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:15 Alt:8  GPIO EMC 15 FLEXSPI2 B DATA02 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT2_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT2_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:15 Alt:9 No input selection */
@@ -948,7 +976,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:16 Alt:4  GPIO EMC 16 QTIMER3 TIMER1 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:16 Alt:5 No input selection */
@@ -968,7 +997,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:16 Alt:8  GPIO EMC 16 FLEXSPI2 B DATA03 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT3_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT3_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:16 Alt:9 No input selection */
@@ -989,7 +1020,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:17 Alt:1  GPIO EMC 17 FLEXPWM4 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA3_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:17 Alt:2 No input selection */
@@ -1004,7 +1036,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:17 Alt:4  GPIO EMC 17 QTIMER3 TIMER2 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:17 Alt:5 No input selection */
@@ -1055,12 +1088,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:18 Alt:3  GPIO EMC 18 FLEXCAN1 RX */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:18 Alt:4  GPIO EMC 18 QTIMER3 TIMER3 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:18 Alt:5 No input selection */
@@ -1101,7 +1136,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:19 Alt:1  GPIO EMC 19 FLEXPWM2 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:19 Alt:2  GPIO EMC 19 LPUART4 TX */
@@ -1111,12 +1147,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:19 Alt:3  GPIO EMC 19 ENET RDATA01 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET1_RXDATA_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET1_RXDATA_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:19 Alt:4  GPIO EMC 19 QTIMER2 TIMER0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:19 Alt:5 No input selection */
@@ -1157,22 +1195,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:20 Alt:1  GPIO EMC 20 FLEXPWM2 PWMB03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:20 Alt:2  GPIO EMC 20 LPUART4 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_RX_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_RX_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:20 Alt:3  GPIO EMC 20 ENET RDATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_RXDATA_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_RXDATA_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:20 Alt:4  GPIO EMC 20 QTIMER2 TIMER1 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:20 Alt:5 No input selection */
@@ -1228,7 +1270,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:21 Alt:4  GPIO EMC 21 QTIMER2 TIMER2 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:21 Alt:5 No input selection */
@@ -1284,7 +1327,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:22 Alt:4  GPIO EMC 22 QTIMER2 TIMER3 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:22 Alt:5 No input selection */
@@ -1325,7 +1369,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:23 Alt:1  GPIO EMC 23 FLEXPWM1 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:23 Alt:2  GPIO EMC 23 LPUART5 TX */
@@ -1340,7 +1385,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:23 Alt:4  GPIO EMC 23 GPT1 CAPTURE2 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT1_IPP_IND_CAPIN2_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_GPT1_IPP_IND_CAPIN2_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:23 Alt:5 No input selection */
@@ -1360,7 +1407,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:23 Alt:8  GPIO EMC 23 FLEXSPI2 A DQS */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_DQS_FA_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXSPI2_IPP_IND_DQS_FA_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:23 Alt:9 No input selection */
@@ -1381,7 +1430,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:24 Alt:1  GPIO EMC 24 FLEXPWM1 PWMB00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:24 Alt:2  GPIO EMC 24 LPUART5 RX */
@@ -1396,7 +1446,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:24 Alt:4  GPIO EMC 24 GPT1 CAPTURE1 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT1_IPP_IND_CAPIN1_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_GPT1_IPP_IND_CAPIN1_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:24 Alt:5 No input selection */
@@ -1437,7 +1489,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:25 Alt:1  GPIO EMC 25 FLEXPWM1 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:25 Alt:2  GPIO EMC 25 LPUART6 TX */
@@ -1452,7 +1505,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:25 Alt:4  GPIO EMC 25 ENET REF CLK */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:25 Alt:5 No input selection */
@@ -1472,7 +1526,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:25 Alt:8  GPIO EMC 25 FLEXSPI2 A SCLK */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_SCK_FA_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXSPI2_IPP_IND_SCK_FA_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:25 Alt:9 No input selection */
@@ -1493,7 +1549,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:26 Alt:1  GPIO EMC 26 FLEXPWM1 PWMB01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:26 Alt:2  GPIO EMC 26 LPUART6 RX */
@@ -1528,7 +1585,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:26 Alt:8  GPIO EMC 26 FLEXSPI2 A DATA00 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT0_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT0_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:26 Alt:9 No input selection */
@@ -1549,7 +1608,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:27 Alt:1  GPIO EMC 27 FLEXPWM1 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:27 Alt:2 No input selection */
@@ -1584,7 +1644,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:27 Alt:8  GPIO EMC 27 FLEXSPI2 A DATA01 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT1_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT1_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:27 Alt:9 No input selection */
@@ -1605,7 +1667,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:28 Alt:1  GPIO EMC 28 FLEXPWM1 PWMB02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:28 Alt:2 No input selection */
@@ -1640,7 +1703,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:28 Alt:8  GPIO EMC 28 FLEXSPI2 A DATA02 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT2_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT2_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:28 Alt:9 No input selection */
@@ -1696,7 +1761,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:29 Alt:8  GPIO EMC 29 FLEXSPI2 A DATA03 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT3_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT3_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:29 Alt:9 No input selection */
@@ -1727,7 +1794,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:30 Alt:3  GPIO EMC 30 LPSPI1 PCS0 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:30 Alt:4 No input selection */
@@ -1839,7 +1907,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:32 Alt:3  GPIO EMC 32 CCM PMIC RDY */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT3].sel   = 4,
 
       /* Index:32 Alt:4 No input selection */
@@ -1895,7 +1964,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:33 Alt:3  GPIO EMC 33 SAI3 RX DATA */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPP_IND_SAI_RXDATA_0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SAI3_IPP_IND_SAI_RXDATA_0_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:33 Alt:4 No input selection */
@@ -1920,12 +1991,15 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:33 Alt:8  GPIO EMC 33 ENET2 TX CLK */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_TXCLK_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_TXCLK_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:33 Alt:9  GPIO EMC 33 ENET2 REF CLK2 */
 
-      [ALT9].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPG_CLK_RMII_OFFSET),
+      [ALT9].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPG_CLK_RMII_OFFSET),
       [ALT9].sel   = 0,
     },
   },
@@ -1951,7 +2025,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:34 Alt:3  GPIO EMC 34 SAI3 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPP_IND_SAI_RXSYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SAI3_IPP_IND_SAI_RXSYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:34 Alt:4 No input selection */
@@ -1976,7 +2052,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:34 Alt:8  GPIO EMC 34 ENET2 RX ER */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXERR_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXERR_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:34 Alt:9 No input selection */
@@ -2007,7 +2085,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:35 Alt:3  GPIO EMC 35 SAI3 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPP_IND_SAI_RXBCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SAI3_IPP_IND_SAI_RXBCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:35 Alt:4 No input selection */
@@ -2022,7 +2102,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:35 Alt:6  GPIO EMC 35 USDHC1 CD B */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:35 Alt:7 No input selection */
@@ -2032,7 +2113,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:35 Alt:8  GPIO EMC 35 ENET2 RDATA00 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_0_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_0_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:35 Alt:9 No input selection */
@@ -2088,7 +2171,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:36 Alt:8  GPIO EMC 36 ENET2 RDATA01 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_1_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_1_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:36 Alt:9 No input selection */
@@ -2119,7 +2204,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:37 Alt:3  GPIO EMC 37 SAI3 MCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPG_CLK_SAI_MCLK_2_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SAI3_IPG_CLK_SAI_MCLK_2_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:37 Alt:4 No input selection */
@@ -2144,12 +2231,16 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:37 Alt:8  GPIO EMC 37 ENET2 RX EN */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXEN_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXEN_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:37 Alt:9  GPIO EMC 37 FLEXCAN3 RX */
 
-      [ALT9].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CANFD_IPP_IND_CANRX_OFFSET),
+      [ALT9].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_CANFD_IPP_IND_CANRX_OFFSET),
       [ALT9].sel   = 0,
     },
   },
@@ -2165,7 +2256,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:38 Alt:1  GPIO EMC 38 FLEXPWM1 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:38 Alt:2  GPIO EMC 38 LPUART8 TX */
@@ -2175,7 +2267,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:38 Alt:3  GPIO EMC 38 SAI3 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPP_IND_SAI_TXBCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SAI3_IPP_IND_SAI_TXBCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:38 Alt:4 No input selection */
@@ -2221,7 +2315,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:39 Alt:1  GPIO EMC 39 FLEXPWM1 PWMB03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:39 Alt:2  GPIO EMC 39 LPUART8 RX */
@@ -2231,7 +2326,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:39 Alt:3  GPIO EMC 39 SAI3 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPP_IND_SAI_TXSYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SAI3_IPP_IND_SAI_TXSYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:39 Alt:4 No input selection */
@@ -2246,7 +2343,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:39 Alt:6  GPIO EMC 39 USDHC2 CD B */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:39 Alt:7 No input selection */
@@ -2256,12 +2354,16 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:39 Alt:8  GPIO EMC 39 ENET2 MDIO */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_MDIO_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_MDIO_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:39 Alt:9  GPIO EMC 39 SEMC DQS4 */
 
-      [ALT9].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SEMC_I_IPP_IND_DQS4_OFFSET),
+      [ALT9].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SEMC_I_IPP_IND_DQS4_OFFSET),
       [ALT9].sel   = 1,
     },
   },
@@ -2277,7 +2379,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:40 Alt:1  GPIO EMC 40 GPT2 CAPTURE2 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT2_IPP_IND_CAPIN2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_GPT2_IPP_IND_CAPIN2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:40 Alt:2 No input selection */
@@ -2287,7 +2391,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:40 Alt:3  GPIO EMC 40 USB OTG2 OC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG2_OC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG2_OC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:40 Alt:4 No input selection */
@@ -2333,7 +2438,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:41 Alt:1  GPIO EMC 41 GPT2 CAPTURE1 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT2_IPP_IND_CAPIN1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_GPT2_IPP_IND_CAPIN1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:41 Alt:2 No input selection */
@@ -2384,7 +2491,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:42 Alt:0  GPIO AD B0 00 FLEXPWM2 PWMA03 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT0].sel   = 2,
 
       /* Index:42 Alt:1  GPIO AD B0 00 XBAR1 INOUT14 */
@@ -2399,7 +2507,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:42 Alt:3  GPIO AD B0 00 USB OTG2 ID */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG2_ID_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG2_ID_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:42 Alt:4 No input selection */
@@ -2440,7 +2549,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:43 Alt:0  GPIO AD B0 01 FLEXPWM2 PWMB03 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
       [ALT0].sel   = 2,
 
       /* Index:43 Alt:1  GPIO AD B0 01 XBAR1 INOUT15 */
@@ -2455,7 +2565,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:43 Alt:3  GPIO AD B0 01 USB OTG1 ID */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:43 Alt:4 No input selection */
@@ -2552,7 +2663,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:45 Alt:0  GPIO AD B0 03 FLEXCAN2 RX */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:45 Alt:1  GPIO AD B0 03 XBAR1 INOUT17 */
@@ -2567,7 +2679,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:45 Alt:3  GPIO AD B0 03 USB OTG1 OC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:45 Alt:4 No input selection */
@@ -2587,7 +2700,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:45 Alt:7  GPIO AD B0 03 LPSPI3 PCS0 */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_PCS0_OFFSET),
+      [ALT7].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_PCS0_OFFSET),
       [ALT7].sel   = 0,
 
       /* Index:45 Alt:8 No input selection */
@@ -2623,7 +2737,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:46 Alt:3  GPIO AD B0 04 SAI2 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:46 Alt:4  GPIO AD B0 04 CSI DATA09 */
@@ -2679,7 +2794,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:47 Alt:3  GPIO AD B0 05 SAI2 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_TX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:47 Alt:4  GPIO AD B0 05 CSI DATA08 */
@@ -2735,7 +2851,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:48 Alt:3  GPIO AD B0 06 SAI2 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:48 Alt:4  GPIO AD B0 06 CSI DATA07 */
@@ -2791,7 +2908,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:49 Alt:3  GPIO AD B0 07 SAI2 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:49 Alt:4  GPIO AD B0 07 CSI DATA06 */
@@ -2847,7 +2965,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:50 Alt:3  GPIO AD B0 08 SAI2 RX DATA */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI2_RX_DATA0_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:50 Alt:4  GPIO AD B0 08 CSI DATA05 */
@@ -2893,7 +3012,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:51 Alt:1  GPIO AD B0 09 FLEXPWM2 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT1].sel   = 3,
 
       /* Index:51 Alt:2 No input selection */
@@ -2923,7 +3043,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:51 Alt:7  GPIO AD B0 09 GPT2 CLK */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT2_IPP_IND_CLKIN_OFFSET),
+      [ALT7].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT2_IPP_IND_CLKIN_OFFSET),
       [ALT7].sel   = 0,
 
       /* Index:51 Alt:8 No input selection */
@@ -2933,7 +3054,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:51 Alt:9  GPIO AD B0 09 SEMC DQS4 */
 
-      [ALT9].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SEMC_I_IPP_IND_DQS4_OFFSET),
+      [ALT9].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SEMC_I_IPP_IND_DQS4_OFFSET),
       [ALT9].sel   = 2,
     },
   },
@@ -2949,7 +3072,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:52 Alt:1  GPIO AD B0 10 FLEXPWM1 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT1].sel   = 3,
 
       /* Index:52 Alt:2 No input selection */
@@ -3005,7 +3129,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:53 Alt:1  GPIO AD B0 11 FLEXPWM1 PWMB03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT1].sel   = 3,
 
       /* Index:53 Alt:2 No input selection */
@@ -3020,7 +3145,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:53 Alt:4  GPIO AD B0 11 CSI DATA02 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA02_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CSI_DATA02_OFFSET),
       [ALT4].sel   = 1,
 
       /* Index:53 Alt:5 No input selection */
@@ -3030,17 +3156,21 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:53 Alt:6  GPIO AD B0 11 XBAR1 IN23 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN23_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN23_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:53 Alt:7  GPIO AD B0 11 ENET 1588 EVENT0 IN */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
+      [ALT7].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
       [ALT7].sel   = 1,
 
       /* Index:53 Alt:8  GPIO AD B0 11 FLEXCAN3 RX */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CANFD_IPP_IND_CANRX_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_CANFD_IPP_IND_CANRX_OFFSET),
       [ALT8].sel   = 2,
 
       /* Index:53 Alt:9 No input selection */
@@ -3056,12 +3186,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:54 Alt:0  GPIO AD B0 12 LPI2C4 SCL */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C4_SCL_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C4_SCL_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:54 Alt:1  GPIO AD B0 12 CCM PMIC READY */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:54 Alt:2 No input selection */
@@ -3091,7 +3223,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:54 Alt:7  GPIO AD B0 12 NMI GLUE NMI */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
+      [ALT7].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
       [ALT7].sel   = 0,
 
       /* Index:54 Alt:8 No input selection */
@@ -3117,7 +3250,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:55 Alt:1  GPIO AD B0 13 GPT1 CLK */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT1_IPP_IND_CLKIN_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT1_IPP_IND_CLKIN_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:55 Alt:2 No input selection */
@@ -3168,12 +3302,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:56 Alt:0  GPIO AD B0 14 USB OTG2 OC */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG2_OC_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG2_OC_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:56 Alt:1  GPIO AD B0 14 XBAR1 IN24 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN24_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN24_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:56 Alt:2 No input selection */
@@ -3239,7 +3375,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:57 Alt:3  GPIO AD B0 15 ENET 1588 EVENT0 IN */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:57 Alt:4  GPIO AD B0 15 CSI HSYNC */
@@ -3254,7 +3391,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:57 Alt:6  GPIO AD B0 15 FLEXCAN2 RX */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT6].sel   = 2,
 
       /* Index:57 Alt:7 No input selection */
@@ -3264,7 +3402,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:57 Alt:8  GPIO AD B0 15 FLEXCAN3 RX */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CANFD_IPP_IND_CANRX_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_CANFD_IPP_IND_CANRX_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:57 Alt:9 No input selection */
@@ -3280,12 +3420,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:58 Alt:0  GPIO AD B1 00 USB OTG2 ID */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG2_ID_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG2_ID_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:58 Alt:1  GPIO AD B1 00 QTIMER3 TIMER0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:58 Alt:2 No input selection */
@@ -3341,7 +3483,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:59 Alt:1  GPIO AD B1 01 QTIMER3 TIMER1 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:59 Alt:2 No input selection */
@@ -3356,7 +3499,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:59 Alt:4  GPIO AD B1 01 CCM PMIC READY */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT4].sel   = 2,
 
       /* Index:59 Alt:5 No input selection */
@@ -3376,7 +3520,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:59 Alt:8  GPIO AD B1 01 ENET2 1588 EVENT0 IN */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_TIMER_0_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_TIMER_0_OFFSET),
       [ALT8].sel   = 0,
 
       /* Index:59 Alt:9 No input selection */
@@ -3392,17 +3538,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:60 Alt:0  GPIO AD B1 02 USB OTG1 ID */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ANATOP_USB_OTG1_ID_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:60 Alt:1  GPIO AD B1 02 QTIMER3 TIMER2 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:60 Alt:2  GPIO AD B1 02 LPUART2 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART2_TX_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART2_TX_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:60 Alt:3 No input selection */
@@ -3422,7 +3571,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:60 Alt:6  GPIO AD B1 02 USDHC1 CD B */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:60 Alt:7 No input selection */
@@ -3432,7 +3582,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:60 Alt:8  GPIO AD B1 02 GPT2 CLK */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT2_IPP_IND_CLKIN_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT2_IPP_IND_CLKIN_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:60 Alt:9 No input selection */
@@ -3448,12 +3599,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:61 Alt:0  GPIO AD B1 03 USB OTG1 OC */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USB_OTG1_OC_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:61 Alt:1  GPIO AD B1 03 QTIMER3 TIMER3 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:61 Alt:2  GPIO AD B1 03 LPUART2 RX */
@@ -3478,7 +3631,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:61 Alt:6  GPIO AD B1 03 USDHC2 CD B */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_CD_B_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:61 Alt:7 No input selection */
@@ -3488,7 +3642,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:61 Alt:8  GPIO AD B1 03 GPT2 CAPTURE1 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT2_IPP_IND_CAPIN1_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_GPT2_IPP_IND_CAPIN1_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:61 Alt:9 No input selection */
@@ -3504,7 +3660,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:62 Alt:0  GPIO AD B1 04 FLEXSPIB DATA03 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA3_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA3_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:62 Alt:1 No input selection */
@@ -3514,7 +3671,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:62 Alt:2  GPIO AD B1 04 LPUART3 CTS B */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_CTS_B_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:62 Alt:3 No input selection */
@@ -3534,7 +3692,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:62 Alt:6  GPIO AD B1 04 USDHC2 DATA0 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA0_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA0_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:62 Alt:7 No input selection */
@@ -3544,7 +3703,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:62 Alt:8  GPIO AD B1 04 GPT2 CAPTURE2 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT2_IPP_IND_CAPIN2_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_GPT2_IPP_IND_CAPIN2_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:62 Alt:9 No input selection */
@@ -3560,7 +3721,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:63 Alt:0  GPIO AD B1 05 FLEXSPIB DATA02 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA2_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA2_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:63 Alt:1  GPIO AD B1 05 ENET MDIO */
@@ -3590,7 +3752,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:63 Alt:6  GPIO AD B1 05 USDHC2 DATA1 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA1_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA1_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:63 Alt:7 No input selection */
@@ -3616,7 +3779,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:64 Alt:0  GPIO AD B1 06 FLEXSPIB DATA01 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA1_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA1_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:64 Alt:1  GPIO AD B1 06 LPI2C3 SDA */
@@ -3626,7 +3790,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:64 Alt:2  GPIO AD B1 06 LPUART3 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_TX_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART3_TX_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:64 Alt:3 No input selection */
@@ -3646,7 +3811,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:64 Alt:6  GPIO AD B1 06 USDHC2 DATA2 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA2_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA2_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:64 Alt:7 No input selection */
@@ -3672,7 +3838,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:65 Alt:0  GPIO AD B1 07 FLEXSPIB DATA00 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA0_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA0_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:65 Alt:1  GPIO AD B1 07 LPI2C3 SCL */
@@ -3702,7 +3869,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:65 Alt:6  GPIO AD B1 07 USDHC2 DATA3 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA3_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA3_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:65 Alt:7 No input selection */
@@ -3733,7 +3901,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:66 Alt:1  GPIO AD B1 08 FLEXPWM4 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:66 Alt:2 No input selection */
@@ -3743,7 +3912,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:66 Alt:3  GPIO AD B1 08 CCM PMIC READY */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT3].sel   = 3,
 
       /* Index:66 Alt:4  GPIO AD B1 08 CSI DATA09 */
@@ -3784,17 +3954,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:67 Alt:0  GPIO AD B1 09 FLEXSPIA DQS */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DQS_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DQS_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:67 Alt:1  GPIO AD B1 09 FLEXPWM4 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:67 Alt:2  GPIO AD B1 09 FLEXCAN1 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT2].sel   = 2,
 
       /* Index:67 Alt:3  GPIO AD B1 09 SAI1 MCLK */
@@ -3840,7 +4013,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:68 Alt:0  GPIO AD B1 10 FLEXSPIA DATA03 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:68 Alt:1 No input selection */
@@ -3855,7 +4029,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:68 Alt:3  GPIO AD B1 10 SAI1 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:68 Alt:4  GPIO AD B1 10 CSI DATA07 */
@@ -3896,7 +4071,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:69 Alt:0  GPIO AD B1 11 FLEXSPIA DATA02 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:69 Alt:1 No input selection */
@@ -3911,7 +4087,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:69 Alt:3  GPIO AD B1 11 SAI1 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:69 Alt:4  GPIO AD B1 11 CSI DATA06 */
@@ -3952,7 +4129,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:70 Alt:0  GPIO AD B1 12 FLEXSPIA DATA01 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:70 Alt:1 No input selection */
@@ -3962,12 +4140,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:70 Alt:2  GPIO AD B1 12 LPSPI3 PCS0 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_PCS0_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI3_PCS0_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:70 Alt:3  GPIO AD B1 12 SAI1 RX DATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:70 Alt:4  GPIO AD B1 12 CSI DATA05 */
@@ -3982,7 +4162,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:70 Alt:6  GPIO AD B1 12 USDHC2 DATA4 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA4_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA4_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:70 Alt:7 No input selection */
@@ -4008,7 +4189,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:71 Alt:0  GPIO AD B1 13 FLEXSPIA DATA00 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:71 Alt:1 No input selection */
@@ -4038,7 +4220,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:71 Alt:6  GPIO AD B1 13 USDHC2 DATA5 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA5_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA5_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:71 Alt:7 No input selection */
@@ -4064,7 +4247,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:72 Alt:0  GPIO AD B1 14 FLEXSPIA SCLK */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:72 Alt:1 No input selection */
@@ -4079,7 +4263,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:72 Alt:3  GPIO AD B1 14 SAI1 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:72 Alt:4  GPIO AD B1 14 CSI DATA03 */
@@ -4094,7 +4279,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:72 Alt:6  GPIO AD B1 14 USDHC2 DATA6 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA6_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA6_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:72 Alt:7 No input selection */
@@ -4135,7 +4321,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:73 Alt:3  GPIO AD B1 15 SAI1 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:73 Alt:4  GPIO AD B1 15 CSI DATA02 */
@@ -4150,7 +4337,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:73 Alt:6  GPIO AD B1 15 USDHC2 DATA7 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA7_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA7_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:73 Alt:7 No input selection */
@@ -4191,7 +4379,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:74 Alt:3  GPIO B0 00 LPSPI4 PCS0 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:74 Alt:4 No input selection */
@@ -4272,7 +4461,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:75 Alt:8  GPIO B0 01 ENET2 MDIO */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_MDIO_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_MDIO_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:75 Alt:9 No input selection */
@@ -4349,12 +4540,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:77 Alt:1  GPIO B0 03 QTIMER2 TIMER0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:77 Alt:2  GPIO B0 03 FLEXCAN1 RX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT2].sel   = 3,
 
       /* Index:77 Alt:3  GPIO B0 03 LPSPI4 SCK */
@@ -4384,7 +4577,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:77 Alt:8  GPIO B0 03 ENET2 1588 EVENT0 IN */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_TIMER_0_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_TIMER_0_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:77 Alt:9 No input selection */
@@ -4405,7 +4600,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:78 Alt:1  GPIO B0 04 QTIMER2 TIMER1 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:78 Alt:2  GPIO B0 04 LPI2C2 SCL */
@@ -4461,12 +4657,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:79 Alt:1  GPIO B0 05 QTIMER2 TIMER2 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:79 Alt:2  GPIO B0 05 LPI2C2 SDA */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C2_SDA_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C2_SDA_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:79 Alt:3 No input selection */
@@ -4517,12 +4715,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:80 Alt:1  GPIO B0 06 QTIMER3 TIMER0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER0_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:80 Alt:2  GPIO B0 06 FLEXPWM2 PWMA00 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA0_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:80 Alt:3 No input selection */
@@ -4573,12 +4773,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:81 Alt:1  GPIO B0 07 QTIMER3 TIMER1 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER1_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:81 Alt:2  GPIO B0 07 FLEXPWM2 PWMB00 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB0_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:81 Alt:3 No input selection */
@@ -4629,12 +4831,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:82 Alt:1  GPIO B0 08 QTIMER3 TIMER2 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER2_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:82 Alt:2  GPIO B0 08 FLEXPWM2 PWMA01 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA1_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:82 Alt:3  GPIO B0 08 LPUART3 TX */
@@ -4690,7 +4894,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:83 Alt:2  GPIO B0 09 FLEXPWM2 PWMB01 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB1_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:83 Alt:3  GPIO B0 09 LPUART3 RX */
@@ -4746,12 +4951,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:84 Alt:2  GPIO B0 10 FLEXPWM2 PWMA02 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA2_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:84 Alt:3  GPIO B0 10 SAI1 TX DATA03 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:84 Alt:4 No input selection */
@@ -4802,12 +5009,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:85 Alt:2  GPIO B0 11 FLEXPWM2 PWMB02 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB2_OFFSET),
       [ALT2].sel   = 1,
 
       /* Index:85 Alt:3  GPIO B0 11 SAI1 TX DATA02 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:85 Alt:4 No input selection */
@@ -4863,7 +5072,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:86 Alt:3  GPIO B0 12 SAI1 TX DATA01 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:86 Alt:4 No input selection */
@@ -4975,7 +5185,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:88 Alt:3  GPIO B0 14 SAI1 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:88 Alt:4 No input selection */
@@ -5031,7 +5242,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:89 Alt:3  GPIO B0 15 SAI1 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:89 Alt:4 No input selection */
@@ -5056,12 +5268,15 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:89 Alt:8  GPIO B0 15 ENET2 TX CLK */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_TXCLK_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_TXCLK_OFFSET),
       [ALT8].sel   = 2,
 
       /* Index:89 Alt:9  GPIO B0 15 ENET2 REF CLK2 */
 
-      [ALT9].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPG_CLK_RMII_OFFSET),
+      [ALT9].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPG_CLK_RMII_OFFSET),
       [ALT9].sel   = 2,
     },
   },
@@ -5087,7 +5302,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:90 Alt:3  GPIO B1 00 SAI1 RX DATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:90 Alt:4 No input selection */
@@ -5102,7 +5318,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:90 Alt:6  GPIO B1 00 FLEXPWM1 PWMA03 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT6].sel   = 4,
 
       /* Index:90 Alt:7 No input selection */
@@ -5112,7 +5329,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:90 Alt:8  GPIO B1 00 ENET2 RX ER */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXERR_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXERR_OFFSET),
       [ALT8].sel   = 2,
 
       /* Index:90 Alt:9 No input selection */
@@ -5158,7 +5377,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:91 Alt:6  GPIO B1 01 FLEXPWM1 PWMB03 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT6].sel   = 4,
 
       /* Index:91 Alt:7 No input selection */
@@ -5168,7 +5388,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:91 Alt:8  GPIO B1 01 ENET2 RDATA00 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_0_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_0_OFFSET),
       [ALT8].sel   = 2,
 
       /* Index:91 Alt:9 No input selection */
@@ -5199,7 +5421,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:92 Alt:3  GPIO B1 02 SAI1 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:92 Alt:4 No input selection */
@@ -5214,7 +5437,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:92 Alt:6  GPIO B1 02 FLEXPWM2 PWMA03 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT6].sel   = 4,
 
       /* Index:92 Alt:7 No input selection */
@@ -5224,7 +5448,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:92 Alt:8  GPIO B1 02 ENET2 RDATA01 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_1_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_1_OFFSET),
       [ALT8].sel   = 2,
 
       /* Index:92 Alt:9 No input selection */
@@ -5245,7 +5471,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:93 Alt:1  GPIO B1 03 XBAR1 INOUT17 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN17_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_XBAR1_IN17_OFFSET),
       [ALT1].sel   = 3,
 
       /* Index:93 Alt:2 No input selection */
@@ -5255,7 +5482,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:93 Alt:3  GPIO B1 03 SAI1 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:93 Alt:4 No input selection */
@@ -5270,7 +5498,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:93 Alt:6  GPIO B1 03 FLEXPWM2 PWMB03 */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
       [ALT6].sel   = 3,
 
       /* Index:93 Alt:7 No input selection */
@@ -5280,7 +5509,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:93 Alt:8  GPIO B1 03 ENET2 RX EN */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXEN_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXEN_OFFSET),
       [ALT8].sel   = 2,
 
       /* Index:93 Alt:9 No input selection */
@@ -5301,7 +5532,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:94 Alt:1  GPIO B1 04 LPSPI4 PCS0 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI4_PCS0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:94 Alt:2 No input selection */
@@ -5311,7 +5543,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:94 Alt:3  GPIO B1 04 ENET RX DATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_RXDATA_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_RXDATA_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:94 Alt:4 No input selection */
@@ -5336,7 +5569,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:94 Alt:8  GPIO B1 04 GPT1 CLK */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT1_IPP_IND_CLKIN_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT1_IPP_IND_CLKIN_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:94 Alt:9 No input selection */
@@ -5367,7 +5601,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:95 Alt:3  GPIO B1 05 ENET RX DATA01 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET1_RXDATA_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET1_RXDATA_OFFSET),
       [ALT3].sel   = 1,
 
       /* Index:95 Alt:4 No input selection */
@@ -5392,7 +5627,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:95 Alt:8  GPIO B1 05 GPT1 CAPTURE1 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT1_IPP_IND_CAPIN1_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_GPT1_IPP_IND_CAPIN1_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:95 Alt:9 No input selection */
@@ -5448,7 +5685,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:96 Alt:8  GPIO B1 06 GPT1 CAPTURE2 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_GPT1_IPP_IND_CAPIN2_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_GPT1_IPP_IND_CAPIN2_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:96 Alt:9 No input selection */
@@ -5581,7 +5820,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:99 Alt:1  GPIO B1 09 QTIMER2 TIMER3 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER2_TIMER3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:99 Alt:2 No input selection */
@@ -5606,7 +5846,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:99 Alt:6  GPIO B1 09 FLEXCAN2 RX */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN2_RX_OFFSET),
       [ALT6].sel   = 3,
 
       /* Index:99 Alt:7 No input selection */
@@ -5637,7 +5878,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:100 Alt:1  GPIO B1 10 QTIMER3 TIMER3 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_QTIMER3_TIMER3_OFFSET),
       [ALT1].sel   = 2,
 
       /* Index:100 Alt:2 No input selection */
@@ -5662,7 +5904,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:100 Alt:6  GPIO B1 10 ENET REF CLK */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET_IPG_CLK_RMII_OFFSET),
       [ALT6].sel   = 1,
 
       /* Index:100 Alt:7 No input selection */
@@ -5759,7 +6002,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:102 Alt:3  GPIO B1 12 ENET 1588 EVENT0 IN */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET0_TIMER_OFFSET),
       [ALT3].sel   = 2,
 
       /* Index:102 Alt:4 No input selection */
@@ -5774,7 +6018,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:102 Alt:6  GPIO B1 12 USDHC1 CD B */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC1_CD_B_OFFSET),
       [ALT6].sel   = 2,
 
       /* Index:102 Alt:7 No input selection */
@@ -5840,7 +6085,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:103 Alt:8  GPIO B1 13 SEMC DQS4 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SEMC_I_IPP_IND_DQS4_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SEMC_I_IPP_IND_DQS4_OFFSET),
       [ALT8].sel   = 3,
 
       /* Index:103 Alt:9 No input selection */
@@ -5861,7 +6108,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:104 Alt:1  GPIO B1 14 FLEXPWM4 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:104 Alt:2  GPIO B1 14 CSI HSYNC */
@@ -5917,7 +6165,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:105 Alt:1  GPIO B1 15 FLEXPWM4 PWMA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM4_PWMA3_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:105 Alt:2 No input selection */
@@ -5973,7 +6222,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:106 Alt:1  GPIO SD B0 00 FLEXPWM1 PWMA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:106 Alt:2  GPIO SD B0 00 LPI2C3 SCL */
@@ -6013,7 +6263,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:106 Alt:9  GPIO SD B0 00 SEMC DQS4 */
 
-      [ALT9].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SEMC_I_IPP_IND_DQS4_OFFSET),
+      [ALT9].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SEMC_I_IPP_IND_DQS4_OFFSET),
       [ALT9].sel   = 0,
     },
   },
@@ -6029,7 +6281,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:107 Alt:1  GPIO SD B0 01 FLEXPWM1 PWMB00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB0_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:107 Alt:2  GPIO SD B0 01 LPI2C3 SDA */
@@ -6044,7 +6297,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:107 Alt:4  GPIO SD B0 01 LPSPI1 PCS0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI1_PCS0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:107 Alt:5 No input selection */
@@ -6064,12 +6318,15 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:107 Alt:8  GPIO SD B0 01 ENET2 TX CLK */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_TXCLK_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_TXCLK_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:107 Alt:9  GPIO SD B0 01 ENET2 REF CLK2 */
 
-      [ALT9].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPG_CLK_RMII_OFFSET),
+      [ALT9].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPG_CLK_RMII_OFFSET),
       [ALT9].sel   = 1,
     },
   },
@@ -6085,7 +6342,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:108 Alt:1  GPIO SD B0 02 FLEXPWM1 PWMA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:108 Alt:2 No input selection */
@@ -6120,7 +6378,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:108 Alt:8  GPIO SD B0 02 ENET2 RX ER */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXERR_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXERR_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:108 Alt:9 No input selection */
@@ -6141,7 +6401,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:109 Alt:1  GPIO SD B0 03 FLEXPWM1 PWMB01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_FLEXPWM1_PWMB1_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:109 Alt:2 No input selection */
@@ -6176,7 +6438,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:109 Alt:8  GPIO SD B0 03 ENET2 RDATA00 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_0_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_0_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:109 Alt:9 No input selection */
@@ -6197,7 +6461,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:110 Alt:1  GPIO SD B0 04 FLEXPWM1 PWMA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:110 Alt:2  GPIO SD B0 04 LPUART8 TX */
@@ -6232,7 +6497,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:110 Alt:8  GPIO SD B0 04 ENET2 RDATA01 */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_1_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                  IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXDATA_1_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:110 Alt:9 No input selection */
@@ -6253,7 +6520,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:111 Alt:1  GPIO SD B0 05 FLEXPWM1 PWMB02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB2_OFFSET),
       [ALT1].sel   = 1,
 
       /* Index:111 Alt:2  GPIO SD B0 05 LPUART8 RX */
@@ -6288,7 +6556,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:111 Alt:8  GPIO SD B0 05 ENET2 RX EN */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXEN_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                  IMXRT_INPUT_ENET2_IPP_IND_MAC0_RXEN_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:111 Alt:9 No input selection */
@@ -6304,22 +6574,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:112 Alt:0  GPIO SD B1 00 USDHC2 DATA3 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA3_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA3_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:112 Alt:1  GPIO SD B1 00 FLEXSPIB DATA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA3_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA3_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:112 Alt:2  GPIO SD B1 00 FLEXPWM1 PWMA03 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMA3_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:112 Alt:3  GPIO SD B1 00 SAI1 TX DATA03 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA1_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:112 Alt:4  GPIO SD B1 00 LPUART4 TX */
@@ -6344,7 +6618,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:112 Alt:8  GPIO SD B1 00 SAI3 RX DATA */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPP_IND_SAI_RXDATA_0_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SAI3_IPP_IND_SAI_RXDATA_0_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:112 Alt:9 No input selection */
@@ -6360,27 +6636,32 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:113 Alt:0  GPIO SD B1 01 USDHC2 DATA2 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA2_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA2_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:113 Alt:1  GPIO SD B1 01 FLEXSPIB DATA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:113 Alt:2  GPIO SD B1 01 FLEXPWM1 PWMB03 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM1_PWMB3_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:113 Alt:3  GPIO SD B1 01 SAI1 TX DATA02 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA2_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:113 Alt:4  GPIO SD B1 01 LPUART4 RX */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_RX_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART4_RX_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:113 Alt:5 No input selection */
@@ -6416,22 +6697,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:114 Alt:0  GPIO SD B1 02 USDHC2 DATA1 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA1_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA1_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:114 Alt:1  GPIO SD B1 02 FLEXSPIB DATA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:114 Alt:2  GPIO SD B1 02 FLEXPWM2 PWMA03 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMA3_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:114 Alt:3  GPIO SD B1 02 SAI1 TX DATA01 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA3_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:114 Alt:4 No input selection */
@@ -6456,7 +6741,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:114 Alt:8  GPIO SD B1 02 SAI3 TX SYNC */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPP_IND_SAI_TXSYNC_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                  IMXRT_INPUT_SAI3_IPP_IND_SAI_TXSYNC_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:114 Alt:9 No input selection */
@@ -6472,17 +6759,20 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:115 Alt:0  GPIO SD B1 03 USDHC2 DATA0 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA0_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA0_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:115 Alt:1  GPIO SD B1 03 FLEXSPIB DATA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIB_DATA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:115 Alt:2  GPIO SD B1 03 FLEXPWM2 PWMB03 */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
+      [ALT2].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXPWM2_PWMB3_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:115 Alt:3  GPIO SD B1 03 SAI1 MCLK */
@@ -6492,7 +6782,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:115 Alt:4  GPIO SD B1 03 FLEXCAN1 RX */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXCAN1_RX_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:115 Alt:5 No input selection */
@@ -6502,7 +6793,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:115 Alt:6  GPIO SD B1 03 CCM PMIC READY */
 
-      [ALT6].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
+      [ALT6].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_CCM_PMIC_READY_OFFSET),
       [ALT6].sel   = 0,
 
       /* Index:115 Alt:7 No input selection */
@@ -6512,7 +6804,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:115 Alt:8  GPIO SD B1 03 SAI3 TX BCLK */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPP_IND_SAI_TXBCLK_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                 IMXRT_INPUT_SAI3_IPP_IND_SAI_TXBCLK_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:115 Alt:9 No input selection */
@@ -6543,7 +6837,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:116 Alt:3  GPIO SD B1 04 SAI1 RX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_SYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:116 Alt:4 No input selection */
@@ -6568,7 +6863,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:116 Alt:8  GPIO SD B1 04 SAI3 MCLK */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPG_CLK_SAI_MCLK_2_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                 IMXRT_INPUT_SAI3_IPG_CLK_SAI_MCLK_2_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:116 Alt:9 No input selection */
@@ -6589,7 +6886,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:117 Alt:1  GPIO SD B1 05 FLEXSPIA DQS */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DQS_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DQS_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:117 Alt:2  GPIO SD B1 05 LPI2C1 SDA */
@@ -6599,7 +6897,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:117 Alt:3  GPIO SD B1 05 SAI1 RX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_BCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:117 Alt:4 No input selection */
@@ -6624,7 +6923,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:117 Alt:8  GPIO SD B1 05 SAI3 RX SYNC */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPP_IND_SAI_RXSYNC_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                  IMXRT_INPUT_SAI3_IPP_IND_SAI_RXSYNC_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:117 Alt:9 No input selection */
@@ -6655,12 +6956,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:118 Alt:3  GPIO SD B1 06 SAI1 RX DATA00 */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_RX_DATA0_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:118 Alt:4  GPIO SD B1 06 LPSPI2 PCS0 */
 
-      [ALT4].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
+      [ALT4].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPSPI2_PCS0_OFFSET),
       [ALT4].sel   = 0,
 
       /* Index:118 Alt:5 No input selection */
@@ -6680,7 +6983,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:118 Alt:8  GPIO SD B1 06 SAI3 RX BCLK */
 
-      [ALT8].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI3_IPP_IND_SAI_RXBCLK_OFFSET),
+      [ALT8].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                   IMXRT_INPUT_SAI3_IPP_IND_SAI_RXBCLK_OFFSET),
       [ALT8].sel   = 1,
 
       /* Index:118 Alt:9 No input selection */
@@ -6701,7 +7006,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:119 Alt:1  GPIO SD B1 07 FLEXSPIA SCLK */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_SCK_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:119 Alt:2 No input selection */
@@ -6752,12 +7058,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:120 Alt:0  GPIO SD B1 08 USDHC2 DATA4 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA4_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA4_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:120 Alt:1  GPIO SD B1 08 FLEXSPIA DATA00 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA0_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:120 Alt:2  GPIO SD B1 08 LPUART7 TX */
@@ -6767,7 +7075,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:120 Alt:3  GPIO SD B1 08 SAI1 TX BCLK */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_BCLK_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:120 Alt:4  GPIO SD B1 08 LPSPI2 SD0 */
@@ -6808,12 +7117,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:121 Alt:0  GPIO SD B1 09 USDHC2 DATA5 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA5_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA5_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:121 Alt:1  GPIO SD B1 09 FLEXSPIA DATA01 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA1_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:121 Alt:2  GPIO SD B1 09 LPUART7 RX */
@@ -6823,7 +7134,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:121 Alt:3  GPIO SD B1 09 SAI1 TX SYNC */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_SAI1_TX_SYNC_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:121 Alt:4  GPIO SD B1 09 LPSPI2 SDI */
@@ -6864,12 +7176,14 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:122 Alt:0  GPIO SD B1 10 USDHC2 DATA6 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA6_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA6_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:122 Alt:1  GPIO SD B1 10 FLEXSPIA DATA02 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
+      [ALT1].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA2_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:122 Alt:2  GPIO SD B1 10 LPUART2 RX */
@@ -6920,22 +7234,26 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:123 Alt:0  GPIO SD B1 11 USDHC2 DATA7 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA7_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_USDHC2_DATA7_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:123 Alt:1  GPIO SD B1 11 FLEXSPIA DATA03 */
 
-      [ALT1].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
+      [ALT1].index =
+            IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPIA_DATA3_OFFSET),
       [ALT1].sel   = 0,
 
       /* Index:123 Alt:2  GPIO SD B1 11 LPUART2 TX */
 
-      [ALT2].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART2_TX_OFFSET),
+      [ALT2].index =
+              IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPUART2_TX_OFFSET),
       [ALT2].sel   = 0,
 
       /* Index:123 Alt:3  GPIO SD B1 11 LPI2C2 SCL */
 
-      [ALT3].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C2_SCL_OFFSET),
+      [ALT3].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_LPI2C2_SCL_OFFSET),
       [ALT3].sel   = 0,
 
       /* Index:123 Alt:4 No input selection */
@@ -7011,7 +7329,8 @@ static const struct imxrt_daisy_t g_daisy_select[] =
 
       /* Index:124 Alt:7  SNVS WAKEUP NMI GLUE NMI */
 
-      [ALT7].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
+      [ALT7].index =
+             IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_NMI_GLUE_NMI_OFFSET),
       [ALT7].sel   = 1,
 
       /* Index:124 Alt:8 No input selection */
@@ -7200,7 +7519,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:128 Alt:0  GPIO SPI B0 01 FLEXSPI2 B SCLK */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_SCK_FB_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                  IMXRT_INPUT_FLEXSPI2_IPP_IND_SCK_FB_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:128 Alt:1 No input selection */
@@ -7256,7 +7577,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:129 Alt:0  GPIO SPI B0 02 FLEXSPI2 A DATA00 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT0_OFFSET),
+      [ALT0].index =
+            IMXRT_INPUT_OFFSET2INDEX(
+                IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT0_OFFSET),
       [ALT0].sel   = 2,
 
       /* Index:129 Alt:1 No input selection */
@@ -7312,7 +7635,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:130 Alt:0  GPIO SPI B0 03 FLEXSPI2 B DATA02 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT2_OFFSET),
+      [ALT0].index =
+            IMXRT_INPUT_OFFSET2INDEX(
+                IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT2_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:130 Alt:1 No input selection */
@@ -7368,7 +7693,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:131 Alt:0  GPIO SPI B0 04 FLEXSPI2 B DATA03 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT3_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT3_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:131 Alt:1 No input selection */
@@ -7480,7 +7807,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:133 Alt:0  GPIO SPI B0 06 FLEXSPI2 A DATA02 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT2_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT2_OFFSET),
       [ALT0].sel   = 2,
 
       /* Index:133 Alt:1 No input selection */
@@ -7536,7 +7865,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:134 Alt:0  GPIO SPI B0 07 FLEXSPI2 B DATA01 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT1_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                 IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT1_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:134 Alt:1 No input selection */
@@ -7592,7 +7923,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:135 Alt:0  GPIO SPI B0 08 FLEXSPI2 A SCLK */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_SCK_FA_OFFSET),
+      [ALT0].index =
+             IMXRT_INPUT_OFFSET2INDEX(
+                 IMXRT_INPUT_FLEXSPI2_IPP_IND_SCK_FA_OFFSET),
       [ALT0].sel   = 2,
 
       /* Index:135 Alt:1 No input selection */
@@ -7648,7 +7981,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:136 Alt:0  GPIO SPI B0 09 FLEXSPI2 A DQS */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_DQS_FA_OFFSET),
+      [ALT0].index =
+            IMXRT_INPUT_OFFSET2INDEX(
+               IMXRT_INPUT_FLEXSPI2_IPP_IND_DQS_FA_OFFSET),
       [ALT0].sel   = 2,
 
       /* Index:136 Alt:1 No input selection */
@@ -7704,7 +8039,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:137 Alt:0  GPIO SPI B0 10 FLEXSPI2 A DATA03 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT3_OFFSET),
+      [ALT0].index =
+            IMXRT_INPUT_OFFSET2INDEX(
+                IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT3_OFFSET),
       [ALT0].sel   = 2,
 
       /* Index:137 Alt:1 No input selection */
@@ -7760,7 +8097,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:138 Alt:0  GPIO SPI B0 11 FLEXSPI2 B DATA00 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT0_OFFSET),
+      [ALT0].index =
+            IMXRT_INPUT_OFFSET2INDEX(
+                IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FB_BIT0_OFFSET),
       [ALT0].sel   = 1,
 
       /* Index:138 Alt:1 No input selection */
@@ -7816,7 +8155,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:139 Alt:0  GPIO SPI B0 12 FLEXSPI2 A DATA01 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT1_OFFSET),
+      [ALT0].index =
+            IMXRT_INPUT_OFFSET2INDEX(
+               IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT1_OFFSET),
       [ALT0].sel   = 2,
 
       /* Index:139 Alt:1 No input selection */
@@ -7928,7 +8269,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:141 Alt:0  GPIO SPI B1 00 FLEXSPI2 A DQS */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_DQS_FA_OFFSET),
+      [ALT0].index =
+          IMXRT_INPUT_OFFSET2INDEX(
+             IMXRT_INPUT_FLEXSPI2_IPP_IND_DQS_FA_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:141 Alt:1 No input selection */
@@ -7984,7 +8327,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:142 Alt:0  GPIO SPI B1 01 FLEXSPI2 A DATA03 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT3_OFFSET),
+      [ALT0].index =
+          IMXRT_INPUT_OFFSET2INDEX(
+             IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT3_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:142 Alt:1 No input selection */
@@ -8040,7 +8385,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:143 Alt:0  GPIO SPI B1 02 FLEXSPI2 A DATA02 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT2_OFFSET),
+      [ALT0].index =
+           IMXRT_INPUT_OFFSET2INDEX(
+             IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT2_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:143 Alt:1 No input selection */
@@ -8096,7 +8443,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:144 Alt:0  GPIO SPI B1 03 FLEXSPI2 A DATA01 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT1_OFFSET),
+      [ALT0].index =
+        IMXRT_INPUT_OFFSET2INDEX(
+                IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT1_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:144 Alt:1 No input selection */
@@ -8152,7 +8501,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:145 Alt:0  GPIO SPI B1 04 FLEXSPI2 A DATA00 */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT0_OFFSET),
+      [ALT0].index =
+              IMXRT_INPUT_OFFSET2INDEX(
+                    IMXRT_INPUT_FLEXSPI2_IPP_IND_IO_FA_BIT0_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:145 Alt:1 No input selection */
@@ -8208,7 +8559,9 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     {
       /* Index:146 Alt:0  GPIO SPI B1 05 FLEXSPI2 A SCLK */
 
-      [ALT0].index = IMXRT_INPUT_OFFSET2INDEX(IMXRT_INPUT_FLEXSPI2_IPP_IND_SCK_FA_OFFSET),
+      [ALT0].index =
+                 IMXRT_INPUT_OFFSET2INDEX(
+                       IMXRT_INPUT_FLEXSPI2_IPP_IND_SCK_FA_OFFSET),
       [ALT0].sel   = 0,
 
       /* Index:146 Alt:1 No input selection */
@@ -8370,3 +8723,7 @@ static const struct imxrt_daisy_t g_daisy_select[] =
     },
   },
 };
+
+/****************************************************************************
+ * Public Functions
+ ****************************************************************************/
diff --git a/arch/arm/src/imxrt/imxrt_xbar.c b/arch/arm/src/imxrt/imxrt_xbar.c
index 1039b7a..df97ae4 100644
--- a/arch/arm/src/imxrt/imxrt_xbar.c
+++ b/arch/arm/src/imxrt/imxrt_xbar.c
@@ -89,14 +89,17 @@ int imxrt_xbar_connect(uint16_t mux_index_out, uint16_t mux_index_input)
    * 4) Input index is input.
    */
 
-  if (xbar_index < sizeof(g_xbars_addresses) / sizeof(g_xbars_addresses[0]) &&
+  if (xbar_index < sizeof(g_xbars_addresses) /
+      sizeof(g_xbars_addresses[0]) &&
       (mux_index_out & XBAR_OUTPUT) == XBAR_OUTPUT &&
       (mux_index_input & XBAR_INPUT) == XBAR_INPUT)
     {
       address = g_xbars_addresses[xbar_index];
       address += (mux_select / IMXRT_SEL_PER_REG) * sizeof(uint16_t);
 
-      /* There are 2 selects per Register LSB is even selects and MSB is odd */
+      /* There are 2 selects per Register LSB is even selects and
+       * MSB is odd
+       */
 
       if (mux_select & 1)
         {
diff --git a/arch/arm/src/imxrt/imxrt_xbar.h b/arch/arm/src/imxrt/imxrt_xbar.h
index cda7fce..f974856 100644
--- a/arch/arm/src/imxrt/imxrt_xbar.h
+++ b/arch/arm/src/imxrt/imxrt_xbar.h
@@ -1,4 +1,4 @@
-/**************************************************************************************************************************************************
+/****************************************************************************
  * arch/arm/src/imxrt/imxrt_xbar.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,23 +16,27 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- **************************************************************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_IMXRT_IMXRT_XBAR_H
 #define __ARCH_ARM_SRC_IMXRT_IMXRT_XBAR_H
 
-/**************************************************************************************************************************************************
+/****************************************************************************
  * Included Files
- **************************************************************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <stdint.h>
 #include "hardware/imxrt_xbar.h"
 #include "hardware/imxrt_memorymap.h"
 
-/**************************************************************************************************************************************************
+/* Collect correct XBAR definitions from chip file */
+
+#include "hardware/imxrt_xbar.h"
+
+/****************************************************************************
  * Pre-processor Definitions
- **************************************************************************************************************************************************/
+ ****************************************************************************/
 
 /* Cross Bars
  *
@@ -48,7 +52,8 @@
  *   Therefore there are M select fields that will be written to I values.
  *   The M fields are know as SELn, there are 2 selects fields per register.
  *
- *   A Input is wired to an output with a call to imxrt_xbar_connect(output, input)
+ *   A Input is wired to an output with a call to imxrt_xbar_connect(output,
+ *   input)
  *
  */
 
@@ -57,52 +62,49 @@
  *    v vvvv  +++++++---- Index of input or output index
  * 000s xxxx  nnnnnnnn
  *
- * Where side is used to parameter check the passed value in output is an output
- * XBAR  is the index of the XBAR
+ * Where side is used to parameter check the passed value in output is an
+ * output XBAR  is the index of the XBAR
  * input|output index - the index of the M mux (output) or I.
  *
  */
 
 /* Input and Output Indexes  */
 
-#define IMXRT_XBARA_IO_INDEX_SHIFTS                      0
-#define IMXRT_XBARA_IO_INDEX_MASK                        (0xff << IMXRT_XBARA_IO_INDEX_SHIFTS)
+#define IMXRT_XBARA_IO_INDEX_SHIFTS  0
+#define IMXRT_XBARA_IO_INDEX_MASK    (0xff << IMXRT_XBARA_IO_INDEX_SHIFTS)
 
 /* Index for xbar addresses */
 
-#define IMXRT_XBARA_INDEX_SHIFTS                         8
-#define IMXRT_XBARA_INDEX_MASK                           (0xf << IMXRT_XBARA_INDEX_SHIFTS)
-#  define IMXRT_XBARA1_INDEX                             (0 << IMXRT_XBARA_INDEX_SHIFTS)
-#  define IMXRT_XBARA2_INDEX                             (1 << IMXRT_XBARA_INDEX_SHIFTS)
-#  define IMXRT_XBARA3_INDEX                             (2 << IMXRT_XBARA_INDEX_SHIFTS)
+#define IMXRT_XBARA_INDEX_SHIFTS     8
+#define IMXRT_XBARA_INDEX_MASK       (0xf << IMXRT_XBARA_INDEX_SHIFTS)
+#  define IMXRT_XBARA1_INDEX         (0 << IMXRT_XBARA_INDEX_SHIFTS)
+#  define IMXRT_XBARA2_INDEX         (1 << IMXRT_XBARA_INDEX_SHIFTS)
+#  define IMXRT_XBARA3_INDEX         (2 << IMXRT_XBARA_INDEX_SHIFTS)
 
 /* Side of xbar  */
 
-#define IMXRT_XBARA_SIDE_SHIFTS                          12
-#define IMXRT_XBARA_SIDE_MASK                            (0x1 << IMXRT_XBARA_SIDE_SHIFTS)
+#define IMXRT_XBARA_SIDE_SHIFTS      12
+#define IMXRT_XBARA_SIDE_MASK        (0x1 << IMXRT_XBARA_SIDE_SHIFTS)
 
-#define XBAR_OUTPUT                                      (0x1 << IMXRT_XBARA_SIDE_SHIFTS)
-#define XBAR_INPUT                                       (0x0 << IMXRT_XBARA_SIDE_SHIFTS)
+#define XBAR_OUTPUT                  (0x1 << IMXRT_XBARA_SIDE_SHIFTS)
+#define XBAR_INPUT                   (0x0 << IMXRT_XBARA_SIDE_SHIFTS)
 
 /* xbar helpers */
 
-#define IMXRT_XBARA1(side, select)                       ((uint16_t)((side) | IMXRT_XBARA1_INDEX | \
-                                                         ((select) & 0xff) << IMXRT_XBARA_IO_INDEX_SHIFTS))
-#define IMXRT_XBARA2(side, select)                       ((uint16_t)((side) | IMXRT_XBARA2_INDEX | \
-                                                         ((select) & 0xff) << IMXRT_XBARA_IO_INDEX_SHIFTS))
-#define IMXRT_XBARA3(side, select)                       ((uint16_t)((side) | IMXRT_XBARA3_INDEX | \
-                                                         ((select) & 0xff) << IMXRT_XBARA_IO_INDEX_SHIFTS))
+#define IMXRT_XBARA1(side, select)   ((uint16_t)((side) | IMXRT_XBARA1_INDEX | \
+                                     ((select) & 0xff) << IMXRT_XBARA_IO_INDEX_SHIFTS))
+#define IMXRT_XBARA2(side, select)   ((uint16_t)((side) | IMXRT_XBARA2_INDEX | \
+                                     ((select) & 0xff) << IMXRT_XBARA_IO_INDEX_SHIFTS))
+#define IMXRT_XBARA3(side, select)   ((uint16_t)((side) | IMXRT_XBARA3_INDEX | \
+                                     ((select) & 0xff) << IMXRT_XBARA_IO_INDEX_SHIFTS))
 
-#define IMXRT_SEL(six)                                   ((six) & IMXRT_XBARA_IO_INDEX_MASK) >> IMXRT_XBARA_IO_INDEX_SHIFTS
-#define IMXRT_XBAR(six)                                  ((six) & IMXRT_XBARA_INDEX_MASK) >> IMXRT_XBARA_INDEX_SHIFTS
-#define IMXRT_SIDE(six)                                  ((six) & IMXRT_XBARA_SIDE_MASK)  >> IMXRT_XBARA_SIDE_SHIFTS
-
-/* Collect correct XBAR definitions from chip file */
-#include "hardware/imxrt_xbar.h"
+#define IMXRT_SEL(six)               ((six) & IMXRT_XBARA_IO_INDEX_MASK) >> IMXRT_XBARA_IO_INDEX_SHIFTS
+#define IMXRT_XBAR(six)              ((six) & IMXRT_XBARA_INDEX_MASK) >> IMXRT_XBARA_INDEX_SHIFTS
+#define IMXRT_SIDE(six)              ((six) & IMXRT_XBARA_SIDE_MASK)  >> IMXRT_XBARA_SIDE_SHIFTS
 
-/**************************************************************************************************************************************************
- * Public Functions
- **************************************************************************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
@@ -115,7 +117,7 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/******************************************************************************************************************************************
+/****************************************************************************
  * Name: imxrt_xbar_connect
  *
  * Description:
@@ -128,7 +130,7 @@ extern "C"
  * Returned Value:
  *   OK on success; Negated errno on failure.
  *
- ******************************************************************************************************************************************/
+ ****************************************************************************/
 
 int imxrt_xbar_connect(uint16_t mux_out, uint16_t mux_input);
 
diff --git a/arch/arm/src/kl/hardware/kl_tsi.h b/arch/arm/src/kl/hardware/kl_tsi.h
index 95d7005..8fc88e1 100644
--- a/arch/arm/src/kl/hardware/kl_tsi.h
+++ b/arch/arm/src/kl/hardware/kl_tsi.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/kl/hardware/kl_tsi.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,38 +16,39 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KL_HARDWARE_KL_TSI_H
 #define __ARCH_ARM_SRC_KL_HARDWARE_KL_TSI_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define KL_TSI_GENCS_OFFSET            0x0000 /* General Control and Status Register */
 #define KL_TSI_DATA_OFFSET             0x0004 /* SCAN control register */
 #define KL_TSI_TSHD_OFFSET             0x0008 /* Pin enable register */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define KL_TSI_GENCS                   (KL_TSI_BASE+KL_TSI_GENCS_OFFSET)
 #define KL_TSI_DATA                    (KL_TSI_BASE+KL_TSI_DATA_OFFSET)
 #define KL_TSI_TSHD                    (KL_TSI_BASE+KL_TSI_TSHD_OFFSET)
 
-/* Register Bit Definitions *********************************************************/
+/* Register Bit Definitions *************************************************/
 
 /* General Control and Status Register */
+
                                                  /* Bit 0: Reserved */
 #define TSI_GENCS_CURSW                (1 << 1)  /* Bit 1: Current sources for oscillators swapped */
 #define TSI_GENCS_EOSF                 (1 << 2)  /* Bit 2: End of scan flag */
@@ -59,6 +60,7 @@
 #define TSI_GENCS_NSCN_SHIFT           (8)       /* Bits 8-12: Electrode oscillator count used in a scan */
 #define TSI_GENCS_NSCN_MASK            (31 << TSI_GENCS_NSCN_SHIFT)
 #  define TSI_GENCS_NSCN_TIMES(n)      (((n)-1) << TSI_GENCS_NSCN_SHIFT) /* n times per electrode,n=1..32 */
+
 #define TSI_GENCS_PS_SHIFT             (13)      /* Bits 13-15: Prescaler value */
 #define TSI_GENCS_PS_MASK              (7 << TSI_GENCS_PS_SHIFT)
 #  define TSI_GENCS_PS_DIV1            (0 << TSI_GENCS_PS_SHIFT) /* Electrode oscillator / 1 */
@@ -69,6 +71,7 @@
 #  define TSI_GENCS_PS_DIV32           (5 << TSI_GENCS_PS_SHIFT) /* Electrode oscillator / 32 */
 #  define TSI_GENCS_PS_DIV64           (6 << TSI_GENCS_PS_SHIFT) /* Electrode oscillator / 64 */
 #  define TSI_GENCS_PS_DIV128          (7 << TSI_GENCS_PS_SHIFT) /* Electrode oscillator / 128 */
+
 #define TSI_GENCS_EXTCHRG_SHIFT        (16)      /* Bits 16-18: Electrode Osc charge/discharge value */
 #define TSI_GENCS_EXTCHRG_MASK         (7 << TSI_GENCS_EXTCHRG_SHIFT)
 #  define TSI_GENCS_EXTCHRG_500NA      (0 << TSI_GENCS_EXTCHRG_SHIFT)
@@ -124,16 +127,16 @@
 #define TSI_THRESHLD_LTHH_SHIFT        (16)      /* Bits 16-31: Low threshold value */
 #define TSI_THRESHLD_LTHH_MASK         (0xffff << TSI_THRESHLD_LTHH_SHIFT)
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_KL_HARDWARE_KL_TSI_H */
diff --git a/arch/arm/src/kl/kl_clockconfig.c b/arch/arm/src/kl/kl_clockconfig.c
index 47109dc..a38e6f1 100644
--- a/arch/arm/src/kl/kl_clockconfig.c
+++ b/arch/arm/src/kl/kl_clockconfig.c
@@ -93,10 +93,13 @@ void kl_pllconfig(void)
    * settings in the board.h header file.
    */
 
-  regval32 = (SIM_CLKDIV1_OUTDIV1(BOARD_OUTDIV1) | SIM_CLKDIV1_OUTDIV4(BOARD_OUTDIV4));
+  regval32 = (SIM_CLKDIV1_OUTDIV1(BOARD_OUTDIV1) |
+              SIM_CLKDIV1_OUTDIV4(BOARD_OUTDIV4));
   putreg32(regval32, KL_SIM_CLKDIV1);
 
-  /* System oscillator drives 32 kHz clock for various peripherals (OSC32KSEL=0) */
+  /* System oscillator drives 32 kHz clock for various peripherals
+   * (OSC32KSEL=0)
+   */
 
   regval32  = getreg32(KL_SIM_SOPT1);
   regval32 &= ~(SIM_SOPT1_OSC32KSEL_MASK);
@@ -110,10 +113,12 @@ void kl_pllconfig(void)
   regval32 |= SIM_SOPT2_PLLFLLSEL;
   putreg32(regval32, KL_SIM_SOPT2);
 
-  regval32  = (regval32 & ~(SIM_SOPT2_TPMSRC_OCSERCLK)) | SIM_SOPT2_TPMSRC_MCGCLK;
+  regval32  = (regval32 & ~(SIM_SOPT2_TPMSRC_OCSERCLK)) |
+               SIM_SOPT2_TPMSRC_MCGCLK;
   putreg32(regval32, KL_SIM_SOPT2);
 
   /* PORTA_PCR18: ISF=0, MUX=0 */
+
   /* PORTA_PCR19: ISF=0, MUX=0 */
 
   regval32  = getreg32(KL_PORTA_PCR18);
@@ -125,7 +130,10 @@ void kl_pllconfig(void)
   putreg32(regval32, KL_PORTA_PCR19);
 
   /* Switch to FBE Mode */
-  /* OSC0_CR: ERCLKEN=0, ??=0, EREFSTEN=0, ??=0, SC2P=0, SC4P=0, SC8P=0, SC16P=0 */
+
+  /* OSC0_CR: ERCLKEN=0,
+   * ??=0, EREFSTEN=0, ??=0, SC2P=0, SC4P=0, SC8P=0, SC16P=0
+   */
 
   putreg8(0, KL_OSC_CR);
 
@@ -191,8 +199,7 @@ void kl_pllconfig(void)
 
   /* Wait until PLL output */
 
-  while ((getreg8(KL_MCG_S) & MCG_S_CLKST_MASK) != 0x0C)
-    ;
+  while ((getreg8(KL_MCG_S) & MCG_S_CLKST_MASK) != 0x0c);
 }
 
 /****************************************************************************
@@ -223,6 +230,7 @@ void kl_clockconfig(void)
    * the FlexBus clock.
    */
 
-  //kl_traceconfig();
-  //kl_fbconfig();
+  /* kl_traceconfig(); */
+
+  /* kl_fbconfig(); */
 }
diff --git a/arch/arm/src/kl/kl_pwm.h b/arch/arm/src/kl/kl_pwm.h
index c233267..913817f 100644
--- a/arch/arm/src/kl/kl_pwm.h
+++ b/arch/arm/src/kl/kl_pwm.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/kl/kl_pwm.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,27 +16,39 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KL_KINETIS_PWM_H
 #define __ARCH_ARM_SRC_KL_KINETIS_PWM_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/************************************************************************************
+/* Check if PWM support for any channel is enabled. */
+
+#if defined(CONFIG_KL_TPM0_PWM)  || defined(CONFIG_KL_TPM1_PWM)  || \
+    defined(CONFIG_KL_TPM2_PWM)
+
+#include <arch/board/board.h>
+#include "hardware/kl_pinmux.h"
+#endif
+
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
-/* Configuration ********************************************************************/
+ ****************************************************************************/
+
+/* Configuration ************************************************************/
+
 /* Timer devices may be used for different purposes.  One special purpose is
- * to generate modulated outputs for such things as motor control.  If CONFIG_KL_TPMn
- * is defined then the CONFIG_KL_TPMn_PWM must also be defined to indicate that
- * timer "n" is intended to be used for pulsed output signal generation.
+ * to generate modulated outputs for such things as motor control.
+ * If CONFIG_KL_TPMn is defined then the CONFIG_KL_TPMn_PWM must also be
+ * defined to indicate that timer "n" is intended to be used for pulsed
+ * output signal generation.
  */
 
 #ifndef CONFIG_KL_TPM0
@@ -54,16 +66,13 @@
 #if defined(CONFIG_KL_TPM0_PWM)  || defined(CONFIG_KL_TPM1_PWM)  || \
     defined(CONFIG_KL_TPM2_PWM)
 
-#include <arch/board/board.h>
-#include "hardware/kl_pinmux.h"
-
-/* For each timer that is enabled for PWM usage, we need the following additional
- * configuration settings:
+/* For each timer that is enabled for PWM usage, we need the following
+ * additional configuration settings:
  *
  * CONFIG_KL_TPMx_CHANNEL - Specifies the timer output channel {1,..,4}
- * PWM_TPMx_CHn - One of the values defined in chip/kl*_pinmap.h.  In the case
- *   where there are multiple pin selections, the correct setting must be provided
- *   in the arch/board/board.h file.
+ * PWM_TPMx_CHn - One of the values defined in chip/kl*_pinmap.h.  In the
+ *   case where there are multiple pin selections, the correct setting must
+ *   be provided in the arch/board/board.h file.
  */
 
 #ifdef CONFIG_KL_TPM0_PWM
@@ -126,13 +135,13 @@
 #  endif
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
@@ -145,11 +154,11 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Name: kl_pwminitialize
  *
  * Description:
@@ -162,7 +171,7 @@ extern "C"
  *   On success, a pointer to the KL lower half PWM driver is returned.
  *   NULL is returned on any failure.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 FAR struct pwm_lowerhalf_s *kl_pwminitialize(int timer);
 
diff --git a/arch/arm/src/lpc43xx/lpc43_timer.h b/arch/arm/src/lpc43xx/lpc43_timer.h
index 3181d76..120990d 100644
--- a/arch/arm/src/lpc43xx/lpc43_timer.h
+++ b/arch/arm/src/lpc43xx/lpc43_timer.h
@@ -49,7 +49,7 @@ extern "C"
 #endif
 
 /****************************************************************************
- * Public Functions
+ * Public Functions Prototypes
  ****************************************************************************/
 
 /****************************************************************************
diff --git a/arch/arm/src/nrf52/hardware/nrf52_nvmc.h b/arch/arm/src/nrf52/hardware/nrf52_nvmc.h
index 77143d8..bb622bc 100644
--- a/arch/arm/src/nrf52/hardware/nrf52_nvmc.h
+++ b/arch/arm/src/nrf52/hardware/nrf52_nvmc.h
@@ -1,4 +1,4 @@
-/***************************************************************************************************
+/****************************************************************************
  * arch/arm/src/nrf52/hardware/nrf52_nvmc.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,23 +16,23 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ***************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_NRF52_HARDWARE_NRF52_NVMC_H
 #define __ARCH_ARM_SRC_NRF52_HARDWARE_NRF52_NVMC_H
 
-/***************************************************************************************************
+/****************************************************************************
  * Included Files
- ***************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "hardware/nrf52_memorymap.h"
 
-/***************************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ***************************************************************************************************/
+ ****************************************************************************/
 
-/* NVMC Register Offsets ****************************************************************************/
+/* NVMC Register Offsets ****************************************************/
 
 /* Registers for the NVMC */
 
@@ -47,7 +47,7 @@
 #define NRF52_NVMC_IHIT_OFFSET           0x548  /* I-Code cache hit counter. */
 #define NRF52_NVMC_IMISS_OFFSET          0x54c  /* I-Code cache miss counter */
 
-/* NVMC Register Addresses **************************************************************************/
+/* NVMC Register Addresses **************************************************/
 
 #define NRF52_NVMC_READY                 (NRF52_NVMC_BASE + NRF52_NVMC_READY_OFFSET)
 #define NRF52_NVMC_CONFIG                (NRF52_NVMC_BASE + NRF52_NVMC_CONFIG_OFFSET)
@@ -60,7 +60,7 @@
 #define NRF52_NVMC_IHIT                  (NRF52_NVMC_BASE + NRF52_NVMC_IHIT_OFFSET)
 #define NRF52_NVMC_IMISS                 (NRF52_NVMC_BASE + NRF52_NVMC_IMISS_OFFSET)
 
-/* NVMC Register Bitfield Definitions **************************************************************/
+/* NVMC Register Bitfield Definitions ***************************************/
 
 /* READY Register */
 
diff --git a/arch/arm/src/samv7/sam_systemreset.c b/arch/arm/src/samv7/sam_systemreset.c
index a1ffe58..f5513b2 100644
--- a/arch/arm/src/samv7/sam_systemreset.c
+++ b/arch/arm/src/samv7/sam_systemreset.c
@@ -37,7 +37,7 @@
 #ifdef CONFIG_SAMV7_SYSTEMRESET
 
 /****************************************************************************
- * Public functions
+ * Public Functions
  ****************************************************************************/
 
 /****************************************************************************
@@ -62,7 +62,7 @@ void up_systemreset(void)
 
   rstmr  = getreg32(SAM_RSTC_MR);
   rstmr &= ~RSTC_MR_ERSTL_MASK;
-  rstmr &= RSTC_MR_ERSTL(CONFIG_SAMV7_EXTRESET_ERST-1) | RSTC_MR_KEY;
+  rstmr &= RSTC_MR_ERSTL(CONFIG_SAMV7_EXTRESET_ERST - 1) | RSTC_MR_KEY;
   putreg32(rstmr, SAM_RSTC_MR);
 #endif
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h
index ec5d3d7..c746dfa 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h
@@ -1,4 +1,4 @@
-/********************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_adc.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,14 +16,14 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ********************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_ADC_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_ADC_H
 
-/********************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
@@ -32,7 +32,8 @@
 /* STM32 M0 ADC driver:
  * - no injected channels
  * - no offset registers
- * - the F0/L0 family support one sampling time configuration for all channels
+ * - the F0/L0 family support one sampling time configuration for all
+ *   channels
  * - the G0 family support two sampling time configurations
  */
 
@@ -70,24 +71,24 @@
 
 #undef ADC_HAVE_INJECTED
 
-/********************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ********************************************************************************/
+ ****************************************************************************/
 
-#define STM32_ADC1_OFFSET            0x0000
-#define STM32_ADC2_OFFSET            0x0100
-#define STM32_ADC3_OFFSET            0x0000
-#define STM32_ADC4_OFFSET            0x0100
-#define STM32_ADCCMN_OFFSET          0x0300
+#define STM32_ADC1_OFFSET           0x0000
+#define STM32_ADC2_OFFSET           0x0100
+#define STM32_ADC3_OFFSET           0x0000
+#define STM32_ADC4_OFFSET           0x0100
+#define STM32_ADCCMN_OFFSET         0x0300
 
-#define STM32_ADC1_BASE              (STM32_ADC1_OFFSET+STM32_ADC12_BASE) /* ADC1 Master ADC */
-#define STM32_ADC2_BASE              (STM32_ADC2_OFFSET+STM32_ADC12_BASE) /* ADC2 Slave ADC */
-#define STM32_ADC3_BASE              (STM32_ADC3_OFFSET+STM32_ADC34_BASE) /* ADC3 Master ADC */
-#define STM32_ADC4_BASE              (STM32_ADC4_OFFSET+STM32_ADC34_BASE) /* ADC4 Slave ADC */
-#define STM32_ADC12CMN_BASE          (STM32_ADCCMN_OFFSET+STM32_ADC12_BASE) /* ADC1, ADC2 common */
-#define STM32_ADC34CMN_BASE          (STM32_ADCCMN_OFFSET+STM32_ADC34_BASE) /* ADC3, ADC4 common */
+#define STM32_ADC1_BASE             (STM32_ADC1_OFFSET+STM32_ADC12_BASE)   /* ADC1 Master ADC */
+#define STM32_ADC2_BASE             (STM32_ADC2_OFFSET+STM32_ADC12_BASE)   /* ADC2 Slave ADC */
+#define STM32_ADC3_BASE             (STM32_ADC3_OFFSET+STM32_ADC34_BASE)   /* ADC3 Master ADC */
+#define STM32_ADC4_BASE             (STM32_ADC4_OFFSET+STM32_ADC34_BASE)   /* ADC4 Slave ADC */
+#define STM32_ADC12CMN_BASE         (STM32_ADCCMN_OFFSET+STM32_ADC12_BASE) /* ADC1, ADC2 common */
+#define STM32_ADC34CMN_BASE         (STM32_ADCCMN_OFFSET+STM32_ADC34_BASE) /* ADC3, ADC4 common */
 
-/* Register Offsets *********************************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_ADC_ISR_OFFSET        0x0000  /* ADC interrupt and status register */
 #define STM32_ADC_IER_OFFSET        0x0004  /* ADC interrupt enable register */
@@ -103,7 +104,7 @@
 
 #define STM32_ADC_CCR_OFFSET         0x0008  /* Common control register */
 
-/* Register Addresses *******************************************************************************/
+/* Register Addresses *******************************************************/
 
 #define STM32_ADC1_ISR              (STM32_ADC1_BASE + STM32_ADC_ISR_OFFSET)
 #define STM32_ADC1_IER              (STM32_ADC1_BASE + STM32_ADC_IER_OFFSET)
@@ -116,9 +117,11 @@
 #define STM32_ADC1_DR               (STM32_ADC1_BASE + STM32_ADC_DR_OFFSET)
 #define STM32_ADC1_CCR              (STM32_ADC1_BASE + STM32_ADC_CCR_OFFSET)
 
-/* Register Bitfield Definitions ************************************************/
+/* Register Bitfield Definitions ********************************************/
 
-/* ADC interrupt and status register (ISR) and ADC interrupt enable register (IER) */
+/* ADC interrupt and status register (ISR) and
+ * ADC interrupt enable register (IER)
+ */
 
 #define ADC_INT_ARDY                (1 << 0)  /* Bit 0:  ADC ready */
 #define ADC_INT_EOSMP               (1 << 1)  /* Bit 1:  End of sampling flag */
@@ -147,6 +150,7 @@
 #  define ADC_CFGR1_RES_10BIT       (1 << ADC_CFGR1_RES_SHIFT) /* 13 ADCCLK clyes */
 #  define ADC_CFGR1_RES_8BIT        (2 << ADC_CFGR1_RES_SHIFT) /* 11 ADCCLK clyes */
 #  define ADC_CFGR1_RES_6BIT        (3 << ADC_CFGR1_RES_SHIFT) /* 9 ADCCLK clyes */
+
 #define ADC_CFGR1_ALIGN             (1 << 5)  /* Bit 5:  Data Alignment */
 #define ADC_CFGR1_EXTSEL_SHIFT      (6)       /* Bits 6-8: External trigger selection */
 #define ADC_CFGR1_EXTSEL_MASK       (7 << ADC_CFGR1_EXTSEL_SHIFT)
@@ -164,6 +168,7 @@
 #  define ADC_CFGR1_EXTEN_RISING    (1 << ADC_CFGR1_EXTEN_SHIFT) /* Trigger detection on the rising edge */
 #  define ADC_CFGR1_EXTEN_FALLING   (2 << ADC_CFGR1_EXTEN_SHIFT) /* Trigger detection on the falling edge */
 #  define ADC_CFGR1_EXTEN_BOTH      (3 << ADC_CFGR1_EXTEN_SHIFT) /* Trigger detection on both edges */
+
 #define ADC_CFGR1_OVRMOD            (1 << 12) /* Bit 12: Overrun Mode */
 #define ADC_CFGR1_CONT              (1 << 13) /* Bit 13: Continuous mode for regular conversions */
 #define ADC_CFGR1_WAIT              (1 << 14) /* Bit 14: Wait conversion mode */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_can.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_can.h
index 5b530f2..d4d0705 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_can.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_can.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_can.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_CAN_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_CAN_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
 /* 3 TX mailboxes */
 
@@ -48,7 +48,7 @@
 
 #define CAN_NFILTERS 14
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 /* CAN control and status registers */
 
@@ -121,7 +121,7 @@
 
 #define STM32_CAN_FIR_OFFSET(f,i) (0x240 + ((f) << 3)+(((i) - 1) << 2))
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #if STM32_NCAN > 0
 #  define STM32_CAN1_MCR          (STM32_CAN1_BASE + STM32_CAN_MCR_OFFSET)
@@ -231,7 +231,7 @@
 #  define STM32_CAN2_FIR(b,i)     (STM32_CAN2_BASE + STM32_CAN_FIR_OFFSET(b,i))
 #endif
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* CAN master control register */
 
@@ -324,6 +324,7 @@
 #  define CAN_ESR_BDOMERROR       (5 << CAN_ESR_LEC_SHIFT) /* 101: Bit dominant Error */
 #  define CAN_ESR_CRCERRPR        (6 << CAN_ESR_LEC_SHIFT) /* 110: CRC Error */
 #  define CAN_ESR_SWERROR         (7 << CAN_ESR_LEC_SHIFT) /* 111: Set by software */
+
 #define CAN_ESR_TEC_SHIFT         (16)      /* Bits 23-16: LS byte of the 9-bit Transmit Error Counter */
 #define CAN_ESR_TEC_MASK          (0xff << CAN_ESR_TEC_SHIF)
 #define CAN_ESR_REC_SHIFT         (24)      /* Bits 31-24: Receive Error Counter */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h
index 9cfac4d..a09ef6a 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_crc.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,23 +16,23 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_CRC_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_CRC_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_CRC_DR_OFFSET     0x0000  /* Data register */
 #define STM32_CRC_IDR_OFFSET    0x0004  /* Independent Data register */
@@ -40,7 +40,7 @@
 #define STM32_CRC_INIT_OFFSET   0x0010  /* Initial CRC value register */
 #define STM32_CRC_POL_OFFSET    0x0014  /* CRC polynomial register */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define STM32_CRC_DR            (STM32_CRC_BASE + STM32_CRC_DR_OFFSET)
 #define STM32_CRC_IDR           (STM32_CRC_BASE + STM32_CRC_IDR_OFFSET)
@@ -48,7 +48,7 @@
 #define STM32_CRC_INIT          (STM32_CRC_BASE + STM32_CRC_INIT_OFFSET)
 #define STM32_CRC_POL           (STM32_CRC_BASE + STM32_CRC_POL_OFFSET)
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* CRC independent data register */
 
@@ -63,12 +63,18 @@
 #  define CRC_CR_POLYSIZE_16    (1 << CRC_CR_POLYSIZE_SHIFT) /* 01: 16 bit polynomial */
 #  define CRC_CR_POLYSIZE_8     (2 << CRC_CR_POLYSIZE_SHIFT) /* 10: 8 bit polynomial */
 #  define CRC_CR_POLYSIZE_7     (3 << CRC_CR_POLYSIZE_SHIFT) /* 10: 8 bit polynomial */
+
 #define CRC_CR_REVIN_SHIFT      5         /* Bits 5-6: These bits ontrol the reversal of the bit order of the input data */
 #define CRC_CR_REVIN_MASK       (3 << CRC_CR_REVIN_SHIFT)
 #  define CRC_CR_REVIN_NONE     (0 << CRC_CR_REVIN_SHIFT) /* 00: bit order is not affected */
 #  define CRC_CR_REVIN_BYTE     (1 << CRC_CR_REVIN_SHIFT) /* 01: reversal done by byte */
 #  define CRC_CR_REVIN_HWORD    (2 << CRC_CR_REVIN_SHIFT) /* 10: reversal done by half-word */
 #  define CRC_CR_REVIN_WORD     (3 << CRC_CR_REVIN_SHIFT) /* 11: reversal done by word */
+
 #define CRC_CR_REVOUT           (1 << 7)  /* This bit controls the reversal of the bit order of the output data */
 
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
+
 #endif /* __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_CRC_H */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h
index fb11b78..437a361 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_crs.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,30 +16,30 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_CRS_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_CRS_H
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_CRS_CR_OFFSET        0x0000  /* CRS control register */
 #define STM32_CRS_CFGR_OFFSET      0x0004  /* CRS configuration register */
 #define STM32_CRS_ISR_OFFSET       0x0008  /* CRS interrupt and status register */
 #define STM32_CRS_ICR_OFFSET       0x000c  /* CRS interrupt flag clear register */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define STM32_CRS_CR               (STM32_CRS_BASE + STM32_CRS_CR_OFFSET)
 #define STM32_CRS_CFGR             (STM32_CRS_BASE + STM32_CRS_CFGR_OFFSET)
 #define STM32_CRS_ISR              (STM32_CRS_BASE + STM32_CRS_ISR_OFFSET)
 #define STM32_CRS_ICR              (STM32_CRS_BASE + STM32_CRS_ICR_OFFSET)
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* CRS control register */
 
@@ -69,11 +69,13 @@
 #  define CRS_CFGR_SYNCDIV_d32     (5 << CRS_CFGR_SYNCDIV_SHIFT) /* divided by 32 */
 #  define CRS_CFGR_SYNCDIV_d64     (6 << CRS_CFGR_SYNCDIV_SHIFT) /* divided by 64 */
 #  define CRS_CFGR_SYNCDIV_d128    (7 << CRS_CFGR_SYNCDIV_SHIFT) /* divided by 128 */
+
 #define CRS_CFGR_SYNCSRC_SHIFT     28        /* Bits 28-29: SYNC signal source selection */
 #define CRS_CFGR_SYNCSRC_MASK      (3 << CRS_CFGR_SYNCSRC_SHIFT)
 #  define CRS_CFGR_SYNCSRC_GPIO    (0 << CRS_CFGR_SYNCSRC_SHIFT) /* GPIO as SYNC signal source */
 #  define CRS_CFGR_SYNCSRC_LSE     (1 << CRS_CFGR_SYNCSRC_SHIFT) /* LSE as SYNC signal source */
 #  define CRS_CFGR_SYNCSRC_USBSOF  (2 << CRS_CFGR_SYNCSRC_SHIFT) /* USB SOF as SYNC signal source */
+
 #define CRS_CFGR_SYNCPOL           (1 << 31) /* SYNC polarity selection */
 
 /* CRS interrupt and status register */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h
index c287645..9f580e2 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_dac.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,23 +16,23 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_DAC_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_DAC_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_DAC_CR_OFFSET       0x0000 /* DAC control register */
 #define STM32_DAC_SWTRIGR_OFFSET  0x0004 /* DAC software trigger register */
@@ -49,7 +49,7 @@
 #define STM32_DAC_DOR2_OFFSET     0x0030 /* DAC channel 2 data output register */
 #define STM32_DAC_SR_OFFSET       0x0034 /* DAC status register */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 /* DAC */
 
@@ -68,9 +68,10 @@
 #define STM32_DAC1_DOR2           (STM32_DAC1_BASE + STM32_DAC_DOR2_OFFSET)
 #define STM32_DAC1_SR             (STM32_DAC1_BASE + STM32_DAC_SR_OFFSET)
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* DAC control register */
+
 /* These definitions may be used with the full, 32-bit register */
 
 #define DAC_CR_EN1                (1 << 0)  /* Bit 0:  DAC channel 1 enable */
@@ -85,11 +86,13 @@
 #  define DAC_CR_TSEL1_TIM2       (4 << DAC_CR_TSEL1_SHIFT) /* Timer 2 TRGO event */
 #  define DAC_CR_TSEL1_EXT9       (6 << DAC_CR_TSEL1_SHIFT) /* External line9 */
 #  define DAC_CR_TSEL1_SW         (7 << DAC_CR_TSEL1_SHIFT) /* Software trigger */
+
 #define DAC_CR_WAVE1_SHIFT        (6)       /* Bits 6-7: DAC channel 1 noise/triangle wave generation  */
 #define DAC_CR_WAVE1_MASK         (3 << DAC_CR_WAVE1_SHIFT)
 #  define DAC_CR_WAVE1_DISABLED   (0 << DAC_CR_WAVE1_SHIFT) /* Wave generation disabled */
 #  define DAC_CR_WAVE1_NOISE      (1 << DAC_CR_WAVE1_SHIFT) /* Noise wave generation enabled */
 #  define DAC_CR_WAVE1_TRIANGLE   (2 << DAC_CR_WAVE1_SHIFT) /* Triangle wave generation enabled */
+
 #define DAC_CR_MAMP1_SHIFT        (8)       /* Bits 8-11: DAC channel 1 mask/amplitude selector */
 #define DAC_CR_MAMP1_MASK         (15 << DAC_CR_MAMP1_SHIFT)
 #  define DAC_CR_MAMP1_AMP1       (0 << DAC_CR_MAMP1_SHIFT)  /* Unmask bit0 of LFSR/triangle amplitude=1 */
@@ -104,13 +107,14 @@
 #  define DAC_CR_MAMP1_AMP1023    (9 << DAC_CR_MAMP1_SHIFT)  /* Unmask bits[9:0] of LFSR/triangle amplitude=1023 */
 #  define DAC_CR_MAMP1_AMP2047    (10 << DAC_CR_MAMP1_SHIFT) /* Unmask bits[10:0] of LFSR/triangle amplitude=2047 */
 #  define DAC_CR_MAMP1_AMP4095    (11 << DAC_CR_MAMP1_SHIFT) /* Unmask bits[11:0] of LFSR/triangle amplitude=4095 */
+
 #define DAC_CR_DMAEN1             (1 << 12) /* Bit 12: DAC channel 1 DMA enable */
 #define DAC_CR_DMAUDRIE1          (1 << 13) /* Bit 13: DAC channel 1 DMA Underrun Interrupt enable */
 
 #define DAC_CR_EN2                (1 << 16) /* Bit 16: DAC channel 2 enable */
 #define DAC_CR_BOFF2              (1 << 17) /* Bit 17: DAC channel 2 output buffer disable */
 #define DAC_CR_TEN2               (1 << 18) /* Bit 18: DAC channel 2 trigger enable */
-#define DAC_CR_TSEL2_SHIFT        (19)       /* Bits 19-21: DAC channel 2 trigger selection */
+#define DAC_CR_TSEL2_SHIFT        (19)      /* Bits 19-21: DAC channel 2 trigger selection */
 #define DAC_CR_TSEL2_MASK         (7 << DAC_CR_TSEL2_SHIFT)
 #  define DAC_CR_TSEL2_TIM6       (0 << DAC_CR_TSEL2_SHIFT) /* Timer 6 TRGO event */
 #  define DAC_CR_TSEL2_TIM3       (1 << DAC_CR_TSEL2_SHIFT) /* Timer 3 TRGO event */
@@ -119,11 +123,13 @@
 #  define DAC_CR_TSEL2_TIM2       (4 << DAC_CR_TSEL2_SHIFT) /* Timer 2 TRGO event */
 #  define DAC_CR_TSEL2_EXT9       (6 << DAC_CR_TSEL2_SHIFT) /* External line9 */
 #  define DAC_CR_TSEL2_SW         (7 << DAC_CR_TSEL2_SHIFT) /* Software trigger */
+
 #define DAC_CR_WAVE2_SHIFT        (22)       /* Bit 22-23: DAC channel 2 noise/triangle wave generation enable */
 #define DAC_CR_WAVE2_MASK         (3 << DAC_CR_WAVE2_SHIFT)
 #  define DAC_CR_WAVE2_DISABLED   (0 << DAC_CR_WAVE2_SHIFT) /* Wave generation disabled */
 #  define DAC_CR_WAVE2_NOISE      (1 << DAC_CR_WAVE2_SHIFT) /* Noise wave generation enabled */
 #  define DAC_CR_WAVE2_TRIANGLE   (2 << DAC_CR_WAVE2_SHIFT) /* Triangle wave generation enabled */
+
 #define DAC_CR_MAMP2_SHIFT        (24)      /* Bit 24-27: DAC channel 2 mask/amplitude selector */
 #define DAC_CR_MAMP2_MASK         (15 << DAC_CR_MAMP2_SHIFT)
 #  define DAC_CR_MAMP2_AMP1       (0 << DAC_CR_MAMP2_SHIFT)  /* Unmask bit0 of LFSR/triangle amplitude=1 */
@@ -138,6 +144,7 @@
 #  define DAC_CR_MAMP2_AMP1023    (9 << DAC_CR_MAMP2_SHIFT)  /* Unmask bits[9:0] of LFSR/triangle amplitude=1023 */
 #  define DAC_CR_MAMP2_AMP2047    (10 << DAC_CR_MAMP2_SHIFT) /* Unmask bits[10:0] of LFSR/triangle amplitude=2047 */
 #  define DAC_CR_MAMP2_AMP4095    (11 << DAC_CR_MAMP2_SHIFT) /* Unmask bits[11:0] of LFSR/triangle amplitude=4095 */
+
 #define DAC_CR_DMAEN2             (1 << 28) /* Bit 28: DAC channel 2 DMA enable */
 #define DAC_CR_DMAUDRIE2          (1 << 29) /* Bit 29: DAC channel 2 DMA underrun interrupt enable */
 
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h
index 25071bc..cc35608 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_i2c.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,16 +16,16 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_I2C_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_I2C_H
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_I2C_CR1_OFFSET      0x0000 /* Control register 1 (32-bit) */
 #define STM32_I2C_CR2_OFFSET      0x0004 /* Control register 2 (32-bit) */
@@ -39,7 +39,7 @@
 #define STM32_I2C_RXDR_OFFSET     0x0024 /* Receive data register */
 #define STM32_I2C_TXDR_OFFSET     0x0028 /* Transmit data register */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #if STM32_NI2C > 0
 #  define STM32_I2C1_CR1          (STM32_I2C1_BASE + STM32_I2C_CR1_OFFSET)
@@ -69,7 +69,7 @@
 #  define STM32_I2C2_TXDR         (STM32_I2C2_BASE + STM32_I2C_TXDR_OFFSET)
 #endif
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* Control register 1 */
 
@@ -85,6 +85,7 @@
 #define I2C_CR1_DNF_MASK          (15 << I2C_CR1_DNF_SHIFT)
 #  define I2C_CR1_DNF_DISABLE     (0 << I2C_CR1_DNF_SHIFT)
 #  define I2C_CR1_DNF(n)          ((n) << I2C_CR1_DNF_SHIFT) /* Up to n * Ti2cclk, n=1..15 */
+
 #define I2C_CR1_ANFOFF            (1 << 12) /* Bit 12: Analog noise filter OFF */
 #define I2C_CR1_TXDMAEN           (1 << 14) /* Bit 14: DMA transmission requests enable */
 #define I2C_CR1_RXDMAEN           (1 << 15) /* Bit 15: DMA reception requests enable */
@@ -138,6 +139,7 @@
 #  define I2C_OAR2_OA2MSK_6_7     (5 << I2C_OAR2_OA2MSK_SHIFT) /* Only OA2[7:6] are compared */
 #  define I2C_OAR2_OA2MSK_7       (6 << I2C_OAR2_OA2MSK_SHIFT) /* Only OA2[7] is compared */
 #  define I2C_OAR2_OA2MSK_ALL     (7 << I2C_OAR2_OA2MSK_SHIFT) /* All 7-bit addresses acknowledged */
+
 #define I2C_OAR2_OA2EN            (1 << 15)  /* Bit 15: Own Address 2 enable */
 
 /* Timing register */
@@ -175,6 +177,7 @@
 #define I2C_TIMEOUTR_TEXTEN       (1 << 31) /* Bits 31: Extended clock timeout enable */
 
 /* Interrupt and Status register and interrupt clear register */
+
 /* Common interrupt bits */
 
 #define I2C_INT_ADDR              (1 << 3)  /* Bit 3:  Address matched (slave) */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h
index b829df1..4be76b2 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_rtcc.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,16 +16,16 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_RTCC_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_RTCC_H
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_RTC_TR_OFFSET       0x0000 /* RTC time register */
 #define STM32_RTC_DR_OFFSET       0x0004 /* RTC date register */
@@ -51,7 +51,7 @@
 #define STM32_RTC_BK3R_OFFSET     0x005c /* RTC backup register 3 */
 #define STM32_RTC_BK4R_OFFSET     0x0060 /* RTC backup register 4 */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define STM32_RTC_TR              (STM32_RTC_BASE + STM32_RTC_TR_OFFSET)
 #define STM32_RTC_DR              (STM32_RTC_BASE + STM32_RTC_DR_OFFSET)
@@ -79,7 +79,7 @@
 
 #define STM32_RTC_BKCOUNT         5
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* RTC time register */
 
@@ -132,6 +132,7 @@
 #  define RTC_CR_WUCKSEL_RTCDIV2   (3 << RTC_CR_WUCKSEL_SHIFT) /* 011: RTC/2 clock is selected */
 #  define RTC_CR_WUCKSEL_CKSPRE    (4 << RTC_CR_WUCKSEL_SHIFT) /* 10x: ck_spre clock is selected */
 #  define RTC_CR_WUCKSEL_CKSPREADD (6 << RTC_CR_WUCKSEL_SHIFT) /* 11x: ck_spr clock and 216 added WUT counter */
+
 #define RTC_CR_TSEDGE             (1 << 3)  /* Bit 3:  Timestamp event active edge */
 #define RTC_CR_REFCKON            (1 << 4)  /* Bit 4:  Reference clock detection enable (50 or 60 Hz) */
 #define RTC_CR_BYPSHAD            (1 << 5)  /* Bit 5:  Bypass the shadow registers */
@@ -153,6 +154,7 @@
 #  define RTC_CR_OSEL_ALRMA       (1 << RTC_CR_OSEL_SHIFT) /* 01: Alarm A output enabled */
 #  define RTC_CR_OSEL_ALRMB       (2 << RTC_CR_OSEL_SHIFT) /* 10: Alarm B output enabled */
 #  define RTC_CR_OSEL_WUT         (3 << RTC_CR_OSEL_SHIFT) /* 11: Wakeup output enabled */
+
 #define RTC_CR_COE                (1 << 23) /* Bit 23: Calibration output enable */
 
 /* RTC initialization and status register */
@@ -272,7 +274,7 @@
 #define RTC_TAFCR_TAMP3E          (1 << 5)  /* Bit 5:  RTC_TAMP3 detection enable */
 #define RTC_TAFCR_TAMP3TRG        (1 << 6)  /* Bit 6:  Active level for RTC_TAMP3 input */
 #define RTC_TAFCR_TAMPTS          (1 << 7)  /* Bit 7:  Activate timestamp on tamper detection event */
-#define RTC_TAFCR_TAMPFREQ_SHIFT  (8)        /* Bits 8-10: Tamper sampling frequency */
+#define RTC_TAFCR_TAMPFREQ_SHIFT  (8)       /* Bits 8-10: Tamper sampling frequency */
 #define RTC_TAFCR_TAMPFREQ_MASK   (7 << RTC_TAFCR_TAMPFREQ_SHIFT)
 #  define RTC_TAFCR_TAMPFREQ_DIV32768 (0 << RTC_TAFCR_TAMPFREQ_SHIFT) /* RTCCLK / 32768 (1 Hz) */
 #  define RTC_TAFCR_TAMPFREQ_DIV16384 (1 << RTC_TAFCR_TAMPFREQ_SHIFT) /* RTCCLK / 16384 (2 Hz) */
@@ -282,6 +284,7 @@
 #  define RTC_TAFCR_TAMPFREQ_DIV1024  (5 << RTC_TAFCR_TAMPFREQ_SHIFT) /* RTCCLK / 1024 (32 Hz) */
 #  define RTC_TAFCR_TAMPFREQ_DIV512   (6 << RTC_TAFCR_TAMPFREQ_SHIFT) /* RTCCLK / 512 (64 Hz) */
 #  define RTC_TAFCR_TAMPFREQ_DIV256   (7 << RTC_TAFCR_TAMPFREQ_SHIFT) /* RTCCLK / 256 (128 Hz) */
+
 #define RTC_TAFCR_TAMPFLT_SHIFT   (11)        /* Bits 11-12: RTC_TAMPx filter count */
 #define RTC_TAFCR_TAMPFLT_MASK    (3 << RTC_TAFCR_TAMPFLT_SHIFT)
 #define RTC_TAFCR_TAMPPRCH_SHIFT  (13)        /* Bits 13-14: RTC_TAMPx precharge duration */
@@ -290,6 +293,7 @@
 #  define RTC_TAFCR_TAMPPRCH_2CYCLES (1 << RTC_TAFCR_TAMPPRCH_SHIFT) /* 2 RTCCLK cycles */
 #  define RTC_TAFCR_TAMPPRCH_4CYCLES (2 << RTC_TAFCR_TAMPPRCH_SHIFT) /* 4 RTCCLK cycles */
 #  define RTC_TAFCR_TAMPPRCH_5CYCLES (3 << RTC_TAFCR_TAMPPRCH_SHIFT) /* 8 RTCCLK cycles */
+
 #define RTC_TAFCR_TAMPPUDIS       (1 << 15) /* Bit 15: RTC_TAMPx pull-up disable */
 #define RTC_TAFCR_PC13VALUE       (1 << 18) /* Bit 18: RTC_ALARM output type/PC13 value */
 #define RTC_TAFCR_PC13MODE        (1 << 19) /* Bit 19: PC13 mode */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h
index 5c8ab9c..1b02d36 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_uart_v1.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,23 +16,23 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F0_UART_V1_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F0_UART_V1_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_USART_CR1_OFFSET    0x0000  /* Control register 1 */
 #define STM32_USART_CR2_OFFSET    0x0004  /* Control register 2 */
@@ -46,7 +46,7 @@
 #define STM32_USART_RDR_OFFSET    0x0024  /* Receive Data register */
 #define STM32_USART_TDR_OFFSET    0x0028  /* Transmit Data register */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #if STM32_NUSART > 0
 #  define STM32_USART1_CR1        (STM32_USART1_BASE + STM32_USART_CR1_OFFSET)
@@ -118,7 +118,7 @@
 #  define STM32_USART5_TDR        (STM32_USART5_BASE + STM32_USART_TDR_OFFSET)
 #endif
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* Control register 1 */
 
@@ -216,6 +216,7 @@
 #define USART_CR3_WUS_ADDRESS     (0 << USART_CR3_WUS_SHIFT) /* 00: WUF active on address match */
 #define USART_CR3_WUS_START       (2 << USART_CR3_WUS_SHIFT) /* 10: WUF active on Start bit detection */
 #define USART_CR3_WUS_RXNE        (3 << USART_CR3_WUS_SHIFT) /* 11: WUF active on RXNE */
+
 #define USART_CR3_WUFIE           (1 << 22) /* Bit 22: Wakeup from Stop mode interrupt enable */
 
 /* Baud Rate Register */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h b/arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h
index 0169a2b..1521cca 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32_wdt.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,24 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_WDG_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32_WDG_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_IWDG_KR_OFFSET   0x0000  /* Key register (32-bit) */
 #define STM32_IWDG_PR_OFFSET   0x0004  /* Prescaler register (32-bit) */
@@ -45,7 +45,7 @@
 #define STM32_WWDG_CFR_OFFSET  0x0004  /* Configuration register (32-bit) */
 #define STM32_WWDG_SR_OFFSET   0x0008  /* Status register (32-bit) */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define STM32_IWDG_KR          (STM32_IWDG_BASE + STM32_IWDG_KR_OFFSET)
 #define STM32_IWDG_PR          (STM32_IWDG_BASE + STM32_IWDG_PR_OFFSET)
@@ -57,7 +57,7 @@
 #define STM32_WWDG_CFR         (STM32_WWDG_BASE + STM32_WWDG_CFR_OFFSET)
 #define STM32_WWDG_SR          (STM32_WWDG_BASE + STM32_WWDG_SR_OFFSET)
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* Key register (32-bit) */
 
@@ -117,6 +117,7 @@
 #  define WWDG_CFR_PCLK1d2     (1 << WWDG_CFR_WDGTB_SHIFT) /* 01: CK Counter Clock (PCLK1 div 4096) div 2 */
 #  define WWDG_CFR_PCLK1d4     (2 << WWDG_CFR_WDGTB_SHIFT) /* 10: CK Counter Clock (PCLK1 div 4096) div 4 */
 #  define WWDG_CFR_PCLK1d8     (3 << WWDG_CFR_WDGTB_SHIFT) /* 11: CK Counter Clock (PCLK1 div 4096) div 8 */
+
 #define WWDG_CFR_EWI           (1 << 9)  /* Bit 9: Early Wakeup Interrupt */
 
 /* Status register (32-bit) */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_memorymap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_memorymap.h
index c852cbc..8fa84ef 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_memorymap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_memorymap.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f03x_memorymap.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,16 +16,16 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_ST32F03X_MEMORYMAP_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_ST32F03X_MEMORYMAP_H
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* ST32F05XF07X Address Blocks ******************************************************/
+/* ST32F05XF07X Address Blocks **********************************************/
 
 #define STM32_CODE_BASE      0x00000000     /* 0x00000000-0x1fffffff: 512Mb code block */
 #define STM32_SRAM_BASE      0x20000000     /* 0x20000000-0x3fffffff: 512Mb sram block */
@@ -36,7 +36,7 @@
 #define STM32_REGION_MASK    0xf0000000
 #define STM32_IS_SRAM(a)     ((((uint32_t)(a)) & STM32_REGION_MASK) == STM32_SRAM_BASE)
 
-/* Code Base Addresses **************************************************************/
+/* Code Base Addresses ******************************************************/
 
 #define STM32_BOOT_BASE      0x00000000     /* 0x00000000-0x000fffff: Aliased boot memory */
                                             /* 0x00100000-0x07ffffff: Reserved */
@@ -49,7 +49,7 @@
 #define STM32_OPTION_BASE    0x1ffff800     /* 0x1fffc000-0x1fffc007: Option bytes */
                                             /* 0x1fffc008-0x1fffffff: Reserved */
 
-/* System Memory Addresses **********************************************************/
+/* System Memory Addresses **************************************************/
 
 #define STM32_SYSMEM_UID     0x1ffff7ac     /* The 96-bit unique device identifier */
 #define STM32_SYSMEM_FSIZE   0x1ffff7cc     /* This bitfield indicates the size of
@@ -58,7 +58,7 @@
                                              * to 64 Kbytes
                                              */
 
-/* Peripheral Base Addresses ********************************************************/
+/* Peripheral Base Addresses ************************************************/
 
 #define STM32_APB1_BASE      0x40000000     /* 0x40000000-0x40009fff: APB1 */
                                             /* 0x4000a000-0x4000ffff: Reserved */
@@ -70,9 +70,10 @@
                                             /* 0x48001800-0x4fffFfff: Reserved */
 #define STM32_AHB3_BASE      0x50000000     /* 0x50000000-0x500007ff: AHB3 */
 
-/* APB1 Base Addresses **************************************************************/
+/* APB1 Base Addresses ******************************************************/
+
+/*                                          0x40000000-0x400003ff Reserved */
 
-                                            /* 0x40000000-0x400003ff Reserved */
 #define STM32_TIM3_BASE      0x40000400     /* 0x40000400-0x400007ff TIM3 */
 #define STM32_TIM6_BASE      0x40001000     /* 0x40001000-0x400013ff TIM6 */
 #define STM32_TIM7_BASE      0x40001400     /* 0x40001400-0x400017ff TIM7 */
@@ -91,7 +92,7 @@
 #define STM32_PWR_BASE       0x40007000     /* 0x40007000-0x400073ff PWR */
                                             /* 0x40007400-0x400077ff Reserved */
 
-/* APB2 Base Addresses **************************************************************/
+/* APB2 Base Addresses ******************************************************/
 
 #define STM32_SYSCFG_BASE    0x40010000     /* 0x40010000-0x400103ff SYSCFG + COMP + OPAMP */
 #define STM32_EXTI_BASE      0x40010400     /* 0x40010400-0x400107ff EXTI */
@@ -107,7 +108,7 @@
 #define STM32_TIM17_BASE     0x40014800     /* 0x40014800-0x40014bff TIM17 */
 #define STM32_DBGMCU_BASE    0x40015800     /* 0x40015800-0x40015bff DBGMCU */
 
-/* AHB1 Base Addresses **************************************************************/
+/* AHB1 Base Addresses ******************************************************/
 
 #define STM32_DMA1_BASE      0x40020000     /* 0x40020000-0x400203ff: DMA1  */
                                             /* 0x40020400-0x400207ff: Reserved  */
@@ -116,7 +117,7 @@
 #define STM32_CRC_BASE       0x40023000     /* 0x40023000-0x400233ff: CRC */
                                             /* 0x40024000-0x400243ff: Reserved */
 
-/* AHB2 Base Addresses **************************************************************/
+/* AHB2 Base Addresses ******************************************************/
 
 #define STM32_GPIOA_BASE     0x48000000     /* 0x48000000-0x480003ff: GPIO Port A */
 #define STM32_GPIOB_BASE     0x48000400     /* 0x48000400-0x480007ff: GPIO Port B */
@@ -125,9 +126,10 @@
                                             /* 0x48001000-0x480013ff: Reserved */
 #define STM32_GPIOF_BASE     0x48001400     /* 0x48001400-0x480017ff: GPIO Port F */
 
-/* Cortex-M4 Base Addresses *********************************************************/
-/* Other registers -- see armv7-m/nvic.h for standard Cortex-M4 registers in this
- * address range
+/* Cortex-M4 Base Addresses *************************************************/
+
+/* Other registers --
+ * see armv7-m/nvic.h for standard Cortex-M4 registers in this  address range
  */
 
 #define STM32_SCS_BASE       0xe000e000
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_pinmap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_pinmap.h
index 16eb82c..fd64ab8 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_pinmap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f03x_pinmap.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f03x_pinmap.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,39 +16,41 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F03X_PINMAP_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F03X_PINMAP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "stm32_gpio.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
+
 /* Alternate Pin Functions.
  *
- * Alternative pin selections are provided with a numeric suffix like _1, _2, etc.
- * Drivers, however, will use the pin selection without the numeric suffix.
+ * Alternative pin selections are provided with a numeric suffix like _1, _2,
+ * etc. Drivers, however, will use the pin selection without the numeric
+ * suffix.
  * Additional definitions are required in the board.h file.  For example, if
- * CAN1_RX connects vis PD0 on some board, then the following definition should
- * appear in the board.h header file for that board:
+ * CAN1_RX connects vis PD0 on some board, then the following definition
+ * should appear in the board.h header file for that board:
  *
  * #define GPIO_CAN1_RX GPIO_CAN1_RX_1
  *
  * The driver will then automatically configure PD0 as the CAN1 RX pin.
  */
 
-/* WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
- * Additional effort is required to select specific GPIO options such as frequency,
- * open-drain/push-pull, and pull-up/down!  Just the basics are defined for most
- * pins in this file.
+/* WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
+ * Additional effort is required to select specific GPIO options such as
+ * frequency, open-drain/push-pull, and pull-up/down!  Just the basics are
+ * defined for most pins in this file.
  */
 
 /* ADC 1 */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f05xf07xf09x_memorymap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f05xf07xf09x_memorymap.h
index 9586435..1e5c59b 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f05xf07xf09x_memorymap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f05xf07xf09x_memorymap.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f05xf07xf09x_memorymap.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,16 +16,16 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_ST32F05XF07XF09X_MEMORYMAP_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_ST32F05XF07XF09X_MEMORYMAP_H
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* ST32F05XF07X Address Blocks ******************************************************/
+/* ST32F05XF07X Address Blocks **********************************************/
 
 #define STM32_CODE_BASE      0x00000000     /* 0x00000000-0x1fffffff: 512Mb code block */
 #define STM32_SRAM_BASE      0x20000000     /* 0x20000000-0x3fffffff: 512Mb sram block */
@@ -36,7 +36,7 @@
 #define STM32_REGION_MASK    0xf0000000
 #define STM32_IS_SRAM(a)     ((((uint32_t)(a)) & STM32_REGION_MASK) == STM32_SRAM_BASE)
 
-/* Code Base Addresses **************************************************************/
+/* Code Base Addresses ******************************************************/
 
 #define STM32_BOOT_BASE      0x00000000     /* 0x00000000-0x000fffff: Aliased boot memory */
                                             /* 0x00100000-0x07ffffff: Reserved */
@@ -49,7 +49,7 @@
 #define STM32_OPTION_BASE    0x1ffff800     /* 0x1fffc000-0x1fffc007: Option bytes */
                                             /* 0x1fffc008-0x1fffffff: Reserved */
 
-/* System Memory Addresses **********************************************************/
+/* System Memory Addresses **************************************************/
 
 #define STM32_SYSMEM_UID     0x1ffff7ac     /* The 96-bit unique device identifier */
 #define STM32_SYSMEM_FSIZE   0x1ffff7cc     /* This bitfield indicates the size of
@@ -58,7 +58,7 @@
                                              * to 64 Kbytes
                                              */
 
-/* Peripheral Base Addresses ********************************************************/
+/* Peripheral Base Addresses ************************************************/
 
 #define STM32_APB1_BASE      0x40000000     /* 0x40000000-0x40009fff: APB1 */
                                             /* 0x4000a000-0x4000ffff: Reserved */
@@ -70,7 +70,7 @@
                                             /* 0x48001800-0x4fffFfff: Reserved */
 #define STM32_AHB3_BASE      0x50000000     /* 0x50000000-0x500007ff: AHB3 */
 
-/* APB1 Base Addresses **************************************************************/
+/* APB1 Base Addresses ******************************************************/
 
 #define STM32_TIM2_BASE      0x40000000     /* 0x40000000-0x400003ff TIM2 */
 #define STM32_TIM3_BASE      0x40000400     /* 0x40000400-0x400007ff TIM3 */
@@ -96,7 +96,7 @@
 #define STM32_DAC1_BASE      0x40007400     /* 0x40007400-0x400077ff DAC 1 */
 #define STM32_CEC_BASE       0x40007800     /* 0x40007800-0x40007bff HDMI CEC */
 
-/* APB2 Base Addresses **************************************************************/
+/* APB2 Base Addresses ******************************************************/
 
 #define STM32_SYSCFG_BASE    0x40010000     /* 0x40010000-0x400103ff SYSCFG + COMP + OPAMP */
 #define STM32_EXTI_BASE      0x40010400     /* 0x40010400-0x400107ff EXTI */
@@ -112,7 +112,7 @@
 #define STM32_TIM17_BASE     0x40014800     /* 0x40014800-0x40014bff TIM17 */
 #define STM32_DBGMCU_BASE    0x40015800     /* 0x40015800-0x40015bff DBGMCU */
 
-/* AHB1 Base Addresses **************************************************************/
+/* AHB1 Base Addresses ******************************************************/
 
 #define STM32_DMA1_BASE      0x40020000     /* 0x40020000-0x400203ff: DMA1  */
 #define STM32_DMA2_BASE      0x40020400     /* 0x40020400-0x400207ff: DMA2  */
@@ -121,7 +121,7 @@
 #define STM32_CRC_BASE       0x40023000     /* 0x40023000-0x400233ff: CRC */
 #define STM32_TSC_BASE       0x40024000     /* 0x40024000-0x400243ff: TSC */
 
-/* AHB2 Base Addresses **************************************************************/
+/* AHB2 Base Addresses ******************************************************/
 
 #define STM32_GPIOA_BASE     0x48000000     /* 0x48000000-0x480003ff: GPIO Port A */
 #define STM32_GPIOB_BASE     0x48000400     /* 0x48000400-0x480007ff: GPIO Port B */
@@ -130,9 +130,10 @@
 #define STM32_GPIOE_BASE     0x48001000     /* 0x48001000-0x480013ff: GPIO Port E */
 #define STM32_GPIOF_BASE     0x48001400     /* 0x48001400-0x480017ff: GPIO Port F */
 
-/* Cortex-M4 Base Addresses *********************************************************/
-/* Other registers -- see armv7-m/nvic.h for standard Cortex-M4 registers in this
- * address range
+/* Cortex-M4 Base Addresses *************************************************/
+
+/* Other registers --
+ * see armv7-m/nvic.h for standard Cortex-M4 registers in this address range
  */
 
 #define STM32_SCS_BASE       0xe000e000
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f07x_pinmap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f07x_pinmap.h
index 8c22034..298ca8a 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f07x_pinmap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f07x_pinmap.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f07x_pinmap.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,39 +16,41 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F07X_PINMAP_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F07X_PINMAP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "stm32_gpio.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
+
 /* Alternate Pin Functions.
  *
- * Alternative pin selections are provided with a numeric suffix like _1, _2, etc.
- * Drivers, however, will use the pin selection without the numeric suffix.
+ * Alternative pin selections are provided with a numeric suffix like _1, _2,
+ * etc. Drivers, however, will use the pin selection without the numeric
+ * suffix.
  * Additional definitions are required in the board.h file.  For example, if
- * CAN1_RX connects vis PD0 on some board, then the following definition should
- * appear in the board.h header file for that board:
+ * CAN1_RX connects vis PD0 on some board, then the following definition
+ * should appear in the board.h header file for that board:
  *
  * #define GPIO_CAN1_RX GPIO_CAN1_RX_1
  *
  * The driver will then automatically configure PD0 as the CAN1 RX pin.
  */
 
-/* WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
- * Additional effort is required to select specific GPIO options such as frequency,
- * open-drain/push-pull, and pull-up/down!  Just the basics are defined for most
- * pins in this file.
+/* WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
+ * Additional effort is required to select specific GPIO options such as
+ * frequency, open-drain/push-pull, and pull-up/down!  Just the basics are
+ * defined for most pins in this file.
  */
 
 /* ADC 1 */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f09x_pinmap.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f09x_pinmap.h
index d3ce2c5..9d620b5 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f09x_pinmap.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f09x_pinmap.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f09x_pinmap.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,39 +16,40 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F09X_PINMAP_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F09X_PINMAP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "stm32_gpio.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
+
 /* Alternate Pin Functions.
  *
- * Alternative pin selections are provided with a numeric suffix like _1, _2, etc.
- * Drivers, however, will use the pin selection without the numeric suffix.
- * Additional definitions are required in the board.h file.  For example, if
- * CAN1_RX connects vis PD0 on some board, then the following definition should
- * appear in the board.h header file for that board:
+ * Alternative pin selections are provided with a numeric suffix like _1, _2,
+ * etc. Drivers, however, will use the pin selection without the numeric
+ * suffix. Additional definitions are required in the board.h file.  For
+ * example, if CAN1_RX connects vis PD0 on some board, then the following
+ * definition should appear in the board.h header file for that board:
  *
  * #define GPIO_CAN1_RX GPIO_CAN1_RX_1
  *
  * The driver will then automatically configure PD0 as the CAN1 RX pin.
  */
 
-/* WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
- * Additional effort is required to select specific GPIO options such as frequency,
- * open-drain/push-pull, and pull-up/down!  Just the basics are defined for most
- * pins in this file.
+/* WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
+ * Additional effort is required to select specific GPIO options such as
+ * frequency, open-drain/push-pull, and pull-up/down!
+ * Just the basics are defined for most pins in this file.
  */
 
 /* ADC 1 */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h
index a4e6371..72185c1 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f0_exti.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,28 +16,28 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F0_EXTI_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F0_EXTI_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
 #define STM32_NEXTI              31
 #define STM32_EXTI_MASK          0xffffffff
 
 #define STM32_EXTI_BIT(n)        (1 << (n))
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_EXTI_IMR_OFFSET    0x0000  /* Interrupt mask register */
 #define STM32_EXTI_EMR_OFFSET    0x0004  /* Event mask register */
@@ -46,7 +46,7 @@
 #define STM32_EXTI_SWIER_OFFSET  0x0010  /* Software interrupt event register */
 #define STM32_EXTI_PR_OFFSET     0x0014  /* Pending register */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define STM32_EXTI_IMR           (STM32_EXTI_BASE + STM32_EXTI_IMR_OFFSET)
 #define STM32_EXTI_EMR           (STM32_EXTI_BASE + STM32_EXTI_EMR_OFFSET)
@@ -55,7 +55,7 @@
 #define STM32_EXTI_SWIER         (STM32_EXTI_BASE + STM32_EXTI_SWIER_OFFSET)
 #define STM32_EXTI_PR            (STM32_EXTI_BASE + STM32_EXTI_PR_OFFSET)
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* EXTI lines > 15 are associated with internal devices: */
 
@@ -79,13 +79,13 @@
 /* Interrupt mask register */
 
 #define EXTI_IMR_BIT(n)          STM32_EXTI_BIT(n) /* 1=Interrupt request from line x is not masked */
-#define EXTI_IMR_SHIFT           (0)                 /* Bits 0-X: Interrupt Mask for all lines */
+#define EXTI_IMR_SHIFT           (0)               /* Bits 0-X: Interrupt Mask for all lines */
 #define EXTI_IMR_MASK            STM32_EXTI_MASK
 
 /* Event mask register */
 
 #define EXTI_EMR_BIT(n)          STM32_EXTI_BIT(n) /* 1=Event request from line x is not mask */
-#define EXTI_EMR_SHIFT           (0)                 /* Bits Bits 0-X:  Event Mask for all lines */
+#define EXTI_EMR_SHIFT           (0)               /* Bits Bits 0-X:  Event Mask for all lines */
 #define EXTI_EMR_MASK            STM32_EXTI_MASK
 
 /* Rising Trigger selection register */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h
index 07a82d3..4561fb8 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f0_pwr.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,36 +16,36 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F0_PWR_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F0_PWR_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
 #undef HAVE_PWR_WKUP2
 #undef HAVE_PWR_WKUP3
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_PWR_CR_OFFSET  0x0000  /* Power control register */
 #define STM32_PWR_CSR_OFFSET 0x0004  /* Power control/status register */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define STM32_PWR_CR         (STM32_PWR_BASE + STM32_PWR_CR_OFFSET)
 #define STM32_PWR_CSR        (STM32_PWR_BASE + STM32_PWR_CSR_OFFSET)
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* Power control register */
 
@@ -64,6 +64,7 @@
 #  define PWR_CR_2p7V        (5 << PWR_CR_PLS_SHIFT) /* 101: 2.7V */
 #  define PWR_CR_2p8V        (6 << PWR_CR_PLS_SHIFT) /* 110: 2.8V */
 #  define PWR_CR_2p9V        (7 << PWR_CR_PLS_SHIFT) /* 111: 2.9V */
+
 #define PWR_CR_DBP           (1 << 8)  /* Bit 8:  Disable Backup Domain write protection */
 
 /* Power control/status register */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h
index 6a58a35..6932830 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f0_rcc.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,16 +16,16 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F0_RCC_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F0_RCC_H
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_RCC_CR_OFFSET         0x0000  /* Clock control register */
 #define STM32_RCC_CFGR_OFFSET       0x0004  /* Clock configuration register */
@@ -42,7 +42,7 @@
 #define STM32_RCC_CFGR3_OFFSET      0x0030  /* Clock configuration register 3 */
 #define STM32_RCC_CR2_OFFSET        0x0034  /* Clock control register 2 */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define STM32_RCC_CR                (STM32_RCC_BASE+STM32_RCC_CR_OFFSET)
 #define STM32_RCC_CFGR              (STM32_RCC_BASE+STM32_RCC_CFGR_OFFSET)
@@ -59,7 +59,7 @@
 #define STM32_RCC_CFGR3             (STM32_RCC_BASE+STM32_RCC_CFGR3_OFFSET)
 #define STM32_RCC_CR2               (STM32_RCC_BASE+STM32_RCC_CR2_OFFSET)
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* Clock control register */
 
@@ -84,23 +84,26 @@
 #  define RCC_CFGR_SW_HSE           (1 << RCC_CFGR_SW_SHIFT) /* 01: HSE selected as system clock */
 #  define RCC_CFGR_SW_PLL           (2 << RCC_CFGR_SW_SHIFT) /* 10: PLL selected as system clock */
 #  define RCC_CFGR_SW_HSI48         (3 << RCC_CFGR_SW_SHIFT) /* 11: HSI48 selected as system clock */
+
 #define RCC_CFGR_SWS_SHIFT          (2)       /* Bits 3-2: System Clock Switch Status */
 #define RCC_CFGR_SWS_MASK           (3 << RCC_CFGR_SWS_SHIFT)
 #  define RCC_CFGR_SWS_HSI          (0 << RCC_CFGR_SWS_SHIFT) /* 00: HSI oscillator used as system clock */
 #  define RCC_CFGR_SWS_HSE          (1 << RCC_CFGR_SWS_SHIFT) /* 01: HSE oscillator used as system clock */
 #  define RCC_CFGR_SWS_PLL          (2 << RCC_CFGR_SWS_SHIFT) /* 10: PLL used as system clock */
 #  define RCC_CFGR_SWS_HSI48        (3 << RCC_CFGR_SWS_SHIFT) /* 11: HSI48 used as system clock */
+
 #define RCC_CFGR_HPRE_SHIFT         (4)       /* Bits 7-4: AHB prescaler */
 #define RCC_CFGR_HPRE_MASK          (0x0f << RCC_CFGR_HPRE_SHIFT)
-#  define RCC_CFGR_HPRE_SYSCLK      (0 << RCC_CFGR_HPRE_SHIFT) /* 0xxx: SYSCLK not divided */
-#  define RCC_CFGR_HPRE_SYSCLKd2    (8 << RCC_CFGR_HPRE_SHIFT) /* 1000: SYSCLK divided by 2 */
-#  define RCC_CFGR_HPRE_SYSCLKd4    (9 << RCC_CFGR_HPRE_SHIFT) /* 1001: SYSCLK divided by 4 */
+#  define RCC_CFGR_HPRE_SYSCLK      (0 << RCC_CFGR_HPRE_SHIFT)  /* 0xxx: SYSCLK not divided */
+#  define RCC_CFGR_HPRE_SYSCLKd2    (8 << RCC_CFGR_HPRE_SHIFT)  /* 1000: SYSCLK divided by 2 */
+#  define RCC_CFGR_HPRE_SYSCLKd4    (9 << RCC_CFGR_HPRE_SHIFT)  /* 1001: SYSCLK divided by 4 */
 #  define RCC_CFGR_HPRE_SYSCLKd8    (10 << RCC_CFGR_HPRE_SHIFT) /* 1010: SYSCLK divided by 8 */
 #  define RCC_CFGR_HPRE_SYSCLKd16   (11 << RCC_CFGR_HPRE_SHIFT) /* 1011: SYSCLK divided by 16 */
 #  define RCC_CFGR_HPRE_SYSCLKd64   (12 << RCC_CFGR_HPRE_SHIFT) /* 1100: SYSCLK divided by 64 */
 #  define RCC_CFGR_HPRE_SYSCLKd128  (13 << RCC_CFGR_HPRE_SHIFT) /* 1101: SYSCLK divided by 128 */
 #  define RCC_CFGR_HPRE_SYSCLKd256  (14 << RCC_CFGR_HPRE_SHIFT) /* 1110: SYSCLK divided by 256 */
 #  define RCC_CFGR_HPRE_SYSCLKd512  (15 << RCC_CFGR_HPRE_SHIFT) /* 1111: SYSCLK divided by 512 */
+
 #define RCC_CFGR_PPRE1_SHIFT        (8)       /* Bits 10-8: APB Low speed prescaler (APB1) */
 #define RCC_CFGR_PPRE1_MASK         (7 << RCC_CFGR_PPRE1_SHIFT)
 #  define RCC_CFGR_PPRE1_HCLK       (0 << RCC_CFGR_PPRE1_SHIFT) /* 0xx: HCLK not divided */
@@ -108,7 +111,11 @@
 #  define RCC_CFGR_PPRE1_HCLKd4     (5 << RCC_CFGR_PPRE1_SHIFT) /* 101: HCLK divided by 4 */
 #  define RCC_CFGR_PPRE1_HCLKd8     (6 << RCC_CFGR_PPRE1_SHIFT) /* 110: HCLK divided by 8 */
 #  define RCC_CFGR_PPRE1_HCLKd16    (7 << RCC_CFGR_PPRE1_SHIFT) /* 111: HCLK divided by 16 */
-                                              /* Bits 13-11: Reserve. Keep the reset value */
+
+                                              /* Bits 13-11: Reserve.
+                                               * Keep the reset value
+                                               */
+
 #define RCC_CFGR_ADCPRE             (1 << 14) /* Bit 14: ADC prescaler, Obsolete use ADC_CFGR2 */
 #define RCC_CFGR_PLLSRC_SHIFT           (15)  /* Bit 15: PLL input clock source */
 #define RCC_CFGR_PLLSRC_MASK            (3 << RCC_CFGR_PLLSRC_SHIFT)
@@ -116,6 +123,7 @@
 #  define RCC_CFGR_PLLSRC_HS1_PREDIV    (1 << RCC_CFGR_PLLSRC_SHIFT) /* 01: HSE/PREDIV as PLL input clock */
 #  define RCC_CFGR_PLLSRC_HSE_PREDIV    (2 << RCC_CFGR_PLLSRC_SHIFT) /* 10: HSE/PREDIV as PLL input clock */
 #  define RCC_CFGR_PLLSRC_HSI48_PREDIV  (3 << RCC_CFGR_PLLSRC_SHIFT) /* 11: HSI48/PREDIV as PLL input clock */
+
 #define RCC_CFGR_PLLXTPRE_MASK      (1 << 17) /* Bit 17: HSE divider for PLL entry */
 #  define RCC_CFGR_PLLXTPRE_DIV1    (0 << 17) /*         0=No divistion */
 #  define RCC_CFGR_PLLXTPRE_DIV2    (1 << 17) /*         1=Divide by two */
@@ -136,7 +144,9 @@
 #  define RCC_CFGR_PLLMUL_CLKx14    (12 << RCC_CFGR_PLLMUL_SHIFT) /* 1100: PLL input clock x 14 */
 #  define RCC_CFGR_PLLMUL_CLKx15    (13 << RCC_CFGR_PLLMUL_SHIFT) /* 1101: PLL input clock x 15 */
 #  define RCC_CFGR_PLLMUL_CLKx16    (14 << RCC_CFGR_PLLMUL_SHIFT) /* 111x: PLL input clock x 16 */
+
                                     /* Bit 22-23: Reserved */
+
 #define RCC_CFGR_MCO_SHIFT          (24)      /* Bits 27-24: Microcontroller Clock Output */
 #define RCC_CFGR_MCO_MASK           (15 << RCC_CFGR_MCO_SHIFT)
 #  define RCC_CFGR_NOCLK            (0 << RCC_CFGR_MCO_SHIFT)    /* 0000: No clock */
@@ -161,7 +171,6 @@
 #  define RCC_CFGR_MCOPRE_DIV64     (6 << RCC_CFGR_MCOPRE_SHIFT) /* 110: MCO is divided by 64 */
 #  define RCC_CFGR_MCOPRE_DIV128    (7 << RCC_CFGR_MCOPRE_SHIFT) /* 111: MCO is divided by 128 */
 
-
 /* Clock interrupt register */
 
 #define RCC_CIR_LSIRDYF             (1 << 0)  /* Bit 0: LSI Ready Interrupt flag */
@@ -289,6 +298,7 @@
 #  define RCC_BDCR_RTCSEL_LSE       (1 << RCC_BDCR_RTCSEL_SHIFT) /* 01: LSE oscillator clock used as RTC clock */
 #  define RCC_BDCR_RTCSEL_LSI       (2 << RCC_BDCR_RTCSEL_SHIFT) /* 10: LSI oscillator clock used as RTC clock */
 #  define RCC_BDCR_RTCSEL_HSE       (3 << RCC_BDCR_RTCSEL_SHIFT) /* 11: HSE oscillator clock divided by 128 used as RTC clock */
+
 #define RCC_BDCR_RTCEN              (1 << 15) /* Bit 15: RTC clock enable */
 #define RCC_BDCR_BDRST              (1 << 16) /* Bit 16: Backup domain software reset */
 
@@ -345,6 +355,7 @@
 #  define RCC_CFGR3_USART1SW_SYSCLK (1 << RCC_CFGR3_USART1SW_SHIFT) /* SYSCLK is USART1 clock */
 #  define RCC_CFGR3_USART1SW_LSE    (2 << RCC_CFGR3_USART1SW_SHIFT) /* LSE is USART1 clock */
 #  define RCC_CFGR3_USART1SW_HSI    (3 << RCC_CFGR3_USART1SW_SHIFT) /* HSI is USART1 clock */
+
 #define RCC_CFGR3_CECSW             (1 << 6)  /* Bit 6: HDMI CEC clock source selection */
 #define RCC_CFGR3_USBSW             (1 << 7)  /* Bit 7: USB clock source selection */
 #define RCC_CFGR3_CLK48_HSI48       0
@@ -356,6 +367,7 @@
 #  define RCC_CFGR3_USART2SW_SYSCLK (1 << RCC_CFGR3_USART2SW_SHIFT) /* SYSCLK is USART2 clock */
 #  define RCC_CFGR3_USART2SW_LSE    (2 << RCC_CFGR3_USART2SW_SHIFT) /* LSE is USART2 clock */
 #  define RCC_CFGR3_USART2SW_HSI    (3 << RCC_CFGR3_USART2SW_SHIFT) /* HSI is USART2 clock */
+
 #define RCC_CFGR3_USART3SW_SHIFT    (18)      /* Bits 18-19: USART3 clock source selection */
 #define RCC_CFGR3_USART3SW_MASK     (3 << RCC_CFGR3_USART3SW_SHIFT)
 #  define RCC_CFGR3_USART3SW_PCLK   (0 << RCC_CFGR3_USART3SW_SHIFT) /* PCLK is USART3 clock source */
diff --git a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h
index 89e8868..89f18b4 100644
--- a/arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h
+++ b/arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/hardware/stm32f0_syscfg.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,26 +16,28 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F0_SYSCFG_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_HARDWARE_STM32F0_SYSCFG_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "chip.h"
 
-/****************************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *********************************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_SYSCFG_CFGR1_OFFSET      0x0000 /* SYSCFG configuration register 1 */
+
 #define STM32_SYSCFG_EXTICR_OFFSET(p)  (0x0008 + ((p) & 0x000c)) /* Registers are displaced by 4! */
+
 #define STM32_SYSCFG_EXTICR1_OFFSET    0x0008 /* SYSCFG external interrupt configuration register 1 */
 #define STM32_SYSCFG_EXTICR2_OFFSET    0x000c /* SYSCFG external interrupt configuration register 2 */
 #define STM32_SYSCFG_EXTICR3_OFFSET    0x0010 /* SYSCFG external interrupt configuration register 3 */
@@ -73,7 +75,7 @@
 #define STM32_SYSCFG_ITLINE29_OFFSET   0x00f4 /* SYSCFG interrupt line 29 status register (STM32F09x) */
 #define STM32_SYSCFG_ITLINE30_OFFSET   0x00f8 /* SYSCFG interrupt line 30 status register (STM32F09x) */
 
-/* Register Addresses *******************************************************************************/
+/* Register Addresses *******************************************************/
 
 #define STM32_SYSCFG_CFGR1             (STM32_SYSCFG_BASE + STM32_SYSCFG_CFGR1_OFFSET)
 
@@ -117,7 +119,7 @@
 #define STM32_SYSCFG_ITLINE29          (STM32_SYSCFG_BASE + STM32_SYSCFG_ITLINE29_OFFSET)
 #define STM32_SYSCFG_ITLINE30          (STM32_SYSCFG_BASE + STM32_SYSCFG_ITLINE30_OFFSET)
 
-/* Register Bitfield Definitions ********************************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* SYSCFG memory remap register */
 
@@ -126,12 +128,14 @@
 #  define SYSCFG_CFGR1_MEMMODE_FLASH   (0 << SYSCFG_CFGR1_MEMMODE_SHIFT) /* 00: Main Flash at 0x00000000 */
 #  define SYSCFG_CFGR1_MEMMODE_SYSTEM  (1 << SYSCFG_CFGR1_MEMMODE_SHIFT) /* 01: System Flash at 0x00000000 */
 #  define SYSCFG_CFGR1_MEMMODE_SRAM    (3 << SYSCFG_CFGR1_MEMMODE_SHIFT) /* 11: Embedded SRAM at 0x00000000 */
+
 #define SYSCFG_CFGR1_PA11_PA12_RMP     (1 << 4)  /* Bit 4:  PA11 and PA12 remapping bit for small packages */
 #define SYSCFG_CFGR1_IRMOD_SHIFT       (6)       /* Bits 6-7: IR Modulation Envelope signal selection */
 #define SYSCFG_CFGR1_IRMOD_MASK        (3 << SYSCFG_CFGR1_IRMOD_SHIFT)
 #  define SYSCFG_CFGR1_IRMOD_TIM16     (0 << SYSCFG_CFGR1_IRMOD_SHIFT) /* 00: TIM16 selected */
 #  define SYSCFG_CFGR1_IRMOD_USART1    (1 << SYSCFG_CFGR1_IRMOD_SHIFT) /* 01: USART1 selected */
 #  define SYSCFG_CFGR1_IRMOD_USART4    (2 << SYSCFG_CFGR1_IRMOD_SHIFT) /* 10: USART1 selected */
+
 #define SYSCFG_CFGR1_ADC_DMARMP        (1 << 8)  /* Bit 8:  ADC DMA remapping bit. Only STM32F03x/F04x/F05x/F07x */
 #define SYSCFG_CFGR1_USART1_TXDMARMP   (1 << 9)  /* Bit 9: USART1_TX_DMA request remapping bit. Only STM32F03x/F04x/F05x/F07x */
 #define SYSCFG_CFGR1_USART1_RXDMARMP   (1 << 10) /* Bit 10: USART1_TX_DMA request remapping bit. Only STM32F03x/F04x/F05x/F07x */
diff --git a/arch/arm/src/stm32f0l0g0/stm32_gpio.c b/arch/arm/src/stm32f0l0g0/stm32_gpio.c
index dbf3c44..bb9fe52 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_gpio.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_gpio.c
@@ -47,6 +47,7 @@
 /****************************************************************************
  * Public Data
  ****************************************************************************/
+
 /* Base addresses for each GPIO block */
 
 const uint32_t g_gpiobase[STM32_NPORTS] =
@@ -58,7 +59,7 @@ const uint32_t g_gpiobase[STM32_NPORTS] =
   STM32_GPIOB_BASE,   /* Two GPIO ports, GPIOA-B */
 #endif
 #if STM32_NPORTS > 2
-  STM32_GPIOC_BASE,   /* Three GPIO ports, GPIOA-C*/
+  STM32_GPIOC_BASE,   /* Three GPIO ports, GPIOA-C */
 #endif
 #if STM32_NPORTS > 3
   STM32_GPIOD_BASE,   /* Four GPIO ports, GPIOA-D */
@@ -154,7 +155,8 @@ int stm32_configgpio(uint32_t cfgset)
         break;
 
       case GPIO_OUTPUT:     /* General purpose output mode */
-        stm32_gpiowrite(cfgset, (cfgset & GPIO_OUTPUT_SET) != 0); /* Set the initial output value */
+        stm32_gpiowrite(cfgset,
+                       (cfgset & GPIO_OUTPUT_SET) != 0); /* Set the initial output value */
         pinmode = GPIO_MODER_OUTPUT;
         break;
 
@@ -298,7 +300,9 @@ int stm32_configgpio(uint32_t cfgset)
 
   putreg32(regval, base + STM32_GPIO_OTYPER_OFFSET);
 
-  /* Otherwise, it is an input pin.  Should it configured as an EXTI interrupt? */
+  /* Otherwise, it is an input pin.
+   * Should it configured as an EXTI interrupt?
+   */
 
   if ((cfgset & GPIO_EXTI) != 0)
     {
@@ -338,14 +342,15 @@ int stm32_configgpio(uint32_t cfgset)
  * Name: stm32_unconfiggpio
  *
  * Description:
- *   Unconfigure a GPIO pin based on bit-encoded description of the pin, set it
- *   into default HiZ state (and possibly mark it's unused) and unlock it whether
- *   it was previsouly selected as alternative function (GPIO_ALT|GPIO_CNF_AFPP|...).
+ *   Unconfigure a GPIO pin based on bit-encoded description of the pin, set
+ *   it into default HiZ state (and possibly mark it's unused) and unlock it
+ *   whether it was previsouly selected as alternative function
+ *  (GPIO_ALT|GPIO_CNF_AFPP|...).
  *
- *   This is a safety function and prevents hardware from schocks, as unexpected
- *   write to the Timer Channel Output GPIO to fixed '1' or '0' while it should
- *   operate in PWM mode could produce excessive on-board currents and trigger
- *   over-current/alarm function.
+ *   This is a safety function and prevents hardware from schocks, as
+ *   unexpected write to the Timer Channel Output GPIO to fixed '1' or '0'
+ *   while it should operate in PWM mode could produce excessive on-board
+ *   currents and trigger over-current/alarm function.
  *
  * Returned Value:
  *  OK on success
@@ -404,7 +409,6 @@ void stm32_gpiowrite(uint32_t pinset, bool value)
         }
 
       putreg32(bit, base + STM32_GPIO_BSRR_OFFSET);
-
     }
 }
 
diff --git a/arch/arm/src/stm32f0l0g0/stm32_hsi48.h b/arch/arm/src/stm32f0l0g0/stm32_hsi48.h
index 66a7fa7..1631ad2 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_hsi48.h
+++ b/arch/arm/src/stm32f0l0g0/stm32_hsi48.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_hsi48.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_STM32_HSI48_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_STM32_HSI48_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #ifdef CONFIG_STM32F0L0G0_HAVE_HSI48
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
 enum syncsrc_e
 {
@@ -41,9 +41,9 @@ enum syncsrc_e
   SYNCSRC_USB,      /* USB SOF selected as SYNC signal source */
 };
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 /****************************************************************************
  * Name: stm32_enable_hsi48
diff --git a/arch/arm/src/stm32f0l0g0/stm32_irq.c b/arch/arm/src/stm32f0l0g0/stm32_irq.c
index e8af818..e522271 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_irq.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_irq.c
@@ -35,7 +35,7 @@
 #include "arm_arch.h"
 #include "arm_internal.h"
 
-//#include "stm32_irq.h"
+/* #include "stm32_irq.h" */
 
 /****************************************************************************
  * Pre-processor Definitions
diff --git a/arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c b/arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c
index c089d8d..3b3b01f 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_lowputc_v1.c
@@ -199,7 +199,7 @@
 #  define STM32_USARTDIV16 \
       ((STM32_APBCLOCK + (STM32_CONSOLE_BAUD >> 1)) / STM32_CONSOLE_BAUD)
 
-   /* Use oversamply by 8 only if the divisor is small.  But what is small? */
+/* Use oversamply by 8 only if the divisor is small.  But what is small? */
 
 #  if STM32_USARTDIV8 > 100
 #    define STM32_BRR_VALUE STM32_USARTDIV16
@@ -228,9 +228,11 @@ void arm_lowputc(char ch)
 #ifdef HAVE_CONSOLE
   /* Wait until the TX data register is empty */
 
-  while ((getreg32(STM32_CONSOLE_BASE + STM32_USART_ISR_OFFSET) & USART_ISR_TXE) == 0);
+  while ((getreg32(STM32_CONSOLE_BASE + STM32_USART_ISR_OFFSET) &
+          USART_ISR_TXE) == 0);
 #ifdef STM32_CONSOLE_RS485_DIR
-  stm32_gpiowrite(STM32_CONSOLE_RS485_DIR, STM32_CONSOLE_RS485_DIR_POLARITY);
+  stm32_gpiowrite(STM32_CONSOLE_RS485_DIR,
+                  STM32_CONSOLE_RS485_DIR_POLARITY);
 #endif
 
   /* Then send the character */
@@ -238,8 +240,10 @@ void arm_lowputc(char ch)
   putreg32((uint32_t)ch, STM32_CONSOLE_BASE + STM32_USART_TDR_OFFSET);
 
 #ifdef STM32_CONSOLE_RS485_DIR
-  while ((getreg32(STM32_CONSOLE_BASE + STM32_USART_ISR_OFFSET) & USART_ISR_TC) == 0);
-  stm32_gpiowrite(STM32_CONSOLE_RS485_DIR, !STM32_CONSOLE_RS485_DIR_POLARITY);
+  while ((getreg32(STM32_CONSOLE_BASE + STM32_USART_ISR_OFFSET) &
+         USART_ISR_TC) == 0);
+  stm32_gpiowrite(STM32_CONSOLE_RS485_DIR,
+                 !STM32_CONSOLE_RS485_DIR_POLARITY);
 #endif
 
 #endif /* HAVE_CONSOLE */
diff --git a/arch/arm/src/stm32f0l0g0/stm32_serial.c b/arch/arm/src/stm32f0l0g0/stm32_serial.c
index 344cd8e..99ef5f7 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_serial.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_serial.c
@@ -25,10 +25,6 @@
 #include <nuttx/config.h>
 #include "chip.h"
 
-/****************************************************************************
- * Public Functions
- ****************************************************************************/
-
 /* This file is only a thin shell that includes the correct serial
  * implementation for the selected STM32 IP core:
  *   - STM32 UART IP version 1 - F0, L0
@@ -42,3 +38,7 @@
 #else
 #  error "Unsupported STM32 M0 serial"
 #endif
+
+/****************************************************************************
+ * Public Functions
+ ****************************************************************************/
diff --git a/arch/arm/src/stm32f0l0g0/stm32_timerisr.c b/arch/arm/src/stm32f0l0g0/stm32_timerisr.c
index 0551e5d..17630f6 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_timerisr.c
+++ b/arch/arm/src/stm32f0l0g0/stm32_timerisr.c
@@ -137,8 +137,10 @@ void up_timer_initialize(void)
    */
 
 #ifdef CONFIG_STM32F0L0G0_SYSTICK_CORECLK
-  putreg32((SYSTICK_CSR_CLKSOURCE | SYSTICK_CSR_TICKINT | SYSTICK_CSR_ENABLE),
-           ARMV6M_SYSTICK_CSR);
+  putreg32((SYSTICK_CSR_CLKSOURCE |
+            SYSTICK_CSR_TICKINT |
+            SYSTICK_CSR_ENABLE),
+            ARMV6M_SYSTICK_CSR);
 #else
   putreg32((SYSTICK_CSR_TICKINT | SYSTICK_CSR_ENABLE), ARMV6M_SYSTICK_CSR);
 #endif
diff --git a/arch/arm/src/stm32f0l0g0/stm32_uart.h b/arch/arm/src/stm32f0l0g0/stm32_uart.h
index 33cbefc..163c89e 100644
--- a/arch/arm/src/stm32f0l0g0/stm32_uart.h
+++ b/arch/arm/src/stm32f0l0g0/stm32_uart.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f0l0g0/stm32_uart.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,14 +16,14 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F0L0G0_STM32_UART_H
 #define __ARCH_ARM_SRC_STM32F0L0G0_STM32_UART_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
@@ -31,9 +31,10 @@
 
 #include "hardware/stm32_uart.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
+
 /* Make sure that we have not enabled more U[S]ARTs than are supported by the
  * device.
  */
@@ -284,7 +285,9 @@
 #  undef HAVE_CONSOLE
 #endif
 
-/* DMA support is only provided if CONFIG_ARCH_DMA is in the NuttX configuration */
+/* DMA support is only provided if CONFIG_ARCH_DMA is in the NuttX
+ * configuration
+ */
 
 #if !defined(HAVE_SERIALDRIVER) || !defined(CONFIG_ARCH_DMA)
 #  undef CONFIG_USART1_RXDMA
@@ -398,13 +401,13 @@
 #  define USART_CR1_USED_INTS    (USART_CR1_RXNEIE | USART_CR1_TXEIE | USART_CR1_PEIE)
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
@@ -417,22 +420,22 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Name: stm32_serial_dma_poll
  *
  * Description:
- *   Must be called periodically if any STM32 USART is configured for DMA.  The DMA
- *   callback is triggered for each fifo size/2 bytes, but this can result in some
- *   bytes being transferred but not collected if the incoming data is not a whole
- *   multiple of half the FIFO size.
+ *   Must be called periodically if any STM32 USART is configured for DMA.
+ *   The DMA callback is triggered for each fifo size/2 bytes, but this can
+ *   result in some bytes being transferred but not collected if the incoming
+ *   data is not a whole multiple of half the FIFO size.
  *
  *   May be safely called from either interrupt or thread context.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifdef SERIAL_HAVE_RXDMA
 void stm32_serial_dma_poll(void);
diff --git a/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c b/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c
index 2d56a86..6c41d10 100644
--- a/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c
+++ b/arch/arm/src/stm32f0l0g0/stm32f0_rcc.c
@@ -79,10 +79,11 @@ static inline void rcc_enableio(void)
   uint32_t regval = 0;
 
   /* Enable basic peripheral support */
+
   /* Enable all GPIO modules */
 
   regval  = getreg32(STM32_RCC_AHBENR);
-  regval |= RCC_AHBENR_IOPAEN | RCC_AHBENR_IOPBEN | RCC_AHBENR_IOPCEN |\
+  regval |= RCC_AHBENR_IOPAEN | RCC_AHBENR_IOPBEN | RCC_AHBENR_IOPCEN |
             RCC_AHBENR_IOPDEN | RCC_AHBENR_IOPEEN | RCC_AHBENR_IOPFEN;
   putreg32(regval, STM32_RCC_AHBENR);
 }
@@ -432,7 +433,8 @@ static void stm32_stdclockconfig(void)
       regval &= ~RCC_CFGR_SW_MASK;
       putreg32(regval, STM32_RCC_CFGR);
 
-      while ((getreg32(STM32_RCC_CFGR) & RCC_CFGR_SWS_MASK) != RCC_CFGR_SWS_HSI);
+      while ((getreg32(STM32_RCC_CFGR) & RCC_CFGR_SWS_MASK) !=
+              RCC_CFGR_SWS_HSI);
     }
 
   /* Disable the PLL */
@@ -469,8 +471,10 @@ static void stm32_stdclockconfig(void)
    * 3. Use multiplier from board.h
    */
 
-  regval &= ~(RCC_CFGR_PLLSRC_MASK | RCC_CFGR_PLLXTPRE_MASK | RCC_CFGR_PLLMUL_MASK);
-  regval |= (RCC_CFGR_PLLSRC_HSId2 | RCC_CFGR_PLLXTPRE_DIV1 | STM32_CFGR_PLLMUL);
+  regval &= ~(RCC_CFGR_PLLSRC_MASK | RCC_CFGR_PLLXTPRE_MASK |
+              RCC_CFGR_PLLMUL_MASK);
+  regval |= (RCC_CFGR_PLLSRC_HSId2 | RCC_CFGR_PLLXTPRE_DIV1 |
+             STM32_CFGR_PLLMUL);
   putreg32(regval, STM32_RCC_CFGR);
 
   /* Enable the PLL */
diff --git a/arch/arm/src/stm32f7/hardware/stm32_ethernet.h b/arch/arm/src/stm32f7/hardware/stm32_ethernet.h
index 1fcb1a9..f477b2a 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_ethernet.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_ethernet.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_ethernet.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,14 +16,14 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F7_HARDWARE_STM32_ETHERNET_H
 #define __ARCH_ARM_SRC_STM32F7_HARDWARE_STM32_ETHERNET_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
@@ -34,10 +34,12 @@
 #if defined(CONFIG_STM32F7_STM32F74XX) || defined(CONFIG_STM32F7_STM32F75XX) || \
     defined(CONFIG_STM32F7_STM32F76XX) || defined(CONFIG_STM32F7_STM32F77XX)
 
-/****************************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ****************************************************************************************************/
-/* Register Offsets *********************************************************************************/
+ ****************************************************************************/
+
+/* Register Offsets *********************************************************/
+
 /* MAC Registers */
 
 #define STM32_ETH_MACCR_OFFSET       0x0000 /* Ethernet MAC configuration register */
@@ -106,7 +108,8 @@
 #define STM32_ETH_DMACHTBAR_OFFSET   0x1050 /* Ethernet DMA current host transmit buffer address register */
 #define STM32_ETH_DMACHRBAR_OFFSET   0x1054 /* Ethernet DMA current host receive buffer address register */
 
-/* Register Base Addresses **************************************************************************/
+/* Register Base Addresses **************************************************/
+
 /* MAC Registers */
 
 #define STM32_ETH_MACCR              (STM32_ETHMAC_BASE+STM32_ETH_MACCR_OFFSET)
@@ -175,7 +178,8 @@
 #define STM32_ETH_DMACHTBAR          (STM32_ETHMAC_BASE+STM32_ETH_DMACHTBAR_OFFSET)
 #define STM32_ETH_DMACHRBAR          (STM32_ETHMAC_BASE+STM32_ETH_DMACHRBAR_OFFSET)
 
-/* Register Bit-Field Definitions *******************************************************************/
+/* Register Bit-Field Definitions *******************************************/
+
 /* MAC Registers */
 
 /* Ethernet MAC configuration register */
@@ -189,6 +193,7 @@
 #  define ETH_MACCR_BL_8             (1 << ETH_MACCR_BL_SHIFT) /* 01: k = min (n, 8) */
 #  define ETH_MACCR_BL_4             (2 << ETH_MACCR_BL_SHIFT) /* 10: k = min (n, 4) */
 #  define ETH_MACCR_BL_1             (3 << ETH_MACCR_BL_SHIFT) /* 11: k = min (n, 1) */
+
 #define ETH_MACCR_APCS               (1 << 7)  /* Bit 7:  Automatic pad/CRC stripping */
 #define ETH_MACCR_RD                 (1 << 9)  /* Bit 9:  Retry disable */
 #define ETH_MACCR_IPCO               (1 << 10) /* Bit 10: IPv4 checksum offload */
@@ -200,6 +205,7 @@
 #define ETH_MACCR_IFG_SHIFT          (17)      /* Bits 17-19: Interframe gap */
 #define ETH_MACCR_IFG_MASK           (7 << ETH_MACCR_IFG_SHIFT)
 #  define ETH_MACCR_IFG(n)           ((12-((n) >> 3)) << ETH_MACCR_IFG_SHIFT) /* n bit times, n=40,48,..96 */
+
 #define ETH_MACCR_JD                 (1 << 22) /* Bit 22: Jabber disable */
 #define ETH_MACCR_WD                 (1 << 23) /* Bit 23: Watchdog disable */
 #define ETH_MACCR_CSTF               (1 << 25) /* Bits 25: CRC stripping for Type frames */
@@ -218,6 +224,7 @@
 #  define ETH_MACFFR_PCF_PAUSE       (1 << ETH_MACFFR_PCF_SHIFT) /* Prevents all except Pause control frames */
 #  define ETH_MACFFR_PCF_ALL         (2 << ETH_MACFFR_PCF_SHIFT) /* Forwards all control frames */
 #  define ETH_MACFFR_PCF_FILTER      (3 << ETH_MACFFR_PCF_SHIFT) /* Forwards all that pass address filter */
+
 #define ETH_MACFFR_SAIF              (1 << 8)  /* Bit 8: Source address inverse filtering */
 #define ETH_MACFFR_SAF               (1 << 9)  /* Bit 9: Source address filter */
 #define ETH_MACFFR_HPF               (1 << 10) /* Bit 10: Hash or perfect filter */
@@ -236,6 +243,7 @@
 #  define ETH_MACMIIAR_CR_DIV16      (2 << ETH_MACMIIAR_CR_SHIFT) /* 20-35   MHz HCLK/16 */
 #  define ETH_MACMIIAR_CR_DIV26      (3 << ETH_MACMIIAR_CR_SHIFT) /* 35-60   MHz HCLK/26 */
 #  define ETH_MACMIIAR_CR_DIV102     (4 << ETH_MACMIIAR_CR_SHIFT) /* 150-216 MHz HCLK/102 */
+
 #define ETH_MACMIIAR_MR_SHIFT        (6)       /* Bits 6-10: MII register */
 #define ETH_MACMIIAR_MR_MASK         (31 << ETH_MACMIIAR_MR_SHIFT)
 #  define ETH_MACMIIAR_MR(n)         ((uint32_t)(n) << ETH_MACMIIAR_MR_SHIFT)
@@ -259,6 +267,7 @@
 #  define ETH_MACFCR_PLT_M28         (1 << ETH_MACFCR_PLT_SHIFT) /* 01 Pause - 28 slot times */
 #  define ETH_MACFCR_PLT_M144        (2 << ETH_MACFCR_PLT_SHIFT) /* 10 Pause - 144 slot times */
 #  define ETH_MACFCR_PLT_M256        (3 << ETH_MACFCR_PLT_SHIFT) /* 11 Pause -s 256 slot times */
+
 #define ETH_MACFCR_ZQPD              (1 << 7)  /* Bit 7: Zero-quanta pause disable */
 #define ETH_MACFCR_PT_SHIFT          (16)      /* Bits 16-31: Pause time */
 #define ETH_MACFCR_PT_MASK           (0xffff << ETH_MACFCR_PT_SHIFT)
@@ -270,8 +279,8 @@
 #  define ETH_MACVLANTR_VLANTI(n)    ((uint32_t)(n) << ETH_MACVLANTR_VLANTI_SHIFT)
 #define ETH_MACVLANTR_VLANTC         (1 << 16) /* Bit 16: 12-bit VLAN tag comparison */
 
-/* Ethernet MAC remote wakeup frame filter reg.  Provides 32-bit access to remote
- * remote wake-up filters.
+/* Ethernet MAC remote wakeup frame filter reg.
+ * Provides 32-bit access to remote remote wake-up filters.
  */
 
 /* Ethernet MAC PMT control and status register */
@@ -296,12 +305,14 @@
 #  define ETH_MACDBGR_RFRCS_RFRAME   (1 << ETH_MACDBGR_RFRCS_SHIFT) /* 01: Reading frame data */
 #  define ETH_MACDBGR_RFRCS_RSTATUS  (2 << ETH_MACDBGR_RFRCS_SHIFT) /* 10: Reading frame status (or time-stamp) */
 #  define ETH_MACDBGR_RFRCS_FLUSHING (3 << ETH_MACDBGR_RFRCS_SHIFT) /* 11: Flushing the frame data and status */
+
 #define ETH_MACDBGR_RFFL_SHIFT       (8)       /* Bits 8-9: Rx FIFO fill level */
 #define ETH_MACDBGR_RFFL_MASK        (3 << ETH_MACDBGR_RFFL_SHIFT)
 #  define ETH_MACDBGR_RFFL_EMPTY     (0 << ETH_MACDBGR_RFFL_SHIFT) /* 00: RxFIFO empty */
 #  define ETH_MACDBGR_RFFL_DEACT     (1 << ETH_MACDBGR_RFFL_SHIFT) /* 01: RxFIFO fill-level below flow-control de-activate threshold */
 #  define ETH_MACDBGR_RFFL_ACTIV     (2 << ETH_MACDBGR_RFFL_SHIFT) /* 10: RxFIFO fill-level above flow-control activate threshold */
 #  define ETH_MACDBGR_RFFL_FULL      (3 << ETH_MACDBGR_RFFL_SHIFT) /* 11: RxFIFO full */
+
 #define ETH_MACDBGR_MMTEA            (1 << 16) /* Bit 16: MAC MII transmit engine active */
 #define ETH_MACDBGR_MTFCS_SHIFT      (17)      /* Bits 17-18: MAC transmit frame controller status */
 #define ETH_MACDBGR_MTFCS_MASK       (3 << ETH_MACDBGR_MTFCS_SHIFT)
@@ -309,6 +320,7 @@
 #  define ETH_MACDBGR_MTFCS_WAITING  (1 << ETH_MACDBGR_MTFCS_SHIFT) /* 01: Waiting for Status of previous frame or IFG/backoff period to be over */
 #  define ETH_MACDBGR_MTFCS_PAUSE    (2 << ETH_MACDBGR_MTFCS_SHIFT) /* 10: Generating and transmitting a Pause control frame */
 #  define ETH_MACDBGR_MTFCS_FRAME    (3 << ETH_MACDBGR_MTFCS_SHIFT) /* 11: Transferring input frame for transmission */
+
 #define ETH_MACDBGR_MTP              (1 << 19) /* Bit 19: MAC transmitter in pause */
 #define ETH_MACDBGR_TFRS_SHIFT       (20)      /* Bits 20-21: Tx FIFO read status */
 #define ETH_MACDBGR_TFRS_MASK        (3 << ETH_MACDBGR_TFRS_SHIFT)
@@ -316,6 +328,7 @@
 #  define ETH_MACDBGR_TFRS_READ      (1 << ETH_MACDBGR_TFRS_SHIFT) /* 01: Read state */
 #  define ETH_MACDBGR_TFRS_WAITING   (2 << ETH_MACDBGR_TFRS_SHIFT) /* 10: Waiting for TxStatus from MAC transmitter */
 #  define ETH_MACDBGR_TFRS_WRITING   (3 << ETH_MACDBGR_TFRS_SHIFT) /* 11: Writing the received TxStatus or flushing the TxFIFO */
+
 #define ETH_MACDBGR_TFWA             (1 << 22) /* Bit 22: Tx FIFO write active */
 #define ETH_MACDBGR_TFNE             (1 << 24) /* Bit 24: Tx FIFO not empty */
 #define ETH_MACDBGR_TFF              (1 << 25) /* Bit 25: Tx FIFO full */
@@ -356,6 +369,7 @@
 #  define ETH_MACA1HR_MBC_16_23      (0x04 << ETH_MACA1HR_MBC_SHIFT) /* Bit 26: ETH_MACA1LR [16-23] */
 #  define ETH_MACA1HR_MBC_8_15       (0x02 << ETH_MACA1HR_MBC_SHIFT) /* Bit 25: ETH_MACA1LR [8-15] */
 #  define ETH_MACA1HR_MBC_0_7        (0x01 << ETH_MACA1HR_MBC_SHIFT) /* Bit 24: ETH_MACA1LR [0-7] */
+
 #define ETH_MACA1HR_SA               (1 << 30) /* Bit 30: Source address */
 #define ETH_MACA1HR_AE               (1 << 31) /* Bit 31: Address enable */
 
@@ -374,6 +388,7 @@
 #  define ETH_MACA2HR_MBC_16_23      (0x04 << ETH_MACA2HR_MBC_SHIFT) /* Bit 26: ETH_MACA2LR [16-23] */
 #  define ETH_MACA2HR_MBC_8_15       (0x02 << ETH_MACA2HR_MBC_SHIFT) /* Bit 25: ETH_MACA2LR [8-15] */
 #  define ETH_MACA2HR_MBC_0_7        (0x01 << ETH_MACA2HR_MBC_SHIFT) /* Bit 24: ETH_MACA2LR [0-7] */
+
 #define ETH_MACA2HR_SA               (1 << 30) /* Bit 30: Source address */
 #define ETH_MACA2HR_AE               (1 << 31) /* Bit 31: Address enable */
 
@@ -392,6 +407,7 @@
 #  define ETH_MACA3HR_MBC_16_23      (0x04 << ETH_MACA3HR_MBC_SHIFT) /* Bit 26: ETH_MACA3LR [16-23] */
 #  define ETH_MACA3HR_MBC_8_15       (0x02 << ETH_MACA3HR_MBC_SHIFT) /* Bit 25: ETH_MACA3LR [8-15] */
 #  define ETH_MACA3HR_MBC_0_7        (0x01 << ETH_MACA3HR_MBC_SHIFT) /* Bit 24: ETH_MACA3LR [0-7] */
+
 #define ETH_MACA3HR_SA               (1 << 30) /* Bit 30: Source address */
 #define ETH_MACA3HR_AE               (1 << 31) /* Bit 31: Address enable */
 
@@ -454,6 +470,7 @@
 #  define ETH_PTPTSCR_TSCNT_BOUNDARY (1 << ETH_PTPTSCR_TSCNT_SHIFT) /* 01: Boundary clock */
 #  define ETH_PTPTSCR_TSCNT_E2E      (2 << ETH_PTPTSCR_TSCNT_SHIFT) /* 10: End-to-end transparent clock */
 #  define ETH_PTPTSCR_TSCNT_P2P      (3 << ETH_PTPTSCR_TSCNT_SHIFT) /* 11: Peer-to-peer transparent clock */
+
 #define ETH_PTPTSCR_TSPFFMAE         (1 << 18) /* Bit 18: Time stamp PTP frame filtering MAC address enable */
 
 /* Ethernet PTP subsecond increment register */
@@ -475,7 +492,9 @@
 #define ETH_PTPTSLU_MASK             (0x7fffffff) /* Bits 0-30: Time stamp update subsecond */
 
 /* Ethernet PTP time stamp addend register (32-bit) */
+
 /* Ethernet PTP target time high register (32-bit) */
+
 /* Ethernet PTP target time low register (32-bit) */
 
 /* Ethernet PTP time stamp status register */
@@ -496,28 +515,34 @@
 #define ETH_DMABMR_PBL_SHIFT         (8)       /* Bits 8-13: Programmable burst length */
 #define ETH_DMABMR_PBL_MASK          (0x3f << ETH_DMABMR_PBL_SHIFT)
 #  define ETH_DMABMR_PBL(n)          ((n) << ETH_DMABMR_PBL_SHIFT) /* n=1, 2, 4, 8, 16, 32 */
+
 #define ETH_DMABMR_PM_SHIFT          (14)      /* Bits 14-15: Rx Tx priority ratio */
 #define ETH_DMABMR_PM_MASK           (3 << ETH_DMABMR_PM_SHIFT)
 #  define ETH_DMABMR_RTPR_1TO1       (0 << ETH_DMABMR_PM_SHIFT) /* 00: 1:1 */
 #  define ETH_DMABMR_RTPR_2TO1       (1 << ETH_DMABMR_PM_SHIFT) /* 01: 2:1 */
 #  define ETH_DMABMR_RTPR_3TO1       (2 << ETH_DMABMR_PM_SHIFT) /* 10: 3:1 */
 #  define ETH_DMABMR_RTPR_4TO1       (3 << ETH_DMABMR_PM_SHIFT) /* 11: 4:1 */
+
 #define ETH_DMABMR_FB                (1 << 16) /* Bit 16: Fixed burst */
 #define ETH_DMABMR_RDP_SHIFT         (17)      /* Bits 17-22: Rx DMA PBL */
 #define ETH_DMABMR_RDP_MASK          (0x3f << ETH_DMABMR_RDP_SHIFT)
 #  define ETH_DMABMR_RDP(n)          ((n) << ETH_DMABMR_RDP_SHIFT) /* n=1, 2, 4, 8, 16, 32 */
+
 #define ETH_DMABMR_USP               (1 << 23) /* Bit 23: Use separate PBL */
 #define ETH_DMABMR_FPM               (1 << 24) /* Bit 24: 4xPBL mode */
 #define ETH_DMABMR_AAB               (1 << 25) /* Bit 25: Address-aligned beats */
 #define ETH_DMABMR_MB                (1 << 26) /* Bit 26: Mixed burst */
 
 /* Ethernet DMA transmit poll demand register (32-bit) */
+
 /* Ethernet DMA receive poll demand register (32-bit) */
+
 /* Ethernet DMA receive descriptor list address register (32-bit address) */
+
 /* Ethernet DMA transmit descriptor list address register (32-bit address) */
 
-/* Interrupt bit definitions common between the DMA status register (DMASR) and
- * the DMA interrupt enable register (DMAIER).
+/* Interrupt bit definitions common between the DMA status register (DMASR)
+ * and the DMA interrupt enable register (DMAIER).
  */
 
 #define ETH_DMAINT_TI                (1 << 0)  /* Bit 0:  Transmit interrupt */
@@ -546,6 +571,7 @@
 #  define ETH_DMASR_RPS_SUSPENDED    (4 << ETH_DMASR_RPS_SHIFT) /* 100: Suspended: Receive descriptor unavailable */
 #  define ETH_DMASR_RPS_CLOSING      (5 << ETH_DMASR_RPS_SHIFT) /* 101: Running: Closing receive descriptor */
 #  define ETH_DMASR_RPS_TRANSFER     (7 << ETH_DMASR_RPS_SHIFT) /* 111: Running: Transferring the receive data to memory */
+
 #define ETH_DMASR_TPS_SHIFT          (20)      /* Bits 20-22: Transmit process state */
 #define ETH_DMASR_TPS_MASK           (7 << ETH_DMASR_TPS_SHIFT)
 #  define ETH_DMASR_TPS_STOPPED      (0 << ETH_DMASR_TPS_SHIFT) /* 000: Stopped; Reset or Stop Transmit Command issued */
@@ -554,11 +580,13 @@
 #  define ETH_DMASR_TPS_TRANSFER     (3 << ETH_DMASR_TPS_SHIFT) /* 011: Running; Reading data and queuing to transmit (TxFIFO) */
 #  define ETH_DMASR_TPS_SUSPENDED    (6 << ETH_DMASR_TPS_SHIFT) /* 110: Suspended; Transmit descriptor unavailable or buffer underflow */
 #  define ETH_DMASR_TPS_CLOSING      (7 << ETH_DMASR_TPS_SHIFT) /* 111: Running; Closing transmit descriptor */
+
 #define ETH_DMASR_EBS_SHIFT          (23)      /* Bits 23-25: Error bits status */
 #define ETH_DMASR_EBS_MASK           (7 << ETH_DMASR_EBS_SHIFT)
 #  define ETH_DMASR_EBS_TXDMS        (1 << ETH_DMASR_EBS_SHIFT) /* Bit 23 1 Error during data transfer by TxDMA */
 #  define ETH_DMASR_EBS_READ         (2 << ETH_DMASR_EBS_SHIFT) /* Bit 24 1 Error during read transfer */
 #  define ETH_DMASR_EBS_DESC         (4 << ETH_DMASR_EBS_SHIFT) /* Bit 25 1 Error during descriptor access */
+
 #define ETH_DMASR_MMCS               (1 << 27) /* Bit 27: MMC status */
 #define ETH_DMASR_PMTS               (1 << 28) /* Bit 28: PMT status */
 #define ETH_DMASR_TSTS               (1 << 29) /* Bit 29: Time stamp trigger status */
@@ -607,12 +635,24 @@
 
 #define ETH_DMARSWTR_MASK            (0xff)
 
-/* Ethernet DMA current host transmit descriptor register (32-bit address) */
-/* Ethernet DMA current host receive descriptor register (32-bit address) */
-/* Ethernet DMA current host transmit buffer address register (32-bit address) */
-/* Ethernet DMA current host receive buffer address register (32-bit address) */
+/* Ethernet DMA current host transmit descriptor register
+ * (32-bit address)
+ */
+
+/* Ethernet DMA current host receive descriptor register
+ * (32-bit address)
+ */
+
+/* Ethernet DMA current host transmit buffer address register
+ * (32-bit address)
+ */
+
+/* Ethernet DMA current host receive buffer address register
+ * (32-bit address)
+ */
+
+/* DMA Descriptors **********************************************************/
 
-/* DMA Descriptors **********************************************************************************/
 /* TDES0: Transmit descriptor Word0 */
 
 #define ETH_TDES0_DB                 (1 << 0)  /* Bit 0:  Deferred bit */
@@ -640,6 +680,7 @@
 #  define ETH_TDES0_CIC_IH           (1 << ETH_TDES0_CIC_SHIFT) /* IP header checksum enabled */
 #  define ETH_TDES0_CIC_IHPL         (2 << ETH_TDES0_CIC_SHIFT) /* IP header and payload checksum enabled */
 #  define ETH_TDES0_CIC_ALL          (3 << ETH_TDES0_CIC_SHIFT) /* IP Header, payload, and pseudo-header checksum enabled */
+
 #define ETH_TDES0_TTSE               (1 << 25) /* Bit 25: Transmit time stamp enable */
 #define ETH_TDES0_DP                 (1 << 26) /* Bit 26: Disable pad */
 #define ETH_TDES0_DC                 (1 << 27) /* Bit 27: Disable CRC */
@@ -653,13 +694,16 @@
 #define ETH_TDES1_TBS1_SHIFT         (0)  /* Bits 0-12: Transmit buffer 1 size */
 #define ETH_TDES1_TBS1_MASK          (0x1fff << ETH_TDES1_TBS1_SHIFT)
 #  define ETH_TDES1_TBS1(n)          ((uint32_t)(n) << ETH_TDES1_TBS1_SHIFT)
-#define ETH_TDES1_TBS2_SHIFT         (16)  /* Bits 16-28: Transmit buffer 2 size */
+#define ETH_TDES1_TBS2_SHIFT         (16) /* Bits 16-28: Transmit buffer 2 size */
 #define ETH_TDES1_TBS2_MASK          (0x1fff << ETH_TDES1_TBS2_SHIFT)
 #  define ETH_TDES1_TBS2(n)          ((uint32_t)(n) << ETH_TDES1_TBS2_SHIFT)
 
 /* TDES2: Transmit descriptor Word2 (32-bit address) */
+
 /* TDES3: Transmit descriptor Word3 (32-bit address) */
+
 /* TDES6: Transmit descriptor Word6 (32-bit time stamp) */
+
 /* TDES7: Transmit descriptor Word7 (32-bit time stamp) */
 
 /* RDES0: Receive descriptor Word0 */
@@ -701,6 +745,7 @@
 #define ETH_RDES1_DIC                (1 << 31) /* Bit 31: Disable interrupt on completion */
 
 /* RDES2: Receive descriptor Word2 (32-bit address) */
+
 /* RDES3: Receive descriptor Word3 (32-bit address) */
 
 /* RDES4: Receive descriptor Word4 */
@@ -711,6 +756,7 @@
 #  define ETH_RDES4_IPPT_UDP         (1 << ETH_RDES4_IPPT_SHIFT) /* UDP payload in IP datagram */
 #  define ETH_RDES4_IPPT_TCP         (2 << ETH_RDES4_IPPT_SHIFT) /* TCP payload in IP datagram */
 #  define ETH_RDES4_IPPT_ICMP        (3 << ETH_RDES4_IPPT_SHIFT) /* ICMP payload in IP datagram */
+
 #define ETH_RDES4_IPHE               (1 << 3)  /* Bit 3:  IP header error */
 #define ETH_RDES4_IPPE               (1 << 4)  /* Bit 4:  IP payload error */
 #define ETH_RDES4_IPCB               (1 << 5)  /* Bit 5:  IP checksum bypassed */
@@ -733,16 +779,19 @@
                                                                  * peer-to-peer transparent clock) or
                                                                  * Signaling (for ordinary or boundary
                                                                  * clock) */
+
 #define ETH_RDES4_PFT                (1 << 12) /* Bit 12: PTP frame type */
 #define ETH_RDES4_PV                 (1 << 13) /* Bit 13: PTP version */
 
 /* RDES5: Receive descriptor Word5 - Reserved */
+
 /* RDES6: Receive descriptor Word6 (32-bit time stamp) */
+
 /* RDES7: Receive descriptor Word7 (32-bit time stamp) */
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
@@ -786,9 +835,9 @@ struct eth_rxdesc_s
 #endif
 };
 
-/****************************************************************************************************
- * Public Functions
- ****************************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ASSEMBLY__ */
 #endif /* CONFIG_STM32F7_STM32F74XX || CONFIG_STM32F7_STM32F75XX || CONFIG_STM32F7_STM32F76XX || CONFIG_STM32F7_STM32F77XX */
diff --git a/arch/arm/src/stm32f7/hardware/stm32_rtcc.h b/arch/arm/src/stm32f7/hardware/stm32_rtcc.h
index 505f246..b7beda6 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_rtcc.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_rtcc.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_rtcc.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,16 +16,16 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F7_HARDWARE_STM32_RTCC_H
 #define __ARCH_ARM_SRC_STM32F7_HARDWARE_STM32_RTCC_H
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_RTC_TR_OFFSET       0x0000 /* RTC time register */
 #define STM32_RTC_DR_OFFSET       0x0004 /* RTC date register */
@@ -81,7 +81,7 @@
 #define STM32_RTC_BK30R_OFFSET    0x00c8 /* RTC backup register 30 */
 #define STM32_RTC_BK31R_OFFSET    0x00cc /* RTC backup register 31 */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define STM32_RTC_TR              (STM32_RTC_BASE+STM32_RTC_TR_OFFSET)
 #define STM32_RTC_DR              (STM32_RTC_BASE+STM32_RTC_DR_OFFSET)
@@ -138,7 +138,7 @@
 
 #define STM32_RTC_BKCOUNT         32
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
 
 /* RTC time register */
 
@@ -191,6 +191,7 @@
 #  define RTC_CR_WUCKSEL_RTCDIV2   (3 << RTC_CR_WUCKSEL_SHIFT) /* 011: RTC/2 clock is selected */
 #  define RTC_CR_WUCKSEL_CKSPRE    (4 << RTC_CR_WUCKSEL_SHIFT) /* 10x: ck_spre clock is selected */
 #  define RTC_CR_WUCKSEL_CKSPREADD (6 << RTC_CR_WUCKSEL_SHIFT) /* 11x: ck_spr clock and 216 added WUT counter */
+
 #define RTC_CR_TSEDGE             (1 << 3)  /* Bit 3:  Timestamp event active edge */
 #define RTC_CR_REFCKON            (1 << 4)  /* Bit 4:  Reference clock detection enable (50 or 60 Hz) */
 #define RTC_CR_BYPSHAD            (1 << 5)  /* Bit 5:  Bypass the shadow registers */
@@ -214,6 +215,7 @@
 #  define RTC_CR_OSEL_ALRMA       (1 << RTC_CR_OSEL_SHIFT) /* 01: Alarm A output enabled */
 #  define RTC_CR_OSEL_ALRMB       (2 << RTC_CR_OSEL_SHIFT) /* 10: Alarm B output enabled */
 #  define RTC_CR_OSEL_WUT         (3 << RTC_CR_OSEL_SHIFT) /* 11: Wakeup output enabled */
+
 #define RTC_CR_COE                (1 << 23) /* Bit 23: Calibration output enable */
 #define RTC_CR_ITSE               (1 << 24) /* Bit 24: Timestamp on internal event enable */
 
@@ -339,7 +341,7 @@
 #define RTC_TAMPCR_TAMP3E         (1 << 5)  /* Bit 5:  RTC_TAMP3 detection enable */
 #define RTC_TAMPCR_TAMP3TRG       (1 << 6)  /* Bit 6:  Active level for RTC_TAMP3 input */
 #define RTC_TAMPCR_TAMPTS         (1 << 7)  /* Bit 7:  Activate timestamp on tamper detection event */
-#define RTC_TAMPCR_TAMPFREQ_SHIFT (8)        /* Bits 8-10: Tamper sampling frequency */
+#define RTC_TAMPCR_TAMPFREQ_SHIFT (8)       /* Bits 8-10: Tamper sampling frequency */
 #define RTC_TAMPCR_TAMPFREQ_MASK  (7 << RTC_TAMPCR_TAMPFREQ_SHIFT)
 #  define RTC_TAMPCR_TAMPFREQ_DIV32768 (0 << RTC_TAMPCR_TAMPFREQ_SHIFT) /* RTCCLK / 32768 (1 Hz) */
 #  define RTC_TAMPCR_TAMPFREQ_DIV16384 (1 << RTC_TAMPCR_TAMPFREQ_SHIFT) /* RTCCLK / 16384 (2 Hz) */
@@ -349,6 +351,7 @@
 #  define RTC_TAMPCR_TAMPFREQ_DIV1024  (5 << RTC_TAMPCR_TAMPFREQ_SHIFT) /* RTCCLK / 1024 (32 Hz) */
 #  define RTC_TAMPCR_TAMPFREQ_DIV512   (6 << RTC_TAMPCR_TAMPFREQ_SHIFT) /* RTCCLK / 512 (64 Hz) */
 #  define RTC_TAMPCR_TAMPFREQ_DIV256   (7 << RTC_TAMPCR_TAMPFREQ_SHIFT) /* RTCCLK / 256 (128 Hz) */
+
 #define RTC_TAMPCR_TAMPFLT_SHIFT  (11)        /* Bits 11-12: RTC_TAMPx filter count */
 #define RTC_TAMPCR_TAMPFLT_MASK   (3 << RTC_TAMPCR_TAMPFLT_SHIFT)
 #define RTC_TAMPCR_TAMPPRCH_SHIFT (13)        /* Bits 13-14: RTC_TAMPx precharge duration */
@@ -357,6 +360,7 @@
 #  define RTC_TAMPCR_TAMPPRCH_2CYCLES (1 << RTC_TAMPCR_TAMPPRCH_SHIFT) /* 2 RTCCLK cycles */
 #  define RTC_TAMPCR_TAMPPRCH_4CYCLES (2 << RTC_TAMPCR_TAMPPRCH_SHIFT) /* 4 RTCCLK cycles */
 #  define RTC_TAMPCR_TAMPPRCH_5CYCLES (3 << RTC_TAMPCR_TAMPPRCH_SHIFT) /* 8 RTCCLK cycles */
+
 #define RTC_TAMPCR_TAMPPUDIS      (1 << 15) /* Bit 15: RTC_TAMPx pull-up disable */
 #define RTC_TAMPCR_TAMP1IE        (1 << 16) /* Bit 16: Tamper 1 interrupt enable */
 #define RTC_TAMPCR_TAMP1NOERASE   (1 << 17) /* Bit 17: Tamper 1 no erase */
@@ -383,7 +387,7 @@
 #  define RTC_OR_PI8              (1 << RTC_OR_TSINSEL_SHIFT) /* TIMESTAMP is mapped on PI8 */
 #  define RTC_OR_PC1              (2 << RTC_OR_TSINSEL_SHIFT) /* TIMESTAMP is mapped on PC1 */
 #  define RTC_OR_PC1_1            (3 << RTC_OR_TSINSEL_SHIFT) /* TIMESTAMP is mapped on PC1 */
-#define RTC_OR_RTC_ALARM_TYPE     (1 << 3) /* RTC_ALARM on PC13 output type */
 
+#define RTC_OR_RTC_ALARM_TYPE     (1 << 3) /* RTC_ALARM on PC13 output type */
 
 #endif /* __ARCH_ARM_SRC_STM32F7_HARDWARE_STM32_RTCC_H */
diff --git a/arch/arm/src/stm32f7/hardware/stm32_tim.h b/arch/arm/src/stm32f7/hardware/stm32_tim.h
index 5813766..07af33f 100644
--- a/arch/arm/src/stm32f7/hardware/stm32_tim.h
+++ b/arch/arm/src/stm32f7/hardware/stm32_tim.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32_tim.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,14 +16,14 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM32F7_HARDWARE_STM32_TIM_H
 #define __ARCH_ARM_SRC_STM32F7_HARDWARE_STM32_TIM_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include "chip.h"
diff --git a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_flash.h b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_flash.h
index ce52c45..df6d3ce 100644
--- a/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_flash.h
+++ b/arch/arm/src/stm32f7/hardware/stm32f74xx75xx_flash.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/stm32f7/hardware/stm32f74xx75xx_flash.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,21 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_STM327_CHIP_STM32F74XX75XX_FLASH_H
 #define __ARCH_ARM_SRC_STM327_CHIP_STM32F74XX75XX_FLASH_H
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
 /* Flash size is known from the chip selection:
  *
  *   When CONFIG_STM32F7_FLASH_OVERRIDE_DEFAULT is set the
- *   CONFIG_STM32F7_FLASH_CONFIG_x selects the default FLASH size based on the chip
- *   part number. This value can be overridden with CONFIG_STM32F7_FLASH_OVERRIDE_x
+ *   CONFIG_STM32F7_FLASH_CONFIG_x selects the default FLASH size based on
+ *   the chip part number.
+ *   This value can be overridden with CONFIG_STM32F7_FLASH_OVERRIDE_x
  *
  *   Parts STM32F74xxE have 512Kb of FLASH
  *   Parts STM32F74xxG have 1024Kb of FLASH
@@ -80,7 +81,7 @@
 
 #endif
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define STM32_FLASH_ACR_OFFSET     0x0000
 #define STM32_FLASH_KEYR_OFFSET    0x0004
@@ -90,7 +91,7 @@
 #define STM32_FLASH_OPTCR_OFFSET   0x0014
 #define STM32_FLASH_OPTCR1_OFFSET  0x0018
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define STM32_FLASH_ACR            (STM32_FLASHIF_BASE+STM32_FLASH_ACR_OFFSET)
 #define STM32_FLASH_KEYR           (STM32_FLASHIF_BASE+STM32_FLASH_KEYR_OFFSET)
@@ -100,7 +101,8 @@
 #define STM32_FLASH_OPTCR          (STM32_FLASHIF_BASE+STM32_FLASH_OPTCR_OFFSET)
 #define STM32_FLASH_OPTCR1         (STM32_FLASHIF_BASE+STM32_FLASH_OPTCR1_OFFSET)
 
-/* Register Bitfield Definitions ****************************************************/
+/* Register Bitfield Definitions ********************************************/
+
 /* Flash Access Control Register (ACR) */
 
 #define FLASH_ACR_LATENCY_SHIFT    (0)       /* Bits 0-1: Latency */
@@ -114,6 +116,7 @@
 #  define FLASH_ACR_LATENCY_5      (5 << FLASH_ACR_LATENCY_SHIFT)    /* 101: Five wait states */
 #  define FLASH_ACR_LATENCY_6      (6 << FLASH_ACR_LATENCY_SHIFT)    /* 110: Six wait states */
 #  define FLASH_ACR_LATENCY_7      (7 << FLASH_ACR_LATENCY_SHIFT)    /* 111: Seven wait states */
+
 #define FLASH_ACR_PRFTEN           (1 << 8)  /* FLASH prefetch enable */
 #define FLASH_ACR_ARTEN            (1 << 9)  /* Bit 9:  ART Accelerator Enable */
 #define FLASH_ACR_ARTRST           (1 << 11) /* Bit 11: ART Accelerator reset */
@@ -136,12 +139,14 @@
... 5110 lines suppressed ...

[incubator-nuttx] 16/16: arch: arm: kinetis: fix nxstyle errors

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 1fdae803219a8944a2dcc201c33698f32ae19bf0
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Mon Mar 22 17:19:33 2021 +0100

    arch: arm: kinetis: fix nxstyle errors
    
    fix nxstyle errors to pass CI
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h  |  41 +++---
 .../src/kinetis/hardware/kinetis_k28k64k66mpu.h    |  39 +++---
 arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h  |  49 ++++---
 arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h  |  38 +++---
 arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h  |  38 +++---
 arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h  |  44 +++---
 .../src/kinetis/hardware/kinetis_k66memorymap.h    |  48 ++++---
 arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h  |  44 +++---
 arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h     |  12 +-
 arch/arm/src/kinetis/hardware/kinetis_lpuart.h     |  42 +++---
 arch/arm/src/kinetis/hardware/kinetis_mcg.h        |  50 ++++---
 arch/arm/src/kinetis/hardware/kinetis_sim.h        | 150 ++++++++++++++-------
 arch/arm/src/kinetis/hardware/kinetis_uart.h       |  41 +++---
 arch/arm/src/kinetis/kinetis_clockconfig.c         |  13 +-
 arch/arm/src/kinetis/kinetis_config.h              |  53 ++++----
 arch/arm/src/kinetis/kinetis_serialinit.c          |   5 +-
 arch/arm/src/kinetis/kinetis_spi.h                 |  63 +++++----
 17 files changed, 453 insertions(+), 317 deletions(-)

diff --git a/arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h b/arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h
index 30e707e..22955e7 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h
@@ -1,4 +1,4 @@
-/********************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k20pinmux.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,28 +16,31 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K20PINMUX_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K20PINMUX_H
 
-/********************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/********************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ********************************************************************************************/
-/* Reference: Paragraph 10.3.1, p 207, of FreeScale document K20P64M72SF1RM
+ ****************************************************************************/
+
+/* Reference:
+ * Paragraph 10.3.1, p 207, of FreeScale document K20P64M72SF1RM
  *
- * In most cases, there are alternative configurations for various pins. Those alternative
- * pins are labelled with a suffix like _1, _2, etc. in order to distinguish them.  Logic in
- * the board.h file must select the correct pin configuration for the board by defining a pin
- * configuration (with no suffix) that maps to the correct alternative.
+ * In most cases, there are alternative configurations for various pins.
+ * Those alternative pins are labelled with a suffix like _1, _2, etc.
+ * in order to distinguish them.  Logic in the board.h file must select the
+ * correct pin configuration for the board by defining a pin configuration
+ * (with no suffix) that maps to the correct alternative.
  */
 
 #if defined(CONFIG_ARCH_CHIP_MK20DX256VLH7)
@@ -317,21 +320,21 @@
 #  define PIN_XTAL0           (PIN_ALT0 | PIN_PORTA | PIN19)
 
 #else
-  /* The pin muxing for other K20 parts is defined in other documents */
 
+/* The pin muxing for other K20 parts is defined in other documents */
 #  error "No pin multiplexing for this Kinetis K20 part"
 #endif
 
-/********************************************************************************************
+/****************************************************************************
  * Public Types
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
+/****************************************************************************
  * Public Data
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
- * Public Functions
- ********************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K20PINMUX_H */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k28k64k66mpu.h b/arch/arm/src/kinetis/hardware/kinetis_k28k64k66mpu.h
index 9beb007..9c18075 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k28k64k66mpu.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k28k64k66mpu.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k28k64k66mpu.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,24 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K28K64K66MPU_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K28K64K66MPU_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/****************************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *********************************************************************************/
+/* Register Offsets *********************************************************/
 
 #define KINETIS_MPU_CESR_OFFSET        0x0000 /* Control/Error Status Register */
 
@@ -124,7 +124,7 @@
 #define KINETIS_MPU_RGDAAC10_OFFSET    0x0828 /* Region Descriptor Alternate Access Control 10 */
 #define KINETIS_MPU_RGDAAC11_OFFSET    0x082c /* Region Descriptor Alternate Access Control 11 */
 
-/* Register Addresses *******************************************************************************/
+/* Register Addresses *******************************************************/
 
 #define KINETIS_MPU_CESR               (KINETIS_MPU_BASE+KINETIS_MPU_CESR_OFFSET)
 
@@ -215,7 +215,7 @@
 #define KINETIS_MPU_RGDAAC10           (KINETIS_MPU_BASE+KINETIS_MPU_RGDAAC10_OFFSET)
 #define KINETIS_MPU_RGDAAC11           (KINETIS_MPU_BASE+KINETIS_MPU_RGDAAC11_OFFSET)
 
-/* Register Bit Definitions *************************************************************************/
+/* Register Bit Definitions *************************************************/
 
 /* Control/Error Status Register */
 
@@ -226,6 +226,7 @@
 #  define MPU_CESR_NRGD_8DESC          (0 << MPU_CESR_NRGD_SHIFT) /* 8 region descriptors */
 #  define MPU_CESR_NRGD_12DESC         (1 << MPU_CESR_NRGD_SHIFT) /* 12 region descriptors */
 #  define MPU_CESR_NRGD_16DESC         (2 << MPU_CESR_NRGD_SHIFT) /* 16 region descriptors */
+
 #define MPU_CESR_NSP_SHIFT             (12)      /* Bits 12-15: Number of slave ports */
 #define MPU_CESR_NSP_MASK              (15 << MPU_CESR_NSP_SHIFT)
 #define MPU_CESR_HRL_SHIFT             (16)      /* Bits 16-19: Hardware revision level */
@@ -234,6 +235,7 @@
 #define MPU_CESR_SPERR_SHIFT           (27)      /* Bits 27-31: Slave port n error */
 #define MPU_CESR_SPERR_MASK            (31 << MPU_CESR_SPERR_SHIFT)
 #  define MPU_CESR_SPERR_SPORT(n)      ((1 << (4-(n))) << MPU_CESR_SPERR_SHIFT) /* Slave port nn */
+
 #  define MPU_CESR_SPERR_SPORT0        (16 << MPU_CESR_SPERR_SHIFT) /* Slave port 0 */
 #  define MPU_CESR_SPERR_SPORT1        (8 << MPU_CESR_SPERR_SHIFT)  /* Slave port 1 */
 #  define MPU_CESR_SPERR_SPORT2        (4 << MPU_CESR_SPERR_SHIFT)  /* Slave port 2 */
@@ -251,6 +253,7 @@
 #  define MPU_EDR_EATTR_USRDATA        (1 << MPU_EDR_EATTR_SHIFT) /* User mode, data access */
 #  define MPU_EDR_EATTR_SUPINST        (2 << MPU_EDR_EATTR_SHIFT) /* Supervisor mode, instruction access */
 #  define MPU_EDR_EATTR_SUPDATA        (3 << MPU_EDR_EATTR_SHIFT) /* Supervisor mode, data access */
+
 #define MPU_EDR_EMN_SHIFT              (4)       /* Bits 4-7: Error master number */
 #define MPU_EDR_EMN_MASK               (15 << MPU_EDR_EMN_SHIFT)
 #if defined(KINETIS_K28)
@@ -261,11 +264,13 @@
 #define MPU_EDR_EACD_MASK              (0xffff << MPU_EDR_EACD_SHIFT)
 
 /* Region Descriptor n, Word 0 */
+
                                                  /* Bits 0-4: Reserved */
 #define MPU_RGD_WORD0_SRTADDR_SHIFT    (5)       /* Bits 5-31: Start address */
 #define MPU_RGD_WORD0_SRTADDR_MASK     (0xffffffe0)
 
 /* Region Descriptor n, Word 1 */
+
                                                  /* Bits 0-4: Reserved */
 #define MPU_RGD_WORD1_ENDADDR_SHIFT    (5)       /* Bits 5-31: End address */
 #define MPU_RGD_WORD1_ENDADDR_MASK     (0xffffffe0)
@@ -285,7 +290,7 @@
 #define MPU_RGD_WORD2_M0UM_MASK        (7 << MPU_RGD_WORD2_M0UM_SHIFT)
 #define MPU_RGD_WORD2_M0SM_SHIFT       (3)       /* Bits 3-4: Bus master 0 supervisor mode access control */
 #define MPU_RGD_WORD2_M0SM_MASK        (3 << MPU_RGD_WORD2_M0SM_SHIFT)
-#define MPU_RGD_WORD2_M0PE             (1 << 5) /* Bit 5: Bus Master 0 Process Identifier Enable */
+#define MPU_RGD_WORD2_M0PE             (1 << 5)  /* Bit 5: Bus Master 0 Process Identifier Enable */
 #define MPU_RGD_WORD2_M1UM_SHIFT       (6)       /* Bits 6-8: Bus master 1 user mode access control */
 #define MPU_RGD_WORD2_M1UM_MASK        (7 << MPU_RGD_WORD2_M1UM_SHIFT)
 #define MPU_RGD_WORD2_M1SM_SHIFT       (9)       /* Bits 9-10: Bus master 1 supervisor mode access control */
@@ -360,16 +365,16 @@
 #define MPU_RGD_RBDACC_M7WE            (1 << 30) /* Bit 30: Bus master 7 write enable */
 #define MPU_RGD_RBDACC_M7RE            (1 << 31) /* Bit 31: Bus master 7 read enable */
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************************
- * Public Functions
- ****************************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K28K64K66MPU_H */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h b/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h
index 020dd77..c89a0c7 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k28k66fmc.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,24 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K28K66FMC_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K28K66FMC_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define KINETIS_FMC_PFAPR_OFFSET        0x0000 /* Flash Access Protection Register */
 #define KINETIS_FMC_PFB01CR_OFFSET      0x0004 /* Flash Bank 0-1 Control Register */
@@ -63,7 +63,9 @@
 #define KINETIS_FMC_TAGVDW3S2_OFFSET    0x0138 /* Cache Directory Storage */
 #define KINETIS_FMC_TAGVDW3S3_OFFSET    0x013c /* Cache Directory Storage */
 
-/* Cache Data Storage (UpperMost, MidUpper, MidLower LowerMost) for way=w and set=s, w=0..3, s=0..7 */
+/* Cache Data Storage (UpperMost, MidUpper, MidLower LowerMost) for
+ * way=w and set=s, w=0..3, s=0..7
+ */
 
 #define KINETIS_FMC_DATAUM_OFFSET(w,s)  (0x200 + ((w) << 6) + ((s) << 2))
 #define KINETIS_FMC_DATAMU_OFFSET(w,s)  (0x204 + ((w) << 6) + ((s) << 2))
@@ -138,7 +140,7 @@
 #define KINETIS_FMC_DATAW3S3ML_OFFSET   0x02f8 /* Cache Data Storage (mid-lower word) */
 #define KINETIS_FMC_DATAW3S3LM_OFFSET   0x02fc /* Cache Data Storage (lowermost word) */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define KINETIS_FMC_PFAPR               (KINETIS_FMC_BASE+KINETIS_FMC_PFAPR_OFFSET)
 #define KINETIS_FMC_PFB01CR             (KINETIS_FMC_BASE+KINETIS_FMC_PFB01CR_OFFSET)
@@ -168,7 +170,9 @@
 #define KINETIS_FMC_TAGVDW3S2           (KINETIS_FMC_BASE+KINETIS_FMC_TAGVDW3S2_OFFSET)
 #define KINETIS_FMC_TAGVDW3S3           (KINETIS_FMC_BASE+KINETIS_FMC_TAGVDW3S3_OFFSET)
 
-/* Cache Data Storage (UpperMost, MidUpper, MidLower LowerMost) for way=w and set=s, w=0..3, s=0..7 */
+/* Cache Data Storage (UpperMost, MidUpper, MidLower LowerMost) for
+ * way=w and set=s, w=0..3, s=0..7
+ */
 
 #define KINETIS_FMC_DATAUM(w,s)         (KINETIS_FMC_BASE+KINETIS_FMC_DATAUM_OFFSET(w,s))
 #define KINETIS_FMC_DATAMU(w,s)         (KINETIS_FMC_BASE+KINETIS_FMC_DATAMU_OFFSET(w,s))
@@ -243,9 +247,10 @@
 #define KINETIS_FMC_DATAW3S3ML          (KINETIS_FMC_BASE+KINETIS_FMC_DATAW3S3ML_OFFSET)
 #define KINETIS_FMC_DATAW3S3LM          (KINETIS_FMC_BASE+KINETIS_FMC_DATAW3S3LM_OFFSET)
 
-/* Register Bit Definitions *********************************************************/
+/* Register Bit Definitions *************************************************/
 
 /* Flash Access Protection Register */
+
 /* Access protection bits (all masters) */
 
 #define FMC_PFAPR_NONE                  0 /* No access may be performed by this master */
@@ -278,6 +283,7 @@
 #define FMC_PFAPR_M6PFD                 (1 << 22) /* Bit 22: Master 6 Prefetch Disable */
 #define FMC_PFAPR_M7PFD                 (1 << 23) /* Bit 23: Master 7 Prefetch Disable */
                                                   /* Bits 24-31: Reserved */
+
 /* Flash Bank 0-1 Control Register */
 
 #define FMC_PFB01CR_RFU                 (1 << 0)  /* Bit 0:  Reserved for future use */
@@ -290,12 +296,14 @@
 #  define FMC_PFB01CR_CRC_ALL           (0 << FMC_PFB01CR_CRC_SHIFT) /* LRU all four ways */
 #  define FMC_PFB01CR_CRC_I01D23        (2 << FMC_PFB01CR_CRC_SHIFT) /* LRU ifetches 0-1 data 2-3 */
 #  define FMC_PFB01CR_CRC_I012D3        (3 << FMC_PFB01CR_CRC_SHIFT) /* LRU ifetches 0-3 data 3 */
+
                                                   /* Bits 8-16: Reserved */
 #define FMC_PFB01CR_B0MW_SHIFT          (17)      /* Bits 17-18: Bank 0 Memory Width */
 #define FMC_PFB01CR_B0MW_MASK           (3 << FMC_PFB01CR_B0MW_SHIFT)
 #  define FMC_PFB01CR_B0MW_32BITS       (0 << FMC_PFB01CR_B0MW_SHIFT) /* 32 bits */
 #  define FMC_PFB01CR_B0MW_64BITS       (1 << FMC_PFB01CR_B0MW_SHIFT) /* 64 bits */
 #  define FMC_PFB01CR_B0MW_128BITS      (2 << FMC_PFB01CR_B0MW_SHIFT) /* 128 bits */
+
 #define FMC_PFB01CR_S_B_INV             (1 << 19) /* Bit 19:  Invalidate Prefetch Speculation Buffer */
 #define FMC_PFB01CR_CINV_WAY_SHIFT      (20)      /* Bits 20-23: Cache Invalidate Way x */
 #define FMC_PFB01CR_CINV_WAY_MASK       (15 << FMC_PFB01CR_CINV_WAY_SHIFT)
@@ -317,6 +325,7 @@
 #  define FMC_PFB23CR_B1MW_32BITS       (0 << FMC_PFB23CR_B1MW_SHIFT) /* 32 bits */
 #  define FMC_PFB23CR_B1MW_64BITS       (1 << FMC_PFB23CR_B1MW_SHIFT) /* 64 bits */
 #  define FMC_PFB23CR_B1MW_128BITS      (2 << FMC_PFB23CR_B1MW_SHIFT) /* 128 bits */
+
                                                   /* Bits 19-27: Reserved */
 #define FMC_PFB23CR_B1RWSC_SHIFT        (28)      /* Bits 28-31: Bank 1 Read Wait State Control */
 #define FMC_PFB23CR_B1RWSC_MASK         (15 << FMC_PFB23CR_B0RWSC_SHIFT)
@@ -329,20 +338,20 @@
 #define FMC_TAGVD_TAG_MASK              (0xffff << FMC_TAGVD_TAG_SHIFT)
                                                   /* Bits 19-31: Reserved */
 
-/* Cache Data Storage (UpperMost, MidUpper, MidLower LowerMost) for way=w and set=s,
- * w=0..3, s=0..7  128-bit data in four 32-bit registers.
+/* Cache Data Storage (UpperMost, MidUpper, MidLower LowerMost) for
+ * way=w and set=s, w=0..3, s=0..7  128-bit data in four 32-bit registers.
  */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K28K66FMC_H */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h b/arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h
index e2f6682..24592aa 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h
@@ -1,4 +1,4 @@
-/********************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k40pinmux.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,28 +16,30 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K40PINMUX_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K40PINMUX_H
 
-/********************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/********************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ********************************************************************************************/
+ ****************************************************************************/
+
 /* Reference: Paragraph 10.3.1, p 227, of FreeScale document K40P144M100SF2RM
  *
- * In most cases, there are alternative configurations for various pins. Those alternative
- * pins are labeled with a suffix like _1, _2, etc. in order to distinguish them.  Logic in
- * the board.h file must select the correct pin configuration for the board by defining a pin
- * configuration (with no suffix) that maps to the correct alternative.
+ * In most cases, there are alternative configurations for various pins.
+ * Those alternative pins are labeled with a suffix like _1, _2, etc. in
+ * order to distinguish them.  Logic in the board.h file must select the
+ * correct pin configuration for the board by defining a pin configuration
+ * (with no suffix) that maps to the correct alternative.
  */
 
 #if defined(CONFIG_ARCH_CHIP_MK40X128VLQ100) || defined(CONFIG_ARCH_CHIP_MK40X128VMD100) || \
@@ -483,21 +485,21 @@
 #define PIN_FB_AD20              (PIN_ALT5   | PIN_PORTE | PIN28)
 
 #else
-  /* The pin muxing for other K40 parts is defined in other documents */
 
+  /* The pin muxing for other K40 parts is defined in other documents */
 #  error "No pin multiplexing for this Kinetis K40 part"
 #endif
 
-/********************************************************************************************
+/****************************************************************************
  * Public Types
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
+/****************************************************************************
  * Public Data
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
- * Public Functions
- ********************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K40PINMUX_H */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h b/arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h
index ffe1acc..d626bb4 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h
@@ -1,4 +1,4 @@
-/********************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k60pinmux.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,28 +16,30 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K60PINMUX_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K60PINMUX_H
 
-/********************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/********************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ********************************************************************************************/
+ ****************************************************************************/
+
 /* Reference: Paragraph 10.3.1, p 258, of FreeScale document K60P144M100SF2RM
  *
- * In most cases, there are alternative configurations for various pins. Those alternative
- * pins are labeled with a suffix like _1, _2, etc. in order to distinguish them.  Logic in
- * the board.h file must select the correct pin configuration for the board by defining a pin
- * configuration (with no suffix) that maps to the correct alternative.
+ * In most cases, there are alternative configurations for various pins.
+ * Those alternative pins are labeled with a suffix like _1, _2, etc. in
+ * order to distinguish them.  Logic in the board.h file must select the
+ * correct pin configuration for the board by defining a pin configuration
+ * (with no suffix) that maps to the correct alternative.
  */
 
 #if   defined(CONFIG_ARCH_CHIP_MK60N256VLQ100) || defined(CONFIG_ARCH_CHIP_MK60X256VLQ100) || \
@@ -451,21 +453,21 @@
 #define PIN_UART4_RTS_2          (PIN_ALT3   | PIN_PORTE | PIN27)
 
 #else
-  /* The pin muxing for other K60 parts is defined in other documents */
 
+  /* The pin muxing for other K60 parts is defined in other documents */
 #  error "No pin multiplexing for this Kinetis K60 part"
 #endif
 
-/********************************************************************************************
+/****************************************************************************
  * Public Types
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
+/****************************************************************************
  * Public Data
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
- * Public Functions
- ********************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K60PINMUX_H */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h b/arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h
index 083fc1d..9bb9d1d 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h
@@ -1,4 +1,4 @@
-/********************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k64pinmux.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,14 +16,14 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K64PINMUX_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K64PINMUX_H
 
-/********************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
@@ -31,18 +31,20 @@
 
 #ifdef KINETIS_K64
 
-/********************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ********************************************************************************************/
-/* In most cases, there are alternative configurations for various pins. Those alternative
- * pins are labeled with a suffix like _1, _2, etc. in order to distinguish them.  Logic in
- * the board.h file must select the correct pin configuration for the board by defining a pin
- * configuration (with no suffix) that maps to the correct alternative.
+ ****************************************************************************/
+
+/* In most cases, there are alternative configurations for various pins.
+ * Those alternative pins are labeled with a suffix like _1, _2, etc. in
+ * order to distinguish them.  Logic in the board.h file must select the
+ * correct pin configuration for the board by defining a pin configuration
+ * (with no suffix) that maps to the correct alternative.
  *
- * WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
- * Additional effort is required to select specific GPIO options such as frequency,
- * open-drain/push-pull, and pull-up/down!  Just the basics are defined for most
- * pins in the initial version of this file.
+ * WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
+ * Additional effort is required to select specific GPIO options such as
+ * frequency, open-drain/push-pull, and pull-up/down!  Just the basics are
+ * defined for most pins in the initial version of this file.
  */
 
 /* ADC */
@@ -609,17 +611,17 @@
 #define PIN_EXTAL0                (PIN_ANALOG | PIN_PORTA | PIN18)
 #define PIN_XTAL0                 (PIN_ANALOG | PIN_PORTA | PIN19)
 
-/********************************************************************************************
+/****************************************************************************
  * Public Types
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
+/****************************************************************************
  * Public Data
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
- * Public Functions
- ********************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* KINETIS_K64 */
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K64PINMUX_H */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k66memorymap.h b/arch/arm/src/kinetis/hardware/kinetis_k66memorymap.h
index 2d8f7e0..a67d6b0 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k66memorymap.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k66memorymap.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k66memorymap.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,14 +16,14 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K66MEMORYMAP_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K66MEMORYMAP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
@@ -31,11 +31,12 @@
 
 #ifdef KINETIS_K66
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
+
+/* Memory Map ***************************************************************/
 
-/* Memory Map ***********************************************************************/
 /* K66 Family
  *
  * The memory map for the following parts is defined in NXP document
@@ -69,8 +70,10 @@
                                                 *             (ICODE/DCODE) */
 # define KINETIS_SRAMU_BASE         0x20000000 /* -0x200fffff SRAM_U: Upper SRAM bitband
                                                 *             region */
+
                              /*     0x20100000  * -0x21ffffff Reserved */
 # define KINETIS_SALIAS_BASE        0x22000000 /* -0x23ffffff Aliased to SRAM_U bitband */
+
                              /*     0x24000000  * -0x2fffffff Reserved */
 # define KINETIS_FDATALIAS_BASE     0x30000000 /* -0x33ffffff Flash Data Alias */
 # define KINETIS_FLEXNVMCO_BASE     0x34000000 /* -0x3fffffff FlexNVM Cortex-M4 core only */
@@ -80,10 +83,12 @@
                                                 *             bridge 1 (AIPS-Lite1) */
 # define KINETIS_GPIOBB_BASE        0x400ff000 /* -0x400fffff Bitband region for general
                                                 *             purpose input/output (GPIO) */
+
                              /*     0x40100000  * -0x41ffffff Reserved */
 # define KINETIS_PALIAS_BASE        0x42000000 /* -0x43ffffff Aliased to peripheral bridge
                                                 *             (AIPS-Lite) and general purpose
                                                 *             input/output (GPIO) bitband */
+
                              /*     0x44000000  * -0x5fffffff Reserved */
 # define KINETIS_FLEXBUS_BASE       0x60000000 /* -0x7fffffff FlexBus (External Memory - Write-back) */
 # define KINETIS_SDRAMWB_BASE       0x70000000 /* -0x7fffffff SDRAM (External RAM - Write-back) */
@@ -91,9 +96,10 @@
 # define KINETIS_FLEXBUSWT_BASE     0x90000000 /* -0x9fffffff FlexBus (External RAM - Write-through) */
 # define KINETIS_FLEXBUSEP_BASE     0xa0000000 /* -0xdfffffff FlexBus External Peripheral - Not executable)*/
 # define KINETIS_PERIPH_BASE        0xe0000000 /* -0xe00fffff Private peripherals */
+
                              /*     0xe0100000  * -0xffffffff Reserved */
 
-/* Peripheral Bridge 0 Memory Map ***************************************************/
+/* Peripheral Bridge 0 Memory Map *******************************************/
 
 # define KINETIS_AIPS0_BASE         0x40000000 /* Peripheral bridge 0 (AIPS-Lite 0) */
 # define KINETIS_XBAR_BASE          0x40004000 /* Crossbar switch */
@@ -151,7 +157,7 @@
 # define KINETIS_SMC_BASE           0x4007e000 /* System Mode controller (SMC) */
 # define KINETIS_RCM_BASE           0x4007f000 /* Reset Control Module (RCM) */
 
-/* Peripheral Bridge 1 Memory Map ***************************************************/
+/* Peripheral Bridge 1 Memory Map *******************************************/
 
 # define KINETIS_AIPS1_BASE         0x40080000 /* Peripheral bridge 1 (AIPS-Lite 1) */
 # define KINETIS_RNGA_ALT_BASE      0x400a0000 /* Alternate address Random number generator (RNGA) */
@@ -184,7 +190,7 @@
 # define KINETIS_GPIOD_BASE         0x400ff0c0 /* GPIO PORTD registers */
 # define KINETIS_GPIOE_BASE         0x400ff100 /* GPIO PORTE registers */
 
-/* Private Peripheral Bus (PPB) Memory Map ******************************************/
+/* Private Peripheral Bus (PPB) Memory Map **********************************/
 
 # define KINETIS_ITM_BASE           0xe0000000 /* Instrumentation Trace Macrocell (ITM) */
 # define KINETIS_DWT_BASE           0xe0001000 /* Data Watchpoint and Trace (DWT) */
@@ -200,26 +206,26 @@
 # define KINETIS_ROMTAB_BASE        0xe00ff000 /* ROM Table - allows auto-detection of debug components */
 
 #else
-  /* The memory map for other parts is defined in other documents and may or may not
-   * be the same as above (the family members are all very similar)  This error just
-   * means that you have to look at the document and determine for yourself if the
-   * memory map is the same.
+  /* The memory map for other parts is defined in other documents and may or
+   * may not be the same as above (the family members are all very similar)
+   * This error just means that you have to look at the document and
+   * determine for yourself if the memory map is the same.
    */
 
 #  error "No memory map for this K66 part"
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* KINETIS_K66 */
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K66MEMORYMAP_H */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h b/arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h
index 8d92dec..56b2e2d 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h
@@ -1,4 +1,4 @@
-/********************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_k66pinmux.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,14 +16,14 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K66PINMUX_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K66PINMUX_H
 
-/********************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
@@ -31,18 +31,20 @@
 
 #ifdef KINETIS_K66
 
-/********************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ********************************************************************************************/
-/* In most cases, there are alternative configurations for various pins. Those alternative
- * pins are labeled with a suffix like _1, _2, etc. in order to distinguish them.  Logic in
- * the board.h file must select the correct pin configuration for the board by defining a pin
- * configuration (with no suffix) that maps to the correct alternative.
+ ****************************************************************************/
+
+/* In most cases, there are alternative configurations for various pins.
+ * Those alternative pins are labeled with a suffix like _1, _2, etc. in
+ * order to distinguish them.  Logic in the board.h file must select the
+ * correct pin configuration for the board by defining a pin configuration
+ * (with no suffix) that maps to the correct alternative.
  *
- * WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
- * Additional effort is required to select specific GPIO options such as frequency,
- * open-drain/push-pull, and pull-up/down!  Just the basics are defined for most
- * pins in the initial version of this file.
+ * WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!
+ * Additional effort is required to select specific GPIO options such as
+ * frequency, open-drain/push-pull, and pull-up/down!  Just the basics are
+ * defined for most pins in the initial version of this file.
  */
 
 /* ADC */
@@ -730,17 +732,17 @@
 #define PIN_EXTAL0                (PIN_ANALOG | PIN_PORTA | PIN18)
 #define PIN_XTAL0                 (PIN_ANALOG | PIN_PORTA | PIN19)
 
-/********************************************************************************************
+/****************************************************************************
  * Public Types
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
+/****************************************************************************
  * Public Data
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
- * Public Functions
- ********************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* KINETIS_K66 */
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_K66PINMUX_H */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h b/arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h
index 3fcadca..6c28fd9 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_kx6tpm.h
@@ -103,15 +103,19 @@
                                              /* Bits 9-31: Reserved */
 
 #define TPM_CNT_SHIFT               0 /* Bits 0-15: Counter value */
+
 #define TPM_CNT_MASK                (0xffff << TPM_COUNT_SHIFT) /* Any write clears Count */
+
                                              /* Bits 16-31: Reserved */
 
 #define TPM_MOD_SHIFT               0 /* Bits 0-15: Mod value */
+
 #define TPM_MOD_MASK                (0xffff << TPM_MOD_SHIFT) /* This field must be written with single 16 or 32-bit access */
+
                                              /* Bits 16-31: Reserved */
 
 #define TPM_CnSC_DMA                (1 << 0) /* Bit 0: Enables DMA transfers for the channel */
-                                             /* Bit 1: Reserved*/
+                                             /* Bit 1: Reserved */
 #define TPM_CnSC_ELSA               (1 << 2) /* Bit 2: Edge or Level Select */
 #define TPM_CnSC_ELSB               (1 << 3) /* Bit 3: Edge or Level Select */
 #define TPM_CnSC_MSA                (1 << 4) /* Bit 4: Channel Mode Select */
@@ -121,9 +125,11 @@
                                              /* Bits 8-31: Reserved */
 
 #define TPM_VAL_SHIFT               0 /* Bits 0-15: Channel value */
+
 #define TPM_VAL_MASK                (0xffff << TPM_VAL_SHIFT) /* Captured TPM counter value of the input modes or
                                                                * the match value for the output modes. This field
-                                                               * must be written with single 16 or 32-bit access.*/
+                                                               * must be written with single 16 or 32-bit access. */
+
                                              /* Bits 16-31: Reserved */
 
 #define TPM_STATUS_CH0F             (1 << 0) /* Bit 0: Channel 0 Flag */
@@ -153,10 +159,12 @@
                                              /* Bits 4-31: Reserved */
 
 #define TPM_CONF_DOZEEN             (1 << 5) /* Bit 5: Doze Enable */
+
 #define TPM_CONF_DBGMODE_SHIFT      6 /* Bits 6-7: Debug Mode */
 #define TPM_CONF_DBGMODE_MASK       (3 << TPM_CONF_DBGMODE_SHIFT)
 # define TPM_CONF_DBGMODE_PAUSE     (0 << TPM_CONF_DBGMODE_SHIFT) /* TPM counter will pause during DEBUG mode */
 # define TPM_CONF_DBGMODE_CONT      (3 << TPM_CONF_DBGMODE_SHIFT) /* TPM counter continue working in DEBUG mode */
+
 #define TPM_CONF_GTBSYNC            (1 << 8)  /* Bit 8: Global Time Base Synchronization */
 #define TPM_CONF_GTBEEN             (1 << 9)  /* Bit 9: Global Time Base Enable */
                                               /* Bits 10-15: Reserved */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_lpuart.h b/arch/arm/src/kinetis/hardware/kinetis_lpuart.h
index 0311565..5cf2cc9 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_lpuart.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_lpuart.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_lpuart.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,24 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_LPUART_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_LPUART_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/****************************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *********************************************************************************/
+/* Register Offsets *********************************************************/
 
 #define KINETIS_LPUART_BAUD_OFFSET    0x0000 /* Low Power UART Baud Rate Register */
 #define KINETIS_LPUART_STAT_OFFSET    0x0004 /* Low Power UART Status Register */
@@ -48,7 +48,7 @@
 #  define KINETIS_LPUART_WATER_OFFSET 0x001c /* Low Power UART Watermark Register */
 #endif
 
-/* Register Addresses *******************************************************************************/
+/* Register Addresses *******************************************************/
 
 #define KINETIS_LPUART0_BAUD          (KINETIS_LPUART0_BASE + KINETIS_LPUART_BAUD_OFFSET)
 #define KINETIS_LPUART0_STAT          (KINETIS_LPUART0_BASE + KINETIS_LPUART_STAT_OFFSET)
@@ -115,13 +115,14 @@
 #  define KINETIS_LPUART4_WATER       (KINETIS_LPUART4_BASE + KINETIS_LPUART_WATER_OFFSET)
 #endif
 
-/* Register Bit Definitions *************************************************************************/
+/* Register Bit Definitions *************************************************/
 
 /*  Low Power UART Baud Rate Register */
 
 #define LPUART_BAUD_SBR_SHIFT         (0)       /* Bits 0-12:  Baud Rate Modulo Divisor */
 #define LPUART_BAUD_SBR_MASK          (0x1fff << LPUART_BAUD_SBR_SHIFT)
 #  define LPUART_BAUD_SBR(n)          (((n) & 0x1fff) << LPUART_BAUD_SBR_SHIFT) /* n= 1..8191*/
+
 #define LPUART_BAUD_SBNS              (1 << 13) /* Bit 13:  Stop Bit Number Select */
 #define LPUART_BAUD_RXEDGIE           (1 << 14) /* Bit 14:  RX Input Active Edge Interrupt Enable */
 #define LPUART_BAUD_LBKDIE            (1 << 15) /* Bit 15:  LIN Break Detect Interrupt Enable */
@@ -133,6 +134,7 @@
 #  define LPUART_BAUD_MATCFG_IMW      (1 << LPUART_BAUD_MATCFG_SHIFT) /* Idle Match Wakeup */
 #  define LPUART_BAUD_MATCFG_MONOFF   (2 << LPUART_BAUD_MATCFG_SHIFT) /* Match On and Match Off */
 #  define LPUART_BAUD_MATCFG_RWU      (3 << LPUART_BAUD_MATCFG_SHIFT) /* Enables RWU on Data Match and Match On/Off for transmitter CTS input */
+
                                                 /* Bit 20:  Reserved */
 #define LPUART_BAUD_RDMAE             (1 << 21) /* Bit 21:  Receiver Full DMA Enable */
                                                 /* Bit 22:  Reserved */
@@ -140,6 +142,7 @@
 #define LPUART_BAUD_OSR_SHIFT         (24)      /* Bits 24-28:  Over Sampling Ratio */
 #define LPUART_BAUD_OSR_MASK          (0x1f << LPUART_BAUD_OSR_SHIFT)
 #define   LPUART_BAUD_OSR(n)          ((((n)-1) & 0x1f) << LPUART_BAUD_OSR_SHIFT) /* n=4..32 */
+
 #define LPUART_BAUD_M10               (1 << 29) /* Bit 29:  10-bit Mode select */
 #define LPUART_BAUD_MAEN2             (1 << 30) /* Bit 30:  Match Address Mode Enable 2 */
 #define LPUART_BAUD_MAEN1             (1 << 31) /* Bit 31:  Match Address Mode Enable 1 */
@@ -186,6 +189,7 @@
 #  define LPUART_CTRL_IDLECFG_32      (5 << LPUART_CTRL_IDLECFG_SHIFT) /* 32  idle characters */
 #  define LPUART_CTRL_IDLECFG_64      (6 << LPUART_CTRL_IDLECFG_SHIFT) /* 64  idle characters */
 #  define LPUART_CTRL_IDLECFG_128     (7 << LPUART_CTRL_IDLECFG_SHIFT) /* 128 idle characters */
+
                                                  /* Bits 11-13:  Reserved */
 #define LPUART_CTRL_MA2IE             (1 << 14)  /* Bit 14:  Match 2 Interrupt Enable */
 #define LPUART_CTRL_MA1IE             (1 << 15)  /* Bit 15:  Match 1 Interrupt Enable */
@@ -229,7 +233,7 @@
 #define LPUART_DATA_FRETSC            (1 << 13)  /* Bit 13:  Frame Error / Transmit Special Character */
 #define LPUART_DATA_PARITYE           (1 << 14)  /* Bit 14:  The current received dataword contained in DATA[R9:R0] was received with a parity error */
 #define LPUART_DATA_NOISY             (1 << 15)  /* Bit 15:  The current received dataword contained in DATA[R9:R0] was received with noise */
-                                               /* Bits 16-31:  This field is reserved */
+                                                 /* Bits 16-31:  This field is reserved */
 
 /* Low Power UART Match Address Register */
 
@@ -257,6 +261,7 @@
 #define LPUART_MODIR_TNP_SHIFT        (16)       /* Bits 16-17:  Transmitter narrow pulse */
 #define LPUART_MODIR_TNP_MASK         (3 << LPUART_MODIR_TNP_SHIFT)
 #  define LPUART_MODIR_TNP(n)         ((uint32_t)((n)-1) << LPUART_MODIR_TNP_SHIFT) /* n=1-4 */
+
 #define LPUART_MODIR_IREN             (1 << 18)  /* Bit 18:  Infrared enable */
                                                  /* Bits 19-31:  Reserved */
 
@@ -273,6 +278,7 @@
 #    define LPUART_FIFO_RXFIFOSIZE_64WDS  (5 << LPUART_FIFO_RXFIFOSIZE_SHIFT) /* Transmit FIFO depth = 64 datawords */
 #    define LPUART_FIFO_RXFIFOSIZE_128WDS (6 << LPUART_FIFO_RXFIFOSIZE_SHIFT) /* Transmit FIFO depth = 128 datawords */
 #    define LPUART_FIFO_RXFIFOSIZE_256WDS (7 << LPUART_FIFO_RXFIFOSIZE_SHIFT) /* Transmit FIFO depth = 256 datawords */
+
 #  define LPUART_FIFO_RXFE            (1 << 3)   /* Bit 3:  Receive FIFO Enable */
 #  define LPUART_FIFO_TXFIFOSIZE_SHIFT    (4)    /* Bits 4-6: Transmit FIFO buffer depth */
 #  define LPUART_FIFO_TXFIFOSIZE_MASK     (7 << LPUART_FIFO_TXFIFOSIZE_SHIFT)
@@ -284,6 +290,7 @@
 #    define LPUART_FIFO_TXFIFOSIZE_64WDS  (5 << LPUART_FIFO_TXFIFOSIZE_SHIFT) /* Transmit FIFO depth = 64 datawords */
 #    define LPUART_FIFO_TXFIFOSIZE_128WDS (6 << LPUART_FIFO_TXFIFOSIZE_SHIFT) /* Transmit FIFO depth = 128 datawords */
 #    define LPUART_FIFO_TXFIFOSIZE_256WDS (7 << LPUART_FIFO_TXFIFOSIZE_SHIFT) /* Transmit FIFO depth = 256 datawords */
+
 #  define LPUART_FIFO_TXFE            (1 << 7)   /* Bit 7:  Transmit FIFO Enable */
 #  define LPUART_FIFO_RXUFE           (1 << 8)   /* Bit 8:  Receive FIFO Underflow Interrupt Enable */
 #  define LPUART_FIFO_TXOFE           (1 << 9)   /* Bit 9:  Transmit FIFO Overflow Interrupt Enable */
@@ -297,6 +304,7 @@
 #    define LPUART_FIFO_RXIDEN_16CH   (5 << LPUART_FIFO_RXIDEN_SHIFT) /* RDRF when receiver is idle for 16 characters */
 #    define LPUART_FIFO_RXIDEN_32CH   (6 << LPUART_FIFO_RXIDEN_SHIFT) /* RDRF when receiver is idle for 32 characters */
 #    define LPUART_FIFO_RXIDEN_64CH   (7 << LPUART_FIFO_RXIDEN_SHIFT) /* RDRF when receiver is idle for 64 characters */
+
                                                  /* Bit 13: Reserved */
 #  define LPUART_FIFO_RXFLUSH         (1 << 14)  /* Bit 14: Receive FIFO/Buffer Flush */
 #  define LPUART_FIFO_TXFLUSH         (1 << 15)  /* Bit 15: Transmit FIFO/Buffer Flush */
@@ -325,16 +333,16 @@
 #    define LPUART_WATER_RXCOUNT(n)   ((uint32_t)(n) << LPUART_WATER_RXCOUNT_SHIFT)
 #endif
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************************
- * Public Functions
- ****************************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_LPUART_H */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_mcg.h b/arch/arm/src/kinetis/hardware/kinetis_mcg.h
index b6f3029..2774e4f 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_mcg.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_mcg.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_mcg.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,24 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_MCG_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_MCG_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define KINETIS_MCG_C1_OFFSET       0x0000 /* MCG Control 1 Register */
 #define KINETIS_MCG_C2_OFFSET       0x0001 /* MCG Control 2 Register */
@@ -81,7 +81,7 @@
 #  define KINETIS_MCG_T3_OFFSET     0x0013 /* MCG Control T3 Register */
 #endif
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #define KINETIS_MCG_C1            (KINETIS_MCG_BASE+KINETIS_MCG_C1_OFFSET)
 #define KINETIS_MCG_C2            (KINETIS_MCG_BASE+KINETIS_MCG_C2_OFFSET)
@@ -127,7 +127,7 @@
 #  define KINETIS_MCG_T3          (KINETIS_MCG_BASE+KINETIS_MCG_T3_OFFSET)
 #endif
 
-/* Register Bit Definitions *********************************************************/
+/* Register Bit Definitions *************************************************/
 
 /* MCG Control 1 Register (8-bit) */
 
@@ -160,6 +160,7 @@
 #      define MCG_C1_FRDIV_DIV1536  (7 << MCG_C1_FRDIV_SHIFT) /* RANGE!=0 divider=1536 */
 #    endif
 #endif /* defined (KINETIS_MCG_HAS  _C1_FRDIV) */
+
 #define MCG_C1_CLKS_SHIFT           (6)       /* Bits 6-7: Clock Source Select */
 #define MCG_C1_CLKS_MASK            (3 << MCG_C1_CLKS_SHIFT)
 #  define MCG_C1_CLKS_PLL           (0 << MCG_C1_CLKS_SHIFT) /* FLL or PLL output */
@@ -181,6 +182,7 @@
 #    define MCG_C2_RANGE_HIGH       (1 << MCG_C2_RANGE_SHIFT) /* Oscillator of 1 MHz to 8 MHz */
 #    define MCG_C2_RANGE_VHIGH      (2 << MCG_C2_RANGE_SHIFT) /* Oscillator of 8 MHz to 32 MHz */
 #endif
+
 #if defined(KINETIS_MCG_HAS_C2_FCFTRIM)
 #  define MCG_C2_FCFTRIM            (1 << 6)  /* Bit 6:  Fast Internal Reference Clock Fine Trim */
 #endif
@@ -188,7 +190,9 @@
 #  define MCG_C2_LOCRE0             (1 << 7)  /* Bit 7: Loss of Clock Reset Enable */
 #endif
 
-/* MCG Control 3 Register (8-bit Slow Internal Reference Clock Trim Setting) */
+/* MCG Control 3 Register
+ * (8-bit Slow Internal Reference Clock Trim Setting)
+ */
 
 /* MCG Control 4 Register (8-bit) */
 
@@ -244,7 +248,9 @@
 #    define MCG_S_CLKST_INTREF      (1 << MCG_S_CLKST_SHIFT) /* Internal reference clock */
 #    define MCG_S_CLKST_EXTREF      (2 << MCG_S_CLKST_SHIFT) /* External reference clock */
 #    define MCG_S_CLKST_PLL         (3 << MCG_S_CLKST_SHIFT) /* Output of the PLL */
+
 #  define MCG_S_IREFST              (1 << 4)  /* Bit 4:  Internal Reference Status */
+
 #  if defined(KINETIS_MCG_HAS_S_PLLST)
 #    define MCG_S_PLLST             (1 << 5)  /* Bit 5:  PLL Select Status */
 #  endif
@@ -272,6 +278,7 @@
 #  define MCG_SC_FCRDIV_SHIFT       (1)       /* Bits 1-3: Fast Clock Internal Reference Divider */
 #  define MCG_SC_FCRDIV_MASK        (7 << MCG_SC_FLTPRSRV_SHIFT)
 #  define MCG_SC_FCRDIV(n)          (((n)) << MCG_SC_FLTPRSRV_SHIFT)  /* n=0..7 */
+
 #  define MCG_SC_FCRDIV_1           (0 << MCG_SC_FLTPRSRV_SHIFT)  /* Divide Factor is 1 */
 #  define MCG_SC_FCRDIV_2           (1 << MCG_SC_FLTPRSRV_SHIFT)  /* Divide Factor is 2 */
 #  define MCG_SC_FCRDIV_4           (2 << MCG_SC_FLTPRSRV_SHIFT)  /* Divide Factor is 4 */
@@ -280,6 +287,7 @@
 #  define MCG_SC_FCRDIV_32          (5 << MCG_SC_FLTPRSRV_SHIFT)  /* Divide Factor is 32 */
 #  define MCG_SC_FCRDIV_64          (6 << MCG_SC_FLTPRSRV_SHIFT)  /* Divide Factor is 64 */
 #  define MCG_SC_FCRDIV_128         (7 << MCG_SC_FLTPRSRV_SHIFT)  /* Divide Factor is 128 */
+
 #  define MCG_SC_FLTPRSRV           (1 << 4)  /* Bit 4:  FLL Filter Preserve Enable */
 #  if defined(KINETIS_MCG_HAS_SC_ATMF)
 #    define MCG_SC_ATMF             (1 << 5)  /* Bit 5:  Automatic Trim machine Fail Flag */
@@ -298,10 +306,10 @@
 #  if defined(KINETIS_MCG_HAS_C7_OSCSEL)
 #    define MCG_C7_OSCSEL_SHIFT    (0)        /* Bits 0-[1]: MCG OSC Clock Select */
 #    define MCG_C7_OSCSEL_MASK     (KINETIS_MCG_C7_OSCSEL_MASK << MCG_C7_OSCSEL_SHIFT)
-#    define MCG_C7_OSCSEL_OSCCLK   (0 << MCG_C7_OSCSEL_SHIFT)  /* Selects Oscillator (OSCCLK) */
-#    define MCG_C7_OSCSEL_32KHZ    (1 << MCG_C7_OSCSEL_SHIFT)  /* Selects 32 kHz RTC Oscillator */
+#    define MCG_C7_OSCSEL_OSCCLK   (0 << MCG_C7_OSCSEL_SHIFT)   /* Selects Oscillator (OSCCLK) */
+#    define MCG_C7_OSCSEL_32KHZ    (1 << MCG_C7_OSCSEL_SHIFT)   /* Selects 32 kHz RTC Oscillator */
 #    if (KINETIS_MCG_C7_OSCSEL_MASK & 2) != 0
-#      define MCG_C7_OSCSEL_OSCCLK1  (2 << MCG_C7_OSCSEL_SHIFT)  /* Selects Oscillator (OSCCLK1). */
+#      define MCG_C7_OSCSEL_OSCCLK1  (2 << MCG_C7_OSCSEL_SHIFT) /* Selects Oscillator (OSCCLK1). */
 #    endif
 #  endif
 #endif
@@ -354,6 +362,7 @@
 #    define MCG_C10_RANGE_LOW       (0 << MCG_C10_RANGE_SHIFT) /* Oscillator of 32 kHz to 40 kHz  */
 #    define MCG_C10_RANGE_HIGH      (1 << MCG_C10_RANGE_SHIFT) /* Oscillator of 1 MHz to 8 MHz */
 #    define MCG_C10_RANGE_VHIGH     (2 << MCG_C10_RANGE_SHIFT) /* Oscillator of 8 MHz to 32 MHz */
+
                                               /* Bit 6: Reserved */
 #  define MCG_C10_LOCRE2            (1 << 7)  /* Bit 7: OSC1 Loss of Clock Reset Enable */
 #endif
@@ -385,6 +394,7 @@
 #  define MCG_C12_VDIV1_SHIFT       (0)       /* Bits 0-4: VCO Divider */
 #  define MCG_C12_VDIV1_MASK        (31 << MCG_C12_VDIV1_SHIFT)
 #  define MCG_C12_VDIV(n)           (((n)-16) << MCG_C12_VDIV1_SHIFT) /* n=16..47 */
+
 #  define MCG_C12_CME2              (1 << 5)  /* Bit 5:  Clock Monitor Enable2 */
                                               /* Bit 6: Reserved */
 #  define MCG_C12_LOLIE1            (1 << 7)  /* Bit 7:  PLL1 Loss of Lock Interrupt Enable */
@@ -408,16 +418,16 @@
 #  endif
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_MCG_H */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_sim.h b/arch/arm/src/kinetis/hardware/kinetis_sim.h
index 152107f..eb8399d 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_sim.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_sim.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_sim.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,24 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_SIM_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_SIM_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define KINETIS_SIM_SOPT1_OFFSET              0x0000  /* System Options Register 1 */
 #if defined (KINETIS_SIM_HAS_SOPT1CFG)
@@ -78,8 +78,10 @@
 #  define KINETIS_SIM_CLKDIV4_OFFSET          0x0068  /* System Clock Divider Register 4 */
 #endif
 
-/* Register Addresses ***************************************************************/
-/* NOTE: The SIM_SOPT1, SIM_SOPT1CFG and SIM_USBPHYCTL registers are located at a
+/* Register Addresses *******************************************************/
+
+/* NOTE:
+ * The SIM_SOPT1, SIM_SOPT1CFG and SIM_USBPHYCTL registers are located at a
  * different base address than the other SIM registers.
  */
 
@@ -126,10 +128,13 @@
 #  define KINETIS_SIM_CLKDIV4                 (KINETIS_SIM_BASE+KINETIS_SIM_CLKDIV4_OFFSET)
 #endif
 
-/* Register Bit Definitions *********************************************************/
+/* Register Bit Definitions *************************************************/
 
 /* System Options Register 1 */
-                                                         /* Bits 0-11: Reserved */
+
+/*                                                          Bits 0-11:
+ *                                                          Reserved
+ */
 #if defined(KINETIS_SIM_HAS_SOPT1_RAMSIZE)
 #  define SIM_SOPT1_RAMSIZE_SHIFT             (12)       /* Bits 12-15: RAM size */
 #  define SIM_SOPT1_RAMSIZE_MASK              (15 << SIM_SOPT1_RAMSIZE_SHIFT)
@@ -139,7 +144,10 @@
 #    define SIM_SOPT1_RAMSIZE_128KB           (9 << SIM_SOPT1_RAMSIZE_SHIFT)  /* 128 KBytes */
 #    define SIM_SOPT1_RAMSIZE_256KB           (10 << SIM_SOPT1_RAMSIZE_SHIFT) /* 256 KBytes */
 #endif
-                                                         /* Bits 16-18: Reserved */
+
+/*                                                          Bits 16-18:
+ *                                                          Reserved
+ */
 #if defined(KINETIS_SIM_HAS_SOPT1_OSC32KSEL)
 #  define SIM_SOPT1_OSC32KSEL_SHIFT           (20-KINETIS_SIM_HAS_SOPT1_OSC32KSEL_BITS) /* Bit 19 or 18: 32K oscillator clock select */
 #  define SIM_SOPT1_OSC32KSEL_MASK            (KINETIS_SIM_SOPT1_OSC32KSEL_MASK << SIM_SOPT1_OSC32KSEL_SHIFT)
@@ -154,9 +162,15 @@
 #    define SIM_SOPT1_OSC32KSEL_LPO1KZ         (((3 & KINETIS_SIM_SOPT1_OSC32KSEL_MASK)) << SIM_SOPT1_OSC32KSEL_SHIFT)
 #  endif
 #endif
-                                                         /* Bits 20-28: Reserved */
+
+/*                                                          Bits 20-28:
+ *                                                          Reserved
+ */
 #if defined(KINETIS_SIM_HAS_SOPT1_USBVSTBY)
-                                                         /* Bits 24-28: Reserved */
+
+/*                                                          Bits 24-28:
+ *                                                          Reserved
+ */
 #  define SIM_SOPT1_USBVSTBY                  (1 << 29)  /* Bit 29: USB voltage regulator in standby mode during VLPR and VLPW modes */
 #endif
 #if defined(KINETIS_SIM_HAS_SOPT1_USBSSTBY)
@@ -169,7 +183,10 @@
 /* SOPT1 Configuration Register */
 
 #if defined(KINETIS_SIM_HAS_SOPT1CFG)
-                                                         /* Bits 0-22: Reserved */
+
+/*                                                          Bits 0-22:
+ *                                                          Reserved
+ */
 #  if defined(KINETIS_SIM_HAS_SOPT1CFG_URWE)
 #    define SIM_SOPT1CFG_URWE                 (1 << 24)  /* Bit 24: USB voltage regulator enable write enable */
 #  endif
@@ -185,7 +202,10 @@
 /* USB PHY Control Register */
 
 #if defined(KINETIS_SIM_HAS_USBPHYCTL)
-                                                         /* Bits 0-7: Reserved */
+
+/*                                                          Bits 0-7:
+ *                                                          Reserved
+ */
 #  if defined(KINETIS_SIM_HAS_USBPHYCTL_USBVREGSEL)
 #    define SIM_USBPHYCTL_USBVREGSEL          (1 << 8)   /* Bit 8: Selects the default input voltage source */
 #  endif
@@ -205,10 +225,11 @@
 #      define SIM_USBPHYCTL_USB3VOUTTRG_3V310 (6 << SIM_USBPHYCTL_USB3VOUTTRG_SHIFT) /* 3.310V (default) */
 #      define SIM_USBPHYCTL_USB3VOUTTRG_3V662 (7 << SIM_USBPHYCTL_USB3VOUTTRG_SHIFT) /* 3.662V (For Freescale use only, not for customer use) */
 #  endif
+
 #  if defined(KINETIS_SIM_HAS_USBPHYCTL_USBDISILIM)
 #    define SIM_USBPHYCTL_USBDISILIM           (1 << 23)  /* Bit 23: USB Disable Inrush Current Limit */
 #  endif
-                                                         /* Bits 24-31: Reserved */
+                                                          /* Bits 24-31: Reserved */
 #endif
 
 /* System Options Register 2 */
@@ -282,6 +303,7 @@
                                                         /* Bit 19: Reserved */
 #  if defined(KINETIS_SIM_HAS_SOPT2_RMIISRC)
 #    define SIM_SOPT2_RMIISRC_SHIFT           (19)      /* Bit 19: RMII clock source select */
+
 #    define SIM_SOPT2_RMIISRC_EXTAL           (0 << SIM_SOPT2_RMIISRC_SHIFT) /* EXTAL clock */
 #    define SIM_SOPT2_RMIISRC_EXTBYP          (1 << SIM_SOPT2_RMIISRC_SHIFT) /* External bypass clock (ENET_1588_CLKIN) */
 #  endif
@@ -290,7 +312,7 @@
 #    define SIM_SOPT2_TIMESRC_MASK            (3 << SIM_SOPT2_TIMESRC_SHIFT)
 #      define SIM_SOPT2_TIMESRC_CORE          (0 << SIM_SOPT2_TIMESRC_SHIFT) /* Core/system clock */
 #      define SIM_SOPT2_TIMESRC_PLLSEL        (1 << SIM_SOPT2_TIMESRC_SHIFT) /* MCGFLLCLK,MCGPLLCLK,IRC48M,USB1 PFD
-                                                                                  clock as selected by SOPT2[PLLFLLSEL] */
+                                                                              * clock as selected by SOPT2[PLLFLLSEL] */
 #      define SIM_SOPT2_TIMESRC_OSCERCLK      (2 << SIM_SOPT2_TIMESRC_SHIFT) /* OSCERCLK clock */
 #      define SIM_SOPT2_TIMESRC_EXTBYP        (3 << SIM_SOPT2_TIMESRC_SHIFT) /* External bypass clock (ENET_1588_CLKIN) */
 #  endif
@@ -316,9 +338,9 @@
 #    define SIM_SOPT2_TPMSRC_MASK             (3 << SIM_SOPT2_TPMSRC_SHIFT)
 #      define SIM_SOPT2_TPMSRC_CORE           (0 << SIM_SOPT2_TPMSRC_SHIFT) /* Clock disabled */
 #      define SIM_SOPT2_TPMSRC_MCGCLK         (1 << SIM_SOPT2_TPMSRC_SHIFT) /* MCGFLLCLK,MCGPLLCLK,IRC48M,USB1 PFD
-                                                                                     clock as selected by SOPT2[PLLFLLSEL] and then
-                                                                                     divided by the PLLFLLCLK fractional divider
-                                                                                     as configured by SIM_CLKDIV3[PLLFLLFRAC, PLLFLLDIV] */
+                                                                             * clock as selected by SOPT2[PLLFLLSEL] and then
+                                                                             * divided by the PLLFLLCLK fractional divider
+                                                                             * as configured by SIM_CLKDIV3[PLLFLLFRAC, PLLFLLDIV] */
 #      define SIM_SOPT2_TPMSRC_OCSERCLK       (2 << SIM_SOPT2_TPMSRC_SHIFT) /* OSCERCLK clock */
 #      define SIM_SOPT2_TPMSRC_MCGIRCLK       (3 << SIM_SOPT2_TPMSRC_SHIFT) /* MCGIRCLK clock */
 #  endif
@@ -336,9 +358,9 @@
 #    define SIM_SOPT2_LPUARTSRC_MASK          (3 << SIM_SOPT2_LPUARTSRC_SHIFT)
 #      define SIM_SOPT2_LPUARTSRC_CORE        (0 << SIM_SOPT2_LPUARTSRC_SHIFT) /* Clock disabled */
 #      define SIM_SOPT2_LPUARTSRC_MCGCLK      (1 << SIM_SOPT2_LPUARTSRC_SHIFT) /* MCGFLLCLK,MCGPLLCLK,IRC48M,USB1 PFD
-                                                                                  clock as selected by SOPT2[PLLFLLSEL] and then
-                                                                                  divided by the PLLFLLCLK fractional divider
-                                                                                  as configured by SIM_CLKDIV3[PLLFLLFRAC, PLLFLLDIV] */
+                                                                                * clock as selected by SOPT2[PLLFLLSEL] and then
+                                                                                * divided by the PLLFLLCLK fractional divider
+                                                                                * as configured by SIM_CLKDIV3[PLLFLLFRAC, PLLFLLDIV] */
 #      define SIM_SOPT2_LPUARTSRC_OCSERCLK    (2 << SIM_SOPT2_LPUARTSRC_SHIFT) /* OSCERCLK clock */
 #      define SIM_SOPT2_LPUARTSRC_MCGIRCLK    (3 << SIM_SOPT2_LPUARTSRC_SHIFT) /* MCGIRCLK clock */
 #  endif
@@ -349,9 +371,15 @@
 #      define SIM_SOPT2_SDHCSRC_MCGCLK        (1 << SIM_SOPT2_SDHCSRC_SHIFT) /* MCGPLLCLK/MCGFLLCLK clock */
 #      define SIM_SOPT2_SDHCSRC_OCSERCLK      (2 << SIM_SOPT2_SDHCSRC_SHIFT) /* OSCERCLK clock */
 #      define SIM_SOPT2_SDHCSRC_EXTBYP        (3 << SIM_SOPT2_SDHCSRC_SHIFT) /* External bypass clock (SDHC0_CLKIN) */
-                                                        /* Bits 30-31: Reserved */
+
+/*                                                         Bits 30-31:
+ *                                                         Reserved
+ */
 #  endif
-                                                        /* Bits 30-31: Reserved */
+
+/*                                                         Bits 30-31:
+ *                                                         Reserved
+ */
 #  if defined(KINETIS_SIM_HAS_SOPT2_NFCSRC)
 #    define SIM_SOPT2_NFCSRC_SHIFT            (30)      /* Bits 30-31: NFC Flash clock source select */
 #    define SIM_SOPT2_NFCSRC_MASK             (3 << SIM_SOPT2_NFCSRC_SHIFT)
@@ -475,7 +503,11 @@
 #endif
 
 #if defined(KINETIS_SIM_HAS_SOPT5_LPUART1TXSRC)
-                                                        /* Bits 8-15, 18-31: Reserved */
+
+/*                                                         Bits 8-15,
+ *                                                              18-31:
+ *                                                                   Reserved
+ */
 #  define SIM_SOPT5_LPUART1TXSRC_SHIFT        (16)      /* Bit 16:  LPUART1 transmit data source select */
 #  define SIM_SOPT5_LPUART1TXSRC_MASK         (3 << SIM_SOPT5_LPUART1TXSRC_SHIFT)
 #    define SIM_SOPT5_LPUART1TXSRC_TX         (0 << SIM_SOPT5_LPUART1TXSRC_SHIFT) /* LPUART1_TX pin */
@@ -495,9 +527,15 @@
 /* System Options Register 6 */
 
 #if defined(KINETIS_SIM_HAS_SOPT6)
-                                                        /* Bits 0-23: Reserved */
+
+/*                                                         Bits 0-23:
+ *                                                         Reserved
+ */
 #  if defined(KINETIS_SIM_HAS_SOPT6_MCC)
-                                                        /* Bits 16-23: Reserved */
+
+/*                                                         Bits 16-23:
+ *                                                         Reserved
+ */
 #    define SIM_SOPT6_MCC_SHIFT               (0)       /* Bits 0-15: NFC hold cycle in case FlexBus request while NFC is granted */
 #    define SIM_SOPT6_MCC_MASK                (0xffff << SIM_SOPT6_MCC_SHIFT)
 #    define SIM_SOPT6_MCC(n)                  (((n) & 0xffff) << SIM_SOPT6_MCC_SHIFT)
@@ -749,7 +787,10 @@
 /* System Options Register 9 */
 
 #if defined(KINETIS_SIM_HAS_SOPT9)
-                                                        /* Bits 0-17: Reserved */
+
+/*                                                         Bits 0-17:
+ *                                                         Reserved
+ */
 #  if defined(KINETIS_SIM_HAS_SOPT9_TPM1CH0SRC)
 #    define SIM_SOPT9_TPM1CH0SRC_SHIFT        (18)      /* Bits 18-19:  TPM1 channel 0 input capture source select */
 #    define SIM_SOPT9_TPM1CH0SRC_MASK         (3 << SIM_SOPT9_TPM1CH0SRC_SHIFT)
@@ -854,13 +895,18 @@
 #    define SIM_SDID_FAMILYID_K8X             (8 << SIM_SDID_FAMILYID_SHIFT) /* K8x Family */
 #endif
 
-
 /* System Clock Gating Control Register 1 */
 
 #if defined(KINETIS_SIM_HAS_SCGC1)
-                                                        /* Bits 0-9: Reserved */
+
+/*                                                         Bits 0-9:
+ *                                                         Reserved
+ */
 #  if defined(KINETIS_SIM_HAS_SCGC1_OSC1)
-                                                        /* Bits 0-4: Reserved */
+
+/*                                                         Bits 0-4:
+ *                                                         Reserved
+ */
 #    define SIM_SCGC1_OSC1                    (1 << 5)  /* OSC1 clock gate control */
 #  endif
                                                         /* Bits 6-9: Reserved */
@@ -1103,12 +1149,16 @@
 /* System Clock Divider Register 1 */
 
 #if defined(KINETIS_SIM_HAS_CLKDIV1_OUTDIV5)
-                                                        /* Bits 0-15: Reserved */
+
+/*                                                         Bits 0-15:
+ *                                                          Reserved
+ */
 #endif
 #if defined(KINETIS_SIM_HAS_CLKDIV1_OUTDIV4)
 #  define SIM_CLKDIV1_OUTDIV4_SHIFT           (16)      /* Bits 16-19: Clock 4 output divider value */
 #  define SIM_CLKDIV1_OUTDIV4_MASK            (15 << SIM_CLKDIV1_OUTDIV4_SHIFT)
 #    define SIM_CLKDIV1_OUTDIV4(n)            ((uint32_t)(((n)-1) & 0xf) << SIM_CLKDIV1_OUTDIV4_SHIFT) /* n=1..16 */
+
 #    define SIM_CLKDIV1_OUTDIV4_1             (0 << SIM_CLKDIV1_OUTDIV4_SHIFT)  /* Divide by 1 */
 #    define SIM_CLKDIV1_OUTDIV4_2             (1 << SIM_CLKDIV1_OUTDIV4_SHIFT)  /* Divide by 2 */
 #    define SIM_CLKDIV1_OUTDIV4_3             (2 << SIM_CLKDIV1_OUTDIV4_SHIFT)  /* Divide by 3 */
@@ -1130,6 +1180,7 @@
 #  define SIM_CLKDIV1_OUTDIV3_SHIFT           (20)      /* Bits 20-23: Clock 3 output divider value */
 #  define SIM_CLKDIV1_OUTDIV3_MASK            (15 << SIM_CLKDIV1_OUTDIV3_SHIFT)
 #    define SIM_CLKDIV1_OUTDIV3(n)            ((uint32_t)(((n)-1) & 0xf) << SIM_CLKDIV1_OUTDIV3_SHIFT) /* n=1..16 */
+
 #    define SIM_CLKDIV1_OUTDIV3_1             (0 << SIM_CLKDIV1_OUTDIV3_SHIFT)  /* Divide by 1 */
 #    define SIM_CLKDIV1_OUTDIV3_2             (1 << SIM_CLKDIV1_OUTDIV3_SHIFT)  /* Divide by 2 */
 #    define SIM_CLKDIV1_OUTDIV3_3             (2 << SIM_CLKDIV1_OUTDIV3_SHIFT)  /* Divide by 3 */
@@ -1151,6 +1202,7 @@
 #  define SIM_CLKDIV1_OUTDIV2_SHIFT           (24)      /* Bits 24-27: Clock 2 output divider value */
 #  define SIM_CLKDIV1_OUTDIV2_MASK            (15 << SIM_CLKDIV1_OUTDIV2_SHIFT)
 #    define SIM_CLKDIV1_OUTDIV2(n)            ((uint32_t)(((n)-1) & 0xf) << SIM_CLKDIV1_OUTDIV2_SHIFT) /* n=1..16 */
+
 #    define SIM_CLKDIV1_OUTDIV2_1             (0 << SIM_CLKDIV1_OUTDIV2_SHIFT)  /* Divide by 1 */
 #    define SIM_CLKDIV1_OUTDIV2_2             (1 << SIM_CLKDIV1_OUTDIV2_SHIFT)  /* Divide by 2 */
 #    define SIM_CLKDIV1_OUTDIV2_3             (2 << SIM_CLKDIV1_OUTDIV2_SHIFT)  /* Divide by 3 */
@@ -1171,6 +1223,7 @@
 #define SIM_CLKDIV1_OUTDIV1_SHIFT             (28)      /* Bits 28-31: Clock 1 output divider value */
 #define SIM_CLKDIV1_OUTDIV1_MASK              (15 << SIM_CLKDIV1_OUTDIV1_SHIFT)
 #  define SIM_CLKDIV1_OUTDIV1(n)              ((uint32_t)(((n)-1) & 0xf) << SIM_CLKDIV1_OUTDIV1_SHIFT) /* n=1..16 */
+
 #  define SIM_CLKDIV1_OUTDIV1_1               (0 << SIM_CLKDIV1_OUTDIV1_SHIFT)  /* Divide by 1 */
 #  define SIM_CLKDIV1_OUTDIV1_2               (1 << SIM_CLKDIV1_OUTDIV1_SHIFT)  /* Divide by 2 */
 #  define SIM_CLKDIV1_OUTDIV1_3               (2 << SIM_CLKDIV1_OUTDIV1_SHIFT)  /* Divide by 3 */
@@ -1295,6 +1348,7 @@
 #endif
 
 /* Flash Configuration Register 2 */
+
                                                 /* Bits 0-15: Reserved */
 #if defined(KINETIS_SIM_HAS_FCFG2_MAXADDR1)
 #  define SIM_FCFG2_MAXADDR1_SHIFT            (16)      /* Bits 16-[21|22]: Max address block 1 */
@@ -1316,8 +1370,11 @@
 #endif
 
 /* Unique Identification Register High. 32-bit Unique Identification. */
+
 /* Unique Identification Register Mid-High. 32-bit Unique Identification. */
+
 /* Unique Identification Register Mid Low. 32-bit Unique Identification. */
+
 /* Unique Identification Register Low. 32-bit Unique Identification. */
 
 #if defined(KINETIS_SIM_HAS_CLKDIV3)
@@ -1363,22 +1420,25 @@
 /* Misc Control Register */
 
 #if defined(KINETIS_SIM_HAS_MCR)
-                                                            /* Bits 0-28: Reserved */
-#  define SIM_MCR_PDBLOOP                     (1<< 29)      /* Bit 29: PDB Loop Mode */
-                                                            /* Bit 30: Reserved */
-#  define SIM_MCR_TRACECLKDIS                 (1<< 31)      /* Bit 31: Trace clock disable. */
+
+/*                                                        Bits 0-28:
+                                                        * Reserved
+                                                        */
+#  define SIM_MCR_PDBLOOP                     (1<< 29) /* Bit 29: PDB Loop Mode */
+                                                       /* Bit 30: Reserved */
+#  define SIM_MCR_TRACECLKDIS                 (1<< 31) /* Bit 31: Trace clock disable. */
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_SIM_H */
diff --git a/arch/arm/src/kinetis/hardware/kinetis_uart.h b/arch/arm/src/kinetis/hardware/kinetis_uart.h
index 57bb889..0275399 100644
--- a/arch/arm/src/kinetis/hardware/kinetis_uart.h
+++ b/arch/arm/src/kinetis/hardware/kinetis_uart.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/hardware/kinetis_uart.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,24 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_UART_H
 #define __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_UART_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "hardware/kinetis_memorymap.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
-/* Register Offsets *****************************************************************/
+/* Register Offsets *********************************************************/
 
 #define KINETIS_UART_BDH_OFFSET      0x0000 /* UART Baud Rate Register High */
 #define KINETIS_UART_BDL_OFFSET      0x0001 /* UART Baud Rate Register Low */
@@ -67,7 +67,7 @@
 #define KINETIS_UART_ET7816_OFFSET   0x001e /* UART 7816 Error Threshold Register */
 #define KINETIS_UART_TL7816_OFFSET   0x001f /* UART 7816 Transmit Length Register */
 
-/* Register Addresses ***************************************************************/
+/* Register Addresses *******************************************************/
 
 #if (KINETIS_NISO7816+KINETIS_NUART) > 0
 #  define KINETIS_UART0_BDH          (KINETIS_UART0_BASE+KINETIS_UART_BDH_OFFSET)
@@ -273,7 +273,8 @@
 #  define KINETIS_UART5_TL7816       (KINETIS_UART5_BASE+KINETIS_UART_TL7816_OFFSET)
 #endif
 
-/* Register Bit Definitions *********************************************************/
+/* Register Bit Definitions *************************************************/
+
 /* UART Baud Rate Register High */
 
 #define UART_BDH_SBR_SHIFT           (0)       /* Bits 0-4: MS Bits 8-13 of the UART Baud Rate Bits */
@@ -341,6 +342,7 @@
 #define UART_C3_R8                   (1 << 7)  /* Bit 7: Received Bit 8 */
 
 /* UART Data Register: 8-bit data register. */
+
 /* UART Match Address Registers 1 & 2: 8-bit address registers */
 
 /* UART Control Register 4 */
@@ -382,6 +384,7 @@
 #  define UART_IR_TNP_16TH           (1 << UART_IR_TNP_SHIFT) /* 1/16 */
 #  define UART_IR_TNP_32ND           (2 << UART_IR_TNP_SHIFT) /* 1/32 */
 #  define UART_IR_TNP_4TH            (3 << UART_IR_TNP_SHIFT) /* 1/4 */
+
 #define UART_IR_IREN                 (1 << 2)  /* Bit 2: Infrared enable */
                                                /* Bits 3-7: Reserved */
 
@@ -396,6 +399,7 @@
 #  define UART_PFIFO_RXFIFOSIZE_32   (4 << UART_PFIFO_RXFIFOSIZE_SHIFT) /* 32 */
 #  define UART_PFIFO_RXFIFOSIZE_64   (5 << UART_PFIFO_RXFIFOSIZE_SHIFT) /* 64 */
 #  define UART_PFIFO_RXFIFOSIZE_128  (6 << UART_PFIFO_RXFIFOSIZE_SHIFT) /* 128 */
+
 #define UART_PFIFO_RXFE              (1 << 3)  /* Bit 3: Receive FIFO Enable */
 #define UART_PFIFO_TXFIFOSIZE_SHIFT  (4)       /* Bits 4-6: Transmit FIFO. Buffer Depth */
 #define UART_PFIFO_TXFIFOSIZE_MASK   (7 << UART_PFIFO_TXFIFOSIZE_SHIFT)
@@ -406,6 +410,7 @@
 #  define UART_PFIFO_TXFIFOSIZE_32   (4 << UART_PFIFO_TXFIFOSIZE_SHIFT) /* 32 */
 #  define UART_PFIFO_TXFIFOSIZE_64   (5 << UART_PFIFO_TXFIFOSIZE_SHIFT) /* 64 */
 #  define UART_PFIFO_TXFIFOSIZE_128  (6 << UART_PFIFO_TXFIFOSIZE_SHIFT) /* 128 */
+
 #define UART_PFIFO_TXFE              (1 << 7)  /* Bit 7: Transmit FIFO Enable */
 
 /* UART FIFO Control Register */
@@ -425,8 +430,11 @@
 #define UART_SFIFO_TXEMPT            (1 << 7)  /* Bit 7: Transmit Buffer/FIFO Empty */
 
 /* UART FIFO Transmit Watermark.  8-bit watermark value. */
+
 /* UART FIFO Transmit Count. 8-bit count value */
+
 /* UART FIFO Receive Watermark.  8-bit watermark value. */
+
 /* UART FIFO Receive Count. 8-bit count value */
 
 /* UART 7816 Control Register */
@@ -470,6 +478,7 @@
 #define UART_WP7816T1_CWI_MASK       (15 << UART_WP7816T1_CWI_SHIFT)
 
 /* UART 7816 Wait N Register.  8-bit Guard Band value. */
+
 /* UART 7816 Wait FD Register. 8-bit FD Multiplier value. */
 
 /* UART 7816 Error Threshold Register */
@@ -481,16 +490,16 @@
 
 /* UART 7816 Transmit Length Register. 8-bit Transmit Length value */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_KINETIS_HARDWARE_KINETIS_UART_H */
diff --git a/arch/arm/src/kinetis/kinetis_clockconfig.c b/arch/arm/src/kinetis/kinetis_clockconfig.c
index f3af485..79454db 100644
--- a/arch/arm/src/kinetis/kinetis_clockconfig.c
+++ b/arch/arm/src/kinetis/kinetis_clockconfig.c
@@ -141,7 +141,8 @@
  ****************************************************************************/
 
 void __ramfunc__
-kinesis_setdividers(uint32_t div1, uint32_t div2, uint32_t div3, uint32_t div4);
+kinesis_setdividers(uint32_t div1, uint32_t div2,
+                    uint32_t div3, uint32_t div4);
 
 /****************************************************************************
  * Private Functions
@@ -310,7 +311,8 @@ void kinetis_pllconfig(void)
    * Flash clock = MCG / BOARD_OUTDIV4
    */
 
-  kinesis_setdividers(BOARD_OUTDIV1, BOARD_OUTDIV2, BOARD_OUTDIV3, BOARD_OUTDIV4);
+  kinesis_setdividers(BOARD_OUTDIV1, BOARD_OUTDIV2,
+                      BOARD_OUTDIV3, BOARD_OUTDIV4);
 
   /* Set the VCO divider, VDIV, is defined in the board.h file.  VDIV
    * selects the amount to divide the VCO output of the PLL. The VDIV bits
@@ -391,7 +393,9 @@ static inline void kinetis_traceconfig(void)
 {
   uint32_t regval;
 
-  /* Set the trace clock to the core clock frequency in the SIM SOPT2 register */
+  /* Set the trace clock to the core clock frequency in the SIM SOPT2
+   * register
+   */
 
   regval  = getreg32(KINETIS_SIM_SOPT2);
   regval |= SIM_SOPT2_TRACECLKSEL;
@@ -480,7 +484,8 @@ void kinetis_clockconfig(void)
  ****************************************************************************/
 
 void __ramfunc__
-kinesis_setdividers(uint32_t div1, uint32_t div2, uint32_t div3, uint32_t div4)
+kinesis_setdividers(uint32_t div1, uint32_t div2,
+                    uint32_t div3, uint32_t div4)
 {
   uint32_t regval;
   volatile int i;
diff --git a/arch/arm/src/kinetis/kinetis_config.h b/arch/arm/src/kinetis/kinetis_config.h
index 23c41a1..239e579 100644
--- a/arch/arm/src/kinetis/kinetis_config.h
+++ b/arch/arm/src/kinetis/kinetis_config.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/src/kinetis/kinetis_config.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,25 +16,26 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_KINETIS_KINETIS_CONFIG_H
 #define __ARCH_ARM_SRC_KINETIS_KINETIS_CONFIG_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/board/board.h>
 
 #include "chip.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
+
+/* Configuration ************************************************************/
 
-/* Configuration *********************************************************************/
 /* Make sure that no unsupported UARTs are enabled */
 
 #ifndef KINETIS_NLPUART
@@ -96,8 +97,8 @@
 #  define HAVE_LPUART_DEVICE 1
 #endif
 
-/* Is there a serial console? There should be at most one defined.  It could be on
- * any UARTn, n=0,1,2,3,4,5
+/* Is there a serial console? There should be at most one defined.
+ * It could be on any UARTn, n=0,1,2,3,4,5
  */
 
 #undef HAVE_UART_CONSOLE
@@ -268,14 +269,14 @@
 
 /* Which version of up_putc() should be built?
  *
- * --------------------+-------------------+-----------------+------------------
- *                      HAVE_UART_DEVICE && HAVE_UART_DEVICE  HAVE_LPUART_DEVICE
- *                      HAVE_LPUART_DEVICE  (only)            (only)
- * --------------------+-------------------+-----------------+------------------
- * HAVE_UART_CONSOLE    kinetis_serial      kinetis_serial    (impossible)
- * HAVE_LPUART_CONSOLE  kinetis_lpserial    (impossible)      kinetis_lpserial
- * No serial console    kinetis_serial      kinetis_serial    kinetis_lpserial
- * --------------------+-------------------+-----------------+------------------
+ * -------------------+------------------+----------------+------------------
+ *                    HAVE_UART_DEVICE && HAVE_UART_DEVICE HAVE_LPUART_DEVICE
+ *                    HAVE_LPUART_DEVICE  (only)           (only)
+ * -------------------+------------------+----------------+------------------
+ * HAVE_UART_CONSOLE   kinetis_serial     kinetis_serial   (impossible)
+ * HAVE_LPUART_CONSOLE kinetis_lpserial   (impossible)     kinetis_lpserial
+ * No serial console   kinetis_serial     kinetis_serial   kinetis_lpserial
+ * --------------------+------------------+----------------+-----------------
  */
 
 #undef HAVE_UART_PUTC
@@ -336,20 +337,20 @@
 # define CONFIG_ENETNETHIFS 1
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Inline Functions
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_SRC_KINETIS_KINETIS_CONFIG_H */
diff --git a/arch/arm/src/kinetis/kinetis_serialinit.c b/arch/arm/src/kinetis/kinetis_serialinit.c
index 149a735..ccbf3b5 100644
--- a/arch/arm/src/kinetis/kinetis_serialinit.c
+++ b/arch/arm/src/kinetis/kinetis_serialinit.c
@@ -91,7 +91,7 @@ void arm_serialinit(void)
 #if defined(HAVE_LPUART_DEVICE) && defined(CONFIG_KINETS_LPUART_LOWEST)
   /* Register LPUART drivers in starting positions */
 
-   start = kinetis_lpuart_serialinit(start);
+  start = kinetis_lpuart_serialinit(start);
 #endif
 
 #if defined(HAVE_UART_DEVICE)
@@ -103,8 +103,7 @@ void arm_serialinit(void)
 #if defined(HAVE_LPUART_DEVICE) && !defined(CONFIG_KINETS_LPUART_LOWEST)
   /* Register LPUART drivers in last positions */
 
-   start = kinetis_lpuart_serialinit(start);
+  start = kinetis_lpuart_serialinit(start);
 #endif
-
 }
 #endif /* USE_SERIALDRIVER */
diff --git a/arch/arm/src/kinetis/kinetis_spi.h b/arch/arm/src/kinetis/kinetis_spi.h
index badc5da..9d993b1 100644
--- a/arch/arm/src/kinetis/kinetis_spi.h
+++ b/arch/arm/src/kinetis/kinetis_spi.h
@@ -29,9 +29,9 @@
 
 #include "hardware/kinetis_dspi.h"
 
-/************************************************************************************
+/****************************************************************************
  * Pre-processor Definitions
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
@@ -44,9 +44,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 struct spi_dev_s;
 
@@ -54,7 +54,7 @@ struct spi_dev_s;
  * Public Function Prototypes
  ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Name: kinetis_spibus_initialize
  *
  * Description:
@@ -66,54 +66,60 @@ struct spi_dev_s;
  * Returned Value:
  *   Valid SPI device structure reference on success; a NULL on failure
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 FAR struct spi_dev_s *kinetis_spibus_initialize(int bus);
 
-/************************************************************************************
- * Name:  kinetis_spi[n]select, kinetis_spi[n]status, and kinetis_spi[n]cmddata
+/****************************************************************************
+ * Name:
+ *   kinetis_spi[n]select, kinetis_spi[n]status, and kinetis_spi[n]cmddata
  *
  * Description:
- *   These external functions must be provided by board-specific logic.  They are
- *   implementations of the select, status, and cmddata methods of the SPI interface
- *   defined by struct spi_ops_s (see include/nuttx/spi/spi.h). All other methods
- *   including kinetis_spibus_initialize()) are provided by common Kinetis logic.  To use
- *   this common SPI logic on your board:
+ *   These external functions must be provided by board-specific logic.
+ *   They are implementations of the select, status, and cmddata methods of
+ *   the SPI interface defined by struct spi_ops_s
+  *  (see include/nuttx/spi/spi.h). All other methods including
+ *   kinetis_spibus_initialize()) are provided by common Kinetis logic.
+ *   To use this common SPI logic on your board:
  *
- *   1. Provide logic in kinetis_boardinitialize() to configure SPI chip select
- *      pins.
+ *   1. Provide logic in kinetis_boardinitialize() to configure SPI chip
+ *      select pins.
  *   2. Provide kinetis_spi[n]select() and kinetis_spi[n]status() functions
- *      in your board-specific logic.  These functions will perform chip selection
- *      and status operations using GPIOs in the way your board is configured.
+ *      in your board-specific logic.  These functions will perform chip
+ *      selection and status operations using GPIOs in the way your board is
+ *      configured.
  *   2. If CONFIG_SPI_CMDDATA is defined in the NuttX configuration, provide
- *      kinetis_spi[n]cmddata() functions in your board-specific logic.  These
- *      functions will perform cmd/data selection operations using GPIOs in the way
- *      your board is configured.
- *   3. Add a call to kinetis_spibus_initialize() in your low level application
- *      initialization logic
- *   4. The handle returned by kinetis_spibus_initialize() may then be used to bind the
- *      SPI driver to higher level logic (e.g., calling
+ *      kinetis_spi[n]cmddata() functions in your board-specific logic.
+ *      These functions will perform cmd/data selection operations using
+ *      GPIOs in the way your board is configured.
+ *   3. Add a call to kinetis_spibus_initialize() in your low level
+ *      application initialization logic
+ *   4. The handle returned by kinetis_spibus_initialize() may then be used
+ *      to bind the SPI driver to higher level logic (e.g., calling
  *      mmcsd_spislotinitialize(), for example, will bind the SPI driver to
  *      the SPI MMC/SD driver).
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifdef CONFIG_KINETIS_SPI0
-void  kinetis_spi0select(FAR struct spi_dev_s *dev, uint32_t devid, bool selected);
+void  kinetis_spi0select(FAR struct spi_dev_s *dev,
+                         uint32_t devid, bool selected);
 uint8_t kinetis_spi0status(FAR struct spi_dev_s *dev, uint32_t devid);
 #ifdef CONFIG_SPI_CMDDATA
 int kinetis_spi0cmddata(FAR struct spi_dev_s *dev, uint32_t devid, bool cmd);
 #endif
 #endif
 #ifdef CONFIG_KINETIS_SPI1
-void  kinetis_spi1select(FAR struct spi_dev_s *dev, uint32_t devid, bool selected);
+void  kinetis_spi1select(FAR struct spi_dev_s *dev,
+                         uint32_t devid, bool selected);
 uint8_t kinetis_spi1status(FAR struct spi_dev_s *dev, uint32_t devid);
 #ifdef CONFIG_SPI_CMDDATA
 int kinetis_spi1cmddata(FAR struct spi_dev_s *dev, uint32_t devid, bool cmd);
 #endif
 #endif
 #ifdef CONFIG_KINETIS_SPI2
-void  kinetis_spi2select(FAR struct spi_dev_s *dev, uint32_t devid, bool selected);
+void  kinetis_spi2select(FAR struct spi_dev_s *dev,
+                         uint32_t devid, bool selected);
 uint8_t kinetis_spi2status(FAR struct spi_dev_s *dev, uint32_t devid);
 #ifdef CONFIG_SPI_CMDDATA
 int kinetis_spi2cmddata(FAR struct spi_dev_s *dev, uint32_t devid, bool cmd);
@@ -145,6 +151,5 @@ struct spi_dev_s;
 void spi_flush(FAR struct spi_dev_s *dev);
 #endif
 
-
 #endif /* __ASSEMBLY__ */
 #endif /* __ARCH_ARM_SRC_KINETIS_KINETIS_SPI_H */

[incubator-nuttx] 13/16: arch: arm: kl: fix Mixed case identifier

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 881cfe4b700516d37d63fbd9ca2a2d83fb38f2ee
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sun Mar 21 22:12:15 2021 +0100

    arch: arm: kl: fix Mixed case identifier
    
    Mixed case identifier fix to pass CI
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 arch/arm/src/kl/hardware/kl_tpm.h | 45 ++++++++++++++++++++++++++-------------
 arch/arm/src/kl/kl_pwm.c          | 12 +++++------
 2 files changed, 36 insertions(+), 21 deletions(-)

diff --git a/arch/arm/src/kl/hardware/kl_tpm.h b/arch/arm/src/kl/hardware/kl_tpm.h
index e95a71d..fa1b7e5 100644
--- a/arch/arm/src/kl/hardware/kl_tpm.h
+++ b/arch/arm/src/kl/hardware/kl_tpm.h
@@ -81,7 +81,9 @@
 #define TPM0_C4V            (KL_TPM0_BASE + TPM_C4V_OFFSET)  /* TPM0 Channel 4 Value */
 #define TPM0_C5SC           (KL_TPM0_BASE + TPM_C5SC_OFFSET) /* TPM0 Channel 5 Status and Control */
 #define TPM0_C5V            (KL_TPM0_BASE + TPM_C5V_OFFSET)  /* TPM0 Channel 5 Value */
+
 #define TPM0_STATUS         (KL_TPM0_BASE + TPM_STATUS_OFFSET)  /* TPM0 Capture and Compare Status */
+
 #define TPM0_CONF           (KL_TPM0_BASE + TPM_CONF_OFFSET) /* TPM0 Configuration */
 
 #define TPM1_SC             (KL_TPM1_BASE + TPM_SC_OFFSET)   /* TPM1 Status and Control */
@@ -99,7 +101,9 @@
 #define TPM1_C4V            (KL_TPM1_BASE + TPM_C4V_OFFSET)  /* TPM1 Channel 4 Value */
 #define TPM1_C5SC           (KL_TPM1_BASE + TPM_C5SC_OFFSET) /* TPM1 Channel 5 Status and Control */
 #define TPM1_C5V            (KL_TPM1_BASE + TPM_C5V_OFFSET)  /* TPM1 Channel 5 Value */
+
 #define TPM1_STATUS         (KL_TPM1_BASE + TPM_STATUS_OFFSET)  /* TPM1 Capture and Compare Status */
+
 #define TPM1_CONF           (KL_TPM1_BASE + TPM_CONF_OFFSET) /* TPM1 Configuration */
 
 #define TPM2_SC             (KL_TPM2_BASE + TPM_SC_OFFSET)   /* TPM2 Status and Control */
@@ -117,7 +121,9 @@
 #define TPM2_C4V            (KL_TPM2_BASE + TPM_C4V_OFFSET)  /* TPM2 Channel 4 Value */
 #define TPM2_C5SC           (KL_TPM2_BASE + TPM_C5SC_OFFSET) /* TPM2 Channel 5 Status and Control */
 #define TPM2_C5V            (KL_TPM2_BASE + TPM_C5V_OFFSET)  /* TPM2 Channel 5 Value */
+
 #define TPM2_STATUS         (KL_TPM2_BASE + TPM_STATUS_OFFSET)  /* TPM2 Capture and Compare Status */
+
 #define TPM2_CONF           (KL_TPM2_BASE + TPM_CONF_OFFSET) /* TPM2 Configuration */
 
 #define TPM_SC_PS_SHIFT     0 /* Bits 0-2: Prescale Factor Selection */
@@ -145,14 +151,14 @@
 #define TPM_SC_TOF                (1 << 7) /* Bit 7: Timer Overflow Flag*/
 #define TPM_SC_DMA                (1 << 8) /* Bit 8: DMA Enable*/
 
-#define TPM_CnSC_DMA              (1 << 0) /* Bit 0: Enables DMA transfers for the channel */
-                                           /* Bit 1: Reserved*/
-#define TPM_CnSC_ELSA             (1 << 2) /* Bit 2: Edge or Level Select */
-#define TPM_CnSC_ELSB             (1 << 3) /* Bit 3: Edge or Level Select */
-#define TPM_CnSC_MSA              (1 << 4) /* Bit 4: Channel Mode Select */
-#define TPM_CnSC_MSB              (1 << 5) /* Bit 5: Channel Mode Select */
-#define TPM_CnSC_CHIE             (1 << 6) /* Bit 6: Channel Interrupt Enable */
-#define TPM_CnSC_CHF              (1 << 7) /* Bit 7: Channel Flag */
+#define TPM_CNSC_DMA              (1 << 0) /* Bit 0: Enables DMA transfers for the channel */
+                                           /* Bit 1: Reserved */
+#define TPM_CNSC_ELSA             (1 << 2) /* Bit 2: Edge or Level Select */
+#define TPM_CNSC_ELSB             (1 << 3) /* Bit 3: Edge or Level Select */
+#define TPM_CNSC_MSA              (1 << 4) /* Bit 4: Channel Mode Select */
+#define TPM_CNSC_MSB              (1 << 5) /* Bit 5: Channel Mode Select */
+#define TPM_CNSC_CHIE             (1 << 6) /* Bit 6: Channel Interrupt Enable */
+#define TPM_CNSC_CHF              (1 << 7) /* Bit 7: Channel Flag */
                                            /* Bits 8-31: Reserved */
 
 #define TPM_STATUS_CH0F           (1 << 0) /* Bit 0: Channel 0 Flag */
@@ -164,12 +170,12 @@
                                            /* Bits 6-7: Reserved */
 #define TPM_STATUS_TOF            (1 << 8) /* Bit 8: Timer Overflow Flag */
 
-
 #define TPM_CONF_DOZEEN           5 /* Bit 5: Doze Enable */
 #define TPM_CONF_DBGMODE_SHIFT    6 /* Bits 6-7: Debug Mode */
 #define TPM_CONF_DBGMODE_MASK     (3 << TPM_DBGMODE_SHIFT)
 # define TPM_CONF_DBGMODE_PAUSE   (0 << TPM_DBGMODE_SHIFT) /* TPM counter will pause during DEBUG mode */
 # define TPM_CONF_DBGMODE_CONT    (3 << TPM_DBGMODE_SHIFT) /* TPM counter continue working in DEBUG mode */
+
                                             /* Bit 8: Reserved */
 #define TPM_CONF_GTBEEN           (1 << 9)  /* Bit 9: Global Time Base Enable */
                                             /* Bits 10-15: Reserved */
@@ -181,20 +187,29 @@
 #define TPM_CONF_TRGSEL_MASK      (15 << TPM_CONF_TRGSEL_SHIFT)
 # define TPM_CONF_TRGSEL_EXTRG_IN (0 << TPM_CONF_TRGSEL_SHIFT) /* External trigger pin input */
 # define TPM_CONF_TRGSEL_CMP0     (1 << TPM_CONF_TRGSEL_SHIFT) /* CPM0 output */
-                                /*(2 << TPM_CONF_TRGSEL_SHIFT) Reserved */
-                                /*(3 << TPM_CONF_TRGSEL_SHIFT) Reserved */
+
+                                /* (2 << TPM_CONF_TRGSEL_SHIFT) Reserved */
+
+                                /* (3 << TPM_CONF_TRGSEL_SHIFT) Reserved */
+
 # define TPM_CONF_TRGSEL_PIT0     (4 << TPM_CONF_TRGSEL_SHIFT) /* PIT trigger 0 */
 # define TPM_CONF_TRGSEL_PIT1     (5 << TPM_CONF_TRGSEL_SHIFT) /* PIT trigger 1 */
-                                /*(6 << TPM_CONF_TRGSEL_SHIFT) Reserved */
-                                /*(7 << TPM_CONF_TRGSEL_SHIFT) Reserved */
+
+                                /* (6 << TPM_CONF_TRGSEL_SHIFT) Reserved */
+
+                                /* (7 << TPM_CONF_TRGSEL_SHIFT) Reserved */
+
 # define TPM_CONF_TRGSEL_TPM0     (8 << TPM_CONF_TRGSEL_SHIFT)  /* TPM0 Overflow */
 # define TPM_CONF_TRGSEL_TPM1     (9 << TPM_CONF_TRGSEL_SHIFT)  /* TPM1 Overflow */
 # define TPM_CONF_TRGSEL_TPM2     (10 << TPM_CONF_TRGSEL_SHIFT) /* TPM1 Overflow */
-                                /*(11 << TPM_CONF_TRGSEL_SHIFT) Reserved */
+
+                                /* (11 << TPM_CONF_TRGSEL_SHIFT) Reserved */
+
 # define TPM_CONF_TRGSEL_RTC_ALRM (12 << TPM_CONF_TRGSEL_SHIFT) /* RTC Alarm */
 # define TPM_CONF_TRGSEL_RTC_SECS (13 << TPM_CONF_TRGSEL_SHIFT) /* RTC Seconds */
 # define TPM_CONF_TRGSEL_LPTMR    (14 << TPM_CONF_TRGSEL_SHIFT) /* LPTMR trigger */
-                                /*(15 << TPM_CONF_TRGSEL_SHIFT) Reserved */
+
+                                /* (15 << TPM_CONF_TRGSEL_SHIFT) Reserved */
 
 /****************************************************************************
  * Public Data
diff --git a/arch/arm/src/kl/kl_pwm.c b/arch/arm/src/kl/kl_pwm.c
index 84d5842..5d0a204 100644
--- a/arch/arm/src/kl/kl_pwm.c
+++ b/arch/arm/src/kl/kl_pwm.c
@@ -420,42 +420,42 @@ static int pwm_timer(FAR struct kl_pwmtimer_s *priv,
     {
       case 0:  /* PWM Mode configuration: Channel 0 */
         {
-          pwm_putreg(priv, TPM_C0SC_OFFSET, TPM_CnSC_MSB | TPM_CnSC_ELSB);
+          pwm_putreg(priv, TPM_C0SC_OFFSET, TPM_CNSC_MSB | TPM_CNSC_ELSB);
           pwm_putreg(priv, TPM_C0V_OFFSET, (uint16_t) cv);
         }
         break;
 
       case 1:  /* PWM Mode configuration: Channel 1 */
         {
-          pwm_putreg(priv, TPM_C1SC_OFFSET, TPM_CnSC_MSB | TPM_CnSC_ELSB);
+          pwm_putreg(priv, TPM_C1SC_OFFSET, TPM_CNSC_MSB | TPM_CNSC_ELSB);
           pwm_putreg(priv, TPM_C1V_OFFSET, (uint16_t) cv);
         }
         break;
 
       case 2:  /* PWM Mode configuration: Channel 2 */
         {
-          pwm_putreg(priv, TPM_C2SC_OFFSET, TPM_CnSC_MSB | TPM_CnSC_ELSB);
+          pwm_putreg(priv, TPM_C2SC_OFFSET, TPM_CNSC_MSB | TPM_CNSC_ELSB);
           pwm_putreg(priv, TPM_C2V_OFFSET, (uint16_t) cv);
         }
         break;
 
       case 3:  /* PWM Mode configuration: Channel 3 */
         {
-          pwm_putreg(priv, TPM_C3SC_OFFSET, TPM_CnSC_MSB | TPM_CnSC_ELSB);
+          pwm_putreg(priv, TPM_C3SC_OFFSET, TPM_CNSC_MSB | TPM_CNSC_ELSB);
           pwm_putreg(priv, TPM_C3V_OFFSET, (uint16_t) cv);
         }
         break;
 
       case 4:  /* PWM Mode configuration: Channel 4 */
         {
-          pwm_putreg(priv, TPM_C4SC_OFFSET, TPM_CnSC_MSB | TPM_CnSC_ELSB);
+          pwm_putreg(priv, TPM_C4SC_OFFSET, TPM_CNSC_MSB | TPM_CNSC_ELSB);
           pwm_putreg(priv, TPM_C4V_OFFSET, (uint16_t) cv);
         }
         break;
 
       case 5:  /* PWM Mode configuration: Channel 5 */
         {
-          pwm_putreg(priv, TPM_C5SC_OFFSET, TPM_CnSC_MSB | TPM_CnSC_ELSB);
+          pwm_putreg(priv, TPM_C5SC_OFFSET, TPM_CNSC_MSB | TPM_CNSC_ELSB);
           pwm_putreg(priv, TPM_C5V_OFFSET, (uint16_t) cv);
         }
         break;

[incubator-nuttx] 08/16: arch: Author Sebastien Lorquet: update licenses to Apache

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 35e0d13d188053a3afb017817ece12fc6d65039c
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sat Mar 20 21:22:59 2021 +0100

    arch: Author Sebastien Lorquet: update licenses to Apache
    
    Sebastien Lorquet has submitted the ICL and we can migrate the licenses
     to Apache.
    
    Gregory Nutt has submitted the SGA and we can migrate the licenses
     to Apache.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 arch/arm/include/stm32l4/chip.h                    | 41 ++++++------------
 arch/arm/include/stm32l4/irq.h                     | 39 ++++++-----------
 arch/arm/include/stm32l4/stm32l4x5xx_irq.h         | 42 ++++++------------
 arch/arm/include/stm32l4/stm32l4x6xx_irq.h         | 40 ++++++-----------
 arch/arm/include/stm32l4/stm32l4xrxx_irq.h         | 40 ++++++-----------
 arch/arm/src/stm32l4/Make.defs                     | 40 ++++++-----------
 arch/arm/src/stm32l4/chip.h                        | 39 ++++++-----------
 arch/arm/src/stm32l4/hardware/stm32l4_can.h        | 43 ++++++-------------
 arch/arm/src/stm32l4/hardware/stm32l4_gpio.h       | 39 ++++++-----------
 arch/arm/src/stm32l4/hardware/stm32l4_pinmap.h     | 40 ++++++-----------
 arch/arm/src/stm32l4/hardware/stm32l4_syscfg.h     | 39 ++++++-----------
 .../src/stm32l4/hardware/stm32l4x3xx_firewall.h    | 39 ++++++-----------
 .../src/stm32l4/hardware/stm32l4x5xx_firewall.h    | 41 ++++++------------
 arch/arm/src/stm32l4/hardware/stm32l4x5xx_pinmap.h | 40 ++++++-----------
 arch/arm/src/stm32l4/hardware/stm32l4x5xx_rcc.h    | 41 ++++++------------
 .../src/stm32l4/hardware/stm32l4x6xx_firewall.h    | 39 ++++++-----------
 arch/arm/src/stm32l4/hardware/stm32l4x6xx_pinmap.h | 39 ++++++-----------
 arch/arm/src/stm32l4/hardware/stm32l4x6xx_rcc.h    | 41 ++++++------------
 .../src/stm32l4/hardware/stm32l4xrxx_firewall.h    | 39 ++++++-----------
 arch/arm/src/stm32l4/hardware/stm32l4xrxx_pinmap.h | 39 ++++++-----------
 arch/arm/src/stm32l4/stm32l4_can.h                 | 43 ++++++-------------
 arch/arm/src/stm32l4/stm32l4_dumpgpio.c            | 39 ++++++-----------
 arch/arm/src/stm32l4/stm32l4_firewall.c            | 39 ++++++-----------
 arch/arm/src/stm32l4/stm32l4_firewall.h            | 39 ++++++-----------
 arch/arm/src/stm32l4/stm32l4_gpio.h                | 45 ++++++-------------
 arch/arm/src/stm32l4/stm32l4_rcc.c                 | 45 ++++++-------------
 arch/arm/src/stm32l4/stm32l4x5xx_rcc.c             | 41 ++++++------------
 arch/arm/src/stm32l4/stm32l4x6xx_rcc.c             | 41 ++++++------------
 arch/arm/src/stm32l4/stm32l4xrxx_rcc.c             | 41 ++++++------------
 arch/arm/src/stm32l5/stm32l5_rcc.c                 | 50 ++++++----------------
 30 files changed, 366 insertions(+), 857 deletions(-)

diff --git a/arch/arm/include/stm32l4/chip.h b/arch/arm/include/stm32l4/chip.h
index b447523..0d74e62 100644
--- a/arch/arm/include/stm32l4/chip.h
+++ b/arch/arm/include/stm32l4/chip.h
@@ -1,37 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32l4/chip.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
- *           Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32l4/irq.h b/arch/arm/include/stm32l4/irq.h
index 0d4ee00..76bc1f0 100644
--- a/arch/arm/include/stm32l4/irq.h
+++ b/arch/arm/include/stm32l4/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32l4/irq.h
  *
- *   Copyright (C) 2015 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32l4/stm32l4x5xx_irq.h b/arch/arm/include/stm32l4/stm32l4x5xx_irq.h
index 7da3f70..55baf3f 100644
--- a/arch/arm/include/stm32l4/stm32l4x5xx_irq.h
+++ b/arch/arm/include/stm32l4/stm32l4x5xx_irq.h
@@ -1,38 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32l4/stm32l4x5xx_irq.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2015 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
- *           Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32l4/stm32l4x6xx_irq.h b/arch/arm/include/stm32l4/stm32l4x6xx_irq.h
index 2273de1..003d6c9 100644
--- a/arch/arm/include/stm32l4/stm32l4x6xx_irq.h
+++ b/arch/arm/include/stm32l4/stm32l4x6xx_irq.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32l4/stm32l4x6xx_irq.h
  *
- *   Copyright (C) 2015 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32l4/stm32l4xrxx_irq.h b/arch/arm/include/stm32l4/stm32l4xrxx_irq.h
index edc042a..54db53f 100644
--- a/arch/arm/include/stm32l4/stm32l4xrxx_irq.h
+++ b/arch/arm/include/stm32l4/stm32l4xrxx_irq.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32l4/stm32l4xrxx_irq.h
  *
- *   Copyright (C) 2015 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/Make.defs b/arch/arm/src/stm32l4/Make.defs
index ef2f6f4..79463da 100644
--- a/arch/arm/src/stm32l4/Make.defs
+++ b/arch/arm/src/stm32l4/Make.defs
@@ -1,36 +1,20 @@
 ############################################################################
 # arch/arm/src/stm32l4/Make.defs
 #
-#   Copyright (C) 2017-2018 Gregory Nutt. All rights reserved.
-#   Copyright (C) 2015-2016 Sebastien Lorquet. All rights reserved.
-#   Author: Sebastien Lorquet <se...@lorquet.fr>
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.  The
+# ASF licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
 #
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
-# 1. Redistributions of source code must retain the above copyright
-#    notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-#    notice, this list of conditions and the following disclaimer in
-#    the documentation and/or other materials provided with the
-#    distribution.
-# 3. Neither the name NuttX nor the names of its contributors may be
-#    used to endorse or promote products derived from this software
-#    without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
-# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
-# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
 #
 ############################################################################
 
diff --git a/arch/arm/src/stm32l4/chip.h b/arch/arm/src/stm32l4/chip.h
index fb5ae33..78b12bb 100644
--- a/arch/arm/src/stm32l4/chip.h
+++ b/arch/arm/src/stm32l4/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/chip.h
  *
- *   Copyright (C) 2015 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4_can.h b/arch/arm/src/stm32l4/hardware/stm32l4_can.h
index 2eca719..8032592 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4_can.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4_can.h
@@ -1,39 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4_can.h
  *
- *   Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- *   Adaptations for stm32l4:
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4_gpio.h b/arch/arm/src/stm32l4/hardware/stm32l4_gpio.h
index dcdf52f..7ea0c4b 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4_gpio.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4_gpio.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4_gpio.h
  *
- *   Copyright (C) 2016, Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4_pinmap.h b/arch/arm/src/stm32l4/hardware/stm32l4_pinmap.h
index d26c7a1..a9357c0 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4_pinmap.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4_pinmap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4_pinmap.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2015 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4_syscfg.h b/arch/arm/src/stm32l4/hardware/stm32l4_syscfg.h
index 4537397..aee134f 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4_syscfg.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4_syscfg.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4_syscfg.h
  *
- *   Copyright (C) 2015 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4x3xx_firewall.h b/arch/arm/src/stm32l4/hardware/stm32l4x3xx_firewall.h
index dcd754e..f8d390c 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4x3xx_firewall.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4x3xx_firewall.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4x3xx_firewall.h
  *
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4x5xx_firewall.h b/arch/arm/src/stm32l4/hardware/stm32l4x5xx_firewall.h
index 6cd2433..c63536b 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4x5xx_firewall.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4x5xx_firewall.h
@@ -1,37 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4x5xx_firewall.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
- *           Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4x5xx_pinmap.h b/arch/arm/src/stm32l4/hardware/stm32l4x5xx_pinmap.h
index a84bfc6..69ceb62 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4x5xx_pinmap.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4x5xx_pinmap.h
@@ -1,36 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4x5xx_pinmap.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2015-2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4x5xx_rcc.h b/arch/arm/src/stm32l4/hardware/stm32l4x5xx_rcc.h
index cc0d63c..2fae305 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4x5xx_rcc.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4x5xx_rcc.h
@@ -1,37 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4x5xx_rcc.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4x6xx_firewall.h b/arch/arm/src/stm32l4/hardware/stm32l4x6xx_firewall.h
index c6cb47c..f8a4999 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4x6xx_firewall.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4x6xx_firewall.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4x6xx_firewall.h
  *
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4x6xx_pinmap.h b/arch/arm/src/stm32l4/hardware/stm32l4x6xx_pinmap.h
index f7b83d1..61ee008 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4x6xx_pinmap.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4x6xx_pinmap.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4x6xx_pinmap.h
  *
- *   Copyright (C) 2015-2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4x6xx_rcc.h b/arch/arm/src/stm32l4/hardware/stm32l4x6xx_rcc.h
index 3337387..504a3f1 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4x6xx_rcc.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4x6xx_rcc.h
@@ -1,37 +1,20 @@
 /****************************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4x6xx_rcc.h
  *
- *   Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4xrxx_firewall.h b/arch/arm/src/stm32l4/hardware/stm32l4xrxx_firewall.h
index f16208c..0f9ada1 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4xrxx_firewall.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4xrxx_firewall.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4xrxx_firewall.h
  *
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/hardware/stm32l4xrxx_pinmap.h b/arch/arm/src/stm32l4/hardware/stm32l4xrxx_pinmap.h
index 61e1f5f..0559ad9 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4xrxx_pinmap.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4xrxx_pinmap.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/hardware/stm32l4xrxx_pinmap.h
  *
- *   Copyright (C) 2015-2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/stm32l4_can.h b/arch/arm/src/stm32l4/stm32l4_can.h
index f0aa3b1..7251799 100644
--- a/arch/arm/src/stm32l4/stm32l4_can.h
+++ b/arch/arm/src/stm32l4/stm32l4_can.h
@@ -1,39 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/stm32l4_can.h
  *
- *   Copyright (C) 2009, 2011, 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- *   Adaptations for stm32l4:
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/stm32l4_dumpgpio.c b/arch/arm/src/stm32l4/stm32l4_dumpgpio.c
index dd42446..9eb596d 100644
--- a/arch/arm/src/stm32l4/stm32l4_dumpgpio.c
+++ b/arch/arm/src/stm32l4/stm32l4_dumpgpio.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32l4/stm32l4_dumpgpio.c
  *
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/stm32l4_firewall.c b/arch/arm/src/stm32l4/stm32l4_firewall.c
index a48378b..d3254a9 100644
--- a/arch/arm/src/stm32l4/stm32l4_firewall.c
+++ b/arch/arm/src/stm32l4/stm32l4_firewall.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32l4/stm32l4_firewall.c
  *
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/stm32l4_firewall.h b/arch/arm/src/stm32l4/stm32l4_firewall.h
index 7ef3a19..011f55e 100644
--- a/arch/arm/src/stm32l4/stm32l4_firewall.h
+++ b/arch/arm/src/stm32l4/stm32l4_firewall.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/stm32l4_firewall.h
  *
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/stm32l4_gpio.h b/arch/arm/src/stm32l4/stm32l4_gpio.h
index 6a6cf2e..a128663 100644
--- a/arch/arm/src/stm32l4/stm32l4_gpio.h
+++ b/arch/arm/src/stm32l4/stm32l4_gpio.h
@@ -1,37 +1,20 @@
 /************************************************************************************
  * arch/arm/src/stm32l4/stm32l4_gpio.h
  *
- *   Copyright (C) 2009, 2011-2012, 2015 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2015-2016 Sebastien Lorquet. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Sebastien Lorquet <se...@lorquet.fr>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/stm32l4_rcc.c b/arch/arm/src/stm32l4/stm32l4_rcc.c
index 4ae3672..928fbff 100644
--- a/arch/arm/src/stm32l4/stm32l4_rcc.c
+++ b/arch/arm/src/stm32l4/stm32l4_rcc.c
@@ -1,37 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32l4/stm32l4_rcc.c
  *
- *   Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *   Author: Sebastien Lorquet <se...@lorquet.fr>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/stm32l4x5xx_rcc.c b/arch/arm/src/stm32l4/stm32l4x5xx_rcc.c
index 0353cc1..d302dff 100644
--- a/arch/arm/src/stm32l4/stm32l4x5xx_rcc.c
+++ b/arch/arm/src/stm32l4/stm32l4x5xx_rcc.c
@@ -1,37 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32l4/stm32l4x5xx_rcc.c
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/stm32l4x6xx_rcc.c b/arch/arm/src/stm32l4/stm32l4x6xx_rcc.c
index 6a42d22..2120c65 100644
--- a/arch/arm/src/stm32l4/stm32l4x6xx_rcc.c
+++ b/arch/arm/src/stm32l4/stm32l4x6xx_rcc.c
@@ -1,37 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32l4/stm32l4x6xx_rcc.c
  *
- *   Copyright (C) 2011-2012, 2014-2015 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32l4/stm32l4xrxx_rcc.c b/arch/arm/src/stm32l4/stm32l4xrxx_rcc.c
index 6126c88..027ac9b 100644
--- a/arch/arm/src/stm32l4/stm32l4xrxx_rcc.c
+++ b/arch/arm/src/stm32l4/stm32l4xrxx_rcc.c
@@ -1,37 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32l4/stm32l4xrxx_rcc.c
  *
- *   Copyright (C) 2011-2012, 2014-2015 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           Sebastien Lorquet <se...@lorquet.fr>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/stm32l5/stm32l5_rcc.c b/arch/arm/src/stm32l5/stm32l5_rcc.c
index 226d381..b18378d 100644
--- a/arch/arm/src/stm32l5/stm32l5_rcc.c
+++ b/arch/arm/src/stm32l5/stm32l5_rcc.c
@@ -1,42 +1,20 @@
 /****************************************************************************
  * arch/arm/src/stm32l5/stm32l5_rcc.c
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author
- *
- * Based on arch/arm/src/stm32l4/stm32l4_rcc.c
- *
- *   Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved.
- *   Copyright (C) 2016 Sebastien Lorquet. All rights reserved.
- *   Author
- *   Author
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 

[incubator-nuttx] 04/16: tools: Author David Sidrane: update licenses to Apache

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 579c70a598ac030fd0dd9752c7bd7dcca142f6be
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sat Mar 20 20:00:18 2021 +0100

    tools: Author David Sidrane: update licenses to Apache
    
    David Sidrane has submitted the ICL and we can migrate the licenses
     to Apache.
    
    Gregory Nutt has submitted the SGA and we can migrate the licenses
     to Apache.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 tools/gencromfs.c | 48 ++++++++++++------------------------------------
 1 file changed, 12 insertions(+), 36 deletions(-)

diff --git a/tools/gencromfs.c b/tools/gencromfs.c
index 780b4df..b603d1e 100644
--- a/tools/gencromfs.c
+++ b/tools/gencromfs.c
@@ -1,44 +1,20 @@
 /****************************************************************************
  * tools/gencromfs.c
  *
- *   Copyright (C) 2018, 2020 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * The function lzf_compress() comes from the file lzf_c.c (which substantial
- * modification):
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *   Copyright (c) 2000-2010 Marc Alexander Lehmann <sc...@schmorp.de>
- *
- * Which has a compatible BSD license and included here under the NuttX BSD
- * license:
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 

[incubator-nuttx] 10/16: arch: arm: include: nxstyle fixes

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit c39339a7a89e7a6738dcee96b2ce2e72010273e7
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sun Mar 21 11:37:01 2021 +0100

    arch: arm: include: nxstyle fixes
    
    nxstyle fixes to pass CI
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 arch/arm/include/a1x/a10_irq.h                   |  34 ++--
 arch/arm/include/a1x/chip.h                      |  26 +--
 arch/arm/include/a1x/irq.h                       |  30 +--
 arch/arm/include/am335x/am335x_irq.h             |  35 ++--
 arch/arm/include/am335x/chip.h                   |  28 +--
 arch/arm/include/am335x/irq.h                    |  32 +--
 arch/arm/include/arch.h                          |   2 +-
 arch/arm/include/arm/irq.h                       |   4 +-
 arch/arm/include/arm/syscall.h                   |   2 +-
 arch/arm/include/armv6-m/irq.h                   |   8 +-
 arch/arm/include/armv6-m/syscall.h               |   2 +-
 arch/arm/include/armv7-a/irq.h                   |   2 +-
 arch/arm/include/armv7-a/syscall.h               |   2 +-
 arch/arm/include/armv7-m/irq.h                   |   2 +-
 arch/arm/include/armv7-m/irq_cmnvector.h         |   2 +-
 arch/arm/include/armv7-m/irq_lazyfpu.h           |   2 +-
 arch/arm/include/armv7-m/nvicpri.h               |  14 +-
 arch/arm/include/armv7-m/syscall.h               |   2 +-
 arch/arm/include/armv7-r/irq.h                   |   2 +-
 arch/arm/include/armv7-r/syscall.h               |   2 +-
 arch/arm/include/armv8-m/irq.h                   |   2 +-
 arch/arm/include/armv8-m/irq_cmnvector.h         |   2 +-
 arch/arm/include/armv8-m/irq_lazyfpu.h           |   2 +-
 arch/arm/include/armv8-m/nvicpri.h               |  14 +-
 arch/arm/include/armv8-m/syscall.h               |   2 +-
 arch/arm/include/c5471/irq.h                     |   2 +-
 arch/arm/include/cxd56xx/adc.h                   |   2 +-
 arch/arm/include/cxd56xx/audio.h                 |   2 +-
 arch/arm/include/cxd56xx/battery_ioctl.h         |   2 +-
 arch/arm/include/cxd56xx/chip.h                  |   2 +-
 arch/arm/include/cxd56xx/crashdump.h             |   2 +-
 arch/arm/include/cxd56xx/irq.h                   |   2 +-
 arch/arm/include/cxd56xx/pin.h                   |   4 +-
 arch/arm/include/cxd56xx/pm.h                    |   4 +-
 arch/arm/include/cxd56xx/scu.h                   |   2 +-
 arch/arm/include/cxd56xx/timer.h                 |   2 +-
 arch/arm/include/cxd56xx/usbdev.h                |   2 +-
 arch/arm/include/dm320/irq.h                     |   2 +-
 arch/arm/include/efm32/chip.h                    |  22 +--
 arch/arm/include/efm32/efm32g_irq.h              |   7 +-
 arch/arm/include/efm32/efm32gg_irq.h             |   4 +-
 arch/arm/include/efm32/efm32tg_irq.h             |   4 +-
 arch/arm/include/efm32/irq.h                     |  70 +++----
 arch/arm/include/elf.h                           |  12 +-
 arch/arm/include/eoss3/chip.h                    |   2 +-
 arch/arm/include/eoss3/irq.h                     |   2 +-
 arch/arm/include/imx1/irq.h                      |   2 +-
 arch/arm/include/imx6/chip.h                     |   5 +-
 arch/arm/include/imx6/irq.h                      |   7 +-
 arch/arm/include/imxrt/chip.h                    |  31 +--
 arch/arm/include/imxrt/imxrt102x_irq.h           |  82 ++++++--
 arch/arm/include/imxrt/imxrt105x_irq.h           |  43 ++--
 arch/arm/include/imxrt/imxrt106x_irq.h           |  45 ++---
 arch/arm/include/imxrt/irq.h                     |  40 ++--
 arch/arm/include/inttypes.h                      |   2 +-
 arch/arm/include/kinetis/chip.h                  |  38 ++--
 arch/arm/include/kinetis/irq.h                   |  47 ++---
 arch/arm/include/kinetis/kinetis_dma.h           |  43 ++--
 arch/arm/include/kinetis/kinetis_dmamux.h        |  39 ++--
 arch/arm/include/kinetis/kinetis_k20irq.h        |  33 ++--
 arch/arm/include/kinetis/kinetis_k28irq.h        |  37 ++--
 arch/arm/include/kinetis/kinetis_k40irq.h        |  37 ++--
 arch/arm/include/kinetis/kinetis_k60irq.h        |  37 ++--
 arch/arm/include/kinetis/kinetis_k64irq.h        |  37 ++--
 arch/arm/include/kinetis/kinetis_k66irq.h        |  38 ++--
 arch/arm/include/kinetis/kinetis_lpuart.h        |  48 +++--
 arch/arm/include/kinetis/kinetis_mcg.h           |  87 +++++----
 arch/arm/include/kinetis/kinetis_pmc.h           |  40 ++--
 arch/arm/include/kinetis/kinetis_sim.h           |  61 +++---
 arch/arm/include/kl/chip.h                       |  38 ++--
 arch/arm/include/kl/irq.h                        |  92 ++++-----
 arch/arm/include/lc823450/chip.h                 |   2 +-
 arch/arm/include/lc823450/clk.h                  |   2 +-
 arch/arm/include/lc823450/irq.h                  |   2 +-
 arch/arm/include/limits.h                        |   2 +-
 arch/arm/include/lpc17xx_40xx/chip.h             |  52 +++--
 arch/arm/include/lpc17xx_40xx/irq.h              |   3 +-
 arch/arm/include/lpc17xx_40xx/lpc176x_irq.h      |  19 +-
 arch/arm/include/lpc17xx_40xx/lpc178x_40xx_irq.h |  15 +-
 arch/arm/include/lpc214x/irq.h                   |   2 +-
 arch/arm/include/lpc2378/irq.h                   |   6 +-
 arch/arm/include/lpc31xx/irq.h                   |   2 +-
 arch/arm/include/lpc43xx/chip.h                  |  80 ++++----
 arch/arm/include/lpc43xx/irq.h                   |  45 ++---
 arch/arm/include/lpc54xx/chip.h                  |  41 ++--
 arch/arm/include/lpc54xx/irq.h                   |  29 +--
 arch/arm/include/lpc54xx/lpc546x_irq.h           |  14 +-
 arch/arm/include/max326xx/chip.h                 |  48 ++---
 arch/arm/include/max326xx/irq.h                  |  37 ++--
 arch/arm/include/max326xx/max32620_30_irq.h      |  38 ++--
 arch/arm/include/max326xx/max32660_irq.h         |  42 ++--
 arch/arm/include/moxart/irq.h                    |   2 +-
 arch/arm/include/nrf52/chip.h                    |  34 ++--
 arch/arm/include/nrf52/irq.h                     |  33 ++--
 arch/arm/include/nrf52/nrf52_irq.h               |  14 +-
 arch/arm/include/nuc1xx/chip.h                   |  43 ++--
 arch/arm/include/nuc1xx/irq.h                    |  43 ++--
 arch/arm/include/nuc1xx/nuc120_irq.h             |  32 +--
 arch/arm/include/rp2040/irq.h                    |   2 +-
 arch/arm/include/s32k1xx/chip.h                  |  32 +--
 arch/arm/include/s32k1xx/s32k11x_irq.h           |  29 +--
 arch/arm/include/s32k1xx/s32k14x_irq.h           |  29 +--
 arch/arm/include/sam34/chip.h                    | 103 ++++++----
 arch/arm/include/sam34/irq.h                     |  37 ++--
 arch/arm/include/sam34/sam3u_irq.h               |  34 ++--
 arch/arm/include/sam34/sam3x_irq.h               |  34 ++--
 arch/arm/include/sam34/sam4cm_irq.h              |  34 ++--
 arch/arm/include/sam34/sam4e_irq.h               |  36 ++--
 arch/arm/include/sam34/sam4l_irq.h               |  42 ++--
 arch/arm/include/sam34/sam4s_irq.h               |  34 ++--
 arch/arm/include/sama5/chip.h                    | 238 +++++++++++++++--------
 arch/arm/include/sama5/irq.h                     |  30 +--
 arch/arm/include/sama5/sama5d2_irq.h             |  54 ++---
 arch/arm/include/sama5/sama5d3_irq.h             |  34 ++--
 arch/arm/include/sama5/sama5d4_irq.h             |  34 ++--
 arch/arm/include/samd2l2/chip.h                  |  69 ++++---
 arch/arm/include/samd2l2/irq.h                   |  41 ++--
 arch/arm/include/samd2l2/sam_adc.h               |   6 +-
 arch/arm/include/samd2l2/samd20_irq.h            |  34 ++--
 arch/arm/include/samd2l2/samd21_irq.h            |  34 ++--
 arch/arm/include/samd2l2/saml21_irq.h            |  34 ++--
 arch/arm/include/samd5e5/chip.h                  |  43 ++--
 arch/arm/include/samd5e5/irq.h                   |  37 ++--
 arch/arm/include/samd5e5/samd5e5_irq.h           |  35 ++--
 arch/arm/include/samv7/chip.h                    |  38 ++--
 arch/arm/include/samv7/irq.h                     |  37 ++--
 arch/arm/include/samv7/same70_irq.h              |  38 ++--
 arch/arm/include/samv7/samv71_irq.h              |  38 ++--
 arch/arm/include/spinlock.h                      |   2 +-
 arch/arm/include/stdarg.h                        |   3 +-
 arch/arm/include/stm32/chip.h                    |  68 ++++---
 arch/arm/include/stm32/irq.h                     |  41 ++--
 arch/arm/include/stm32/stm32f10xxx_irq.h         |   2 +-
 arch/arm/include/stm32/stm32f20xxx_irq.h         |   2 +-
 arch/arm/include/stm32/stm32f30xxx_irq.h         |   2 +-
 arch/arm/include/stm32/stm32f33xxx_irq.h         |   2 +-
 arch/arm/include/stm32/stm32f37xxx_irq.h         |   2 +-
 arch/arm/include/stm32/stm32f40xxx_irq.h         |  36 ++--
 arch/arm/include/stm32/stm32g4xxxx_irq.h         |  26 +--
 arch/arm/include/stm32/stm32l15xxx_irq.h         |   2 +-
 arch/arm/include/stm32f0l0g0/chip.h              |   2 +-
 arch/arm/include/stm32f0l0g0/irq.h               |   2 +-
 arch/arm/include/stm32f0l0g0/stm32f0_irq.h       |   2 +-
 arch/arm/include/stm32f0l0g0/stm32g0_irq.h       |   2 +-
 arch/arm/include/stm32f0l0g0/stm32l0_irq.h       |  41 ++--
 arch/arm/include/stm32f7/chip.h                  | 224 +++++++++++++--------
 arch/arm/include/stm32f7/irq.h                   |   2 +-
 arch/arm/include/stm32f7/stm32f72xx73xx_irq.h    |   2 +-
 arch/arm/include/stm32f7/stm32f74xx75xx_irq.h    |   2 +-
 arch/arm/include/stm32f7/stm32f76xx77xx_irq.h    |   2 +-
 arch/arm/include/stm32h7/chip.h                  |  20 +-
 arch/arm/include/stm32h7/irq.h                   |   2 +-
 arch/arm/include/stm32h7/stm32h7x3xx_irq.h       |  30 +--
 arch/arm/include/stm32h7/stm32h7x7xx_irq.h       |   2 +-
 arch/arm/include/stm32l4/chip.h                  |   2 +-
 arch/arm/include/stm32l4/irq.h                   |   2 +-
 arch/arm/include/stm32l4/stm32l4x3xx_irq.h       |   2 +-
 arch/arm/include/stm32l4/stm32l4x5xx_irq.h       |   2 +-
 arch/arm/include/stm32l4/stm32l4x6xx_irq.h       |   2 +-
 arch/arm/include/stm32l4/stm32l4xrxx_irq.h       |   2 +-
 arch/arm/include/stm32l5/chip.h                  |  16 +-
 arch/arm/include/stm32l5/irq.h                   |   8 +-
 arch/arm/include/stm32l5/stm32l562xx_irq.h       |  20 +-
 arch/arm/include/stm32l5/stm32l5_irq.h           |  42 ++--
 arch/arm/include/str71x/irq.h                    |  28 +--
 arch/arm/include/syscall.h                       |   2 +-
 arch/arm/include/tiva/cc13x0_irq.h               |   2 +-
 arch/arm/include/tiva/cc13x2_cc26x2_irq.h        |   2 +-
 arch/arm/include/tiva/chip.h                     |   2 +-
 arch/arm/include/tiva/irq.h                      |  30 +--
 arch/arm/include/tiva/lm3s_irq.h                 |  33 ++--
 arch/arm/include/tiva/lm4f_irq.h                 |  33 ++--
 arch/arm/include/tiva/tm4c_irq.h                 |  33 ++--
 arch/arm/include/tms570/chip.h                   |  84 +++++---
 arch/arm/include/tms570/irq.h                    |  41 ++--
 arch/arm/include/tms570/tms570ls04x03x_irq.h     |  37 ++--
 arch/arm/include/types.h                         |   2 +-
 arch/arm/include/xmc4/chip.h                     |  38 ++--
 arch/arm/include/xmc4/irq.h                      |  36 ++--
 arch/arm/include/xmc4/xmc4500_irq.h              |  16 +-
 arch/arm/include/xmc4/xmc4700_irq.h              |  16 +-
 arch/arm/include/xmc4/xmc4800_irq.h              |  16 +-
 182 files changed, 2461 insertions(+), 2030 deletions(-)

diff --git a/arch/arm/include/a1x/a10_irq.h b/arch/arm/include/a1x/a10_irq.h
index 85691e6..3ec3b10 100644
--- a/arch/arm/include/a1x/a10_irq.h
+++ b/arch/arm/include/a1x/a10_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/a1x/a10_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_A1X_A10_IRQ_H
 #define __ARCH_ARM_INCLUDE_A1X_A10_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* External interrupts numbers */
 
@@ -173,21 +173,21 @@
 
 #define NR_IRQS            (A1X_IRQ_NINT + A1X_PIO_NINT)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/a1x/chip.h b/arch/arm/include/a1x/chip.h
index 521d1b1..f7c15e7 100644
--- a/arch/arm/include/a1x/chip.h
+++ b/arch/arm/include/a1x/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/a1x/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,20 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_A1X_CHIP_H
 #define __ARCH_ARM_INCLUDE_A1X_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* A1X Family */
 
@@ -39,16 +39,16 @@
 #  error Unrecognized A1X chip
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Functions Prototypes
- ************************************************************************************/
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_A1X_CHIP_H */
diff --git a/arch/arm/include/a1x/irq.h b/arch/arm/include/a1x/irq.h
index e5cb970..04be0da 100644
--- a/arch/arm/include/a1x/irq.h
+++ b/arch/arm/include/a1x/irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/a1x/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,18 +16,18 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_A1X_IRQ_H
 #define __ARCH_ARM_INCLUDE_A1X_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/a1x/chip.h>
@@ -40,19 +40,19 @@
 #  error Unrecognized A1X chip
 #endif
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 #define EXTERN extern "C"
@@ -62,9 +62,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/am335x/am335x_irq.h b/arch/arm/include/am335x/am335x_irq.h
index 178afad..aa6c3d4 100644
--- a/arch/arm/include/am335x/am335x_irq.h
+++ b/arch/arm/include/am335x/am335x_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/am335x/am335x_irq.h
  *
  *   Copyright (C) 2019 Petro Karashchenko. All rights reserved.
@@ -31,24 +31,25 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_AM335X_AM335X_IRQ_H
 #define __ARCH_ARM_INCLUDE_AM335X_AM335X_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* External interrupts numbers */
+
 /* Interrupt number list */
 
 #define AM335X_IRQ_EMU                  (0) /* Emulation interrupt */
@@ -320,21 +321,21 @@
                                          AM335X_NGPIO0IRQS + AM335X_NGPIO1IRQS + \
                                          AM335X_NGPIO2IRQS + AM335X_NGPIO3IRQS )
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/am335x/chip.h b/arch/arm/include/am335x/chip.h
index b919124..3f3d49f 100644
--- a/arch/arm/include/am335x/chip.h
+++ b/arch/arm/include/am335x/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/am335x/chip.h
  *
  *   Copyright (C) 2018 Petro Karashchenko. All rights reserved.
@@ -31,20 +31,20 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_AM335X_CHIP_H
 #define __ARCH_ARM_INCLUDE_AM335X_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* AM335X Family */
 
@@ -54,16 +54,16 @@
 #  error Unrecognized AM335X chip
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_AM335X_CHIP_H */
diff --git a/arch/arm/include/am335x/irq.h b/arch/arm/include/am335x/irq.h
index 72b65e9..8c78c47 100644
--- a/arch/arm/include/am335x/irq.h
+++ b/arch/arm/include/am335x/irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/am335x/irq.h
  *
  *   Copyright (C) 2019 Petro Karashchenko. All rights reserved.
@@ -31,26 +31,22 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_AM335X_IRQ_H
 #define __ARCH_ARM_INCLUDE_AM335X_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/am335x/chip.h>
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
-
 /* Chip-Specific External interrupts */
 
 #if defined(CONFIG_ARCH_CHIP_AM335X)
@@ -59,15 +55,19 @@
 #  error Unrecognized AM335X chip
 #endif
 
-/****************************************************************************************
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
+
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 #define EXTERN extern "C"
@@ -77,9 +77,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/arch.h b/arch/arm/include/arch.h
index 46d47b8..4ddbb53 100644
--- a/arch/arm/include/arch.h
+++ b/arch/arm/include/arch.h
@@ -37,7 +37,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 #ifdef CONFIG_PIC
diff --git a/arch/arm/include/arm/irq.h b/arch/arm/include/arm/irq.h
index 5a79821..6c7f3ae 100644
--- a/arch/arm/include/arm/irq.h
+++ b/arch/arm/include/arm/irq.h
@@ -35,7 +35,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ Stack Frame Format:
@@ -172,7 +172,7 @@ struct xcptcontext
  * leave_critical section(), are probably what you really want.
  */
 
- /* Save the current interrupt enable state & disable IRQs. */
+/* Save the current interrupt enable state & disable IRQs. */
 
 static inline irqstate_t up_irq_save(void)
 {
diff --git a/arch/arm/include/arm/syscall.h b/arch/arm/include/arm/syscall.h
index bd5d86c..f7be3c1 100644
--- a/arch/arm/include/arm/syscall.h
+++ b/arch/arm/include/arm/syscall.h
@@ -36,7 +36,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 #define SYS_syscall 0x00
diff --git a/arch/arm/include/armv6-m/irq.h b/arch/arm/include/armv6-m/irq.h
index 21ac8ea..45ce521 100644
--- a/arch/arm/include/armv6-m/irq.h
+++ b/arch/arm/include/armv6-m/irq.h
@@ -40,10 +40,14 @@
 #include <arch/chip/chip.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
+
 /* Configuration ************************************************************/
-/* If this is a kernel build, how many nested system calls should we support? */
+
+/* If this is a kernel build,
+ * how many nested system calls should we support?
+ */
 
 #ifndef CONFIG_SYS_NNEST
 #  define CONFIG_SYS_NNEST 2
diff --git a/arch/arm/include/armv6-m/syscall.h b/arch/arm/include/armv6-m/syscall.h
index cf5a1e9..da96e1f 100644
--- a/arch/arm/include/armv6-m/syscall.h
+++ b/arch/arm/include/armv6-m/syscall.h
@@ -36,7 +36,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* This is the value used as the argument to the SVC instruction.  It is not
diff --git a/arch/arm/include/armv7-a/irq.h b/arch/arm/include/armv7-a/irq.h
index c9247c4..fc40750 100644
--- a/arch/arm/include/armv7-a/irq.h
+++ b/arch/arm/include/armv7-a/irq.h
@@ -38,7 +38,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ Stack Frame Format:
diff --git a/arch/arm/include/armv7-a/syscall.h b/arch/arm/include/armv7-a/syscall.h
index 6ea02ae..a235a04 100644
--- a/arch/arm/include/armv7-a/syscall.h
+++ b/arch/arm/include/armv7-a/syscall.h
@@ -36,7 +36,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 #define SYS_syscall 0x00
diff --git a/arch/arm/include/armv7-m/irq.h b/arch/arm/include/armv7-m/irq.h
index 9520e6d..7cca75b 100644
--- a/arch/arm/include/armv7-m/irq.h
+++ b/arch/arm/include/armv7-m/irq.h
@@ -47,7 +47,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* Configuration ************************************************************/
diff --git a/arch/arm/include/armv7-m/irq_cmnvector.h b/arch/arm/include/armv7-m/irq_cmnvector.h
index 5117d8b..93b3835 100644
--- a/arch/arm/include/armv7-m/irq_cmnvector.h
+++ b/arch/arm/include/armv7-m/irq_cmnvector.h
@@ -26,7 +26,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ Stack Frame Format: */
diff --git a/arch/arm/include/armv7-m/irq_lazyfpu.h b/arch/arm/include/armv7-m/irq_lazyfpu.h
index 0837e7c..d632d4c 100644
--- a/arch/arm/include/armv7-m/irq_lazyfpu.h
+++ b/arch/arm/include/armv7-m/irq_lazyfpu.h
@@ -26,7 +26,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ Stack Frame Format: */
diff --git a/arch/arm/include/armv7-m/nvicpri.h b/arch/arm/include/armv7-m/nvicpri.h
index 59c34fa..e081aaf 100644
--- a/arch/arm/include/armv7-m/nvicpri.h
+++ b/arch/arm/include/armv7-m/nvicpri.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/armv7-m/nvicpri.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,20 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_ARM7_M_NVICPRI_H
 #define __ARCH_ARM_INCLUDE_ARM7_M_NVICPRI_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <arch/chip/chip.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* If CONFIG_ARMV7M_USEBASEPRI is selected, then interrupts will be disabled
  * by setting the BASEPRI register to NVIC_SYSH_DISABLE_PRIORITY so that most
diff --git a/arch/arm/include/armv7-m/syscall.h b/arch/arm/include/armv7-m/syscall.h
index 6e9f57d..83e809f 100644
--- a/arch/arm/include/armv7-m/syscall.h
+++ b/arch/arm/include/armv7-m/syscall.h
@@ -36,7 +36,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* This is the value used as the argument to the SVC instruction.  It is not
diff --git a/arch/arm/include/armv7-r/irq.h b/arch/arm/include/armv7-r/irq.h
index 771a3f0..ebb5fdd 100644
--- a/arch/arm/include/armv7-r/irq.h
+++ b/arch/arm/include/armv7-r/irq.h
@@ -38,7 +38,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ Stack Frame Format:
diff --git a/arch/arm/include/armv7-r/syscall.h b/arch/arm/include/armv7-r/syscall.h
index 7381ce6..e86170f 100644
--- a/arch/arm/include/armv7-r/syscall.h
+++ b/arch/arm/include/armv7-r/syscall.h
@@ -36,7 +36,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 #define SYS_syscall 0x00
diff --git a/arch/arm/include/armv8-m/irq.h b/arch/arm/include/armv8-m/irq.h
index 20eaff3..df03f7a 100644
--- a/arch/arm/include/armv8-m/irq.h
+++ b/arch/arm/include/armv8-m/irq.h
@@ -47,7 +47,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* Configuration ************************************************************/
diff --git a/arch/arm/include/armv8-m/irq_cmnvector.h b/arch/arm/include/armv8-m/irq_cmnvector.h
index 4c784e7..9956374 100644
--- a/arch/arm/include/armv8-m/irq_cmnvector.h
+++ b/arch/arm/include/armv8-m/irq_cmnvector.h
@@ -26,7 +26,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ Stack Frame Format: */
diff --git a/arch/arm/include/armv8-m/irq_lazyfpu.h b/arch/arm/include/armv8-m/irq_lazyfpu.h
index 33af6d8..1f3f0c7 100644
--- a/arch/arm/include/armv8-m/irq_lazyfpu.h
+++ b/arch/arm/include/armv8-m/irq_lazyfpu.h
@@ -26,7 +26,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ Stack Frame Format: */
diff --git a/arch/arm/include/armv8-m/nvicpri.h b/arch/arm/include/armv8-m/nvicpri.h
index 56aafb1..c2b2d91 100644
--- a/arch/arm/include/armv8-m/nvicpri.h
+++ b/arch/arm/include/armv8-m/nvicpri.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/armv8-m/nvicpri.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,20 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_ARM8_M_NVICPRI_H
 #define __ARCH_ARM_INCLUDE_ARM8_M_NVICPRI_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <arch/chip/chip.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* If CONFIG_ARMV8M_USEBASEPRI is selected, then interrupts will be disabled
  * by setting the BASEPRI register to NVIC_SYSH_DISABLE_PRIORITY so that most
diff --git a/arch/arm/include/armv8-m/syscall.h b/arch/arm/include/armv8-m/syscall.h
index 03ad475..458c33a 100644
--- a/arch/arm/include/armv8-m/syscall.h
+++ b/arch/arm/include/armv8-m/syscall.h
@@ -36,7 +36,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* This is the value used as the argument to the SVC instruction.  It is not
diff --git a/arch/arm/include/c5471/irq.h b/arch/arm/include/c5471/irq.h
index 7c06f41..d378321 100644
--- a/arch/arm/include/c5471/irq.h
+++ b/arch/arm/include/c5471/irq.h
@@ -30,7 +30,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* C5471 Interrupts */
diff --git a/arch/arm/include/cxd56xx/adc.h b/arch/arm/include/cxd56xx/adc.h
index 6817f0a..a4dba22 100644
--- a/arch/arm/include/cxd56xx/adc.h
+++ b/arch/arm/include/cxd56xx/adc.h
@@ -45,7 +45,7 @@
 #include <nuttx/analog/ioctl.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 #define ANIOC_USER                 (AN_FIRST + AN_NCMDS)
diff --git a/arch/arm/include/cxd56xx/audio.h b/arch/arm/include/cxd56xx/audio.h
index a6c95cd..df0a869 100644
--- a/arch/arm/include/cxd56xx/audio.h
+++ b/arch/arm/include/cxd56xx/audio.h
@@ -57,7 +57,7 @@
 #include <stdbool.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* Mic channel max. */
diff --git a/arch/arm/include/cxd56xx/battery_ioctl.h b/arch/arm/include/cxd56xx/battery_ioctl.h
index 971d45c..9b811f4 100644
--- a/arch/arm/include/cxd56xx/battery_ioctl.h
+++ b/arch/arm/include/cxd56xx/battery_ioctl.h
@@ -43,7 +43,7 @@
 #include <nuttx/fs/ioctl.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* ioctl commands */
diff --git a/arch/arm/include/cxd56xx/chip.h b/arch/arm/include/cxd56xx/chip.h
index c9cc33b..c1afb4d 100644
--- a/arch/arm/include/cxd56xx/chip.h
+++ b/arch/arm/include/cxd56xx/chip.h
@@ -22,7 +22,7 @@
 #define __ARCH_ARM_INCLUDE_CXD56XX_CHIP_H
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 #define CXD56M4_SYSH_PRIORITY_MIN     0xe0 /* All bits[7:5] set is minimum priority */
diff --git a/arch/arm/include/cxd56xx/crashdump.h b/arch/arm/include/cxd56xx/crashdump.h
index 2f2e8c9..58351ce 100644
--- a/arch/arm/include/cxd56xx/crashdump.h
+++ b/arch/arm/include/cxd56xx/crashdump.h
@@ -47,7 +47,7 @@
 #include <nuttx/irq.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* Configuration ************************************************************/
diff --git a/arch/arm/include/cxd56xx/irq.h b/arch/arm/include/cxd56xx/irq.h
index e48a727..325d2f0 100644
--- a/arch/arm/include/cxd56xx/irq.h
+++ b/arch/arm/include/cxd56xx/irq.h
@@ -34,7 +34,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/cxd56xx/pin.h b/arch/arm/include/cxd56xx/pin.h
index 8cfc36a..2785d94 100644
--- a/arch/arm/include/cxd56xx/pin.h
+++ b/arch/arm/include/cxd56xx/pin.h
@@ -28,10 +28,10 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
-/* Pin number Definitions */
+/* Pin number Prototypes */
 
 #define PIN_RTC_CLK_IN          (0)
 
diff --git a/arch/arm/include/cxd56xx/pm.h b/arch/arm/include/cxd56xx/pm.h
index 430a991..e542e40 100644
--- a/arch/arm/include/cxd56xx/pm.h
+++ b/arch/arm/include/cxd56xx/pm.h
@@ -43,7 +43,7 @@
 #include <queue.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* Boot Cause definitions */
@@ -138,7 +138,7 @@ struct pm_cpu_wakelock_s
   uint32_t info;
 };
 
-/* Definitions for pmic notify */
+/* Prototypes for pmic notify */
 
 enum pmic_notify_e
 {
diff --git a/arch/arm/include/cxd56xx/scu.h b/arch/arm/include/cxd56xx/scu.h
index d161592..c9b352e 100644
--- a/arch/arm/include/cxd56xx/scu.h
+++ b/arch/arm/include/cxd56xx/scu.h
@@ -45,7 +45,7 @@
 #include <nuttx/fs/ioctl.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 #define _SCUIOCBASE   (0xa000)
diff --git a/arch/arm/include/cxd56xx/timer.h b/arch/arm/include/cxd56xx/timer.h
index c294212..7534500 100644
--- a/arch/arm/include/cxd56xx/timer.h
+++ b/arch/arm/include/cxd56xx/timer.h
@@ -43,7 +43,7 @@
 #include <nuttx/timers/timer.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* Set callback handler
diff --git a/arch/arm/include/cxd56xx/usbdev.h b/arch/arm/include/cxd56xx/usbdev.h
index 916be87..650dcda 100644
--- a/arch/arm/include/cxd56xx/usbdev.h
+++ b/arch/arm/include/cxd56xx/usbdev.h
@@ -41,7 +41,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* BOARDIOC_USBDEV_SETNOTIFYSIG signal value ********************************/
diff --git a/arch/arm/include/dm320/irq.h b/arch/arm/include/dm320/irq.h
index 4e80b62..3b9f7f87 100644
--- a/arch/arm/include/dm320/irq.h
+++ b/arch/arm/include/dm320/irq.h
@@ -30,7 +30,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* DM320 Interrupts */
diff --git a/arch/arm/include/efm32/chip.h b/arch/arm/include/efm32/chip.h
index 8eb60e8..f6bdf29 100644
--- a/arch/arm/include/efm32/chip.h
+++ b/arch/arm/include/efm32/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/efm32/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,29 +16,29 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_EFM32_CHIP_H
 #define __ARCH_ARM_INCLUDE_EFM32_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* EFM32 EnergyMicro ****************************************************************/
+/* EFM32 EnergyMicro ********************************************************/
 
 /* Tiny Gecko with 32KiB FLASH and 4KiB RAM in a QFN64 package */
 
 #if defined(CONFIG_ARCH_CHIP_EFM32TG840F32)
 
-/* Gecko with 128KiB FLASH and 16KiB SRAM in LQFP100 (EFM32G880F128) or BGA112
- * (EFM32G890F128) package
+/* Gecko with 128KiB FLASH and 16KiB SRAM in LQFP100 (EFM32G880F128) or
+ * BGA112 (EFM32G890F128) package
  */
 
 #elif defined(CONFIG_ARCH_CHIP_EFM32G880F128) || \
@@ -55,7 +55,7 @@
 #  error "Unsupported EFM32 chip"
 #endif
 
-/* NVIC priority levels *************************************************************/
+/* NVIC priority levels *****************************************************/
 
 #define NVIC_SYSH_PRIORITY_MIN     0xe0 /* Bits [7:5] set in minimum priority */
 #define NVIC_SYSH_PRIORITY_DEFAULT 0x80 /* Midpoint is the default */
diff --git a/arch/arm/include/efm32/efm32g_irq.h b/arch/arm/include/efm32/efm32g_irq.h
index 089109f..57cdd63 100644
--- a/arch/arm/include/efm32/efm32g_irq.h
+++ b/arch/arm/include/efm32/efm32g_irq.h
@@ -30,7 +30,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
@@ -42,7 +42,8 @@
  *
  * External interrupts (vectors >= 16)
  */
-                                                         /* IRQ# Source      */
+
+                                                         /* IRQ# Source     */
 #define EFM32_IRQ_DMA        (EFM32_IRQ_INTERRUPTS + 0)  /*  0   DMA         */
 #define EFM32_IRQ_GPIO_EVEN  (EFM32_IRQ_INTERRUPTS + 1)  /*  1   GPIO_EVEN   */
 #define EFM32_IRQ_TIMER0     (EFM32_IRQ_INTERRUPTS + 2)  /*  2   TIMER0      */
@@ -95,7 +96,7 @@ extern "C"
 #endif
 
 /****************************************************************************
- * Public Functions
+ * Public Functions Prototypes
  ****************************************************************************/
 
 #undef EXTERN
diff --git a/arch/arm/include/efm32/efm32gg_irq.h b/arch/arm/include/efm32/efm32gg_irq.h
index f8b8560..8cea3c3 100644
--- a/arch/arm/include/efm32/efm32gg_irq.h
+++ b/arch/arm/include/efm32/efm32gg_irq.h
@@ -45,7 +45,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
@@ -119,7 +119,7 @@ extern "C"
 #endif
 
 /****************************************************************************
- * Public Functions
+ * Public Functions Prototypes
  ****************************************************************************/
 
 #undef EXTERN
diff --git a/arch/arm/include/efm32/efm32tg_irq.h b/arch/arm/include/efm32/efm32tg_irq.h
index 039f56c..265a64b 100644
--- a/arch/arm/include/efm32/efm32tg_irq.h
+++ b/arch/arm/include/efm32/efm32tg_irq.h
@@ -45,7 +45,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
@@ -103,7 +103,7 @@ extern "C"
 #endif
 
 /****************************************************************************
- * Public Functions
+ * Public Functions Prototypes
  ****************************************************************************/
 
 #undef EXTERN
diff --git a/arch/arm/include/efm32/irq.h b/arch/arm/include/efm32/irq.h
index ae768a8..809a157 100644
--- a/arch/arm/include/efm32/irq.h
+++ b/arch/arm/include/efm32/irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/efm32/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,30 +16,41 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_EFM32_IRQ_H
 #define __ARCH_ARM_INCLUDE_EFM32_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include <nuttx/irq.h>
 #include <arch/efm32/chip.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+#if defined(CONFIG_EFM32_EFM32TG)
+#  include <arch/efm32/efm32tg_irq.h>
+#elif defined(CONFIG_EFM32_EFM32G)
+#  include <arch/efm32/efm32g_irq.h>
+#elif defined(CONFIG_EFM32_EFM32GG)
+#  include <arch/efm32/efm32gg_irq.h>
+#else
+#  error "Unsupported EFM32 chip"
+#endif
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
+
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to bits in
+ *  the NVIC.  This does, however, waste several words of memory in the IRQ
  * to handle mapping tables.
  */
 
@@ -59,25 +70,18 @@
 #define EFM32_IRQ_PENDSV      (14) /* Vector 14: Pendable system service request */
 #define EFM32_IRQ_SYSTICK     (15) /* Vector 15: System tick */
 
-/* External interrupts (vectors >= 16).  These definitions are chip-specific */
+/* External interrupts (vectors >= 16).
+ * These definitions are chip-specific
+ */
 
 #define EFM32_IRQ_INTERRUPTS  (16) /* Vector number of the first external interrupt */
 
-#if defined(CONFIG_EFM32_EFM32TG)
-#  include <arch/efm32/efm32tg_irq.h>
-#elif defined(CONFIG_EFM32_EFM32G)
-#  include <arch/efm32/efm32g_irq.h>
-#elif defined(CONFIG_EFM32_EFM32GG)
-#  include <arch/efm32/efm32gg_irq.h>
-#else
-#  error "Unsupported EFM32 chip"
-#endif
-
 #ifdef CONFIG_EFM32_GPIO_IRQ
-/* If GPIO interrupt support is enabled then up to 16 additional GPIO interrupt
- * sources are available.  There are actually only two physical interrupt lines:
- * GPIO_EVEN and GPIO_ODD.  However, from the software point of view, there are
- * 16-additional interrupts generated from a second level of decoding.
+/* If GPIO interrupt support is enabled then up to 16 additional GPIO
+ * interrupt sources are available.  There are actually only two physical
+ * interrupt lines: GPIO_EVEN and GPIO_ODD.  However, from the software point
+ * of view, there are 16-additional interrupts generated from a second level
+ * of decoding.
  */
 
 #  define EFM32_IRQ_EXTI0   (EFM32_IRQ_NVECTORS + 0)  /* Port[n], pin0 external interrupt */
@@ -102,13 +106,13 @@
 #  define NR_IRQS           EFM32_IRQ_NVECTORS        /* Total number of interrupts */
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -119,9 +123,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/elf.h b/arch/arm/include/elf.h
index f6207b7..fb87e2c 100644
--- a/arch/arm/include/elf.h
+++ b/arch/arm/include/elf.h
@@ -26,14 +26,15 @@
 #define __ARCH_ARM_INCLUDE_ELF_H
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* 4.3.1 ELF Identification.  Should have:
  *
  * e_machine         = EM_ARM
  * e_ident[EI_CLASS] = ELFCLASS32
- * e_ident[EI_DATA]  = ELFDATA2LSB (little endian) or ELFDATA2MSB (big endian)
+ * e_ident[EI_DATA]  = ELFDATA2LSB (little endian) or
+ *                     ELFDATA2MSB (big endian)
  */
 
 #if 0 /* Defined in include/elf32.h */
@@ -65,9 +66,10 @@
  * S (when used on its own) is the address of the symbol.
  * A is the addend for the relocation.
  * P is the address of the place being relocated (derived from r_offset).
- * Pa is the adjusted address of the place being relocated, defined as (P & 0xFFFFFFFC).
- * T is 1 if the target symbol S has type STT_FUNC and the symbol addresses a Thumb instruction;
- *   it is 0 otherwise.
+ * Pa is the adjusted address of the place being relocated, defined as
+ *    (P & 0xFFFFFFFC).
+ * T is 1 if the target symbol S has type STT_FUNC and the symbol addresses
+ *   a Thumb instruction; it is 0 otherwise.
  * B(S) is the addressing origin of the output segment defining the symbol S.
  * GOT_ORG is the addressing origin of the Global Offset Table
  * GOT(S) is the address of the GOT entry for the symbol S.
diff --git a/arch/arm/include/eoss3/chip.h b/arch/arm/include/eoss3/chip.h
index 1fee037..4c80933 100644
--- a/arch/arm/include/eoss3/chip.h
+++ b/arch/arm/include/eoss3/chip.h
@@ -28,7 +28,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* EOS S3 Support 8 Levels of priority.
diff --git a/arch/arm/include/eoss3/irq.h b/arch/arm/include/eoss3/irq.h
index 133ab48..d4c7afc 100644
--- a/arch/arm/include/eoss3/irq.h
+++ b/arch/arm/include/eoss3/irq.h
@@ -28,7 +28,7 @@
 #include <arch/eoss3/chip.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* Common Processor Exceptions (vectors 0-15) */
diff --git a/arch/arm/include/imx1/irq.h b/arch/arm/include/imx1/irq.h
index 0935a09..125e13e 100644
--- a/arch/arm/include/imx1/irq.h
+++ b/arch/arm/include/imx1/irq.h
@@ -30,7 +30,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* i.MX1 Interrupts */
diff --git a/arch/arm/include/imx6/chip.h b/arch/arm/include/imx6/chip.h
index 88a3178..a5fd39f 100644
--- a/arch/arm/include/imx6/chip.h
+++ b/arch/arm/include/imx6/chip.h
@@ -28,8 +28,9 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
+
 /* The i.MX6 6Quad and 6Dual/DualLite are the only support i.MX6 family
  * members.  Individual differences between members of the families are not
  * accounted for.
@@ -108,7 +109,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Public Functions
+ * Public Functions Prototypes
  ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_IMX6_CHIP_H */
diff --git a/arch/arm/include/imx6/irq.h b/arch/arm/include/imx6/irq.h
index 93bee02..be6c8d3 100644
--- a/arch/arm/include/imx6/irq.h
+++ b/arch/arm/include/imx6/irq.h
@@ -18,8 +18,8 @@
  *
  ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly
- & through nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_IMX6_IRQ_H
@@ -30,7 +30,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* The Global Interrupt Controller (GIC) collects up to 128 interrupt
@@ -47,6 +47,7 @@
  */
 
 /* Private Peripheral Interrupts (PPI) **************************************/
+
 /* Each Cortex-A9 processor has private interrupts, ID0-ID15, that can only
  * be triggered by software. These interrupts are aliased so that there is
  * no requirement for a requesting Cortex-A9 processor to determine its own
diff --git a/arch/arm/include/imxrt/chip.h b/arch/arm/include/imxrt/chip.h
index 0843f83..6c3422d 100644
--- a/arch/arm/include/imxrt/chip.h
+++ b/arch/arm/include/imxrt/chip.h
@@ -1,4 +1,4 @@
-/*****************************************************************************
+/****************************************************************************
  * arch/arm/include/imxrt/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,20 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- *****************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_IMXRT_CHIP_H
 #define __ARCH_ARM_INCLUDE_IMXRT_CHIP_H
 
-/*****************************************************************************
+/****************************************************************************
  * Included Files
- *****************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/*****************************************************************************
- * Pre-processor Definitions
- *****************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Get customizations for each supported chip */
 
@@ -77,7 +77,8 @@
 #  error "Unknown i.MX RT chip type"
 #endif
 
-/* NVIC priority levels ******************************************************
+/* NVIC priority levels *****************************************************/
+
 /* Each priority field holds an 8-bit priority value, 0-15. The lower the
  * value, the greater the priority of the corresponding interrupt.  The i.MX
  * RT processor implements only bits[7:4] of each field, bits[3:0] read as
@@ -89,16 +90,16 @@
 #define NVIC_SYSH_PRIORITY_MAX        0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP       0x40 /* Two bits of interrupt pri used */
 
-/*****************************************************************************
+/****************************************************************************
  * Public Types
- *****************************************************************************/
+ ****************************************************************************/
 
-/*****************************************************************************
+/****************************************************************************
  * Public Data
- *****************************************************************************/
+ ****************************************************************************/
 
-/*****************************************************************************
- * Public Functions
- *****************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_IMXRT_CHIP_H */
diff --git a/arch/arm/include/imxrt/imxrt102x_irq.h b/arch/arm/include/imxrt/imxrt102x_irq.h
index ceca8a3..2918b57 100644
--- a/arch/arm/include/imxrt/imxrt102x_irq.h
+++ b/arch/arm/include/imxrt/imxrt102x_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/imxrt/imxrt102x_irq.h
  *
  *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
@@ -32,24 +32,24 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_IMXRT_IMXRT102X_IRQ_H
 #define __ARCH_ARM_INCLUDE_IMXRT_IMXRT102X_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* External interrupts (priority levels >= 256) *****************************************/
+/* External interrupts (priority levels >= 256) *****************************/
 
 #define IMXRT_IRQ_EDMA0_16     (IMXRT_IRQ_EXTINT + 0)   /* eDMA Channel 0/16 Transfer Complete */
 #define IMXRT_IRQ_EDMA1_17     (IMXRT_IRQ_EXTINT + 1)   /* eDMA Channel 1/17 Transfer Complete */
@@ -91,10 +91,14 @@
 #define IMXRT_IRQ_CAN2         (IMXRT_IRQ_EXTINT + 37)  /* CAN2 interrupt */
 #define IMXRT_IRQ_CM7FR        (IMXRT_IRQ_EXTINT + 38)  /* FlexRAM address fault */
 #define IMXRT_IRQ_KPP          (IMXRT_IRQ_EXTINT + 39)  /* Keypad Interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 40)  RESERVED */
 #define IMXRT_IRQ_GPRIRQ       (IMXRT_IRQ_EXTINT + 41)  /* Notify cores on exception while boot */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 42)  RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 43)  RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 44)  RESERVED */
 #define IMXRT_IRQ_WDOG2        (IMXRT_IRQ_EXTINT + 45)  /* Watchdog Timer reset */
 #define IMXRT_IRQ_SNVS         (IMXRT_IRQ_EXTINT + 46)  /* SNVS Functional Interrupt */
@@ -103,8 +107,10 @@
 #define IMXRT_IRQ_CSU          (IMXRT_IRQ_EXTINT + 49)  /* CSU Interrupt Request 1 */
 #define IMXRT_IRQ_DCP          (IMXRT_IRQ_EXTINT + 50)  /* DCP channel/CRC interrupts (channel != 0) */
 #define IMXRT_IRQ_DCP0         (IMXRT_IRQ_EXTINT + 51)  /* DCP channel 0 interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 52)  RESERVED */
 #define IMXRT_IRQ_TRNG         (IMXRT_IRQ_EXTINT + 53)  /* TRNG Interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 54)  RESERVED */
 #define IMXRT_IRQ_BEE          (IMXRT_IRQ_EXTINT + 55)  /* BEE IRQ */
 #define IMXRT_IRQ_SAI1         (IMXRT_IRQ_EXTINT + 56)  /* SAI1 interrupt (RX/TX) */
@@ -113,15 +119,19 @@
 #define IMXRT_IRQ_SAI3TX       (IMXRT_IRQ_EXTINT + 59)  /* SAI3 TX interrupt (RX/TX) */
 #define IMXRT_IRQ_SPDIF        (IMXRT_IRQ_EXTINT + 60)  /* SPDIF interrupt */
 #define IMXRT_IRQ_PMU          (IMXRT_IRQ_EXTINT + 61)  /* Brown-out event 1.1, 2.5 or 3.0 regulators */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 62)  RESERVED */
 #define IMXRT_IRQ_TEMP         (IMXRT_IRQ_EXTINT + 63)  /* Temperature Monitor */
 #define IMXRT_IRQ_TEMPPANIC    (IMXRT_IRQ_EXTINT + 64)  /* TempSensor panic */
 #define IMXRT_IRQ_USBPHY0      (IMXRT_IRQ_EXTINT + 65)  /* USBPHY (UTMI0) interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 66)  RESERVED */
 #define IMXRT_IRQ_ADC1         (IMXRT_IRQ_EXTINT + 67)  /* ADC1 interrupt */
 #define IMXRT_IRQ_ADC2         (IMXRT_IRQ_EXTINT + 68)  /* ADC2 interrupt */
 #define IMXRT_IRQ_DCDC         (IMXRT_IRQ_EXTINT + 69)  /* DCDC interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 70)  RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 71)  RESERVED */
 #define IMXRT_IRQ_GPIO1_0      (IMXRT_IRQ_EXTINT + 72)  /* GPIO1 INT0 interrupt */
 #define IMXRT_IRQ_GPIO1_1      (IMXRT_IRQ_EXTINT + 73)  /* GPIO1 INT1 interrupt */
@@ -137,11 +147,14 @@
 #define IMXRT_IRQ_GPIO2_16_31  (IMXRT_IRQ_EXTINT + 83)  /* GPIO2 INT16-31 interrupt */
 #define IMXRT_IRQ_GPIO3_0_15   (IMXRT_IRQ_EXTINT + 84)  /* GPIO3 INT0-15 interrupt */
 #define IMXRT_IRQ_GPIO3_16_31  (IMXRT_IRQ_EXTINT + 85)  /* GPIO3 INT16-31 interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 86)  RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 87)  RESERVED */
 #define IMXRT_IRQ_GPIO5_0_15   (IMXRT_IRQ_EXTINT + 88)  /* GPIO5 INT0-15 interrupt */
 #define IMXRT_IRQ_GPIO5_16_31  (IMXRT_IRQ_EXTINT + 89)  /* GPIO5 INT16-31 interrupt */
 #define IMXRT_IRQ_FLEXIO1      (IMXRT_IRQ_EXTINT + 90)  /* FlexIO Interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 91)  RESERVED */
 #define IMXRT_IRQ_WDOG1        (IMXRT_IRQ_EXTINT + 92)  /* Watchdog Timer reset */
 #define IMXRT_IRQ_RTWDOG       (IMXRT_IRQ_EXTINT + 93)  /* Watchdog Timer reset */
@@ -150,6 +163,7 @@
 #define IMXRT_IRQ_CCM_2        (IMXRT_IRQ_EXTINT + 96)  /* CCM interrupt 2 */
 #define IMXRT_IRQ_GPC          (IMXRT_IRQ_EXTINT + 97)  /* GPC interrupt 1 */
 #define IMXRT_IRQ_SRC          (IMXRT_IRQ_EXTINT + 98)  /* SRC interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 99)  RESERVED */
 #define IMXRT_IRQ_GPT1         (IMXRT_IRQ_EXTINT + 100) /* GPT1 interrupt */
 #define IMXRT_IRQ_GPT2         (IMXRT_IRQ_EXTINT + 101) /* GPT2 interrupt */
@@ -158,11 +172,13 @@
 #define IMXRT_IRQ_FLEXPWM1_2   (IMXRT_IRQ_EXTINT + 104) /* FLEXPWM1 capture/compare/reload 2 interrupt */
 #define IMXRT_IRQ_FLEXPWM1_3   (IMXRT_IRQ_EXTINT + 105) /* FLEXPWM1 capture/compare/reload 3 interrupt */
 #define IMXRT_IRQ_FLEXPWM1_F   (IMXRT_IRQ_EXTINT + 106) /* FLEXPWM1 fault interrupt OR reload error */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 107) RESERVED */
 #define IMXRT_IRQ_FLEXSPI      (IMXRT_IRQ_EXTINT + 108) /* FlexSPI interrupt */
 #define IMXRT_IRQ_SEMC         (IMXRT_IRQ_EXTINT + 109) /* SEMC interrupt */
 #define IMXRT_IRQ_USDHC1       (IMXRT_IRQ_EXTINT + 110) /* USDHC1 interrupt */
 #define IMXRT_IRQ_USDHC2       (IMXRT_IRQ_EXTINT + 111) /* USDHC2 interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 112) RESERVED */
 #define IMXRT_IRQ_USBOTG1      (IMXRT_IRQ_EXTINT + 113) /* USBO2 USB OTG1 interrupt */
 #define IMXRT_IRQ_ENET         (IMXRT_IRQ_EXTINT + 114) /* ENET MAC 0 interrupt */
@@ -178,49 +194,73 @@
 #define IMXRT_IRQ_ACMP2        (IMXRT_IRQ_EXTINT + 124) /* ACMP2 interrupt */
 #define IMXRT_IRQ_ACMP3        (IMXRT_IRQ_EXTINT + 125) /* ACMP3 interrupt */
 #define IMXRT_IRQ_ACMP4        (IMXRT_IRQ_EXTINT + 126) /* ACMP4 interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 127) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 128) RESERVED */
 #define IMXRT_IRQ_ENC1         (IMXRT_IRQ_EXTINT + 129) /* ENC1 interrupt */
 #define IMXRT_IRQ_ENC2         (IMXRT_IRQ_EXTINT + 130) /* ENC2 interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 131) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 132) RESERVED */
 #define IMXRT_IRQ_QTIMER1      (IMXRT_IRQ_EXTINT + 133) /* QTIMER1 timer 0-3 interrupt */
 #define IMXRT_IRQ_QTIMER2      (IMXRT_IRQ_EXTINT + 134) /* QTIMER2 timer 0-3 interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 135) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 136) RESERVED */
 #define IMXRT_IRQ_FLEXPWM2_0   (IMXRT_IRQ_EXTINT + 137) /* FLEXPWM2 capture/compare/reload 0 interrupt */
 #define IMXRT_IRQ_FLEXPWM2_1   (IMXRT_IRQ_EXTINT + 138) /* FLEXPWM2 capture/compare/reload 1 interrupt */
 #define IMXRT_IRQ_FLEXPWM2_2   (IMXRT_IRQ_EXTINT + 139) /* FLEXPWM2 capture/compare/reload 1 interrupt */
 #define IMXRT_IRQ_FLEXPWM2_3   (IMXRT_IRQ_EXTINT + 140) /* FLEXPWM2 capture/compare/reload 3 interrupt */
 #define IMXRT_IRQ_FLEXPWM2_F   (IMXRT_IRQ_EXTINT + 141) /* FLEXPWM2 fault interrupt */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 142) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 143) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 144) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 146) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 147) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 148) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 149) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 150) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 151) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 152) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 153) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 154) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 155) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 156) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 157) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 158) RESERVED */
+
 /* RESERVED                    (IMXRT_IRQ_EXTINT + 159) RESERVED */
 
 #define IMXRT_IRQ_NEXTINT      160
 
-/* GPIO second level interrupt **********************************************************/
+/* GPIO second level interrupt **********************************************/
 
 #define IMXRT_GPIO_IRQ_FIRST   (IMXRT_IRQ_EXTINT + IMXRT_IRQ_NEXTINT)
 #define _IMXRT_GPIO1_0_15_BASE IMXRT_GPIO_IRQ_FIRST
 
 #ifdef CONFIG_IMXRT_GPIO1_0_15_IRQ
   /* GPIO1 has dedicated interrupts for pins 0-7
-   * REVISIT:  I am assuming that you really cannot use the dedicated and the multiplex
+   * REVISIT:
+   * I am assuming that you really cannot use the dedicated and the multiplex
    * interrupts concurrently.
    */
 
@@ -431,25 +471,25 @@
                                 IMXRT_GPIO3_NIRQS + IMXRT_GPIO5_NIRQS)
 #define IMXRT_GPIO_IRQ_LAST    (_IMXRT_GPIO1_0_15_BASE + IMXRT_GPIO_NIRQS)
 
-/* Total number of IRQ numbers **********************************************************/
+/* Total number of IRQ numbers **********************************************/
 
 #define NR_IRQS                (IMXRT_IRQ_EXTINT + IMXRT_IRQ_NEXTINT + IMXRT_GPIO_NIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/imxrt/imxrt105x_irq.h b/arch/arm/include/imxrt/imxrt105x_irq.h
index b6a5c18..8f9a134 100644
--- a/arch/arm/include/imxrt/imxrt105x_irq.h
+++ b/arch/arm/include/imxrt/imxrt105x_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/imxrt/imxrt105x_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,24 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_IMXRT_IMXRT105X_IRQ_H
 #define __ARCH_ARM_INCLUDE_IMXRT_IMXRT105X_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* External interrupts (priority levels >= 256) *****************************************/
+/* External interrupts (priority levels >= 256) *****************************/
 
 #define IMXRT_IRQ_EDMA0_16     (IMXRT_IRQ_EXTINT + 0)   /* eDMA Channel 0/16 Transfer Complete */
 #define IMXRT_IRQ_EDMA1_17     (IMXRT_IRQ_EXTINT + 1)   /* eDMA Channel 1/17 Transfer Complete */
@@ -197,14 +197,15 @@
 
 #define IMXRT_IRQ_NEXTINT      160
 
-/* GPIO second level interrupt **********************************************************/
+/* GPIO second level interrupt **********************************************/
 
 #define IMXRT_GPIO_IRQ_FIRST   (IMXRT_IRQ_EXTINT + IMXRT_IRQ_NEXTINT)
 #define _IMXRT_GPIO1_0_15_BASE IMXRT_GPIO_IRQ_FIRST
 
 #ifdef CONFIG_IMXRT_GPIO1_0_15_IRQ
   /* GPIO1 has dedicated interrupts for pins 0-7
-   * REVISIT:  I am assuming that you really cannot use the dedicated and the multiplex
+   * REVISIT:
+   * I am assuming that you really cannot use the dedicated and the multiplex
    * interrupts concurrently.
    */
 
@@ -465,25 +466,25 @@
                                 IMXRT_GPIO5_NIRQS)
 #define IMXRT_GPIO_IRQ_LAST    (_IMXRT_GPIO1_0_15_BASE + IMXRT_GPIO_NIRQS)
 
-/* Total number of IRQ numbers **********************************************************/
+/* Total number of IRQ numbers **********************************************/
 
 #define NR_IRQS                (IMXRT_IRQ_EXTINT + IMXRT_IRQ_NEXTINT + IMXRT_GPIO_NIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/imxrt/imxrt106x_irq.h b/arch/arm/include/imxrt/imxrt106x_irq.h
index 183ceb3..00d443c 100644
--- a/arch/arm/include/imxrt/imxrt106x_irq.h
+++ b/arch/arm/include/imxrt/imxrt106x_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/imxrt/imxrt106x_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,24 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_IMXRT_IMXRT106X_IRQ_H
 #define __ARCH_ARM_INCLUDE_IMXRT_IMXRT106X_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* External interrupts (priority levels >= 256) *****************************************/
+/* External interrupts (priority levels >= 256) *****************************/
 
 #define IMXRT_IRQ_EDMA0_16     (IMXRT_IRQ_EXTINT + 0)   /* eDMA Channel 0/16 Transfer Complete */
 #define IMXRT_IRQ_EDMA1_17     (IMXRT_IRQ_EXTINT + 1)   /* eDMA Channel 1/17 Transfer Complete */
@@ -190,21 +190,22 @@
 #define IMXRT_IRQ_ENET2_1588   (IMXRT_IRQ_EXTINT + 153) /* ENET2 MAC 0 1588 Timer Interrupt */
 #define IMXRT_IRQ_CAN3         (IMXRT_IRQ_EXTINT + 154) /* CAN3 interrupt */
 #define IMXRT_IRQ_RESERVED155  (IMXRT_IRQ_EXTINT + 155) /* Reserved */
-#define IMXRT_IRQ_FLEXIO3      (IMXRT_IRQ_EXTINT + 156)  /* IPI compare interrupt */
+#define IMXRT_IRQ_FLEXIO3      (IMXRT_IRQ_EXTINT + 156) /* IPI compare interrupt */
 #define IMXRT_IRQ_GPIO_6789    (IMXRT_IRQ_EXTINT + 157) /* GPIO {6789} or'ed Interrupt */
 #define IMXRT_IRQ_RESERVED158  (IMXRT_IRQ_EXTINT + 158) /* Reserved */
 #define IMXRT_IRQ_RESERVED159  (IMXRT_IRQ_EXTINT + 159) /* Reserved */
 
 #define IMXRT_IRQ_NEXTINT      160
 
-/* GPIO second level interrupt **********************************************************/
+/* GPIO second level interrupt **********************************************/
 
 #define IMXRT_GPIO_IRQ_FIRST   (IMXRT_IRQ_EXTINT + IMXRT_IRQ_NEXTINT)
 #define _IMXRT_GPIO1_0_15_BASE IMXRT_GPIO_IRQ_FIRST
 
 #ifdef CONFIG_IMXRT_GPIO1_0_15_IRQ
   /* GPIO1 has dedicated interrupts for pins 0-7
-   * REVISIT:  I am assuming that you really cannot use the dedicated and the multiplex
+   * REVISIT:
+   * I am assuming that you really cannot use the dedicated and the multiplex
    * interrupts concurrently.
    */
 
@@ -671,25 +672,25 @@
                                 IMXRT_GPIO9_NIRQS )
 #define IMXRT_GPIO_IRQ_LAST    (_IMXRT_GPIO1_0_15_BASE + IMXRT_GPIO_NIRQS)
 
-/* Total number of IRQ numbers **********************************************************/
+/* Total number of IRQ numbers **********************************************/
 
 #define NR_IRQS                (IMXRT_IRQ_EXTINT + IMXRT_IRQ_NEXTINT + IMXRT_GPIO_NIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/imxrt/irq.h b/arch/arm/include/imxrt/irq.h
index 6c4affa..98353ae 100644
--- a/arch/arm/include/imxrt/irq.h
+++ b/arch/arm/include/imxrt/irq.h
@@ -18,23 +18,33 @@
  *
  ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly
- * through nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_IMXRT_IRQ_H
 #define __ARCH_ARM_INCLUDE_IMXRT_IRQ_H
 
-/*****************************************************************************
+/****************************************************************************
  * Included Files
- *****************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/imxrt/chip.h>
 
-/*****************************************************************************
- * Pre-processor Definitions
- *****************************************************************************/
+#if defined(CONFIG_ARCH_FAMILY_IMXRT102x)
+#  include <arch/imxrt/imxrt102x_irq.h>
+#elif defined(CONFIG_ARCH_FAMILY_IMXRT105x)
+#  include <arch/imxrt/imxrt105x_irq.h>
+#elif defined(CONFIG_ARCH_FAMILY_IMXRT106x)
+#  include <arch/imxrt/imxrt106x_irq.h>
+#else
+#  error Unrecognized i.MX RT architecture
+#endif
+
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
  * directly to bits in the NVIC.  This does, however, waste several words
@@ -44,11 +54,11 @@
 /* Common Processor Exceptions (vectors 0-15) */
 
 #define IMXRT_IRQ_RESERVED       (0) /* Reserved vector .. only used with
-                                        CONFIG_DEBUG_FEATURES */
+                                      * CONFIG_DEBUG_FEATURES */
 
-                                     /* Vector  0: Reset stack pointer value */
+                                     /* Vector 0: Reset stack pointer value */
 
-                                     /* Vector  1: Reset (not handled by IRQ) */
+                                     /* Vector 1: Reset(not handled by IRQ) */
 
 #define IMXRT_IRQ_NMI            (2) /* Vector  2: Non-Maskable Int (NMI) */
 #define IMXRT_IRQ_HARDFAULT      (3) /* Vector  3: Hard fault */
@@ -68,16 +78,6 @@
 
 #define IMXRT_IRQ_EXTINT        (16) /* Vector number of the first ext int */
 
-#if defined(CONFIG_ARCH_FAMILY_IMXRT102x)
-#  include <arch/imxrt/imxrt102x_irq.h>
-#elif defined(CONFIG_ARCH_FAMILY_IMXRT105x)
-#  include <arch/imxrt/imxrt105x_irq.h>
-#elif defined(CONFIG_ARCH_FAMILY_IMXRT106x)
-#  include <arch/imxrt/imxrt106x_irq.h>
-#else
-#  error Unrecognized i.MX RT architecture
-#endif
-
 /****************************************************************************
  * Public Types
  ****************************************************************************/
diff --git a/arch/arm/include/inttypes.h b/arch/arm/include/inttypes.h
index f47ac32..b06561d 100644
--- a/arch/arm/include/inttypes.h
+++ b/arch/arm/include/inttypes.h
@@ -41,7 +41,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 #define PRId8       "d"
diff --git a/arch/arm/include/kinetis/chip.h b/arch/arm/include/kinetis/chip.h
index 887cdf5..435ec2a3 100644
--- a/arch/arm/include/kinetis/chip.h
+++ b/arch/arm/include/kinetis/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,14 +16,14 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_CHIP_H
 #define __ARCH_ARM_INCLUDE_KINETIS_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/kinetis/kinetis_dma.h>
@@ -33,9 +33,9 @@
 #include <arch/kinetis/kinetis_pmc.h>
 #include <arch/kinetis/kinetis_lpuart.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Get customizations for each supported chip */
 
@@ -1581,10 +1581,12 @@
 #  error "Unsupported Kinetis chip"
 #endif
 
-/* NVIC priority levels *************************************************************/
-/* Each priority field holds a priority value, 0-15. The lower the value, the greater
- * the priority of the corresponding interrupt. The processor implements only
- * bits[7:4] of each field, bits[3:0] read as zero and ignore writes.
+/* NVIC priority levels *****************************************************/
+
+/* Each priority field holds a priority value, 0-15. The lower the value,
+ * the greater the priority of the corresponding interrupt. The processor
+ * implements only bits[7:4] of each field, bits[3:0] read as zero and ignore
+ * writes.
  */
 
 #define NVIC_SYSH_PRIORITY_MIN     0xf0 /* All bits[7:4] set is minimum priority */
@@ -1592,16 +1594,16 @@
 #define NVIC_SYSH_PRIORITY_MAX     0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP    0x10 /* Steps between supported priority values */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_KINETIS_CHIP_H */
diff --git a/arch/arm/include/kinetis/irq.h b/arch/arm/include/kinetis/irq.h
index a956211..b57389a 100644
--- a/arch/arm/include/kinetis/irq.h
+++ b/arch/arm/include/kinetis/irq.h
@@ -18,26 +18,27 @@
  *
  ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly
- * through nuttx/irq.h
+/* This file should never be included directly but, rather, only
+ * indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_IRQ_H
 #define __ARCH_ARM_INCLUDE_KINETIS_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <nuttx/irq.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to bits in
+ * the NVIC.  This does, however, waste several words of memory in the IRQ
  * to handle mapping tables.
  */
 
@@ -58,7 +59,9 @@
 #define KINETIS_IRQ_PENDSV        (14)  /* Vector 14: Pendable system service request */
 #define KINETIS_IRQ_SYSTICK       (15)  /* Vector 15: System tick */
 
-/* External interrupts (vectors >= 16).  These definitions are chip-specific */
+/* External interrupts (vectors >= 16).
+ * These definitions are chip-specific
+ */
 
 #define KINETIS_IRQ_FIRST        (16) /* Vector number of the first external interrupt */
 
@@ -75,22 +78,22 @@
 #elif defined(CONFIG_ARCH_FAMILY_K66)
 #  include <arch/kinetis/kinetis_k66irq.h>
 #else
-  /* The interrupt vectors for other parts are defined in other documents and may or
-   * may not be the same as above (the family members are all very similar)  This
-   * error just means that you have to look at the document and determine for yourself
-   * if the vectors are the same.
-   */
+/* The interrupt vectors for other parts are defined in other documents and
+ * may or may not be the same as above (the family members are all very
+ * similar)  This error just means that you have to look at the document and
+ * determine for yourself if the vectors are the same.
+ */
 
 #  error "No IRQ numbers for this Kinetis K part"
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -101,9 +104,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/kinetis/kinetis_dma.h b/arch/arm/include/kinetis/kinetis_dma.h
index f3d1418..b4da077 100644
--- a/arch/arm/include/kinetis/kinetis_dma.h
+++ b/arch/arm/include/kinetis/kinetis_dma.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_dma.h
  *
  *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
@@ -31,26 +31,27 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_DMA_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_DMA_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* Note: It is envisioned that in the long term as a chip is added. The author of
- * the new chip definitions will either find the exact configuration in an existing
- * chip define and add the new chip to it Or add the DMA feature configuration
- * #defines to the chip ifdef list below. In either case the author should mark
- * it as "Verified to Document Number:" taken from the reference manual.
+/* Note: It is envisioned that in the long term as a chip is added. The
+ * author of the new chip definitions will either find the exact
+ * configuration in an existing chip define and add the new chip to it Or add
+ * the DMA feature configuration #defines to the chip ifdef list below. In
+ * either case the author should mark it as "Verified to Document Number:"
+ * taken from the reference manual.
  */
 
 /* DMA Register Configuration
@@ -72,9 +73,12 @@
  * KINETIS_DMA_HAS_DCHPRI_CHPRI_BITS          - DMA has 4 bit DCHPRI[DCHPRI]
  * KINETIS_DMA_HAS_DCHPRI_GRPPRI              - DMA has DCHPRI[GRPPRI]
  * KINETIS_DMA_HAS_EARS                       - DMA has EARS Register
- * KINETIS_DMA_HAS_TCD_CITER1_LINKCH_BITS     - DMA has 4 bit TCD_CITER[LINKCH]
- * KINETIS_DMA_HAS_TCD_CSR_MAJORLINKCH_BITS   - DMA has 4 bit TCD_CSR[MAJORLINKCH]
- * KINETIS_DMA_HAS_TCD_BITER1_LINKCH_BITS     - DMA has 4 bit TCD_BITER[LINKCH]
+ * KINETIS_DMA_HAS_TCD_CITER1_LINKCH_BITS     - DMA has 4 bit
+ *                                                  TCD_CITER[LINKCH]
+ * KINETIS_DMA_HAS_TCD_CSR_MAJORLINKCH_BITS   - DMA has 4 bit
+ *                                                  TCD_CSR[MAJORLINKCH]
+ * KINETIS_DMA_HAS_TCD_BITER1_LINKCH_BITS     - DMA has 4 bit
+ *                                                  TCD_BITER[LINKCH]
  */
 
 /* Describe the version of the DMA
@@ -119,7 +123,6 @@
 
 #  define KINETIS_DMA_VERSION KINETIS_DMA_VERSION_01
 
-
 /* MK66F N/X 1M0/2M0 V MD/LQ 18
  *
  *  --------------- ------- --- ------- ------- ------ ------ ------ -----
@@ -135,15 +138,17 @@
 #elif defined(CONFIG_ARCH_CHIP_MK66FN2M0VMD18) || defined(CONFIG_ARCH_CHIP_MK66FX1M0VMD18) || \
       defined(CONFIG_ARCH_CHIP_MK66FN2M0VLQ18) || defined(CONFIG_ARCH_CHIP_MK66FX1M0VLQ18)
 
-/* Verified to Document Number: Document Number: K66P144M180SF5RMV2 Rev. 2, May 2015 */
+/* Verified to Document Number:
+ * Document Number: K66P144M180SF5RMV2 Rev. 2, May 2015
+ */
 
 #  define KINETIS_DMA_VERSION KINETIS_DMA_VERSION_02
 #else
 #  define KINETIS_DMA_VERSION KINETIS_DMA_VERSION_UKN
 #endif
 
-/* Use the catch all configuration for the DMA based on the implementations in nuttx
- * prior 8/10/2018
+/* Use the catch all configuration for the DMA based on
+ * the implementations in nuttx prior 8/10/2018
  */
 
 #if KINETIS_DMA_VERSION == KINETIS_DMA_VERSION_UKN
diff --git a/arch/arm/include/kinetis/kinetis_dmamux.h b/arch/arm/include/kinetis/kinetis_dmamux.h
index 5777b32..113064b 100644
--- a/arch/arm/include/kinetis/kinetis_dmamux.h
+++ b/arch/arm/include/kinetis/kinetis_dmamux.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_dmamux.h
  *
  *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
@@ -31,31 +31,34 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_DMAMUX_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_DMAMUX_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
-
-/* Note: It is envisioned that in the long term as a chip is added. The author of
- * the new chip definitions will either find the exact configuration in an existing
- * chip define and add the new chip to it Or add the DMAMUX feature configuration
- * #defines to the chip ifdef list below. In either case the author should mark
- * it as "Verified to Document Number:" taken from the reference manual.
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
+
+/* Note:
+ * It is envisioned that in the long term as a chip is added. The author of
+ * the new chip definitions will either find the exact configuration in an
+ * existing chip define and add the new chip to it Or add the DMAMUX feature
+ * configuration #defines to the chip ifdef list below. In either case the
+ * author should mark it as "Verified to Document Number:" taken from the
+ * reference manual.
  */
 
 /* DMAMUX Register Configuration
  *
- * KINETIS_DMAMUX_HAS_MONOTONIC_CHCFG    0|1    - SoC has reg in 0,1,2..KINETIS_NDMACH
+ * KINETIS_DMAMUX_HAS_MONOTONIC_CHCFG    0|1
+ *   - SoC has reg in 0,1,2..KINETIS_NDMACH
  */
 
 /* Describe the version of the DMA
@@ -115,7 +118,9 @@
 #elif defined(CONFIG_ARCH_CHIP_MK66FN2M0VMD18) || defined(CONFIG_ARCH_CHIP_MK66FX1M0VMD18) || \
       defined(CONFIG_ARCH_CHIP_MK66FN2M0VLQ18) || defined(CONFIG_ARCH_CHIP_MK66FX1M0VLQ18)
 
-/* Verified to Document Number: Document Number: K66P144M180SF5RMV2 Rev. 2, May 2015 */
+/* Verified to Document Number:
+ * Document Number: K66P144M180SF5RMV2 Rev. 2, May 2015
+ */
 
 #  define KINETIS_DMAMUX_VERSION KINETIS_DMAMUX_VERSION_02
 
@@ -123,8 +128,8 @@
 #  define KINETIS_DMAMUX_VERSION KINETIS_DMAMUX_VERSION_UKN
 #endif
 
-/* Use the catch all configuration for the DMAMUX based on the implementations in
- * nuttx prior 8/10/2018
+/* Use the catch all configuration for the DMAMUX based on the
+ * implementations in nuttx prior 8/10/2018
  */
 
 #if KINETIS_DMA_VERSION == KINETIS_DMAMUX_VERSION_01
diff --git a/arch/arm/include/kinetis/kinetis_k20irq.h b/arch/arm/include/kinetis/kinetis_k20irq.h
index 384b0b2..e46bcad 100644
--- a/arch/arm/include/kinetis/kinetis_k20irq.h
+++ b/arch/arm/include/kinetis/kinetis_k20irq.h
@@ -1,4 +1,4 @@
-/**************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_k20irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,7 +16,7 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- *************************************************************************************/
+ ****************************************************************************/
 
 /* This file should never be included directly but, rather, only indirectly
  * through nuttx/irq.h
@@ -25,26 +25,26 @@
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_K20IRQ_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_K20IRQ_H
 
-/**************************************************************************************
+/****************************************************************************
  * Included Files
- *************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/**************************************************************************************
- * Pre-processor Definitions
- *************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
  * directly to bits in the NVIC.  This does, however, waste several words of
  * memory in the IRQ to handle mapping tables.
  *
- * Processor Exceptions (vectors 0-15).  These common definitions can be found
+ * Processor Exceptions (vectors 0-15). These common definitions can be found
  * in the file nuttx/arch/arm/include/kinets/irq.h which includes this file
  *
  * External interrupts (vectors >= 16)
  *
- * K20 Family *************************************************************************
+ * K20 Family ***************************************************************
  *
  * The interrupt vectors  for the following parts is defined in Freescale
  * document K20P64M72SF1RM
@@ -148,19 +148,20 @@
 #define KINETIS_IRQ_SWI      (KINETIS_IRQ_FIRST + 94)  /* 94: Software interrupt */
 
 #define KINETIS_IRQ_NEXTINTS 95                        /* 95 Non core IRQs */
+
 #define KINETIS_IRQ_NVECTORS (KINETIS_IRQ_FIRST + KINETIS_IRQ_NEXTINTS) /* 111 vectors */
 
 /* EXTI interrupts (Do not use IRQ numbers) */
 
 #define NR_IRQS              KINETIS_IRQ_NVECTORS
 
-/**************************************************************************************
+/****************************************************************************
  * Public Types
- *************************************************************************************/
+ ****************************************************************************/
 
-/**************************************************************************************
+/****************************************************************************
  * Public Data
- *************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -171,9 +172,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/**************************************************************************************
- * Public Functions
- *************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/kinetis/kinetis_k28irq.h b/arch/arm/include/kinetis/kinetis_k28irq.h
index c0c4749..0c8bbdd 100644
--- a/arch/arm/include/kinetis/kinetis_k28irq.h
+++ b/arch/arm/include/kinetis/kinetis_k28irq.h
@@ -1,4 +1,4 @@
-/*********************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_k28irq.h
  *
  *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
@@ -31,35 +31,35 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ********************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly
- * through nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_K28IRQ_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_K28IRQ_H
 
-/*********************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/*********************************************************************************************
- * Pre-processor Definitions
- ********************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
  * directly to bits in the NVIC.  This does, however, waste several words of
  * memory in the IRQ to handle mapping tables.
  *
- * Processor Exceptions (vectors 0-15).  These common definitions can be found
+ * Processor Exceptions (vectors 0-15). These common definitions can be found
  * in the file nuttx/arch/arm/include/kinets/irq.h which includes this file
  *
  * External interrupts (vectors >= 16)
  *
- * K28 Family ********************************************************************************
+ * K28 Family ***************************************************************
  *
  * The interrupt vectors  for the following parts is defined in Freescale
  * document K28P210M150SF5RM
@@ -186,19 +186,20 @@
 #define KINETIS_IRQ_RESVD106 (KINETIS_IRQ_FIRST + 106) /* 106: Reserved */
 
 #define KINETIS_IRQ_NEXTINTS 107                       /* 107 Non core IRQs */
+
 #define KINETIS_IRQ_NVECTORS (KINETIS_IRQ_FIRST + KINETIS_IRQ_NEXTINTS) /* 123 vectors */
 
 /* EXTI interrupts (Do not use IRQ numbers) */
 
 #define NR_IRQS              KINETIS_IRQ_NVECTORS
 
-/*********************************************************************************************
+/****************************************************************************
  * Public Types
- ********************************************************************************************/
+ ****************************************************************************/
 
-/*********************************************************************************************
+/****************************************************************************
  * Public Data
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -209,9 +210,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/*********************************************************************************************
- * Public Functions
- ********************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/kinetis/kinetis_k40irq.h b/arch/arm/include/kinetis/kinetis_k40irq.h
index fa6938e..b33a844 100644
--- a/arch/arm/include/kinetis/kinetis_k40irq.h
+++ b/arch/arm/include/kinetis/kinetis_k40irq.h
@@ -1,4 +1,4 @@
-/*************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_k40irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,35 +16,35 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly
- * through nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_40KIRQ_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_40KIRQ_H
 
-/*************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/*************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
  * directly to bits in the NVIC.  This does, however, waste several words of
  * memory in the IRQ to handle mapping tables.
  *
- * Processor Exceptions (vectors 0-15).  These common definitions can be found
+ * Processor Exceptions (vectors 0-15). These common definitions can be found
  * in the file nuttx/arch/arm/include/kinets/irq.h which includes this file
  *
  * External interrupts (vectors >= 16)
  *
- * K40 Family ************************************************************************
+ * K40 Family ***************************************************************
  *
  * The interrupt vectors  for the following parts is defined in Freescale
  * document K40P144M100SF2RM
@@ -148,19 +148,20 @@
 #define KINETIS_IRQ_SWI      (KINETIS_IRQ_FIRST + 94)  /* 94: Software interrupt */
 
 #define KINETIS_IRQ_NEXTINTS 95                        /* 95 Non core IRQs */
+
 #define KINETIS_IRQ_NVECTORS (KINETIS_IRQ_FIRST + KINETIS_IRQ_NEXTINTS) /* 111 vectors */
 
 /* EXTI interrupts (Do not use IRQ numbers) */
 
 #define NR_IRQS              KINETIS_IRQ_NVECTORS
 
-/*************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/*************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -171,9 +172,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/*************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/kinetis/kinetis_k60irq.h b/arch/arm/include/kinetis/kinetis_k60irq.h
index 7ba22a1..6b134a5 100644
--- a/arch/arm/include/kinetis/kinetis_k60irq.h
+++ b/arch/arm/include/kinetis/kinetis_k60irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_k60irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,35 +16,35 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly
- * through nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_60KIRQ_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_60KIRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
  * directly to bits in the NVIC.  This does, however, waste several words of
  * memory in the IRQ to handle mapping tables.
  *
- * Processor Exceptions (vectors 0-15).  These common definitions can be found
+ * Processor Exceptions (vectors 0-15). These common definitions can be found
  * in the file nuttx/arch/arm/include/kinets/irq.h which includes this file
  *
  * External interrupts (vectors >= 16)
  *
- * K60 Family ************************************************************************
+ * K60 Family ***************************************************************
  *
  * The interrupt vectors  for the following parts is defined in Freescale
  * document K60P144M100SF2RM
@@ -148,19 +148,20 @@
 #define KINETIS_IRQ_SWI      (KINETIS_IRQ_FIRST + 94)  /* 94: Software interrupt */
 
 #define KINETIS_IRQ_NEXTINTS 95                        /* 95 Non core IRQs */
+
 #define KINETIS_IRQ_NVECTORS (KINETIS_IRQ_FIRST + KINETIS_IRQ_NEXTINTS) /* 111 vectors */
 
 /* EXTI interrupts (Do not use IRQ numbers) */
 
 #define NR_IRQS              KINETIS_IRQ_NVECTORS
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -171,9 +172,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/kinetis/kinetis_k64irq.h b/arch/arm/include/kinetis/kinetis_k64irq.h
index 898fa5d..e72ec12 100644
--- a/arch/arm/include/kinetis/kinetis_k64irq.h
+++ b/arch/arm/include/kinetis/kinetis_k64irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_k64irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,35 +16,35 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly
- * through nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_64KIRQ_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_64KIRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
  * directly to bits in the NVIC.  This does, however, waste several words of
  * memory in the IRQ to handle mapping tables.
  *
- * Processor Exceptions (vectors 0-15).  These common definitions can be found
+ * Processor Exceptions (vectors 0-15). These common definitions can be found
  * in the file nuttx/arch/arm/include/kinets/irq.h which includes this file
  *
  * External interrupts (vectors >= 16)
  *
- * K60 Family ************************************************************************
+ * K60 Family ***************************************************************
  *
  * The interrupt vectors  for the following parts is defined in Freescale
  * document K64P144M120SF5RM.pdf
@@ -138,19 +138,20 @@
 #define KINETIS_IRQ_EMACMISC (KINETIS_IRQ_FIRST + 85)  /* 85: Ethernet MAC error and misc interrupt */
 
 #define KINETIS_IRQ_NEXTINTS 86                        /* 86 Non core IRQs */
+
 #define KINETIS_IRQ_NVECTORS (KINETIS_IRQ_FIRST + KINETIS_IRQ_NEXTINTS) /* 102 vectors */
 
 /* EXTI interrupts (Do not use IRQ numbers) */
 
 #define NR_IRQS              KINETIS_IRQ_NVECTORS
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -161,9 +162,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/kinetis/kinetis_k66irq.h b/arch/arm/include/kinetis/kinetis_k66irq.h
index 957e9de..d20e523 100644
--- a/arch/arm/include/kinetis/kinetis_k66irq.h
+++ b/arch/arm/include/kinetis/kinetis_k66irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_k66irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,35 +16,35 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly
- * through nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_K66IRQ_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_K66IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
  * directly to bits in the NVIC.  This does, however, waste several words of
  * memory in the IRQ to handle mapping tables.
  *
- * Processor Exceptions (vectors 0-15).  These common definitions can be found
+ * Processor Exceptions (vectors 0-15). These common definitions can be found
  * in the file nuttx/arch/arm/include/kinets/irq.h which includes this file
  *
  * External interrupts (vectors >= 16)
  *
- * K66 Family ************************************************************************
+ * K66 Family ***************************************************************
  *
  * The interrupt vectors  for the following parts is defined in Freescale
  * document K66P144M180SF5RMV2
@@ -152,21 +152,21 @@
 #define KINETIS_IRQ_CAN1RW   (KINETIS_IRQ_FIRST + 98)  /* 98: CAN1 Receive Warning */
 #define KINETIS_IRQ_CAN1WU   (KINETIS_IRQ_FIRST + 99)  /* 99: CAN1 Wake UP */
 
-
 #define KINETIS_IRQ_NEXTINTS 100                       /* 100 Non core IRQs*/
+
 #define KINETIS_IRQ_NVECTORS (KINETIS_IRQ_FIRST + KINETIS_IRQ_NEXTINTS) /* 116 vectors */
 
 /* EXTI interrupts (Do not use IRQ numbers) */
 
 #define NR_IRQS              KINETIS_IRQ_NVECTORS
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -177,9 +177,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/kinetis/kinetis_lpuart.h b/arch/arm/include/kinetis/kinetis_lpuart.h
index 9c9ff70..c856fdc 100644
--- a/arch/arm/include/kinetis/kinetis_lpuart.h
+++ b/arch/arm/include/kinetis/kinetis_lpuart.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_lpuart.h
  *
  *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
@@ -31,36 +31,38 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_LPUART_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_LPUART_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
 #include "chip.h"
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
-
-/* Note: It is envisioned that in the long term as a chip is added. The author of
- * the new chip definitions will either find the exact configuration in an existing
- * chip define and add the new chip to it Or add the LPUART feature configuration
- * #defines to the chip ifdef list below. In either case the author should mark
- * it as "Verified to Document Number:" taken from the reference manual.
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
+
+/* Note:
+ * It is envisioned that in the long term as a chip is added. The author of
+ * the new chip definitions will either find the exact configuration in an
+ * existing chip define and add the new chip to it Or add the LPUART feature
+ * configuration #defines to the chip ifdef list below. In either case the
+ * author should mark it as "Verified to Document Number:" taken from the
+ * reference manual.
  *
  * To maintain backward compatibility to the version of NuttX prior to
- * 2/22/2017, the catch all KINETIS_LPUART_VERSION_UKN configuration is assigned
- * to all the chips that did not have any conditional compilation based on
- * KINETIS_K64 or KINETIS_K66. This is  a "No worse" than the original code solution.
- * N.B. Each original chip "if"definitions have been left intact so that the
- * complete legacy definitions prior to 2/22/2017 may be filled in completely when
- * vetted.
+ * 2/22/2017, the catch all KINETIS_LPUART_VERSION_UKN configuration is
+ * assigned to all the chips that did not have any conditional compilation
+ * based on KINETIS_K64 or KINETIS_K66. This is  a "No worse" than the
+ * original code solution. N.B. Each original chip "if"definitions have been
+ * left intact so that the complete legacy definitions prior to 2/22/2017 may
+ * be filled in completely when vetted.
  */
 
 /* LPUART Register Configuration
@@ -138,7 +140,9 @@
 #elif defined(CONFIG_ARCH_CHIP_MK28FN2M0VMI15) || \
       defined(CONFIG_ARCH_CHIP_MK28FN2M0CAU15R)
 
-/* Verified to Document Number: Verified to Document Number: K28P210M150SF5RM Rev. 4, August 2017 */
+/* Verified to Document Number:
+ * Verified to Document Number: K28P210M150SF5RM Rev. 4, August 2017
+ */
 
 #  define KINETIS_LPUART_VERSION KINETIS_LPUART_VERSION_01
 
@@ -256,7 +260,9 @@
 #  error "Unsupported Kinetis chip"
 #endif
 
-/* Use the catch all configuration for the LPUART based on the implementations in nuttx prior 2/3/2017 */
+/* Use the catch all configuration for the LPUART based on the
+ * implementations in nuttx prior 2/3/2017
+ */
 
 #if KINETIS_LPUART_VERSION == KINETIS_LPUART_VERSION_UKN
 
diff --git a/arch/arm/include/kinetis/kinetis_mcg.h b/arch/arm/include/kinetis/kinetis_mcg.h
index a5caf49..05979d2 100644
--- a/arch/arm/include/kinetis/kinetis_mcg.h
+++ b/arch/arm/include/kinetis/kinetis_mcg.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_mcg.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,47 +16,53 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_MCG_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_MCG_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
-
-/* Note: It is envisioned that in the long term as a chip is added. The author of
- * the new chip definitions will either find the exact configuration in an existing
- * chip define and add the new chip to it Or add the MCG feature configuration
- * #defines to the chip ifdef list below. In either case the author should mark
- * it as "Verified to Document Number:" taken from the reference manual.
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
+
+/* Note:
+ * It is envisioned that in the long term as a chip is added. The author of
+ * the new chip definitions will either find the exact configuration in an
+ * existing chip define and add the new chip to it Or add the MCG feature
+ * configuration #defines to the chip ifdef list below. In either case the
+ * author should mark it as "Verified to Document Number:" taken from the
+ * reference manual.
  *
  * To maintain backward compatibility to the version of NuttX prior to
  * 2/5/2017, the catch all KINETIS_MCG_VERSION_UKN configuration is assigned
  * to all the chips that did not have any conditional compilation based on
- * NEW_MCG or KINETIS_K64. This is  a "No worse" than the original code solution.
- * N.B. Each original chip "if"definitions have been left intact so that the
- * complete legacy definitions prior to 2/5/2017 may be filled in completely when
- * vetted.
+ * NEW_MCG or KINETIS_K64. This is  a "No worse" than the original code
+ * solution. N.B. Each original chip "if"definitions have been left intact so
+ * that the complete legacy definitions prior to 2/5/2017 may be filled in
+ * completely when vetted.
  */
 
 /* MCG Configuration Parameters
  *
  * KINETIS_MCG_PLL_REF_MIN           - OSCCLK/PLL_R minimum
  * KINETIS_MCG_PLL_REF_MAX           - OSCCLK/PLL_R maximum
- * KINETIS_MCG_PLL_INTERNAL_DIVBY    - The PLL clock is divided by n before VCO divider
- * KINETIS_MCG_HAS_PLL_EXTRA_DIVBY   - Is PLL clock divided by n before MCG PLL/FLL
+ * KINETIS_MCG_PLL_INTERNAL_DIVBY    - The PLL clock is divided by n
+ *                                     before VCO divider
+ * KINETIS_MCG_HAS_PLL_EXTRA_DIVBY   - Is PLL clock divided by n
+ *                                     before MCG PLL/FLL
  *                                     clock selection in the SIM module
  * KINETIS_MCG_FFCLK_DIVBY           - MCGFFCLK divided by n
- * KINETIS_MCG_HAS_IRC_48M           -  Has 48MHz internal oscillator
- * KINETIS_MCG_HAS_LOW_FREQ_IRC      - Has LTRIMRNG, LFRIM, LSTRIM and bit MC[LIRC_DIV2]
- * KINETIS_MCG_HAS_HIGH_FREQ_IRC     - Has HCTRIM, HTTRIM, HFTRIM and bit MC[HIRCEN]
+ * KINETIS_MCG_HAS_IRC_48M           - Has 48MHz internal oscillator
+ * KINETIS_MCG_HAS_LOW_FREQ_IRC      - Has LTRIMRNG, LFRIM,
+ *                                     LSTRIM and bit MC[LIRC_DIV2]
+ * KINETIS_MCG_HAS_HIGH_FREQ_IRC     - Has HCTRIM, HTTRIM,
+ *                                     HFTRIM and bit MC[HIRCEN]
  * KINETIS_MCG_HAS_PLL_INTERNAL_MODE - Has PEI mode or PBI mode
  * KINETIS_MCG_HAS_RESET_IS_BLPI     - Has Reset clock mode is BLPI
  *
@@ -65,7 +71,8 @@
  * KINETIS_MCG_HAS_C1                - SoC has C1 Register
  * KINETIS_MCG_HAS_C1_IREFS          - SoC has C1[IREFS]
  * KINETIS_MCG_HAS_C1_FRDIV          - SoC has C1[FRDIV]
- * KINETIS_MCG_C1_FRDIV_MAX          - C1[FRDIV] maximum value 5=1024, 6=1280 7=1536
+ * KINETIS_MCG_C1_FRDIV_MAX          - C1[FRDIV] maximum value
+ *                                     5=1024, 6=1280 7=1536
  * KINETIS_MCG_HAS_C2                - SoC has C2 Register
  * KINETIS_MCG_HAS_C2_HGO            - SoC has C2[HGO]
  * KINETIS_MCG_HAS_C2_RANGE          - SoC has C2[RANG]
@@ -75,13 +82,16 @@
  * KINETIS_MCG_HAS_C4                - SoC has C4 Register
  * KINETIS_MCG_HAS_C5                - SoC has C5 Register
  * KINETIS_MCG_HAS_C5_PRDIV          - SoC has C5[PRDIV]
- * KINETIS_MCG_C5_PRDIV_BASE         - PRDIV base value corresponding to 0 in C5[PRDIV]
+ * KINETIS_MCG_C5_PRDIV_BASE         - PRDIV base value
+ *                                     corresponding to 0 in C5[PRDIV]
  * KINETIS_MCG_C5_PRDIV_MAX          - The Maximum value of C5[PRVDIV])
- * KINETIS_MCG_C5_PRDIV_BITS         - Has n bits of phase-locked loop (PLL) PRDIV (register C5[PRDIV]
+ * KINETIS_MCG_C5_PRDIV_BITS         - Has n bits of phase-locked loop
+ *                                     (PLL) PRDIV (register C5[PRDIV]
  * KINETIS_MCG_HAS_C5_PLLREFSEL0     - SoC has C5[PLLREFSEL0]
  * KINETIS_MCG_HAS_C6                - SoC has C6 Register
  * KINETIS_MCG_HAS_C6_VDIV           - SoC has C6[VDIV]
- * KINETIS_MCG_C6_VDIV_BASE          - VDIV base value corresponding to 0 in C6[VDIV]
+ * KINETIS_MCG_C6_VDIV_BASE          - VDIV base value
+ *                                     corresponding to 0 in C6[VDIV]
  * KINETIS_MCG_C6_VDIV_MAX           - The Maximum value of C6[VDIV]
  * KINETIS_MCG_HAS_C6_CME            - SoC has C6[CME]
  * KINETIS_MCG_HAS_C6_PLLS           - SoC has C6[PLLS]
@@ -112,12 +122,14 @@
  * KINETIS_MCG_HAS_C10               - SoC has C10 Register
  * KINETIS_MCG_HAS_C10_LOCS1         - SoC has C10[LOCS1]
  * KINETIS_MCG_HAS_C11               - SoC has C11 Register
- * KINETIS_MCG_HAS_C11_PLL1OSC1      - SoC has C1[PRDIV1], C11[PLLSTEN1], C11[PLLCLKEN1], C11[PLLREFSEL1],
+ * KINETIS_MCG_HAS_C11_PLL1OSC1      - SoC has C1[PRDIV1], C11[PLLSTEN1],
+ *                                     C11[PLLCLKEN1], C11[PLLREFSEL1],
  * KINETIS_MCG_HAS_C11_PLLCS         - SoC has C11[PLLCS]
  * KINETIS_MCG_HAS_C11_PLLREFSEL1    - SoC has C11[PLLREFSEL1]
  * KINETIS_MCG_HAS_C12               - SoC has C12 Register
  * KINETIS_MCG_HAS_S2                - SoC has S2 Register
- * KINETIS_MCG_HAS_S2_PLL1OSC1       - SoC has S2[LOCS2], S2[OSCINIT1], S2[LOCK1], S2[LOLS1]
+ * KINETIS_MCG_HAS_S2_PLL1OSC1       - SoC has S2[LOCS2],
+ *                                     S2[OSCINIT1], S2[LOCK1], S2[LOLS1]
  * KINETIS_MCG_HAS_S2_PLLCST         - SoC has S2[PLLCST]
  */
 
@@ -192,7 +204,9 @@
 
 #elif defined(CONFIG_ARCH_CHIP_MK28FN2M0VMI15) || defined(CONFIG_ARCH_CHIP_MK28FN2M0CAU15R)
 
-/* Verified to Document Number: K28P210M150SF5RM Rev. 4, August 2017 */
+/* Verified to Document Number:
+ * K28P210M150SF5RM Rev. 4, August 2017
+ */
 
 #  define KINETIS_MCG_VERSION KINETIS_MCG_VERSION_06
 
@@ -201,9 +215,10 @@
 #  define KINETIS_MCG_PLL_REF_MIN            8000000   /* OSCCLK/PLL_R minimum */
 #  define KINETIS_MCG_PLL_REF_MAX            16000000  /* OSCCLK/PLL_R maximum */
 
-/* TODO: The following configuration parameters have not been verified.  They were
- * taken wholesale from the K66F.  The K66F is very similar and, most likely, the
- * settings are corred.
+/* TODO:
+ * The following configuration parameters have not been verified.  They were
+ * taken wholesale from the K66F.  The K66F is very similar and, most likely,
+ * the settings are corred.
  */
 
 #  define KINETIS_MCG_PLL_INTERNAL_DIVBY     2         /* The PLL clock is divided by 2 before VCO divider */
@@ -546,7 +561,9 @@
 #elif defined(CONFIG_ARCH_CHIP_MK66FN2M0VMD18) || defined(CONFIG_ARCH_CHIP_MK66FX1M0VMD18) || \
       defined(CONFIG_ARCH_CHIP_MK66FN2M0VLQ18) || defined(CONFIG_ARCH_CHIP_MK66FX1M0VLQ18)
 
-/* Verified to Document Number: Document Number: K66P144M180SF5RMV2 Rev. 2, May 2015 */
+/* Verified to Document Number:
+ * Document Number: K66P144M180SF5RMV2 Rev. 2, May 2015
+ */
 
 #  define KINETIS_MCG_VERSION KINETIS_MCG_VERSION_06
 
@@ -646,7 +663,9 @@
 #  error "Unsupported Kinetis chip"
 #endif
 
-/* Use the catch all configuration for the MCG based on the implementations in nuttx prior 2/3/2017 */
+/* Use the catch all configuration for the MCG based on
+ * the implementations in nuttx prior 2/3/2017
+ */
 
 #if KINETIS_MCG_VERSION == KINETIS_MCG_VERSION_UKN
 
diff --git a/arch/arm/include/kinetis/kinetis_pmc.h b/arch/arm/include/kinetis/kinetis_pmc.h
index 37b77c6..7a03c13 100644
--- a/arch/arm/include/kinetis/kinetis_pmc.h
+++ b/arch/arm/include/kinetis/kinetis_pmc.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_pmc.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,34 +16,36 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_PMC_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_PMC_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
-
-/* Note: It is envisioned that in the long term as a chip is added. The author of
- * the new chip definitions will either find the exact configuration in an existing
- * chip define and add the new chip to it Or add the PMC feature configuration
- * #defines to the chip ifdef list below. In either case the author should mark
- * it as "Verified to Document Number:" taken from the reference manual.
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
+
+/* Note:
+ * It is envisioned that in the long term as a chip is added. The author of
+ * the new chip definitions will either find the exact configuration in an
+ * existing chip define and add the new chip to it Or add the PMC feature
+ * configuration #defines to the chip ifdef list below. In either case the
+ * author should mark it as "Verified to Document Number:" taken from the
+ * reference manual.
  *
  * To maintain backward compatibility to the version of NuttX prior to
  * 2/22/2017, the catch all KINETIS_PMC_VERSION_UKN configuration is assigned
  * to all the chips that did not have any conditional compilation based on
- * KINETIS_K64 or KINETIS_K66. This is  a "No worse" than the original code solution.
- * N.B. Each original chip "if"definitions have been left intact so that the
- * complete legacy definitions prior to 2/22/2017 may be filled in completely when
- * vetted.
+ * KINETIS_K64 or KINETIS_K66. This is  a "No worse" than the original code
+ * solution. N.B. Each original chip "if"definitions have been left intact so
+ * that the complete legacy definitions prior to 2/22/2017 may be filled in
+ * completely when vetted.
  */
 
 /* PMC Register Configuration
@@ -323,8 +325,8 @@
 #  error "Unsupported Kinetis chip"
 #endif
 
-/* Use the catch all configuration for the PMC based on the implementations in
- * NuttX prior to 2/3/2017
+/* Use the catch all configuration for the PMC based on
+ * the implementations in NuttX prior to 2/3/2017
  */
 
 #if KINETIS_PMC_VERSION == KINETIS_PMC_VERSION_UKN
diff --git a/arch/arm/include/kinetis/kinetis_sim.h b/arch/arm/include/kinetis/kinetis_sim.h
index 2960f50..a665d59 100644
--- a/arch/arm/include/kinetis/kinetis_sim.h
+++ b/arch/arm/include/kinetis/kinetis_sim.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kinetis/kinetis_sim.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,34 +16,36 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_KINETIS_KINETIS_SIM_H
 #define __ARCH_ARM_INCLUDE_KINETIS_KINETIS_SIM_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
-
-/* Note: It is envisioned that in the long term as a chip is added. The author of
- * the new chip definitions will either find the exact configuration in an existing
- * chip define and add the new chip to it Or add the SIM feature configuration
- * #defines to the chip ifdef list below. In either case the author should mark
- * it as "Verified to Document Number:" taken from the reference manual.
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
+
+/* Note:
+ * It is envisioned that in the long term as a chip is added. The author of
+ * the new chip definitions will either find the exact configuration in an
+ * existing chip define and add the new chip to it Or add the SIM feature
+ * configuration #defines to the chip ifdef list below. In either case the
+ * author should mark it as "Verified to Document Number:" taken from the
+ * reference manual.
  *
  * To maintain backward compatibility to the version of NuttX prior to
- * 2/16/2017, the catch all KINETIS_SIM_VERSION_UKN configuration is assigned
- * to all the chips that did not have any conditional compilation based on
- * KINETIS_K64 or KINETIS_K66. This is  a "No worse" than the original code solution.
- * N.B. Each original chip "if"definitions have been left intact so that the
- * complete legacy definitions prior to 2/16/2017 may be filled in completely when
- * vetted.
+ * 2/16/2017, the catch all KINETIS_SIM_VERSION_UKN configuration is
+ * assigned to all the chips that did not have any conditional compilation
+ * based on KINETIS_K64 or KINETIS_K66. This is  a "No worse" than the
+ * original code solution. N.B. Each original chip "if"definitions have been
+ * left intact so that the complete legacy definitions prior to 2/16/2017 may
+ * be filled in completely when vetted.
  */
 
 /* SIM Register Configuration
@@ -95,7 +97,8 @@
  * KINETIS_SIM_HAS_SOPT4_FTM0FLT3          -  SoC has SOPT4[FTM0FLT3]
  * KINETIS_SIM_HAS_SOPT4_FTM0TRG0SRC       -  SoC has SOPT4[FTM0TRG0SRC]
  * KINETIS_SIM_HAS_SOPT4_FTM0TRG1SRC       -  SoC has SOPT4[FTM0TRG1SRC]
- * KINETIS_SIM_HAS_SOPT4_FTM1CH0SRC        -  SoC has SOPT4[FTM1CH0SRC] 1, 3 if SOF
+ * KINETIS_SIM_HAS_SOPT4_FTM1CH0SRC        -  SoC has SOPT4[FTM1CH0SRC]
+ *                                                 1, 3 if SOF
  * KINETIS_SIM_HAS_SOPT4_FTM1FLT0          -  SoC has SOPT4[FTM1FLT0]
  * KINETIS_SIM_HAS_SOPT4_FTM1FLT1          -  SoC has SOPT4[FTM1FLT1]
  * KINETIS_SIM_HAS_SOPT4_FTM1FLT2          -  SoC has SOPT4[FTM1FLT2]
@@ -143,10 +146,14 @@
  * KINETIS_SIM_HAS_SOPT7_ADC1TRGSEL        -  SoC has n SOPT7[ADC1TRGSEL]
  * KINETIS_SIM_HAS_SOPT7_ADC2TRGSEL        -  SoC has n SOPT7[ADC2TRGSEL]
  * KINETIS_SIM_HAS_SOPT7_ADC3TRGSEL        -  SoC has n SOPT7[ADC3TRGSEL]
- * KINETIS_SIM_SOPT7_ADC0ALTTRGEN          -  SoC has ADC0 alternate trigger enable
- * KINETIS_SIM_SOPT7_ADC1ALTTRGEN          -  SoC has ADC1 alternate trigger enable
- * KINETIS_SIM_SOPT7_ADC2ALTTRGEN          -  SoC has ADC2 alternate trigger enable
- * KINETIS_SIM_SOPT7_ADC3ALTTRGEN          -  SoC has ADC3 alternate trigger enable
+ * KINETIS_SIM_SOPT7_ADC0ALTTRGEN          -  SoC has ADC0
+ *                                            alternate trigger enable
+ * KINETIS_SIM_SOPT7_ADC1ALTTRGEN          -  SoC has ADC1
+ *                                            alternate trigger enable
+ * KINETIS_SIM_SOPT7_ADC2ALTTRGEN          -  SoC has ADC2
+ *                                            alternate trigger enable
+ * KINETIS_SIM_SOPT7_ADC3ALTTRGEN          -  SoC has ADC3
+ *                                            alternate trigger enable
  * KINETIS_SIM_HAS_SOPT8                   -  SoC has SOPT8 Register
  * KINETIS_SIM_HAS_SOPT8_FTM0SYNCBIT       -  SoC has SOPT8[FTM0SYNCBIT]
  * KINETIS_SIM_HAS_SOPT8_FTM1SYNCBIT       -  SoC has SOPT8[FTM1SYNCBIT]
@@ -260,8 +267,10 @@
  * KINETIS_SIM_HAS_FCFG1_FTFDIS            -  SoC has FCFG1[FTFDIS]
  * KINETIS_SIM_HAS_FCFG1_NVMSIZE           -  SoC has FCFG1[NVMSIZE]
  * KINETIS_SIM_HAS_FCFG2                   -  SoC has FCFG2 Register
- * KINETIS_SIM_HAS_FCFG2_MAXADDR0          -  SoC has n bit of FCFG2[MAXADDR0]
- * KINETIS_SIM_HAS_FCFG2_MAXADDR1          -  SoC has n bit of FCFG2[MAXADDR1]
+ * KINETIS_SIM_HAS_FCFG2_MAXADDR0          -  SoC has n bit of
+ *                                            FCFG2[MAXADDR0]
+ * KINETIS_SIM_HAS_FCFG2_MAXADDR1          -  SoC has n bit of
+ *                                            FCFG2[MAXADDR1]
  * KINETIS_SIM_HAS_FCFG2_PFLSH             -  SoC has FCFG2[PFLSH]
  * KINETIS_SIM_HAS_FCFG2_SWAPPFLSH         -  SoC has FCFG2[SWAPPFLSH]
  * KINETIS_SIM_HAS_UIDH                    -  SoC has UIDH Register
diff --git a/arch/arm/include/kl/chip.h b/arch/arm/include/kl/chip.h
index ac9c5f4..18a7421 100644
--- a/arch/arm/include/kl/chip.h
+++ b/arch/arm/include/kl/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kl/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,20 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_KL_CHIP_H
 #define __ARCH_ARM_INCLUDE_KL_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Get customizations for each supported chip */
 
@@ -153,10 +153,12 @@
 #  error "Unsupported Kinetis chip"
 #endif
 
-/* NVIC priority levels *************************************************************/
-/* Each priority field holds a priority value, 0-15. The lower the value, the greater
- * the priority of the corresponding interrupt. The processor implements only
- * bits[7:6] of each field, bits[5:0] read as zero and ignore writes.
+/* NVIC priority levels *****************************************************/
+
+/* Each priority field holds a priority value, 0-15. The lower the value, the
+ * greater the priority of the corresponding interrupt. The processor
+ * implements only bits[7:6] of each field, bits[5:0] read as zero and ignore
+ * writes.
  */
 
 #define NVIC_SYSH_PRIORITY_MIN     0xc0 /* All bits[7:6] set is minimum priority */
@@ -164,15 +166,15 @@
 #define NVIC_SYSH_PRIORITY_MAX     0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP    0x40 /* Steps between supported priority values */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 #endif /* __ARCH_ARM_INCLUDE_KL_CHIP_H */
diff --git a/arch/arm/include/kl/irq.h b/arch/arm/include/kl/irq.h
index 8194966..e544e02 100644
--- a/arch/arm/include/kl/irq.h
+++ b/arch/arm/include/kl/irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/kl/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,41 +16,43 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_KL_IRQ_H
 #define __ARCH_ARM_INCLUDE_KL_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <nuttx/irq.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
-/* IRQ numbers **********************************************************************/
-/* The IRQ numbers corresponds directly to vector numbers and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
+
+/* IRQ numbers **************************************************************/
+
+/* The IRQ numbers corresponds directly to vector numbers and hence map
+ * directly to bits in the NVIC.  This does, however, waste several words of
+ * memory in the IRQ to handle mapping tables.
  */
 
 /* Processor Exceptions (vectors 0-15) */
 
 #define KL_IRQ_RESERVED      (0)   /* Reserved vector (only used with CONFIG_DEBUG_FEATURES) */
-                                        /* Vector  0: Reset stack pointer value */
-                                        /* Vector  1: Reset (not handler as an IRQ) */
+                                   /* Vector  0: Reset stack pointer value */
+                                   /* Vector  1: Reset (not handler as an IRQ) */
 #define KL_IRQ_NMI           (2)   /* Vector  2: Non-Maskable Interrupt (NMI) */
 #define KL_IRQ_HARDFAULT     (3)   /* Vector  3: Hard fault */
-                                        /* Vectors 4-10: Reserved */
+                                   /* Vectors 4-10: Reserved */
 #define KL_IRQ_SVCALL        (11)  /* Vector 11: SVC call */
-                                        /* Vector 12-13: Reserved */
+                                   /* Vector 12-13: Reserved */
 #define KL_IRQ_PENDSV        (14)  /* Vector 14: Pendable system service request */
 #define KL_IRQ_SYSTICK       (15)  /* Vector 15: System tick */
 
@@ -58,10 +60,10 @@
 
 #define KL_IRQ_EXTINT        (16)
 
-/* K40 Family ***********************************************************************
+/* K40 Family ***************************************************************
  *
- * The interrupt vectors  for the following parts is defined in Freescale document
- * K40P144M100SF2RM
+ * The interrupt vectors  for the following parts is defined in Freescale
+ * document K40P144M100SF2RM
  */
 
 #if defined(CONFIG_ARCH_CHIP_MKL25Z128) || defined(CONFIG_ARCH_CHIP_MKL25Z64)
@@ -99,12 +101,13 @@
 #  define KL_IRQ_PORTA         (46)  /* Vector 46: GPIO Port A */
 #  define KL_IRQ_PORTD         (47)  /* Vector 47: GPIO Port D */
 
-/* Note that the total number of IRQ numbers supported is equal to the number of
- * valid interrupt vectors.  This is wasteful in that certain tables are sized by
- * this value.  There are only 94 valid interrupts so, potentially the number of
- * IRQs to could be reduced to 94.  However, equating IRQ numbers with vector numbers
- * also simplifies operations on NVIC registers and (at least in my state of mind
- * now) seems to justify the waste.
+/* Note that the total number of IRQ numbers supported is equal to the
+ * number of valid interrupt vectors.  This is wasteful in that certain
+ * tables are sized by this value.  There are only 94 valid interrupts so,
+ * potentially the number of IRQs to could be reduced to 94.  However,
+ * equating IRQ numbers with vector numbers also simplifies operations on
+ * NVIC registers and (at least in my state of mind now) seems to justify
+ * the waste.
  */
 
 #  define NR_IRQS              (48) /* 64 interrupts but 48 IRQ numbers */
@@ -144,33 +147,34 @@
 #  define KL_IRQ_PORTA         (46)  /* Vector 46: GPIO Port A */
 #  define KL_IRQ_PORTD         (47)  /* Vector 47: GPIO Port D */
 
-/* Note that the total number of IRQ numbers supported is equal to the number of
- * valid interrupt vectors.  This is wasteful in that certain tables are sized by
- * this value.  There are only 94 valid interrupts so, potentially the number of
- * IRQs to could be reduced to 94.  However, equating IRQ numbers with vector numbers
- * also simplifies operations on NVIC registers and (at least in my state of mind
- * now) seems to justify the waste.
+/* Note that the total number of IRQ numbers supported is equal to the
+ * number of valid interrupt vectors.  This is wasteful in that certain
+ * tables are sized by this value.  There are only 94 valid interrupts so,
+ * potentially the number of IRQs to could be reduced to 94.  However,
+ * equating IRQ numbers with vector numbers also simplifies operations on
+ * NVIC registers and (at least in my state of mind now) seems to justify
+ * the waste.
  */
 
 #  define NR_IRQS              (48) /* 64 interrupts but 48 IRQ numbers */
 
 #else
-  /* The interrupt vectors for other parts are defined in other documents and may or
-   * may not be the same as above (the family members are all very similar)  This
-   * error just means that you have to look at the document and determine for yourself
-   * if the vectors are the same.
-   */
+/* The interrupt vectors for other parts are defined in other documents and
+ * may or may not be the same as above (the family members are all very
+ * similar)  This error just means that you have to look at the document and
+ * determine for yourself if the vectors are the same.
+ */
 
 #  error "No IRQ numbers for this Kinetis L part"
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -181,9 +185,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/lc823450/chip.h b/arch/arm/include/lc823450/chip.h
index f8e8050..d6423d8 100644
--- a/arch/arm/include/lc823450/chip.h
+++ b/arch/arm/include/lc823450/chip.h
@@ -28,7 +28,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* NVIC priority levels *****************************************************/
diff --git a/arch/arm/include/lc823450/clk.h b/arch/arm/include/lc823450/clk.h
index 2c7ccc5..5e90a61 100644
--- a/arch/arm/include/lc823450/clk.h
+++ b/arch/arm/include/lc823450/clk.h
@@ -26,7 +26,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 #define LC823450_CLOCKS \
diff --git a/arch/arm/include/lc823450/irq.h b/arch/arm/include/lc823450/irq.h
index dd5b22e..72d8115 100644
--- a/arch/arm/include/lc823450/irq.h
+++ b/arch/arm/include/lc823450/irq.h
@@ -33,7 +33,7 @@
 #include <nuttx/irq.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* Processor Exceptions (vectors 0-15) */
diff --git a/arch/arm/include/limits.h b/arch/arm/include/limits.h
index 55ad8c5..64daced 100644
--- a/arch/arm/include/limits.h
+++ b/arch/arm/include/limits.h
@@ -26,7 +26,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 #define CHAR_BIT    8
diff --git a/arch/arm/include/lpc17xx_40xx/chip.h b/arch/arm/include/lpc17xx_40xx/chip.h
index faa36ac..bece30c 100644
--- a/arch/arm/include/lpc17xx_40xx/chip.h
+++ b/arch/arm/include/lpc17xx_40xx/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/lpc17xx_40xx/chip.h
  *
  *   Copyright (C) 2010-2011, 2013 Gregory Nutt. All rights reserved.
@@ -32,20 +32,20 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_LPC17XX_40XX_CHIP_H
 #define __ARCH_ARM_INCLUDE_LPC17XX_40XX_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Get customizations for each supported chip */
 
@@ -217,6 +217,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC1773)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (128*1024) /* 128Kb */
 #  define LPC17_40_SRAM_SIZE        (40*1024)  /*  40Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (32*1024)
@@ -233,6 +234,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC1774)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (128*1024) /* 128Kb */
 #  define LPC17_40_SRAM_SIZE        (40*1024)  /*  40Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (32*1024)
@@ -249,6 +251,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC1776)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (256*1024) /* 256Kb */
 #  define LPC17_40_SRAM_SIZE        (80*1024)  /*  80Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (64*1024)
@@ -265,6 +268,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC1777)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (512*1024) /* 512Kb */
 #  define LPC17_40_SRAM_SIZE        (96*1024)  /*  96Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (64*1024)
@@ -281,6 +285,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC1778)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (512*1024) /* 512Kb */
 #  define LPC17_40_SRAM_SIZE        (96*1024)  /*  64Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (64*1024)
@@ -297,6 +302,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC1785)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (256*1024) /* 256Kb */
 #  define LPC17_40_SRAM_SIZE        (80*1024)  /*  80Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (64*1024)
@@ -313,6 +319,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC1786)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (256*1024) /* 256Kb */
 #  define LPC17_40_SRAM_SIZE        (80*1024)  /*  80Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (64*1024)
@@ -329,6 +336,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC1787)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (512*1024) /* 512Kb */
 #  define LPC17_40_SRAM_SIZE        (96*1024)  /*  96Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (64*1024)
@@ -345,6 +353,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC1788)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (512*1024) /* 512Kb */
 #  define LPC17_40_SRAM_SIZE        (96*1024)  /*  96Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (64*1024)
@@ -361,6 +370,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC4072)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (64*1024)  /*  64Kb */
 #  define LPC17_40_SRAM_SIZE        (24*1024)  /*  24Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (16*1024)
@@ -377,6 +387,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC4074)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (128*1024) /* 128Kb */
 #  define LPC17_40_SRAM_SIZE        (40*1024)  /*  40Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (32*1024)
@@ -393,6 +404,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC4076)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (256*1024) /* 256Kb */
 #  define LPC17_40_SRAM_SIZE        (80*1024)  /*  80Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (64*1024)
@@ -409,6 +421,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC4078)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (512*1024) /* 512Kb */
 #  define LPC17_40_SRAM_SIZE        (96*1024)  /*  96Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (64*1024)
@@ -425,6 +438,7 @@
 #elif defined(CONFIG_ARCH_CHIP_LPC4088)
 #  undef  LPC176x                      /* Not LPC175/6 family */
 #  define LPC178x_40xx              1  /* LPC177/8 or LPC40xx family */
+
 #  define LPC17_40_FLASH_SIZE       (512*1024) /* 512Kb */
 #  define LPC17_40_SRAM_SIZE        (96*1024)  /*  64Kb */
 #  define LPC17_40_CPUSRAM_SIZE     (64*1024)
@@ -442,10 +456,12 @@
 #  error "Unsupported LPC17xx/LPC40xx chip"
 #endif
 
-/* NVIC priority levels *************************************************************/
-/* Each priority field holds a priority value, 0-31. The lower the value, the greater
- * the priority of the corresponding interrupt. The processor implements only
- * bits[7:3] of each field, bits[2:0] read as zero and ignore writes.
+/* NVIC priority levels *****************************************************/
+
+/* Each priority field holds a priority value, 0-31. The lower the value, the
+ * greater the priority of the corresponding interrupt. The processor
+ * implements only bits[7:3] of each field, bits[2:0] read as zero and ignore
+ * writes.
  */
 
 #define NVIC_SYSH_PRIORITY_MIN     0xf8 /* All bits[7:3] set is minimum priority */
@@ -453,16 +469,16 @@
 #define NVIC_SYSH_PRIORITY_MAX     0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP    0x08 /* Five bits of interrupt priority used */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_LPC17XX_40XX_CHIP_H */
diff --git a/arch/arm/include/lpc17xx_40xx/irq.h b/arch/arm/include/lpc17xx_40xx/irq.h
index 77de3b8..bb4e608 100644
--- a/arch/arm/include/lpc17xx_40xx/irq.h
+++ b/arch/arm/include/lpc17xx_40xx/irq.h
@@ -35,8 +35,9 @@
 #include <arch/lpc17xx_40xx/chip.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
+
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
  * directly to bits in the NVIC.  This does, however, waste several words of
  * memory in the IRQ to handle mapping tables.
diff --git a/arch/arm/include/lpc17xx_40xx/lpc176x_irq.h b/arch/arm/include/lpc17xx_40xx/lpc176x_irq.h
index d5c04f4..6da827d 100644
--- a/arch/arm/include/lpc17xx_40xx/lpc176x_irq.h
+++ b/arch/arm/include/lpc17xx_40xx/lpc176x_irq.h
@@ -18,8 +18,8 @@
  *
  ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly
- * through nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_LPC17XX_40XX_LPC176X_IRQ_H
@@ -30,8 +30,9 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
+
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
  * directly to bits in the NVIC.  This does, however, waste several words of
  * memory in the IRQ to handle mapping tables.
@@ -122,9 +123,9 @@
 #define LPC17_40_IRQ_NEXTINT        (35)
 #define LPC17_40_IRQ_NIRQS          (LPC17_40_IRQ_EXTINT+LPC17_40_IRQ_NEXTINT)
 
-/* GPIO interrupts.  The LPC17xx/LPC40xx supports several interrupts on ports 0 and
- * 2 (only).  We go through some special efforts to keep the number of IRQs
- * to a minimum in this sparse interrupt case.
+/* GPIO interrupts.  The LPC17xx/LPC40xx supports several interrupts on ports
+ * 0 and 2 (only).  We go through some special efforts to keep the number of
+ * IRQs to a minimum in this sparse interrupt case.
  *
  * 28 interrupts on Port 0:  p0.0 - p0.11, p0.15-p0.30
  * 14 interrupts on Port 2:  p2.0 - p2.13
@@ -136,7 +137,7 @@
 #  define LPC17_40_VALID_GPIOINT0  (0x7fff8ffful) /* GPIO port 0 interrupt set */
 #  define LPC17_40_VALID_GPIOINT2  (0x00003ffful) /* GPIO port 2 interrupt set */
 
-   /* Set 1: 12 interrupts p0.0-p0.11 */
+/* Set 1: 12 interrupts p0.0-p0.11 */
 
 #  define LPC17_40_VALID_GPIOINT0L  (0x00000ffful)
 #  define LPC17_40_VALID_SHIFT0L    (0)
@@ -156,7 +157,7 @@
 #  define LPC17_40_IRQ_P0p11        (LPC17_40_VALID_FIRST0L+11)
 #  define LPC17_40_VALID_NIRQS0L    (12)
 
-   /* Set 2: 16 interrupts p0.15-p0.30 */
+/* Set 2: 16 interrupts p0.15-p0.30 */
 
 #  define LPC17_40_VALID_GPIOINT0H  (0x7fff8000ull)
 #  define LPC17_40_VALID_SHIFT0H    (15)
@@ -180,7 +181,7 @@
 #  define LPC17_40_IRQ_P0p30        (LPC17_40_VALID_FIRST0H+15)
 #  define LPC17_40_VALID_NIRQS0H    (16)
 
-   /* Set 3: 14 interrupts p2.0-p2.13 */
+/* Set 3: 14 interrupts p2.0-p2.13 */
 
 #  define LPC17_40_VALID_GPIOINT2   (0x00003ffful)
 #  define LPC17_40_VALID_SHIFT2     (0)
diff --git a/arch/arm/include/lpc17xx_40xx/lpc178x_40xx_irq.h b/arch/arm/include/lpc17xx_40xx/lpc178x_40xx_irq.h
index 4a627a5..4c55268 100644
--- a/arch/arm/include/lpc17xx_40xx/lpc178x_40xx_irq.h
+++ b/arch/arm/include/lpc17xx_40xx/lpc178x_40xx_irq.h
@@ -46,7 +46,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
@@ -156,8 +156,9 @@
 #define LPC17_40_IRQ_NEXTINT       (41)
 #define LPC17_40_IRQ_NIRQS         (LPC17_40_IRQ_EXTINT+LPC17_40_IRQ_NEXTINT)
 
-/* GPIO interrupts.  The LPC177x_8x supports several interrupts on ports 0 and
- * 2 (only).  We go through some special efforts to keep the number of IRQs
+/* GPIO interrupts.
+ * The LPC177x_8x supports several interrupts on ports 0 and 2 (only).
+ * We go through some special efforts to keep the number of IRQs
  * to a minimum in this sparse interrupt case.
  *
  * 31 interrupts on Port 0:  p0.0 - p0.30
@@ -170,7 +171,7 @@
 #  define LPC17_40_VALID_GPIOINT0   (0xfffffffful) /* GPIO port 0 interrupt set */
 #  define LPC17_40_VALID_GPIOINT2   (0xfffffffful) /* GPIO port 2 interrupt set */
 
-   /* Set 1: 16 interrupts p0.0-p0.15 */
+/* Set 1: 16 interrupts p0.0-p0.15 */
 
 #  define LPC17_40_VALID_SHIFT0L    (0)
 #  define LPC17_40_VALID_FIRST0L    (LPC17_40_IRQ_EXTINT+LPC17_40_IRQ_NEXTINT)
@@ -193,7 +194,7 @@
 #  define LPC17_40_IRQ_P0p15        (LPC17_40_VALID_FIRST0L+15)
 #  define LPC17_40_VALID_NIRQS0L    (16)
 
-   /* Set 2: 16 interrupts p0.16-p0.31 */
+/* Set 2: 16 interrupts p0.16-p0.31 */
 
 #  define LPC17_40_VALID_SHIFT0H    (16)
 #  define LPC17_40_VALID_FIRST0H    (LPC17_40_VALID_FIRST0L+LPC17_40_VALID_NIRQS0L)
@@ -216,7 +217,7 @@
 #  define LPC17_40_IRQ_P0p31        (LPC17_40_VALID_FIRST0H+15)
 #  define LPC17_40_VALID_NIRQS0H    (16)
 
-   /* Set 3: 16 interrupts p2.0-p2.15 */
+/* Set 3: 16 interrupts p2.0-p2.15 */
 
 #  define LPC17_40_VALID_SHIFT2L    (0)
 #  define LPC17_40_VALID_FIRST2L    (LPC17_40_VALID_FIRST0H+LPC17_40_VALID_NIRQS0H)
@@ -239,7 +240,7 @@
 #  define LPC17_40_IRQ_P2p15        (LPC17_40_VALID_FIRST2L+15)
 #  define LPC17_40_VALID_NIRQS2L    (16)
 
-   /* Set 4: 16 interrupts p2.16 - p2.31 */
+/* Set 4: 16 interrupts p2.16 - p2.31 */
 
 #  define LPC17_40_VALID_SHIFT2H    (16)
 #  define LPC17_40_VALID_FIRST2H    (LPC17_40_VALID_FIRST2L+LPC17_40_VALID_NIRQS2L)
diff --git a/arch/arm/include/lpc214x/irq.h b/arch/arm/include/lpc214x/irq.h
index 493b433..b14f82f 100644
--- a/arch/arm/include/lpc214x/irq.h
+++ b/arch/arm/include/lpc214x/irq.h
@@ -34,7 +34,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* LPC214X Interrupts */
diff --git a/arch/arm/include/lpc2378/irq.h b/arch/arm/include/lpc2378/irq.h
index 4b324da..05b75ad 100644
--- a/arch/arm/include/lpc2378/irq.h
+++ b/arch/arm/include/lpc2378/irq.h
@@ -55,7 +55,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* LPC2378 Interrupts */
@@ -94,12 +94,12 @@
 #define I2C2_IRQ      30 /* I2C 2 */
 #define I2S_IRQ       31 /* I2S */
 
-
 #define IRQ_SYSTIMER  TIMER0_IRQ
 
 #define NR_IRQS             32
 
-/* There are 32 vectored interrupts.  If vectored interrupts are enabled, the
+/* There are 32 vectored interrupts.
+ * If vectored interrupts are enabled, the
  * following will be used by the system.
  */
 #define SYSTIMER_VEC  0 /* System timer */
diff --git a/arch/arm/include/lpc31xx/irq.h b/arch/arm/include/lpc31xx/irq.h
index 4ac8b1a..482bc28 100644
--- a/arch/arm/include/lpc31xx/irq.h
+++ b/arch/arm/include/lpc31xx/irq.h
@@ -30,7 +30,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* LPC31XX Interrupts */
diff --git a/arch/arm/include/lpc43xx/chip.h b/arch/arm/include/lpc43xx/chip.h
index b923a9d..a5a9ce3 100644
--- a/arch/arm/include/lpc43xx/chip.h
+++ b/arch/arm/include/lpc43xx/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/lpc43xx/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,20 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_LPC43XX_CHIP_H
 #define __ARCH_ARM_INCLUDE_LPC43XX_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Per the data sheet: LPC4350/30/20/10 Rev. 3.2 — 4 June 2012 */
 
@@ -65,33 +65,41 @@
 /* Get customizations for each supported chip.
  *
  * SRAM Resources
- * --------------------- -------- ------- ------- ------- ------- ------- -------
- * Local SRAM            LPC4310  LPC4320 LPC4330 LPC4350 LPC4353 LPC4357 LPC4337
- * --------------------- -------- ------- ------- ------- ------- ------- -------
- * BANK 0 (0x1000 0000)     96Kb    96Kb   128Kb   128Kb    32Kb    32Kb    32Kb
- * BANK 1 (0x1008 0000)     40Kb    40Kb    72Kb    72Kb    40Kb    40Kb    40Kb
- * --------------------- -------- ------- ------- ------- ------- ------- -------
- * SUBTOTAL                136Kb   136Kb   200Kb   200Kb    72Kb    72Kb    72Kb
- * --------------------- -------- ------- ------- ------- ------- ------- -------
- * AHB SRAM              LPC4310  LPC4320 LPC4330 LPC4350 LPC4353 LPC4357 LPC4337
- * --------------------- -------- ------- ------- ------- ------- ------- -------
- * BANK 0 (0x2000 0000)     16Kb    48Kb   48Kb    48Kb     48Kb    48Kb    48Kb
- * BANK 1 (0x2000 8000)             NOTE 1 NOTE 1  NOTE 1  NOTE 1  NOTE 1  NOTE 1
- * BANK 2 (0x2000 c000)     16Kb    16Kb   16Kb    16Kb    16Kb    16Kb     16Kb
- * --------------------- -------- ------- ------- ------- ------- ------- -------
- * SUBTOTAL                 32Kb    64Kb   64Kb    64Kb     64Kb    64Kb    64Kb
- * --------------------- -------- ------- ------- ------- ------- ------- -------
- * TOTAL                   168Kb   200Kb  264Kb   264Kb    136Kb   136Kb   136Kb
- * --------------------- -------- ------- ------- ------- ------- ------- -------
+ * --------------- -------- ------- ------- ------- ------- ------- -------
+ * Local SRAM      LPC4310  LPC4320 LPC4330 LPC4350 LPC4353 LPC4357 LPC4337
+ * --------------- -------- ------- ------- ------- ------- ------- -------
+ * BANK 0          96Kb    96Kb   128Kb   128Kb    32Kb    32Kb    32Kb
+ * (0x1000 0000)
+ * BANK 1          40Kb    40Kb    72Kb    72Kb    40Kb    40Kb    40Kb
+ * (0x1008 0000)
+ * -------------- -------- ------- ------- ------- ------- ------- -------
+ * SUBTOTAL        136Kb   136Kb   200Kb   200Kb    72Kb    72Kb    72Kb
+ * -------------- -------- ------- ------- ------- ------- ------- -------
+ * AHB SRAM        LPC4310  LPC4320 LPC4330 LPC4350 LPC4353 LPC4357 LPC4337
+ * -------------- -------- ------- ------- ------- ------- ------- -------
+ * BANK 0          16Kb    48Kb   48Kb    48Kb     48Kb    48Kb    48Kb
+ * (0x2000 0000)
+ * BANK 1                   NOTE 1 NOTE 1  NOTE 1  NOTE 1  NOTE 1  NOTE 1
+ * (0x2000 8000)
+ * BANK 2          16Kb    16Kb   16Kb    16Kb    16Kb    16Kb     16Kb
+ * (0x2000 c000)
+ * -------------- -------- ------- ------- ------- ------- ------- -------
+ * SUBTOTAL        32Kb    64Kb   64Kb    64Kb     64Kb    64Kb    64Kb
+ * -------------- -------- ------- ------- ------- ------- ------- -------
+ * TOTAL           168Kb   200Kb  264Kb   264Kb    136Kb   136Kb   136Kb
+ * -------------- -------- ------- ------- ------- ------- ------- -------
  *
- * --------------------- -------- ------- ------- ------- ------- ------- -------
- * FLASH                 LPC4310  LPC4320 LPC4330 LPC4350 LPC4353 LPC4357 LPC4337
- * --------------------- -------- ------- ------- ------- ------- ------- -------
- * BANK A (0x1a00 0000)                                    256Kb   512Kb   512Kb
- * BANK B (0x1b00 8000)                                    256Kb   512Kb   512Kb
- * --------------------- -------- ------- ------- ------- ------- ------- -------
- * TOTAL                   None    None    None    None    512Kb  1024Kb   1024Kb
- * --------------------- -------- ------- ------- ------- ------- ------- -------
+ * -------------- -------- ------- ------- ------- ------- ------- -------
+ * FLASH          LPC4310  LPC4320 LPC4330 LPC4350 LPC4353 LPC4357 LPC4337
+ * -------------- -------- ------- ------- ------- ------- ------- -------
+ * BANK A                                           256Kb   512Kb   512Kb
+ * (0x1a00 0000)
+ * BANK B                                           256Kb   512Kb   512Kb
+ * (0x1b00 8000)
+ * -------------- -------- ------- ------- ------- ------- ------- -------
+ * TOTAL            None    None    None    None    512Kb  1024Kb   1024Kb
+ * -------------- -------- ------- ------- ------- ------- ------- -------
+
  *
  * NOTE 1: The 64Kb of AHB of SRAM on the LPC4350/30/20 span all AHB SRAM
  * banks but are treated as two banks of 48 an 16Kb by the NuttX memory
@@ -674,10 +682,10 @@
 #  error "Unsupported LPC43xx chip"
 #endif
 
-/* NVIC priority levels *************************************************************/
+/* NVIC priority levels *****************************************************/
 
-/* Each priority field holds a priority value, 0-31. The lower the value, the greater
- * the priority of the corresponding interrupt.
+/* Each priority field holds a priority value, 0-31. The lower the value, the
+ * greater the priority of the corresponding interrupt.
  *
  * The Cortex-M4 core supports up to 53 interrupts an 8 prgrammable interrupt
  * priority levels; The Cortex-M0 core supports up to 32 interrupts with 4
diff --git a/arch/arm/include/lpc43xx/irq.h b/arch/arm/include/lpc43xx/irq.h
index dd3f3e1..46e4b69 100644
--- a/arch/arm/include/lpc43xx/irq.h
+++ b/arch/arm/include/lpc43xx/irq.h
@@ -1,4 +1,4 @@
-/********************************************************************************************
+/****************************************************************************
  * arch/arm/include/lpc43xx/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,7 +16,7 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ********************************************************************************************/
+ ****************************************************************************/
 
 /* This file should never be included directly but, rather,
  * only indirectly through nuttx/irq.h
@@ -25,21 +25,22 @@
 #ifndef __ARCH_ARM_INCLUDE_LPC43XX_IRQ_H
 #define __ARCH_ARM_INCLUDE_LPC43XX_IRQ_H
 
-/********************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #  include <stdint.h>
 #endif
 
-/********************************************************************************************
- * Pre-processor Definitions
- ********************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to bits in
- * the NVIC.  This does, however, waste several words of memory in the IRQ to handle mapping
- * tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to bits in
+ * the NVIC.  This does, however, waste several words of memory in the IRQ to
+ * handle mapping tables.
  */
 
 /* Processor Exceptions (vectors 0-15) */
@@ -114,8 +115,8 @@
 #define LPC43M4_IRQ_NEXTINT       (53)
 #define LPC43M4_IRQ_NIRQS         (LPC43_IRQ_EXTINT+LPC43M4_IRQ_NEXTINT)
 
-/* Total number of IRQ numbers (This will need to be revisited if/when the Cortex-M0 is
- * supported)
+/* Total number of IRQ numbers (This will need to be revisited
+ * if/when the Cortex-M0 is supported)
  */
 
 #define NR_IRQS                   LPC43M4_IRQ_NIRQS
@@ -163,33 +164,33 @@
 #define LPC43M0_IRQ_NEXTINT       (30)
 #define LPC43M0_IRQ_NIRQS         (LPC43_IRQ_EXTINT+LPC43M0_IRQ_NEXTINT)
 
-/* Total number of IRQ numbers (This will need to be revisited if/when the Cortex-M0 is
- * supported)
+/* Total number of IRQ numbers
+ * (This will need to be revisited if/when the Cortex-M0 is supported)
  */
 
 #if 0
 #define NR_IRQS                   LPC43M0_IRQ_NIRQS
 #endif
 
-/********************************************************************************************
+/****************************************************************************
  * Public Types
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 typedef void (*vic_vector_t)(uint32_t *regs);
 #endif
 
-/********************************************************************************************
+/****************************************************************************
  * Inline functions
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
+/****************************************************************************
  * Public Data
- ********************************************************************************************/
+ ****************************************************************************/
 
-/********************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/lpc54xx/chip.h b/arch/arm/include/lpc54xx/chip.h
index 2b4546b..87c6f76 100644
--- a/arch/arm/include/lpc54xx/chip.h
+++ b/arch/arm/include/lpc54xx/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/lpc54xx/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,37 +16,40 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_LPC54XX_CHIP_H
 #define __ARCH_ARM_INCLUDE_LPC54XX_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ***********************************************************************************
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
+
 /* LPC546xx Family Options.
  *
  * Family   CPU Flash  SRAM  FS  HS  Ether- CAN CAN LCD Package
  *          MHz (Kb)   (Kb)  USB USB net    2.0 FD
  * LPC54628 220   512    200 X   X   X      X   X   X   BGA180
  * LPC54618 180 <=512  <=200 X   X   X      X   X   X   BGA180, LQFP208
- * LPC54616 180 <=512  <=200 X   X   X      X   X       BGA100, BGA180, LQFP100, LQFP208
+ * LPC54616 180 <=512  <=200 X   X   X      X   X       BGA100, BGA180,
+ *                                                      LQFP100, LQFP208
  * LPC54608 180   512    200 X   X   X      X       X   BGA180, LQFP208
  * LPC54607 180 <=512  <=200 X   X   X                  BGA180, LQFP208
- * LPC54606 180 <=512  <=200 X   X   X      X           BGA100, BGA180, LQFP100, LQFP208
+ * LPC54606 180 <=512  <=200 X   X   X      X           BGA100, BGA180,
+ *                                                      LQFP100, LQFP208
  * LPC54605 180 <=512  <=200 X   X                      BGA180
  */
 
-/* NVIC priority levels *************************************************************/
+/* NVIC priority levels *****************************************************/
 
-/* Each priority field holds a priority value, 0-31. The lower the value, the greater
- * the priority of the corresponding interrupt.
+/* Each priority field holds a priority value, 0-31. The lower the value, the
+ * greater the priority of the corresponding interrupt.
  *
  * The Cortex-M4 core supports 8 programmable interrupt priority levels.
  */
@@ -56,16 +59,16 @@
 #define NVIC_SYSH_PRIORITY_MAX          0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP         0x20 /* Steps between priorities */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_LPC43XX_CHIP_H */
diff --git a/arch/arm/include/lpc54xx/irq.h b/arch/arm/include/lpc54xx/irq.h
index 4339983..fbf566f 100644
--- a/arch/arm/include/lpc54xx/irq.h
+++ b/arch/arm/include/lpc54xx/irq.h
@@ -1,4 +1,4 @@
-/********************************************************************************************
+/****************************************************************************
  * arch/arm/include/lpc54xx/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,7 +16,7 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ********************************************************************************************/
+ ****************************************************************************/
 
 /* This file should never be included directly but, rather,
  * only indirectly through nuttx/irq.h
@@ -25,21 +25,22 @@
 #ifndef __ARCH_ARM_INCLUDE_LPC54XX_IRQ_H
 #define __ARCH_ARM_INCLUDE_LPC54XX_IRQ_H
 
-/********************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #  include <stdint.h>
 #endif
 
-/********************************************************************************************
- * Pre-processor Definitions
- ********************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to bits in
- * the NVIC.  This does, however, waste several words of memory in the IRQ to handle mapping
- * tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to bits in
+ * the NVIC.  This does, however, waste several words of memory in the IRQ to
+ * handle mapping tables.
  */
 
 /* Processor Exceptions (vectors 0-15) */
@@ -68,16 +69,16 @@
 #  error "Unsupported LPC54 MCU"
 #endif
 
-/********************************************************************************************
+/****************************************************************************
  * Public Types
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 typedef void (*vic_vector_t)(uint32_t *regs);
 
-/********************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 #define EXTERN extern "C"
diff --git a/arch/arm/include/lpc54xx/lpc546x_irq.h b/arch/arm/include/lpc54xx/lpc546x_irq.h
index e7a7a2d..2cd6f32 100644
--- a/arch/arm/include/lpc54xx/lpc546x_irq.h
+++ b/arch/arm/include/lpc54xx/lpc546x_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/include/lpc54xx/lpc546x_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,18 +16,18 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_LPC54XX_LPC543X_IRQ_H
 #define __ARCH_ARM_INCLUDE_LPC54XX_LPC543X_IRQ_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Cortex-M4 External interrupts (vectors >= 16) */
 
diff --git a/arch/arm/include/max326xx/chip.h b/arch/arm/include/max326xx/chip.h
index c270e78..9a3a13d 100644
--- a/arch/arm/include/max326xx/chip.h
+++ b/arch/arm/include/max326xx/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/max326xx/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,27 +16,27 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_MAX326XX_CHIP_H
 #define __ARCH_ARM_INCLUDE_MAX326XX_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* Get customizations for each supported MAX326xx family.  Only sizes and numbers of
- * things are provided here.  See arch/arm/src/max326xx/Kconfig for other, boolean
- * configuration settings.
+/* Get customizations for each supported MAX326xx family.  Only sizes and
+ * numbers of things are provided here.  See arch/arm/src/max326xx/Kconfig
+ * for other, boolean configuration settings.
  *
- * MAX326xx Families are determined by sharing a common User Guide for the chip
- * specification:
+ * MAX326xx Families are determined by sharing a common User Guide for the
+ * chip specification:
  *
  *   MAX32620/32621 Family:  MAX32620 Rev C, User Guide, AN6242, Rev 2, 2/17
  *   MAX32630/32632 Family:  MAX32630 Rev B, User Guide, AN6349, Rev 0, 10/16
@@ -174,10 +174,12 @@
 #  error Unrecognized MAX326XX chip
 #endif
 
-/* NVIC priority levels *************************************************************/
-/* Each priority field holds a priority value, 0x00-0xe0. The lower the value, the
- * greater the priority of the corresponding interrupt. The processor implements only
- * bits[7:4] of each field, bits[6:0] read as zero and ignore writes.
+/* NVIC priority levels *****************************************************/
+
+/* Each priority field holds a priority value, 0x00-0xe0. The lower the
+ * value, the greater the priority of the corresponding interrupt. The
+ * processor implements only bits[7:4] of each field, bits[6:0] read as zero
+ * and ignore writes.
  */
 
 #define NVIC_SYSH_PRIORITY_MIN      0xe0 /* All bits[7:5] set is minimum priority */
@@ -185,16 +187,16 @@
 #define NVIC_SYSH_PRIORITY_MAX      0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP     0x20 /* Eight priority levels in steps 0x20 */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_MAX326XX_CHIP_H */
diff --git a/arch/arm/include/max326xx/irq.h b/arch/arm/include/max326xx/irq.h
index db08258..91b7e28 100644
--- a/arch/arm/include/max326xx/irq.h
+++ b/arch/arm/include/max326xx/irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/max326xx/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,29 +16,30 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_MAX326_IRQ_H
 #define __ARCH_ARM_INCLUDE_MAX326_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/max326xx/chip.h>
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* Common Processor Exceptions (vectors 0-15) */
@@ -70,15 +71,15 @@
 #  error "Unsupported MAX326XX family"
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 #define EXTERN extern "C"
@@ -88,9 +89,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/max326xx/max32620_30_irq.h b/arch/arm/include/max326xx/max32620_30_irq.h
index 27fdddd..4dd04bf 100644
--- a/arch/arm/include/max326xx/max32620_30_irq.h
+++ b/arch/arm/include/max326xx/max32620_30_irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************************
+/****************************************************************************
  * arch/arm/include/max326xx/max32620_30_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_MAX326XX_MAX32610_30_IRQ_H
 #define __ARCH_ARM_INCLUDE_MAX326XX_MAX32610_30_IRQ_H
 
-/************************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* External interrupts (vectors >= 16) */
 
@@ -92,7 +92,9 @@
 
 #define MAX326_IRQ_NVECTORS   (MAX326_IRQ_EXTINT + MAX326_IRQ_NEXTINT)
 
-/* If GPIO pin interrupts are used then there is a second level of interrupt decode */
+/* If GPIO pin interrupts are used then there is a second level of interrupt
+ * decode
+ */
 
 #ifdef CONFIG_MAX326XX_GPIOIRQ
 #warning Missing logic
@@ -104,21 +106,21 @@
 
 #define NR_IRQS               (MAX326_IRQ_NVECTORS + MAX326_IRQ_NPININT)
 
-/************************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
+/****************************************************************************
  * Inline functions
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/max326xx/max32660_irq.h b/arch/arm/include/max326xx/max32660_irq.h
index 9288fdf..03493b6 100644
--- a/arch/arm/include/max326xx/max32660_irq.h
+++ b/arch/arm/include/max326xx/max32660_irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************************
+/****************************************************************************
  * arch/arm/include/max326xx/max32660_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_MAX326XX_MAX32660_IRQ_H
 #define __ARCH_ARM_INCLUDE_MAX326XX_MAX32660_IRQ_H
 
-/************************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* External interrupts (vectors >= 16) */
 
@@ -67,10 +67,14 @@
 #define MAX326_IRQ_NEXTINT    55
 #define MAX326_IRQ_NVECTORS   (MAX326_IRQ_EXTINT + MAX326_IRQ_NEXTINT)
 
-/* If GPIO pin interrupts are used then there is a second level of interrupt decode */
+/* If GPIO pin interrupts are used then there is a second level of
+ * interrupt decode
+ */
 
 #ifdef CONFIG_MAX326XX_GPIOIRQ
-/* Up to 14 pins are available as interrupt sources, depending on the MAX32660 package */
+/* Up to 14 pins are available as interrupt sources,
+ * depending on the MAX32660 package
+ */
 
 #  define MAX326_IRQ_P0_0     (MAX326_IRQ_NEXTINT + 0)
 #  define MAX326_IRQ_P0_1     (MAX326_IRQ_NEXTINT + 1)
@@ -98,21 +102,21 @@
 
 #define NR_IRQS               (MAX326_IRQ_NVECTORS + MAX326_IRQ_NPININT)
 
-/************************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
+/****************************************************************************
  * Inline functions
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/moxart/irq.h b/arch/arm/include/moxart/irq.h
index 4796641..31d289c 100644
--- a/arch/arm/include/moxart/irq.h
+++ b/arch/arm/include/moxart/irq.h
@@ -30,7 +30,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /****************************************************************************
diff --git a/arch/arm/include/nrf52/chip.h b/arch/arm/include/nrf52/chip.h
index d0f055f..a02df82 100644
--- a/arch/arm/include/nrf52/chip.h
+++ b/arch/arm/include/nrf52/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/nrf52/chip.h
  *
  *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
@@ -31,25 +31,25 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_NRF52_CHIP_H
 #define __ARCH_ARM_INCLUDE_NRF52_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ***********************************************************************************
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* NVIC priority levels *************************************************************/
+/* NVIC priority levels *****************************************************/
 
-/* Each priority field holds a priority value, 0-31. The lower the value, the greater
- * the priority of the corresponding interrupt.
+/* Each priority field holds a priority value, 0-31. The lower the value,
+ * the greater the priority of the corresponding interrupt.
  *
  * The Cortex-M4 core supports 8 programmable interrupt priority levels.
  */
@@ -59,16 +59,16 @@
 #define NVIC_SYSH_PRIORITY_MAX          0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP         0x20 /* Steps between priorities */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_NRF52_CHIP_H */
diff --git a/arch/arm/include/nrf52/irq.h b/arch/arm/include/nrf52/irq.h
index 31c0dc4..7cce4dd 100644
--- a/arch/arm/include/nrf52/irq.h
+++ b/arch/arm/include/nrf52/irq.h
@@ -1,4 +1,4 @@
-/********************************************************************************************
+/****************************************************************************
  * arch/arm/include/nrf52/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,7 +16,7 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ********************************************************************************************/
+ ****************************************************************************/
 
 /* This file should never be included directly but, rather,
  * only indirectly through nuttx/irq.h
@@ -25,21 +25,22 @@
 #ifndef __ARCH_ARM_INCLUDE_NRF52_IRQ_H
 #define __ARCH_ARM_INCLUDE_NRF52_IRQ_H
 
-/********************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #  include <stdint.h>
 #endif
 
-/********************************************************************************************
- * Pre-processor Definitions
- ********************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to bits in
- * the NVIC.  This does, however, waste several words of memory in the IRQ to handle mapping
- * tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to bits in
+ * the NVIC.  This does, however, waste several words of memory in the IRQ to
+ * handle mapping tables.
  */
 
 /* Processor Exceptions (vectors 0-15) */
@@ -62,9 +63,9 @@
 
 /* Cortex-M4 External interrupts (vectors >= 16) */
 
-/********************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************/
+ ****************************************************************************/
 
 #if defined(CONFIG_ARCH_FAMILY_NRF52)
 #  include <arch/nrf52/nrf52_irq.h>
@@ -72,16 +73,16 @@
 #  error "Unsupported NRF52XX MCU"
 #endif
 
-/********************************************************************************************
+/****************************************************************************
  * Public Types
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 typedef void (*vic_vector_t)(uint32_t *regs);
 
-/********************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ********************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 #define EXTERN extern "C"
diff --git a/arch/arm/include/nrf52/nrf52_irq.h b/arch/arm/include/nrf52/nrf52_irq.h
index b337fa5..5e723ae 100644
--- a/arch/arm/include/nrf52/nrf52_irq.h
+++ b/arch/arm/include/nrf52/nrf52_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/include/nrf52/nrf52_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,18 +16,18 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_NRF52_NRF52_IRQ_H
 #define __ARCH_ARM_INCLUDE_NRF52_NRF52_IRQ_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Cortex-M4 External interrupts (vectors >= 16) */
 
diff --git a/arch/arm/include/nuc1xx/chip.h b/arch/arm/include/nuc1xx/chip.h
index b054e74..258e841 100644
--- a/arch/arm/include/nuc1xx/chip.h
+++ b/arch/arm/include/nuc1xx/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/nuc1xx/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,23 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
-
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_NUC1XX_CHIP_H
 #define __ARCH_ARM_INCLUDE_NUC1XX_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
-/* Chip capabilities ****************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
+
+/* Chip capabilities ********************************************************/
+
 /* NUC100 Advanced Line (Low Density) */
 
 #if defined(CONFIG_ARCH_CHIP_NUC100LC1BN) /* Flash 32K SRAM 4K, LQFP48 package */
@@ -620,10 +621,12 @@
 #  error "Unrecognized NUC1XX chip"
 #endif
 
-/* NVIC priority levels *************************************************************/
-/* Each priority field holds a priority value, 0-3. The lower the value, the greater
- * the priority of the corresponding interrupt. The processor implements only
- * bits[7:6] of each field, bits[5:0] read as zero and ignore writes.
+/* NVIC priority levels *****************************************************/
+
+/* Each priority field holds a priority value, 0-3. The lower the value, the
+ * greater the priority of the corresponding interrupt. The processor
+ * implements only bits[7:6] of each field, bits[5:0] read as zero and
+ * ignore writes.
  */
 
 #define NVIC_SYSH_PRIORITY_MIN     0xc0 /* All bits[7:6] set is minimum priority */
@@ -631,13 +634,13 @@
 #define NVIC_SYSH_PRIORITY_MAX     0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP    0x40 /* Five bits of interrupt priority used */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -648,9 +651,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/nuc1xx/irq.h b/arch/arm/include/nuc1xx/irq.h
index 963e532..54e1d03 100644
--- a/arch/arm/include/nuc1xx/irq.h
+++ b/arch/arm/include/nuc1xx/irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/nuc1xx/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,29 +16,30 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_NUC1XX_IRQ_H
 #define __ARCH_ARM_INCLUDE_NUC1XX_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/nuc1xx/chip.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* Processor Exceptions (vectors 0-15) */
@@ -54,7 +55,9 @@
 #define NUC_IRQ_PENDSV        (14) /* Vector 14: Pendable system service request */
 #define NUC_IRQ_SYSTICK       (15) /* Vector 15: System tick */
 
-/* External interrupts (vectors >= 16).  These definitions are chip-specific */
+/* External interrupts (vectors >= 16).
+ * These definitions are chip-specific
+ */
 
 #define NUC_IRQ_INTERRUPT     (16)
 
@@ -64,13 +67,13 @@
 #  error "Unrecognized/unsupported NUC chip"
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -81,9 +84,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/nuc1xx/nuc120_irq.h b/arch/arm/include/nuc1xx/nuc120_irq.h
index a6e5444..ddcb5d0c 100644
--- a/arch/arm/include/nuc1xx/nuc120_irq.h
+++ b/arch/arm/include/nuc1xx/nuc120_irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/nuc1xx/nuc120_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_NUC1XX_NUC120_IRQ_H
 #define __ARCH_ARM_INCLUDE_NUC1XX_NUC120_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* NUC120 IRQ numbers */
 
@@ -70,13 +70,13 @@
 
 #define NR_IRQS        (48)
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -87,9 +87,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/rp2040/irq.h b/arch/arm/include/rp2040/irq.h
index 37600f1..a8b776f 100644
--- a/arch/arm/include/rp2040/irq.h
+++ b/arch/arm/include/rp2040/irq.h
@@ -34,7 +34,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/s32k1xx/chip.h b/arch/arm/include/s32k1xx/chip.h
index c21009d..1af309d 100644
--- a/arch/arm/include/s32k1xx/chip.h
+++ b/arch/arm/include/s32k1xx/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/s32k1xx/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,25 +16,25 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_S32K1XX_CHIP_H
 #define __ARCH_ARM_INCLUDE_S32K1XX_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* NVIC priority levels *************************************************************/
+/* NVIC priority levels *****************************************************/
 
-/* Each priority field holds a priority value. The lower the value, the greater the
- * priority of the corresponding interrupt.
+/* Each priority field holds a priority value. The lower the value, the
+ * greater the priority of the corresponding interrupt.
  */
 
 #if defined(CONFIG_ARCH_CORTEXM4)
@@ -55,16 +55,16 @@
 
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ************************************************************************************/
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_S32K1XX_CHIP_H */
diff --git a/arch/arm/include/s32k1xx/s32k11x_irq.h b/arch/arm/include/s32k1xx/s32k11x_irq.h
index d5cfc64..f6ed467 100644
--- a/arch/arm/include/s32k1xx/s32k11x_irq.h
+++ b/arch/arm/include/s32k1xx/s32k11x_irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/s32k1xx/s32k11x_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,28 +16,29 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_S32K1XX_S32K11XX_IRQ_H
 #define __ARCH_ARM_INCLUDE_S32K1XX_S32K11XX_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* Processor Exceptions (vectors 0-15) */
@@ -53,7 +54,9 @@
 #define S32K1XX_IRQ_PENDSV        (14) /* Vector 14: Pendable system service request */
 #define S32K1XX_IRQ_SYSTICK       (15) /* Vector 15: System tick */
 
-/* External interrupts (vectors >= 16).  These definitions are chip-specific */
+/* External interrupts (vectors >= 16).
+ * These definitions are chip-specific
+ */
 
 #define S32K1XX_IRQ_INTERRUPT     (16)
 
diff --git a/arch/arm/include/s32k1xx/s32k14x_irq.h b/arch/arm/include/s32k1xx/s32k14x_irq.h
index bd7fe3c..bbc8f9a 100644
--- a/arch/arm/include/s32k1xx/s32k14x_irq.h
+++ b/arch/arm/include/s32k1xx/s32k14x_irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/s32k1xx/s32k14x_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,28 +16,29 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_S32K1XX_S32K14XX_IRQ_H
 #define __ARCH_ARM_INCLUDE_S32K1XX_S32K14XX_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* Processor Exceptions (vectors 0-15) */
@@ -56,7 +57,9 @@
 #define S32K1XX_IRQ_PENDSV        (14)   /* Vector 14: Pendable system service request */
 #define S32K1XX_IRQ_SYSTICK       (15)   /* Vector 15: System tick */
 
-/* External interrupts (vectors >= 16).  These definitions are chip-specific */
+/* External interrupts (vectors >= 16).
+ * These definitions are chip-specific
+ */
 
 #define S32K1XX_IRQ_INTERRUPT     (16)   /* Vector number of the first external interrupt */
 
diff --git a/arch/arm/include/sam34/chip.h b/arch/arm/include/sam34/chip.h
index 8586f88..5fb4af6 100644
--- a/arch/arm/include/sam34/chip.h
+++ b/arch/arm/include/sam34/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/sam34/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,25 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_SAM34_CHIP_H
 #define __ARCH_ARM_INCLUDE_SAM34_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Get customizations for each supported chip */
 
-/* AT91SAM3U Family *****************************************************************/
+/* AT91SAM3U Family *********************************************************/
+
 /* FEATURE      SAM3U4E  SAM3U2E  SAM3U1E  SAM3U4C  SAM3U2C  SAM3U1C
  * ----------- -------- -------- -------- -------- -------- --------
  * Flash        2x128KB  128KB    64KB     2x128KB  128KB    64KB
@@ -189,7 +190,8 @@
 #  define SAM34_NUDPFS                0             /* No USB full speed device */
 #  define SAM34_NUHPFS                0             /* No USB full speed embedded host */
 
-/* AT91SAM3X/3A Families ************************************************************/
+/* AT91SAM3X/3A Families ****************************************************/
+
 /* FEATURE      SAM3X8E  SAM3X8C  SAM3X4E  SAM3X4C  SAM3A8C  SAM3A4C
  * ------------ -------- -------- -------- -------- -------- --------
  * Flash        2x256KB  2x256KB  2x128KB  2x128KB  2x256KB  2x128KB
@@ -340,7 +342,8 @@
 #  define SAM34_NUDPFS                0             /* No USB full speed device */
 #  define SAM34_NUHPFS                0             /* No USB full speed embedded host */
 
-/* AT91SAM4C Family *****************************************************************/
+/* AT91SAM4C Family *********************************************************/
+
 /* FEATURE     SAM4CMP16B
  * ----------- ---------
  * Flash        1024KB
@@ -389,7 +392,8 @@
 #  define SAM32_NUDPFS                0            /* No USB full speed device */
 #  define SAM32_NUHPFS                0            /* No USB full speed embedded host */
 
-/* AT91SAM4L Family *****************************************************************/
+/* AT91SAM4L Family *********************************************************/
+
 /* Sub-family differences:
  *
  *   FEATURE                 ATSAM4LCxx    ATSAM4LSxx
@@ -526,23 +530,39 @@
 #  define SAM34_NUDPFS                1             /* 1 USB full speed device */
 #  define SAM34_NUHPFS                0             /* No USB full speed embedded host */
 
-/* AT91SAM4S Family *****************************************************************/
-/*
- * FEATURE       SAM4SD32C SAM4SD32B SAM4SD16C SAM4SD16B SAM4SA16C SAM4SA16B SAM4S16C SAM4S16B SAM4S8C SAM4S8B SAM4S4C
- * ------------- --------- --------- --------- --------- --------- --------- -------- -------- ------- ------- -------
- * Flash         2x1MB     2x1MB     2x512KB   1x1MB     1x1MB     1x1MB     1x1MB    1x1MB    1x512KB 1x512KB 1x256KB
- * SRAM          160KB     160KB     160KB     160KB     160KB     160KB     128KB    128KB    128KB   128KB   64KB
- * HCACHE        2KB       2KB       2KB       2KB       2KB       2KB       -        -        -       -       -
- * Pins          100       64        100       64        100       64        100      64       100     64      100
- * No. PIOs      79        47        79        47        79        47        79       47       79      47      79
- * Ext. BUS      Yes       No        Yes       No        Yes       No        Yes      No       Yes     No      Yes
- * 12-bit ADC    16 ch     11 ch     16 ch     11 ch     16 ch     11 ch     16 ch    11 ch    16 ch   11 ch   16 ch
- * 12-bit DAC    2 ch      2 ch      2 ch      2 ch      2 ch      2 ch      2 ch     2 ch     2 ch    2 ch    2 ch
- * Timer Counter 6 ch      3 ch      6 ch      3 ch      6 ch      3 ch      6 ch     3 ch     6 ch    3 ch    6 ch
- * PDC           22 ch     22 ch     22 ch     22 ch     22 ch     22 ch     22 ch    22 ch    22 ch   22 ch   22 ch
- * USART         2         2         2         2         2         2         2        2        2       2       2
- * UART          2         2         2         2         2         2         2        2        2       2       2
- * HSMCI         Yes       Yes       Yes       Yes       Yes       Yes       Yes      Yes      Yes     Yes     Yes
+/* AT91SAM4S Family *********************************************************/
+
+/* FEATURE       SAM4SD32C SAM4SD32B SAM4SD16C SAM4SD16B SAM4SA16C SAM4SA16B
+ * ------------- --------- --------- --------- --------- --------- ---------
+ * Flash         2x1MB     2x1MB     2x512KB   1x1MB     1x1MB     1x1MB
+ * SRAM          160KB     160KB     160KB     160KB     160KB     160KB
+ * HCACHE        2KB       2KB       2KB       2KB       2KB       2KB
+ * Pins          100       64        100       64        100       64
+ * No. PIOs      79        47        79        47        79        47
+ * Ext. BUS      Yes       No        Yes       No        Yes       No
+ * 12-bit ADC    16 ch     11 ch     16 ch     11 ch     16 ch     11 ch
+ * 12-bit DAC    2 ch      2 ch      2 ch      2 ch      2 ch      2 ch
+ * Timer Counter 6 ch      3 ch      6 ch      3 ch      6 ch      3 ch
+ * PDC           22 ch     22 ch     22 ch     22 ch     22 ch     22 ch
+ * USART         2         2         2         2         2         2
+ * UART          2         2         2         2         2         2
+ * HSMCI         Yes       Yes       Yes       Yes       Yes       Yes
+ *
+ * FEATURE       SAM4S16C SAM4S16B SAM4S8C SAM4S8B SAM4S4C
+ * ------------- -------- -------- ------- ------- -------
+ * Flash         1x1MB    1x1MB    1x512KB 1x512KB 1x256KB
+ * SRAM          128KB    128KB    128KB   128KB   64KB
+ * HCACHE        -        -        -       -       -
+ * Pins          100      64       100     64      100
+ * No. PIOs      79       47       79      47      79
+ * Ext. BUS      Yes      No       Yes     No      Yes
+ * 12-bit ADC    16 ch    11 ch    16 ch   11 ch   16 ch
+ * 12-bit DAC    2 ch     2 ch     2 ch    2 ch    2 ch
+ * Timer Counter 6 ch     3 ch     6 ch    3 ch    6 ch
+ * PDC           22 ch    22 ch    22 ch   22 ch   22 ch
+ * USART         2        2        2       2       2
+ * UART          2        2        2       2       2
+ * HSMCI         Yes      Yes      Yes     Yes     Yes
  */
 
 #elif defined(CONFIG_ARCH_CHIP_ATSAM4SD32C)
@@ -765,7 +785,8 @@
 #  define SAM34_NUDPFS                1             /* 1 USB full speed device */
 #  define SAM34_NUHPFS                0             /* No USB full speed embedded host */
 
-/* AT91SAM4E Family *****************************************************************/
+/* AT91SAM4E Family *********************************************************/
+
 /* FEATURE     SAM4E16E  SAM4E8E  SAM4E16C SAM4E8C
  * ----------- --------- -------- -------- --------
  * Flash        1024KB   512KB    1024KB   512KB
@@ -879,10 +900,12 @@
 #  error "Unknown SAM3/4 chip type"
 #endif
 
-/* NVIC priority levels *************************************************************/
-/* Each priority field holds a priority value, 0-15. The lower the value, the greater
- * the priority of the corresponding interrupt. The processor implements only
- * bits[7:4] of each field, bits[3:0] read as zero and ignore writes.
+/* NVIC priority levels *****************************************************/
+
+/* Each priority field holds a priority value, 0-15. The lower the value, the
+ * greater the priority of the corresponding interrupt. The processor
+ * implements only bits[7:4] of each field, bits[3:0] read as zero and ignore
+ * writes.
  */
 
 #define NVIC_SYSH_PRIORITY_MIN        0xf0 /* All bits[7:4] set is minimum priority */
@@ -890,16 +913,16 @@
 #define NVIC_SYSH_PRIORITY_MAX        0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP       0x10 /* Four bits of interrupt priority used */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_SAM34_CHIP_H */
diff --git a/arch/arm/include/sam34/irq.h b/arch/arm/include/sam34/irq.h
index 10ff9c0..da33129 100644
--- a/arch/arm/include/sam34/irq.h
+++ b/arch/arm/include/sam34/irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/sam34/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,29 +16,30 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAM34_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAM34_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/sam34/chip.h>
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* Common Processor Exceptions (vectors 0-15) */
@@ -77,15 +78,15 @@
 #  error Unrecognized SAM architecture
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 #define EXTERN extern "C"
@@ -95,9 +96,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/sam34/sam3u_irq.h b/arch/arm/include/sam34/sam3u_irq.h
index 8a65773..9e537f9 100644
--- a/arch/arm/include/sam34/sam3u_irq.h
+++ b/arch/arm/include/sam34/sam3u_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/sam34/sam3u_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAM34_SAM3U_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAM34_SAM3U_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* SAM3U Peripheral Identifiers */
 
@@ -226,21 +226,21 @@
 #define NR_IRQS               (SAM_IRQ_EXTINT + SAM_IRQ_NEXTINT + \
                                SAM_NGPIOAIRQS + SAM_NGPIOBIRQS + SAM_NGPIOCIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/sam34/sam3x_irq.h b/arch/arm/include/sam34/sam3x_irq.h
index cc94a86..18b2907 100644
--- a/arch/arm/include/sam34/sam3x_irq.h
+++ b/arch/arm/include/sam34/sam3x_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/sam34/sam3x_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAM34_SAM3X_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAM34_SAM3X_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* SAM3X Peripheral Identifiers */
 
@@ -381,21 +381,21 @@
                                SAM_NGPIOAIRQS + SAM_NGPIOBIRQS + SAM_NGPIOCIRQS + \
                                SAM_NGPIODIRQS + SAM_NGPIOEIRQS + SAM_NGPIOFIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/sam34/sam4cm_irq.h b/arch/arm/include/sam34/sam4cm_irq.h
index 9dda0f1..959ef7d 100644
--- a/arch/arm/include/sam34/sam4cm_irq.h
+++ b/arch/arm/include/sam34/sam4cm_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/sam34/sam4cm_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAM34_SAM4CM_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAM34_SAM4CM_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* SAM4CM Peripheral Identifiers */
 
@@ -255,17 +255,17 @@
 #define NR_IRQS              (SAM_IRQ_EXTINT + SAM_IRQ_NEXTINT + \
                               SAM_NGPIOAIRQS + SAM_NGPIOBIRQS + SAM_NGPIOCIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -276,9 +276,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/sam34/sam4e_irq.h b/arch/arm/include/sam34/sam4e_irq.h
index 6dad711..fda375c 100644
--- a/arch/arm/include/sam34/sam4e_irq.h
+++ b/arch/arm/include/sam34/sam4e_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/sam34/sam4e_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAM34_SAM4E_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAM34_SAM4E_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* SAM4E Peripheral Identifiers */
 
@@ -81,7 +81,7 @@
                                     /* 46: Reserved */
 #define NR_PIDS               (47)  /* Number of peripheral identifiers */
 
-/* External interrupts (priority levels >= 256*/
+/* External interrupts (priority levels >= 256 */
 
 #define SAM_IRQ_SUPC          (SAM_IRQ_EXTINT+SAM_PID_SUPC)   /* Supply Controller */
 #define SAM_IRQ_RSTC          (SAM_IRQ_EXTINT+SAM_PID_RSTC)   /* Reset Controller */
@@ -289,21 +289,21 @@
                                SAM_NGPIOAIRQS + SAM_NGPIOBIRQS + SAM_NGPIOCIRQS + \
                                SAM_NGPIODIRQS + SAM_NGPIOEIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/sam34/sam4l_irq.h b/arch/arm/include/sam34/sam4l_irq.h
index 8127231..c4390f1 100644
--- a/arch/arm/include/sam34/sam4l_irq.h
+++ b/arch/arm/include/sam34/sam4l_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/sam34/sam4l_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,26 +16,28 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAM34_SAM4L_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAM34_SAM4L_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* SAM4L Peripheral Identifiers.  NOTE:  Interrupts are not tied to the DMA peripheral
- * identifiers in the SAM4L as they were with the SAM3U.  However, for consistency, those
- * peripheral identifiers are defined in this file as well.
+/* SAM4L Peripheral Identifiers.
+ * NOTE:
+ * Interrupts are not tied to the DMA peripheral identifiers in the SAM4L as
+ * they were with the SAM3U.  However, for consistency, those peripheral
+ * identifiers are defined in this file as well.
  */
 
 #define SAM_PID_USART0_RHR     (0)   /* DIR=RX REGISTER: USART0 RHR */
@@ -287,21 +289,21 @@
 #define NR_IRQS               (SAM_IRQ_EXTINT + SAM_IRQ_NEXTINT + \
                                SAM_NGPIOAIRQS + SAM_NGPIOBIRQS + SAM_NGPIOCIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/sam34/sam4s_irq.h b/arch/arm/include/sam34/sam4s_irq.h
index e8b9d60..5ed484f 100644
--- a/arch/arm/include/sam34/sam4s_irq.h
+++ b/arch/arm/include/sam34/sam4s_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/sam34/sam4s_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAM34_SAM4S_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAM34_SAM4S_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* SAM4S Peripheral Identifiers */
 
@@ -237,21 +237,21 @@
 #define NR_IRQS              (SAM_IRQ_EXTINT + SAM_IRQ_NEXTINT + \
                               SAM_NGPIOAIRQS + SAM_NGPIOBIRQS + SAM_NGPIOCIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/sama5/chip.h b/arch/arm/include/sama5/chip.h
index 136a1b3..68b3770 100644
--- a/arch/arm/include/sama5/chip.h
+++ b/arch/arm/include/sama5/chip.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/include/sama5/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,49 +16,78 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_SAMA5_CHIP_H
 #define __ARCH_ARM_INCLUDE_SAMA5_CHIP_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/****************************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
+
 /* SAMA5D2 Family
  *
- *                           SAMA5D21  SAMA5D22  SAMA5D23  SAMA5D24  SAMA5D26  SAMA5D27  SAMA5D28
- * ------------------------- --------- --------- --------- --------- --------- --------- ---------
- * Pin Count                 196       196       196       256       289       289       289
- * Max. Operating Frequency  500 MHz   500 MHz   500 MHz   500 MHz   500 MHz   500 MHz   500 MHz
- * CPU                       Cortex-A5 Cortex-A5 Cortex-A5 Cortex-A5 Cortex-A5 Cortex-A5 Cortex-A5
- * Max I/O Pins              72        72        72        105       128       128       128
- * USB Transceiver           1         1         1         1         1         1         1
- * USB Speed                 Hi-Speed  Hi-Speed  Hi-Speed  Hi-Speed  Hi-Speed  Hi-Speed  Hi-Speed
- * USB Interface             2         2         2         3         3         3         3
- * SPI                       6         6         6         7         7         7         7
- * QuadSPI                   2         2         2         2         2         2         2
- * TWIHS (I2C)               6         6         6         7         7         7         7
- * UART                      9         9         9         10        10        10        10
- * CAN                       -         1         1         -         -         2         2
- * SDIO/SD/MMC               1         1         1         2         2         2         2
- * I2SC                      2         2         2         2         2         2         2
- * SSC                       2         2         2         2         2         2         2
- * Class D                   1         1         1         2         2         2         2
- * PDMIC                     1         1         1         2         2         2         2
- * Camera Interface          1         1         1         1         1         1         1
- * ADC Inputs                5         5         5         12        12        12        12
- * AESB                      -         1         1         1         -         1         1
- * SRAM (Kbytes)             128       128       128       128       128       128       128
- * DDR Bus                   16-bit    16-bit    16-bit    16/32-bit 16/32-bit 16/32-bit 16/32-bit
- * Timers                    6         6         6         6         6         6         6
- * Tamper pins               6         6         6         2         8         8         8
- * Packages                  BGA196    BGA196    BGA196    BGA256    BGA289    BGA289    BGA289
+ *                           SAMA5D21  SAMA5D22  SAMA5D23  SAMA5D24
+ * ------------------------- --------- --------- --------- ---------
+ * Pin Count                 196       196       196       256
+ * Max. Operating Frequency  500 MHz   500 MHz   500 MHz   500 MHz
+ * CPU                       Cortex-A5 Cortex-A5 Cortex-A5 Cortex-A5
+ * Max I/O Pins              72        72        72        105
+ * USB Transceiver           1         1         1         1
+ * USB Speed                 Hi-Speed  Hi-Speed  Hi-Speed  Hi-Speed
+ * USB Interface             2         2         2         3
+ * SPI                       6         6         6         7
+ * QuadSPI                   2         2         2         2
+ * TWIHS (I2C)               6         6         6         7
+ * UART                      9         9         9         10
+ * CAN                       -         1         1         -
+ * SDIO/SD/MMC               1         1         1         2
+ * I2SC                      2         2         2         2
+ * SSC                       2         2         2         2
+ * Class D                   1         1         1         2
+ * PDMIC                     1         1         1         2
+ * Camera Interface          1         1         1         1
+ * ADC Inputs                5         5         5         1
+ * AESB                      -         1         1         1
+ * SRAM (Kbytes)             128       128       128       128
+ * DDR Bus                   16-bit    16-bit    16-bit    16/32-bit
+ * Timers                    6         6         6         6
+ * Tamper pins               6         6         6         2
+ * Packages                  BGA196    BGA196    BGA196    BGA256
+ *
+ *                           SAMA5D26  SAMA5D27  SAMA5D28
+ * ------------------------- --------- --------- ---------
+ * Pin Count                 289       289       289
+ * Max. Operating Frequency  500 MHz   500 MHz   500 MHz
+ * CPU                       Cortex-A5 Cortex-A5 Cortex-A5
+ * Max I/O Pins              128       128       128
+ * USB Transceiver           1         1         1
+ * USB Speed                 Hi-Speed  Hi-Speed  Hi-Speed
+ * USB Interface             3         3         3
+ * SPI                       7         7         7
+ * QuadSPI                   2         2         2
+ * TWIHS (I2C)               7         7         7
+ * UART                      10        10        10
+ * CAN                       -         2         2
+ * SDIO/SD/MMC               2         2         2
+ * I2SC                      2         2         2
+ * SSC                       2         2         2
+ * Class D                   2         2         2
+ * PDMIC                     2         2         2
+ * Camera Interface          1         1         1
+ * ADC Inputs                12        12        12
+ * AESB                      -         1         1
+ * SRAM (Kbytes)             128       128       128
+ * DDR Bus                   16/32-bit 16/32-bit 16/32-bit
+ * Timers                    6         6         6
+ * Tamper pins               8         8         8
+ * Packages                  BGA289    BGA289    BGA289
  */
 
 #if defined(CONFIG_ARCH_CHIP_ATSAMA5D21) || defined(CONFIG_ARCH_CHIP_ATSAMA5D22) || \
@@ -79,48 +108,91 @@
 
 /* SAMA5D3 Family
  *
- *                           ATSAMA5D31    ATSAMA5D33    ATSAMA5D34    ATSAMA5D35    ATSAMA5D36
- * ------------------------- ------------- ------------- ------------- ------------- -------------
- * Pin Count                 324           324           324           324           324
- * Max. Operating Frequency  536 MHz       536 MHz       536 MHz       536 MHz       536 MHz
- * CPU                       Cortex-A5     Cortex-A5     Cortex-A5     Cortex-A5     Cortex-A5
- * Max I/O Pins              160           160           160           160           160
- * Ext Interrupts            160           160           160           160           160
- * USB Transceiver           3             3             3             3             3
- * USB Speed                 Hi-Speed      Hi-Speed      Hi-Speed      Hi-Speed      Hi-Speed
- * USB Interface             Host, Device  Host, Device  Host, Device  Host, Device  Host, Device
- * SPI                       6             6             6             6             6
- * TWI (I2C)                 3             3             3             3             3
- * UART                      7             5             5             7             7
- * CAN                       -             -             2             2             2
- * LIN                       4             4             4             4             4
- * SSC                       2             2             2             2             2
- * Ethernet                  1             1             1             2             2
- * SD / eMMC                 3             2             3             2             3
- * Graphic LCD               Yes           Yes           Yes           -             Yes
- * Camera Interface          Yes           Yes           Yes           Yes           Yes
- * ADC channels              12            12            12            12            12
- * ADC Resolution (bits)     12            12            12            12            12
- * ADC Speed (ksps)          440           440           440           440           1000
- * Resistive Touch Screen    Yes           Yes           Yes           Yes           Yes
- * Crypto Engine             AES/DES/      AES/DES/      AES/DES/      AES/DES/      AES/DES/
- *                           SHA/TRNG      SHA/TRNG      SHA/TRNG      SHA/TRNG      SHA/TRNG
- * SRAM (Kbytes)             128           128           128           128           128
- * External Bus Interface    1             1             1             1             1
- * DRAM Memory               DDR2/LPDDR,   DDR2/LPDDR,   DDR2/LPDDR,   DDR2/LPDDR,   DDR2/LPDDR,
- *                           SDRAM/LPSDR   SDRAM/LPSDR   DDR2/LPDDR,   DDR2/LPDDR,   DDR2/LPDDR,
- * NAND Interface            Yes           Yes           Yes           Yes           Yes
- * Temp. Range (deg C)       -40 to 85     -40 to 85     -40 to 85     -40 to 85     -40 to 105
- * I/O Supply Class          1.8/3.3       1.8/3.3       1.8/3.3       1.8/3.3       1.8/3.3
- * Operating Voltage (Vcc)   1.08 to 1.32  1.08 to 1.32  1.08 to 1.32  1.08 to 1.322 1.08 to 1.32
- * FPU                       Yes           Yes           Yes           Yes           Yes
- * MPU / MMU                 No/Yes        No/Yes        No/Yes        No/Yes        No/Yes
- * Timers                    5             5             5             6             6
- * Output Compare channels   6             6             6             6             6
- * Input Capture Channels    6             6             6             6             6
- * PWM Channels              4             4             4             4             4
- * 32kHz RTC                 Yes           Yes           Yes           Yes           Yes
- * Packages                  LFBGA324_A    LFBGA324_A    LFBGA324_A    LFBGA324_A    LFBGA324_A
+ *                           ATSAMA5D31    ATSAMA5D33    ATSAMA5D34
+ * ------------------------- ------------- ------------- -------------
+ * Pin Count                 324           324           324
+ * Max. Operating Frequency  536 MHz       536 MHz       536 MHz
+ * CPU                       Cortex-A5     Cortex-A5     Cortex-A5
+ * Max I/O Pins              160           160           160
+ * Ext Interrupts            160           160           160
+ * USB Transceiver           3             3             3
+ * USB Speed                 Hi-Speed      Hi-Speed      Hi-Speed
+ * USB Interface             Host, Device  Host, Device  Host, Device
+ * SPI                       6             6             6
+ * TWI (I2C)                 3             3             3
+ * UART                      7             5             5
+ * CAN                       -             -             2
+ * LIN                       4             4             4
+ * SSC                       2             2             2
+ * Ethernet                  1             1             1
+ * SD / eMMC                 3             2             3
+ * Graphic LCD               Yes           Yes           Yes
+ * Camera Interface          Yes           Yes           Yes
+ * ADC channels              12            12            12
+ * ADC Resolution (bits)     12            12            12
+ * ADC Speed (ksps)          440           440           440
+ * Resistive Touch Screen    Yes           Yes           Yes
+ * Crypto Engine             AES/DES/      AES/DES/      AES/DES/
+ *                           SHA/TRNG      SHA/TRNG      SHA/TRNG
+ * SRAM (Kbytes)             128           128           128
+ * External Bus Interface    1             1             1
+ * DRAM Memory               DDR2/LPDDR,   DDR2/LPDDR,   DDR2/LPDDR,
+ *                           SDRAM/LPSDR   SDRAM/LPSDR   DDR2/LPDDR,
+ * NAND Interface            Yes           Yes           Yes
+ * Temp. Range (deg C)       -40 to 85     -40 to 85     -40 to 85
+ * I/O Supply Class          1.8/3.3       1.8/3.3       1.8/3.3
+ * Operating Voltage (Vcc)   1.08 to 1.32  1.08 to 1.32  1.08 to 1.32
+ * FPU                       Yes           Yes           Yes
+ * MPU / MMU                 No/Yes        No/Yes        No/Yes
+ * Timers                    5             5             5
+ * Output Compare channels   6             6             6
+ * Input Capture Channels    6             6             6
+ * PWM Channels              4             4             4
+ * 32kHz RTC                 Yes           Yes           Yes
+ * Packages                  LFBGA324_A    LFBGA324_A    LFBGA324_A
+ *
+ *                           ATSAMA5D35    ATSAMA5D36
+ * ------------------------- ------------- -------------
+ * Pin Count                 324           324
+ * Max. Operating Frequency  536 MHz       536 MHz
+ * CPU                       Cortex-A5     Cortex-A5
+ * Max I/O Pins              160           160
+ * Ext Interrupts            160           160
+ * USB Transceiver           3             3
+ * USB Speed                 Hi-Speed      Hi-Speed
+ * USB Interface             Host, Device  Host, Device
+ * SPI                       6             6
+ * TWI (I2C)                 3             3
+ * UART                      7             7
+ * CAN                       2             2
+ * LIN                       4             4
+ * SSC                       2             2
+ * Ethernet                  2             2
+ * SD / eMMC                 2             3
+ * Graphic LCD               -             Yes
+ * Camera Interface          Yes           Yes
+ * ADC channels              12            12
+ * ADC Resolution (bits)     12            12
+ * ADC Speed (ksps)          440           1000
+ * Resistive Touch Screen    Yes           Yes
+ * Crypto Engine             AES/DES/      AES/DES/
+ *                           SHA/TRNG      SHA/TRNG
+ * SRAM (Kbytes)             128           128
+ * External Bus Interface    1             1
+ * DRAM Memory               DDR2/LPDDR,   DDR2/LPDDR,
+ *                           DDR2/LPDDR,   DDR2/LPDDR,
+ * NAND Interface            Yes           Yes
+ * Temp. Range (deg C)       -40 to 85     -40 to 105
+ * I/O Supply Class          1.8/3.3       1.8/3.3
+ * Operating Voltage (Vcc)   1.08 to 1.322 1.08 to 1.32
+ * FPU                       Yes           Yes
+ * MPU / MMU                 No/Yes        No/Yes
+ * Timers                    6             6
+ * Output Compare channels   6             6
+ * Input Capture Channels    6             6
+ * PWM Channels              4             4
+ * 32kHz RTC                 Yes           Yes
+ * Packages                  LFBGA324_A    LFBGA324_A
  */
 
 #elif defined(CONFIG_ARCH_CHIP_ATSAMA5D31)
@@ -189,16 +261,16 @@
 #  error Unrecognized SAMAD5 chip
 #endif
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************************
- * Public Functions
- ****************************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_SAMA5_CHIP_H */
diff --git a/arch/arm/include/sama5/irq.h b/arch/arm/include/sama5/irq.h
index bf27161..acb42af 100644
--- a/arch/arm/include/sama5/irq.h
+++ b/arch/arm/include/sama5/irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/sama5/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,25 +16,25 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMA5_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMA5_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/sama5/chip.h>
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Chip-Specific External interrupts */
 
@@ -48,15 +48,15 @@
 #  error Unrecognized SAMA5 family
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 #define EXTERN extern "C"
@@ -66,9 +66,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/sama5/sama5d2_irq.h b/arch/arm/include/sama5/sama5d2_irq.h
index 37f9d64..610f47a 100644
--- a/arch/arm/include/sama5/sama5d2_irq.h
+++ b/arch/arm/include/sama5/sama5d2_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/sama5/sama5d2_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMA5_SAMA5D2_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMA5_SAMA5D2_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* SAMA5D2 Peripheral Identifiers */
 
@@ -188,13 +188,14 @@
 #define SAM_IRQ_MCAN00         SAM_PID_MCAN00    /* MCAN controller 0, Interrupt 0 */
 #define SAM_IRQ_MCAN10         SAM_PID_MCAN10    /* MCAN controller 1, Interrupt 0 */
 #define SAM_IRQ_CLASSD         SAM_PID_CLASSD    /* Audio Class D Amplifier */
-
-                                                 /* Special Function Register (no interrupt) */
-
-                                                 /* Secured Advanced Interrupt Controller (no interrupt) */
-
-                                                 /* Advanced Interrupt Controller (no interrupt) */
-
+                                                 /* Special Function Register
+                                                  * (no interrupt) */
+                                                 /* Secured Advanced Interrupt
+                                                  * Controller
+                                                  * (no interrupt) */
+                                                 /* Advanced Interrupt
+                                                  * Controller
+                                                  * (no interrupt) */
 #define SAM_IRQ_L2CC           SAM_PID_L2CC      /* L2 Cache Controller */
 #define SAM_IRQ_MCAN01         SAM_PID_MCAN01    /* MCAN controller 0, Interrupt 1 */
 #define SAM_IRQ_MCAN11         SAM_PID_MCAN11    /* MCAN controller 1, Interrupt 1 */
@@ -209,9 +210,8 @@
 #define SAM_IRQ_SYS            SAM_PID_SYS       /* System Controller Interrupt PMC, RTC, RSTC */
 #define SAM_IRQ_ACC            SAM_PID_ACC       /* Analog Comparator */
 #define SAM_IRQ_RXLP           SAM_PID_RXLP      /* UART Low-Power */
-
-                                                 /* Special Function Register BackUp (no interrupt) */
-
+                                                 /* Special Function
+                                                  * Register BackUp (no interrupt) */
                                                  /* Chip ID (no interrupt) */
 
 #define SAM_IRQ_NINT           (SAM_PID_RXLP + 1)
@@ -381,21 +381,21 @@
                                SAM_NPIOAIRQS + SAM_NPIOBIRQS + SAM_NPIOCIRQS + \
                                SAM_NPIODIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/sama5/sama5d3_irq.h b/arch/arm/include/sama5/sama5d3_irq.h
index d08eba6..b952902 100644
--- a/arch/arm/include/sama5/sama5d3_irq.h
+++ b/arch/arm/include/sama5/sama5d3_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/sama5/sama5d3_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMA5_SAMA5D3_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMA5_SAMA5D3_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* SAMA5D3 Peripheral Identifiers */
 
@@ -347,21 +347,21 @@
                                SAM_NPIOAIRQS + SAM_NPIOBIRQS + SAM_NPIOCIRQS + \
                                SAM_NPIODIRQS + SAM_NPIOEIRQS )
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/sama5/sama5d4_irq.h b/arch/arm/include/sama5/sama5d4_irq.h
index dedbb62..8799c36 100644
--- a/arch/arm/include/sama5/sama5d4_irq.h
+++ b/arch/arm/include/sama5/sama5d4_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/sama5/sama5d4_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMA5_SAMA5D4_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMA5_SAMA5D4_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* SAMA5D3 Peripheral Identifiers */
 
@@ -390,21 +390,21 @@
                                SAM_NPIOAIRQS + SAM_NPIOBIRQS + SAM_NPIOCIRQS + \
                                SAM_NPIODIRQS + SAM_NPIOEIRQS )
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/samd2l2/chip.h b/arch/arm/include/samd2l2/chip.h
index 2513314..22f4b55 100644
--- a/arch/arm/include/samd2l2/chip.h
+++ b/arch/arm/include/samd2l2/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/samd2l2/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,28 +16,30 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_SAMD2L2_CHIP_H
 #define __ARCH_ARM_INCLUDE_SAMD2L2_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Get customizations for each supported chip */
 
-/* SAMD20 Family ********************************************************************/
+/* SAMD20 Family ************************************************************/
+
 /* FEATURE             SAM D20J          SAM D20G           SAM D20E
  * ------------------- ------------------ ------------------ --------
  * No. of pins         64                 48                 32
- * Flash               256/128/64/32/16KB 256/128/64/32/16KB 256/128/64/32/16KB
+ * Flash               256/128/64/        256/128/64/        256/128/64/
+ *                     32/16KB            32/16KB            32/16KB
  * SRAM                32/16/8/4/2KB      32/16/8/4/2KB      32/16/8/4/2KB
  * Max. Freq.          48MHz              48MHz              48MHz
  * Event channels      8                  8                  8
@@ -49,7 +51,8 @@
  * DAC channels        1                  1                  1
  * RTC                 Yes                Yes                Yes
  * RTC alarms          1                  1                  1
- * RTC compare         1 32-bit/2 16-bit  1 32-bit/2 16-bit  1 32-bit/2 16-bit
+ * RTC compare         1 32-bit/          1 32-bit/          1 32-bit/
+ *                     2 16-bit           2 16-bit           2 16-bit
  * External interrupts 16                 16                 16
  * PTC X an Y          16x16              12x10              10x6
  * Packages            QFN/TQFP           QFN/TQFP           QFN/TQFP
@@ -328,7 +331,7 @@
 #  define SAMD2L2_NADC              20            /* 20 ADC channels */
 #  define SAMD2L2_NCMP              2             /* 2 Comparators */
 #  define SAMD2L2_NDAC              1             /* 1 DAC channel */
-#  define SAMD2L2_NOPAMP              0             /* No OpAmps */
+#  define SAMD2L2_NOPAMP            0             /* No OpAmps */
 #  define SAMD2L2_RTC               1             /* Have RTC */
 #  define SAMD2L2_NALARMS           1             /* 1 RTC alarm */
 #  define SAMD2L2_NRTCMP            1             /* RTC compare: 1 32-bit/2 16-bit */
@@ -338,7 +341,8 @@
 #  define SAMD2L2_WDT               1             /* Have watchdog timer */
 #endif
 
-/* SAMD21 Family ********************************************************************/
+/* SAMD21 Family ************************************************************/
+
 /* FEATURE             SAM D21J          SAM D21G           SAM D21E
  * ------------------- ------------------ ------------------ --------
  * No. of pins         64                 48                 32
@@ -360,11 +364,13 @@
  * DAC channels        1                  1                  1
  * RTC                 Yes                Yes                Yes
  * RTC alarms          1                  1                  1
- * RTC compare         1 32-bit/2 16-bit  1 32-bit/2 16-bit  1 32-bit/2 16-bit
+ * RTC compare         1 32-bit/          1 32-bit/          1 32-bit/
+ *                     2 16-bit           2 16-bit           2 16-bit
  * External interrupts 16                 16                 16
  * PTC X an Y          16x16              12x10              10x6
  * Packages            QFN/TQFP           QFN/TQFP/WLCSP     QFN/TQFP/UFBGA
- * Oscillators         XOSC32, XOSC, OSC32K, OSCULP32K, OSC8M, DFLL48M, and FDPLL96M
+ * Oscillators         XOSC32, XOSC, OSC32K, OSCULP32K, OSC8M,
+ *                                                  DFLL48M, and FDPLL96M
  * SW Debug interface  Yes                Yes                Yes
  * Watchdog timer      Yes                Yes                Yes
  */
@@ -643,7 +649,7 @@
 #  define SAMD2L2_NADC              20            /* 20 ADC channels */
 #  define SAMD2L2_NCMP              2             /* 2 Comparators */
 #  define SAMD2L2_NDAC              1             /* 1 DAC channel */
-#  define SAMD2L2_NOPAMP              3             /* 3 OpAmps */
+#  define SAMD2L2_NOPAMP            3             /* 3 OpAmps */
 #  define SAMD2L2_RTC               1             /* Have RTC */
 #  define SAMD2L2_NALARMS           1             /* 1 RTC alarm */
 #  define SAMD2L2_NRTCMP            1             /* RTC compare: 1 32-bit/2 16-bit */
@@ -653,7 +659,8 @@
 #  define SAMD2L2_WDT               1             /* Have watchdog timer */
 #endif
 
-/* SAML21 Family ********************************************************************/
+/* SAML21 Family ************************************************************/
+
 /* FEATURE             SAM L21J          SAM L21G           SAM L21E
  * ------------------- ------------------ ------------------ --------
  * No. of pins         64                 48                 32
@@ -679,12 +686,14 @@
  * OPAMP               3                  3                  3
  * RTC                 Yes                Yes                Yes
  * RTC alarms          1                  1                  1
- * RTC compare         1 32-bit/2 16-bit  1 32-bit/2 16-bit  1 32-bit/2 16-bit
+ * RTC compare         1 32-bit/          1 32-bit/          1 32-bit/
+ *                     2 16-bit           2 16-bit           2 16-bit
  * External interrupts 16                 16                 16
  * PTC X an Y          12x16              8x12               6x10
  *                     16x12              12x8               10x6
  * Packages            QFN/TQFP           QFN/TQFP           QFN/TQFP
- * Oscillators         XOSC32, XOSC, OSC32K, OSCULP32K, OSC16M, DFLL48M, and FDPLL96M
+ * Oscillators         XOSC32, XOSC, OSC32K, OSCULP32K,
+ *                                     OSC16M, DFLL48M, and FDPLL96M
  * SW Debug interface  Yes                Yes                Yes
  * Watchdog timer      Yes                Yes                Yes
  */
@@ -952,10 +961,12 @@
 #  define SAMD2L2_WDT               1             /* Have watchdog timer */
 #endif
 
-/* NVIC priority levels *************************************************************/
-/* Each priority field holds a priority value, 0-3. The lower the value, the greater
- * the priority of the corresponding interrupt. The processor implements only
- * bits[7:6] of each field, bits[5:0] read as zero and ignore writes.
+/* NVIC priority levels *****************************************************/
+
+/* Each priority field holds a priority value, 0-3. The lower the value, the
+ * greater the priority of the corresponding interrupt. The processor
+ * implements only bits[7:6] of each field, bits[5:0] read as zero and ignore
+ * writes.
  */
 
 #define NVIC_SYSH_PRIORITY_MIN      0xc0 /* All bits[7:6] set is minimum priority */
@@ -963,16 +974,16 @@
 #define NVIC_SYSH_PRIORITY_MAX      0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP     0x40 /* Five bits of interrupt priority used */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_SAMD2L2_CHIP_H */
diff --git a/arch/arm/include/samd2l2/irq.h b/arch/arm/include/samd2l2/irq.h
index f866ad0..683ffb0 100644
--- a/arch/arm/include/samd2l2/irq.h
+++ b/arch/arm/include/samd2l2/irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/samd2l2/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,29 +16,30 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMD2L2_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMD2L2_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/samd2l2/chip.h>
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* Processor Exceptions (vectors 0-15) */
@@ -54,7 +55,9 @@
 #define SAM_IRQ_PENDSV        (14) /* Vector 14: Pendable system service request */
 #define SAM_IRQ_SYSTICK       (15) /* Vector 15: System tick */
 
-/* External interrupts (vectors >= 16).  These definitions are chip-specific */
+/* External interrupts (vectors >= 16).
+ * These definitions are chip-specific
+ */
 
 #define SAM_IRQ_INTERRUPT     (16) /* Vector number of the first external interrupt */
 
@@ -70,15 +73,15 @@
 #  error Unrecognized SAMD/L architecture
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 #define EXTERN extern "C"
@@ -88,9 +91,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/samd2l2/sam_adc.h b/arch/arm/include/samd2l2/sam_adc.h
index 83a4112..b547593 100644
--- a/arch/arm/include/samd2l2/sam_adc.h
+++ b/arch/arm/include/samd2l2/sam_adc.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/samd2l2/sam_adc.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,13 +16,13 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_SRC_SAMD2L2_SAM_ADC_H
 #define __ARCH_ARM_SRC_SAMD2L2_SAM_ADC_H
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IOCTL definitions */
diff --git a/arch/arm/include/samd2l2/samd20_irq.h b/arch/arm/include/samd2l2/samd20_irq.h
index 976d5bb..ad3c0dd 100644
--- a/arch/arm/include/samd2l2/samd20_irq.h
+++ b/arch/arm/include/samd2l2/samd20_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/samd2l2/samd20_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMD2L2_SAMD20_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMD2L2_SAMD20_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* External interrupts */
 
@@ -92,21 +92,21 @@
 
 #define NR_IRQS            (SAM_IRQ_INTERRUPT + SAM_IRQ_NINTS + SAM_IRQ_NEXTINTS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/samd2l2/samd21_irq.h b/arch/arm/include/samd2l2/samd21_irq.h
index e08753a..716211b 100644
--- a/arch/arm/include/samd2l2/samd21_irq.h
+++ b/arch/arm/include/samd2l2/samd21_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/samd2l2/samd21_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,27 +16,27 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
 /* References:
  *   "Atmel SAM D21E / SAM D21G / SAM D21J SMART ARM-Based Microcontroller
  *   Datasheet", Atmel-42181E–SAM-D21_Datasheet–02/2015
  */
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMD2L2_SAMD21_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMD2L2_SAMD21_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* External interrupts */
 
@@ -100,17 +100,17 @@
 
 #define NR_IRQS            (SAM_IRQ_INTERRUPT + SAM_IRQ_NINTS + SAM_IRQ_NEXTINTS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline Functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -121,9 +121,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/samd2l2/saml21_irq.h b/arch/arm/include/samd2l2/saml21_irq.h
index b11fba1..dbca21a 100644
--- a/arch/arm/include/samd2l2/saml21_irq.h
+++ b/arch/arm/include/samd2l2/saml21_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/samd2l2/saml21_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMD2L2_SAML21_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMD2L2_SAML21_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* External interrupts */
 
@@ -100,17 +100,17 @@
 
 #define NR_IRQS            (SAM_IRQ_INTERRUPT + SAM_IRQ_NINTS + SAM_IRQ_NEXTINTS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline Functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -121,9 +121,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/samd5e5/chip.h b/arch/arm/include/samd5e5/chip.h
index 2cae696..8bc06a9 100644
--- a/arch/arm/include/samd5e5/chip.h
+++ b/arch/arm/include/samd5e5/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/samd5e5/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,23 +16,24 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_SAMD5E5_CHIP_H
 #define __ARCH_ARM_INCLUDE_SAMD5E5_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* Get customizations for each supported chip.  Only sizes and numbers of things are
- * provided here.  See arch/arm/src/samd5e5/Kconfig for other, boolean configuration
+/* Get customizations for each supported chip.
+ * Only sizes and numbers of things are provided here.
+ * See arch/arm/src/samd5e5/Kconfig for other, boolean configuration
  * settings.
  */
 
@@ -612,10 +613,12 @@
 #  error Unrecognized SAMD5x/Ex chip
 #endif
 
-/* NVIC priority levels *************************************************************/
-/* Each priority field holds a priority value, 0x00-0xe0. The lower the value, the
- * greater the priority of the corresponding interrupt. The processor implements only
- * bits[7:4] of each field, bits[6:0] read as zero and ignore writes.
+/* NVIC priority levels *****************************************************/
+
+/* Each priority field holds a priority value, 0x00-0xe0. The lower the
+ * value, the greater the priority of the corresponding interrupt.
+ * The processor implements only bits[7:4] of each field, bits[6:0] read as
+ * zero and ignore writes.
  */
 
 #define NVIC_SYSH_PRIORITY_MIN      0xe0 /* All bits[7:5] set is minimum priority */
@@ -623,16 +626,16 @@
 #define NVIC_SYSH_PRIORITY_MAX      0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP     0x20 /* Eight priority levels in steps 0x20 */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_SAMD5E5_CHIP_H */
diff --git a/arch/arm/include/samd5e5/irq.h b/arch/arm/include/samd5e5/irq.h
index a370657..95324f9 100644
--- a/arch/arm/include/samd5e5/irq.h
+++ b/arch/arm/include/samd5e5/irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/samd5e5/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,29 +16,30 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMD5E5_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMD5E5_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/samd5e5/chip.h>
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* Common Processor Exceptions (vectors 0-15) */
@@ -67,15 +68,15 @@
 #  error "Unsupported SAMD5/E5 family"
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 #define EXTERN extern "C"
@@ -85,9 +86,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/samd5e5/samd5e5_irq.h b/arch/arm/include/samd5e5/samd5e5_irq.h
index 4fe3a24..37e3829 100644
--- a/arch/arm/include/samd5e5/samd5e5_irq.h
+++ b/arch/arm/include/samd5e5/samd5e5_irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************************
+/****************************************************************************
  * arch/arm/include/samd5e5/samd5e5_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMD5E5_SAM4L_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMD5E5_SAM4L_IRQ_H
 
-/************************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* External interrupts (vectors >= 16) */
 
@@ -195,23 +195,24 @@
 #define SAM_IRQ_SDHC1          (SAM_IRQ_EXTINT + 136)  /* 136 SDHC1: SDHC1, TIMER */
 
 #define SAM_IRQ_NEXTINT        137                     /* Total number of external interrupt numbers */
+
 #define NR_IRQS                (SAM_IRQ_EXTINT + SAM_IRQ_NEXTINT) /* The number of vectors */
 
-/************************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
+/****************************************************************************
  * Inline functions
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/samv7/chip.h b/arch/arm/include/samv7/chip.h
index 04eea7b..086b9c2 100644
--- a/arch/arm/include/samv7/chip.h
+++ b/arch/arm/include/samv7/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/samv7/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,20 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_SAMV7_CHIP_H
 #define __ARCH_ARM_INCLUDE_SAMV7_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Get customizations for each supported chip */
 
@@ -371,10 +371,12 @@
 #  error "Unknown SAMV7 chip type"
 #endif
 
-/* NVIC priority levels *************************************************************/
-/* Each priority field holds a priority value, 0-15. The lower the value, the greater
- * the priority of the corresponding interrupt. The processor implements only
- * bits[7:6] of each field, bits[5:0] read as zero and ignore writes.
+/* NVIC priority levels *****************************************************/
+
+/* Each priority field holds a priority value, 0-15. The lower the value, the
+ * greater the priority of the corresponding interrupt. The processor
+ * implements only bits[7:6] of each field, bits[5:0] read as zero and ignore
+ * writes.
  */
 
 #define NVIC_SYSH_PRIORITY_MIN        0xc0 /* All bits[7:6] set is minimum priority */
@@ -382,16 +384,16 @@
 #define NVIC_SYSH_PRIORITY_MAX        0x00 /* Zero is maximum priority */
 #define NVIC_SYSH_PRIORITY_STEP       0x40 /* Two bits of interrupt priority used */
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_SAMV7_CHIP_H */
diff --git a/arch/arm/include/samv7/irq.h b/arch/arm/include/samv7/irq.h
index 02d1179..94bbef1 100644
--- a/arch/arm/include/samv7/irq.h
+++ b/arch/arm/include/samv7/irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/samv7/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,29 +16,30 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMV7_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMV7_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/samv7/chip.h>
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* Common Processor Exceptions (vectors 0-15) */
@@ -70,15 +71,15 @@
 #  error Unrecognized SAMV7 architecture
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 #define EXTERN extern "C"
@@ -88,9 +89,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/samv7/same70_irq.h b/arch/arm/include/samv7/same70_irq.h
index 2f6bf12..d740225 100644
--- a/arch/arm/include/samv7/same70_irq.h
+++ b/arch/arm/include/samv7/same70_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/samv7/same70_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMV7_SAME70_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMV7_SAME70_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* SAMV71 Peripheral Identifiers */
 
@@ -107,7 +107,7 @@
 
 #define NR_PIDS               (69)  /* Number of peripheral identifiers */
 
-/* External interrupts (priority levels >= 256*/
+/* External interrupts (priority levels >= 256 */
 
 #define SAM_IRQ_SUPC          (SAM_IRQ_EXTINT+SAM_PID_SUPC)   /* Supply Controller */
 #define SAM_IRQ_RSTC          (SAM_IRQ_EXTINT+SAM_PID_RSTC)   /* Reset Controller */
@@ -162,9 +162,11 @@
 #define SAM_IRQ_TC9           (SAM_IRQ_EXTINT+SAM_PID_TC9)    /* Timer Counter 9 */
 #define SAM_IRQ_TC10          (SAM_IRQ_EXTINT+SAM_PID_TC10)   /* Timer Counter 10 */
 #define SAM_IRQ_TC11          (SAM_IRQ_EXTINT+SAM_PID_TC11)   /* Timer Counter 11 */
+
 #define SAM_IRQ_RESERVED53    (SAM_IRQ_EXTINT+SAM_PID_RESERVED53) /* Reserved */
 #define SAM_IRQ_RESERVED54    (SAM_IRQ_EXTINT+SAM_PID_RESERVED54) /* Reserved */
 #define SAM_IRQ_RESERVED55    (SAM_IRQ_EXTINT+SAM_PID_RESERVED55) /* Reserved */
+
 #define SAM_IRQ_AES           (SAM_IRQ_EXTINT+SAM_PID_AES)    /* AES */
 #define SAM_IRQ_TRNG          (SAM_IRQ_EXTINT+SAM_PID_TRNG)   /* True Random Number Generator */
 #define SAM_IRQ_XDMAC         (SAM_IRQ_EXTINT+SAM_PID_XDMAC)  /* Central DMA Controller */
@@ -388,21 +390,21 @@
                                SAM_NGPIOAIRQS + SAM_NGPIOBIRQS + SAM_NGPIOCIRQS + \
                                SAM_NGPIODIRQS + SAM_NGPIOEIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/samv7/samv71_irq.h b/arch/arm/include/samv7/samv71_irq.h
index a669405..3ce9317 100644
--- a/arch/arm/include/samv7/samv71_irq.h
+++ b/arch/arm/include/samv7/samv71_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************
+/****************************************************************************
  * arch/arm/include/samv7/samv71_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,22 +16,22 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through
- * nuttx/irq.h
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
  */
 
 #ifndef __ARCH_ARM_INCLUDE_SAMV7_SAMV71_IRQ_H
 #define __ARCH_ARM_INCLUDE_SAMV7_SAMV71_IRQ_H
 
-/****************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* SAMV71 Peripheral Identifiers */
 
@@ -107,7 +107,7 @@
 
 #define NR_PIDS               (69)  /* Number of peripheral identifiers */
 
-/* External interrupts (priority levels >= 256*/
+/* External interrupts (priority levels >= 256 */
 
 #define SAM_IRQ_SUPC          (SAM_IRQ_EXTINT+SAM_PID_SUPC)   /* Supply Controller */
 #define SAM_IRQ_RSTC          (SAM_IRQ_EXTINT+SAM_PID_RSTC)   /* Reset Controller */
@@ -164,7 +164,9 @@
 #define SAM_IRQ_TC11          (SAM_IRQ_EXTINT+SAM_PID_TC11)   /* Timer Counter 11 */
 #define SAM_IRQ_MLB0          (SAM_IRQ_EXTINT+SAM_PID_MLB0)   /* MediaLB IRQ 0 */
 #define SAM_IRQ_MLB1          (SAM_IRQ_EXTINT+SAM_PID_MLB1)   /* MediaLB IRQ 1 */
+
 #define SAM_IRQ_RESERVED55    (SAM_IRQ_EXTINT+SAM_PID_RESERVED55) /* Reserved */
+
 #define SAM_IRQ_AES           (SAM_IRQ_EXTINT+SAM_PID_AES)    /* AES */
 #define SAM_IRQ_TRNG          (SAM_IRQ_EXTINT+SAM_PID_TRNG)   /* True Random Number Generator */
 #define SAM_IRQ_XDMAC         (SAM_IRQ_EXTINT+SAM_PID_XDMAC)  /* Central DMA Controller */
@@ -388,21 +390,21 @@
                                SAM_NGPIOAIRQS + SAM_NGPIOBIRQS + SAM_NGPIOCIRQS + \
                                SAM_NGPIODIRQS + SAM_NGPIOEIRQS)
 
-/****************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Inline functions
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/spinlock.h b/arch/arm/include/spinlock.h
index 5072e90..55c12c8 100644
--- a/arch/arm/include/spinlock.h
+++ b/arch/arm/include/spinlock.h
@@ -48,7 +48,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* Spinlock states */
diff --git a/arch/arm/include/stdarg.h b/arch/arm/include/stdarg.h
index 6cf07bc..26b9088 100644
--- a/arch/arm/include/stdarg.h
+++ b/arch/arm/include/stdarg.h
@@ -26,8 +26,9 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
+
 /* This should work with any modern gcc (newer than 3.4 or so) */
 
 #define va_start(v,l)   __builtin_va_start(v,l)
diff --git a/arch/arm/include/stm32/chip.h b/arch/arm/include/stm32/chip.h
index d798ad2..f155df6 100644
--- a/arch/arm/include/stm32/chip.h
+++ b/arch/arm/include/stm32/chip.h
@@ -1,4 +1,4 @@
-/**************************************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,20 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- **************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_STM32_CHIP_H
 #define __ARCH_ARM_INCLUDE_STM32_CHIP_H
 
-/**************************************************************************************************
+/****************************************************************************
  * Included Files
- **************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/**************************************************************************************************
- * Pre-processor Definitions
- **************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Check the STM32 family configuration.
  * It must be done in arch/arm/src/stm32/Kconfig !
@@ -117,7 +117,7 @@
  * The chip-specific pin-mapping is defined in the chip datasheet.
  */
 
-/* STM32L EnergyLite Line *************************************************************************/
+/* STM32L EnergyLite Line ***************************************************/
 
 /* STM32L151XX -- No LCD
  * STM32L152XX -- With LCD
@@ -521,7 +521,7 @@
 #  define STM32_NRNG                     0   /* No random number generator (RNG) */
 #  define STM32_NDCMI                    0   /* No digital camera interface (DCMI) */
 
-/* STM32 F100 Value Line **************************************************************************/
+/* STM32 F100 Value Line ****************************************************/
 
 #elif defined(CONFIG_ARCH_CHIP_STM32F100C8) || defined(CONFIG_ARCH_CHIP_STM32F100CB) \
  || defined(CONFIG_ARCH_CHIP_STM32F100R8) || defined(CONFIG_ARCH_CHIP_STM32F100RB)
@@ -531,7 +531,9 @@
 #  define STM32_NGTIMNDMA                0   /* No 16-bit general timers without DMA */
 #  define STM32_NBTIM                    2   /* 2 basic timers: TIM6, TIM7 */
 
-/* TODO: there are also 3 additional timers (15-17) that don't fit any existing category */
+/* TODO: there are also 3 additional timers (15-17)
+ * that don't fit any existing category
+ */
 
 #  define STM32_NDMA                     1   /* DMA1 */
 #  define STM32_NSPI                     2   /* SPI1-2 */
@@ -558,7 +560,9 @@
 #  define STM32_NGTIMNDMA                0   /* No 16-bit general timers without DMA */
 #  define STM32_NBTIM                    2   /* 2 basic timers: TIM6, TIM7 */
 
-/* TODO: there are also 3 additional timers (15-17) that don't fit any existing category */
+/* TODO: there are also 3 additional timers (15-17)
+ * that don't fit any existing category
+ */
 
 #  define STM32_NDMA                     1   /* DMA1 */
 #  define STM32_NSPI                     2   /* SPI1-2 */
@@ -578,7 +582,7 @@
 #  define STM32_NRNG                     0   /* No random number generator (RNG) */
 #  define STM32_NDCMI                    0   /* No digital camera interface (DCMI) */
 
-/* STM32 F100 High-density value Line *************************************************************/
+/* STM32 F100 High-density value Line ***************************************/
 
 #elif defined(CONFIG_ARCH_CHIP_STM32F100RC) || defined(CONFIG_ARCH_CHIP_STM32F100RD) \
  || defined(CONFIG_ARCH_CHIP_STM32F100RE)
@@ -588,7 +592,9 @@
 #  define STM32_NGTIMNDMA                0   /* No 16-bit general timers without DMA */
 #  define STM32_NBTIM                    2   /* 2 basic timers: TIM6, TIM7 */
 
-/* TODO: there are also 6 additional timers (12-17) that don't fit any existing category */
+/* TODO: there are also 6 additional timers (12-17)
+ * that don't fit any existing category
+ */
 
 #  define STM32_NDMA                     2   /* DMA1-2 */
 #  define STM32_NSPI                     3   /* SPI1-3 */
@@ -616,7 +622,9 @@
 #  define STM32_NGTIMNDMA                0   /* No 16-bit general timers without DMA */
 #  define STM32_NBTIM                    2   /* 2 basic timers: TIM6, TIM7 */
 
-/* TODO: there are also 6 additional timers (12-17) that don't fit any existing category */
+/* TODO: there are also 6 additional timers (12-17)
+ * that don't fit any existing category
+ */
 
 #  define STM32_NDMA                     2   /* DMA1-2 */
 #  define STM32_NSPI                     3   /* SPI1-3 */
@@ -636,7 +644,7 @@
 #  define STM32_NRNG                     0   /* No random number generator (RNG) */
 #  define STM32_NDCMI                    0   /* No digital camera interface (DCMI) */
 
-/* STM32 F102x8/102xB Medium Density USB Access Family ********************************************/
+/* STM32 F102x8/102xB Medium Density USB Access Family **********************/
 
 #elif defined(CONFIG_ARCH_CHIP_STM32F102CB)
 #  define STM32_NFSMC                    1   /* FSMC */
@@ -662,7 +670,7 @@
 #  define STM32_NRNG                     0   /* No random number generator (RNG) */
 #  define STM32_NDCMI                    0   /* No digital camera interface (DCMI) */
 
-/* STM32 F103 Low Density Family ******************************************************************/
+/* STM32 F103 Low Density Family ********************************************/
 
 /* STM32F103C4 & STM32F103C6 */
 
@@ -688,7 +696,7 @@
 #  define STM32_NRNG                     0   /* No random number generator (RNG) */
 #  define STM32_NDCMI                    0   /* No digital camera interface (DCMI) */
 
-/* STM32 F103 Medium Density Performance Line *****************************************************/
+/* STM32 F103 Medium Density Performance Line *******************************/
 
 #elif defined(CONFIG_ARCH_CHIP_STM32F103T8) || defined(CONFIG_ARCH_CHIP_STM32F103TB)
 #  define STM32_NFSMC                    0   /* No FSMC */
@@ -762,10 +770,10 @@
 #  define STM32_NRNG                     0   /* No random number generator (RNG) */
 #  define STM32_NDCMI                    0   /* No digital camera interface (DCMI) */
 
-/* STM32 F103 High Density Family *****************************************************************/
+/* STM32 F103 High Density Family *******************************************/
 
-/* STM32F103RC, STM32F103RD, and STM32F103RE are all provided in 64 pin packages and
- * differ only in the available FLASH and SRAM.
+/* STM32F103RC, STM32F103RD, and STM32F103RE are all provided in 64 pin
+ * packages and differ only in the available FLASH and SRAM.
  */
 
 #elif defined(CONFIG_ARCH_CHIP_STM32F103RC) || defined(CONFIG_ARCH_CHIP_STM32F103RD) || \
@@ -793,8 +801,8 @@
 #  define STM32_NRNG                     0   /* No random number generator (RNG) */
 #  define STM32_NDCMI                    0   /* No digital camera interface (DCMI) */
 
-/* STM32F103VC, STM32F103VD, and STM32F103VE are all provided in 100 pin packages and differ
- * only in the available FLASH and SRAM.
+/* STM32F103VC, STM32F103VD, and STM32F103VE are all provided in 100 pin
+ * packages and differ only in the available FLASH and SRAM.
  */
 
 #elif defined(CONFIG_ARCH_CHIP_STM32F103VC) || defined(CONFIG_ARCH_CHIP_STM32F103VE)
@@ -821,8 +829,8 @@
 #  define STM32_NRNG                     0   /* No random number generator (RNG) */
 #  define STM32_NDCMI                    0   /* No digital camera interface (DCMI) */
 
-/* STM32F103ZC, STM32F103ZD, and STM32F103ZE are all provided in 144 pin packages and differ
- * only in the available FLASH and SRAM.
+/* STM32F103ZC, STM32F103ZD, and STM32F103ZE are all provided in 144 pin
+ * packages and differ only in the available FLASH and SRAM.
  */
 
 #elif defined(CONFIG_ARCH_CHIP_STM32F103ZE)
@@ -849,7 +857,7 @@
 #  define STM32_NRNG                     0   /* No random number generator (RNG) */
 #  define STM32_NDCMI                    0   /* No digital camera interface (DCMI) */
 
-/* STM32 F105/F107 Connectivity Line **************************************************************/
+/* STM32 F105/F107 Connectivity Line ****************************************/
 
 #elif defined(CONFIG_ARCH_CHIP_STM32F105VB)
 #  define STM32_NFSMC                    1   /* FSMC */
@@ -923,7 +931,7 @@
 #  define STM32_NRNG                     0   /* No random number generator (RNG) */
 #  define STM32_NDCMI                    0   /* No digital camera interface (DCMI) */
 
-/* STM32 F2 Family ********************************************************************************/
+/* STM32 F2 Family **********************************************************/
 
 #elif defined(CONFIG_ARCH_CHIP_STM32F205RG)  /* UFBGA-176 1024Kb FLASH 128Kb SRAM */
 #  define STM32_NFSMC                    0   /* No FSMC */
@@ -1028,7 +1036,7 @@
 #  define STM32_NRNG                     1   /* Random number generator (RNG) */
 #  define STM32_NDCMI                    1   /* Digital camera interface (DCMI) */
 
-/* STM23 F3 Family ********************************************************************************/
+/* STM23 F3 Family **********************************************************/
 
 /* Part Numbering: STM32Fssscfxxx
  *
@@ -1553,7 +1561,7 @@
 #  define STM32_NRNG                     0   /* (0) No random number generator (RNG) */
 #  define STM32_NDCMI                    0   /* (0) No digital camera interface (DCMI) */
 
-/* STM23 F4 Family ********************************************************************************/
+/* STM23 F4 Family **********************************************************/
 
 /* STM32F01xB/C Family Differences:
  *
@@ -2606,7 +2614,7 @@
 #  error "Unsupported STM32 chip"
 #endif
 
-/* Peripheral IP versions *************************************************************************/
+/* Peripheral IP versions ***************************************************/
 
 /* Peripheral IP versions are invariant and should be decided here, not in
  * Kconfig.
@@ -2644,7 +2652,7 @@
 #  error "Did not resolve peripheral IP versions!"
 #endif
 
-/* NVIC priority levels ***************************************************************************/
+/* NVIC priority levels *****************************************************/
 
 #define NVIC_SYSH_PRIORITY_MIN     0xf0 /* All bits set in minimum priority */
 #define NVIC_SYSH_PRIORITY_DEFAULT 0x80 /* Midpoint is the default */
diff --git a/arch/arm/include/stm32/irq.h b/arch/arm/include/stm32/irq.h
index 240cd30..3f29c71 100644
--- a/arch/arm/include/stm32/irq.h
+++ b/arch/arm/include/stm32/irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,7 +16,7 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 /* This file should never be included directly but, rather,
  * only indirectly through nuttx/irq.h
@@ -25,21 +25,22 @@
 #ifndef __ARCH_ARM_INCLUDE_STM32_IRQ_H
 #define __ARCH_ARM_INCLUDE_STM32_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <nuttx/irq.h>
 #include <arch/stm32/chip.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* Processor Exceptions (vectors 0-15) */
@@ -58,13 +59,15 @@
 #define STM32_IRQ_PENDSV        (14) /* Vector 14: Pendable system service request */
 #define STM32_IRQ_SYSTICK       (15) /* Vector 15: System tick */
 
-/* External interrupts (vectors >= 16).  These definitions are chip-specific */
+/* External interrupts (vectors >= 16).
+ * These definitions are chip-specific
+ */
 
 #define STM32_IRQ_FIRST         (16) /* Vector number of the first external interrupt */
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #if defined(CONFIG_STM32_STM32L15XX)
 #  include <arch/stm32/stm32l15xxx_irq.h>
@@ -86,13 +89,13 @@
 #  error "Unsupported STM32 chip"
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -103,9 +106,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/stm32/stm32f10xxx_irq.h b/arch/arm/include/stm32/stm32f10xxx_irq.h
index 22bfbe4..22c623b 100644
--- a/arch/arm/include/stm32/stm32f10xxx_irq.h
+++ b/arch/arm/include/stm32/stm32f10xxx_irq.h
@@ -33,7 +33,7 @@
 #include <nuttx/irq.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32/stm32f20xxx_irq.h b/arch/arm/include/stm32/stm32f20xxx_irq.h
index aa83433..26160b1 100644
--- a/arch/arm/include/stm32/stm32f20xxx_irq.h
+++ b/arch/arm/include/stm32/stm32f20xxx_irq.h
@@ -33,7 +33,7 @@
 #include <nuttx/irq.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32/stm32f30xxx_irq.h b/arch/arm/include/stm32/stm32f30xxx_irq.h
index ed17603..e8acfd9 100644
--- a/arch/arm/include/stm32/stm32f30xxx_irq.h
+++ b/arch/arm/include/stm32/stm32f30xxx_irq.h
@@ -33,7 +33,7 @@
 #include <nuttx/irq.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32/stm32f33xxx_irq.h b/arch/arm/include/stm32/stm32f33xxx_irq.h
index 7b91fd4..892b6aa 100644
--- a/arch/arm/include/stm32/stm32f33xxx_irq.h
+++ b/arch/arm/include/stm32/stm32f33xxx_irq.h
@@ -49,7 +49,7 @@
 #include <nuttx/irq.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32/stm32f37xxx_irq.h b/arch/arm/include/stm32/stm32f37xxx_irq.h
index ee57857..6c00b24 100644
--- a/arch/arm/include/stm32/stm32f37xxx_irq.h
+++ b/arch/arm/include/stm32/stm32f37xxx_irq.h
@@ -49,7 +49,7 @@
 #include <nuttx/irq.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32/stm32f40xxx_irq.h b/arch/arm/include/stm32/stm32f40xxx_irq.h
index 3fb7764..c2ac5e9 100644
--- a/arch/arm/include/stm32/stm32f40xxx_irq.h
+++ b/arch/arm/include/stm32/stm32f40xxx_irq.h
@@ -1,7 +1,8 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32/stm32f40xxx_irq.h
  *
- *   Copyright (C) 2009, 2014-2015, 2017-2018 Gregory Nutt. All rights reserved.
+ *   Copyright (C) 2009, 2014-2015, 2017-2018 Gregory Nutt.
+ *   All rights reserved.
  *   Copyright (C) 2016 Omni Hoverboards Inc. All rights reserved.
  *   Author: Gregory Nutt <gn...@nuttx.org>
  *           David Sidrane <da...@nscdg.com>
@@ -34,7 +35,7 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
 /* This file should never be included directly but, rather,
  * only indirectly through nuttx/irq.h
@@ -43,23 +44,24 @@
 #ifndef __ARCH_ARM_INCLUDE_STM32_STM32F40XXX_IRQ_H
 #define __ARCH_ARM_INCLUDE_STM32_STM32F40XXX_IRQ_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <nuttx/irq.h>
 
-/****************************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  *
- * Processor Exceptions (vectors 0-15).  These common definitions can be found
- * in nuttx/arch/arm/include/stm32/irq.h
+ * Processor Exceptions (vectors 0-15). These common definitions can
+ * be found in nuttx/arch/arm/include/stm32/irq.h
  *
  * External interrupts (vectors >= 16)
  */
@@ -340,13 +342,13 @@
 #  define NR_IRQS                (STM32_IRQ_FIRST+93)
 #endif
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
diff --git a/arch/arm/include/stm32/stm32g4xxxx_irq.h b/arch/arm/include/stm32/stm32g4xxxx_irq.h
index 5f22484..adf4f80 100644
--- a/arch/arm/include/stm32/stm32g4xxxx_irq.h
+++ b/arch/arm/include/stm32/stm32g4xxxx_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32/stm32g4xxxx_irq.h
  *
  *  Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,7 +16,7 @@
  *  License for the specific language governing permissions and limitations
  *  under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
 /* This file should never be included directly but, rather, only indirectly
  * through nuttx/irq.h
@@ -25,16 +25,16 @@
 #ifndef __ARCH_ARM_INCLUDE_STM32_STM32G4XXXX_IRQ_H
 #define __ARCH_ARM_INCLUDE_STM32_STM32G4XXXX_IRQ_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <nuttx/irq.h>
 
-/****************************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* IRQ numbers.  The IRQ numbers correspond to the vector numbers and hence
  * map directly to bits in the NVIC.  This does, however, waste several words
@@ -170,13 +170,13 @@
 #define STM32_IRQ_NEXTINT         (102)
 #define NR_IRQS                   (STM32_IRQ_FIRST + 102)
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -187,9 +187,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/stm32/stm32l15xxx_irq.h b/arch/arm/include/stm32/stm32l15xxx_irq.h
index 26d006e..e145052 100644
--- a/arch/arm/include/stm32/stm32l15xxx_irq.h
+++ b/arch/arm/include/stm32/stm32l15xxx_irq.h
@@ -33,7 +33,7 @@
 #include <nuttx/irq.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /*  IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32f0l0g0/chip.h b/arch/arm/include/stm32f0l0g0/chip.h
index 2ee739c..ff5d0c9 100644
--- a/arch/arm/include/stm32f0l0g0/chip.h
+++ b/arch/arm/include/stm32f0l0g0/chip.h
@@ -45,7 +45,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* Get customizations for each supported chip */
diff --git a/arch/arm/include/stm32f0l0g0/irq.h b/arch/arm/include/stm32f0l0g0/irq.h
index 5c59483..401e683 100644
--- a/arch/arm/include/stm32f0l0g0/irq.h
+++ b/arch/arm/include/stm32f0l0g0/irq.h
@@ -35,7 +35,7 @@
 #include <arch/stm32f0l0g0/chip.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32f0l0g0/stm32f0_irq.h b/arch/arm/include/stm32f0l0g0/stm32f0_irq.h
index 2d0e348..d02cee0 100644
--- a/arch/arm/include/stm32f0l0g0/stm32f0_irq.h
+++ b/arch/arm/include/stm32f0l0g0/stm32f0_irq.h
@@ -34,7 +34,7 @@
 #include <arch/stm32f0l0g0/chip.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32f0l0g0/stm32g0_irq.h b/arch/arm/include/stm32f0l0g0/stm32g0_irq.h
index f42361d..1a496a9 100644
--- a/arch/arm/include/stm32f0l0g0/stm32g0_irq.h
+++ b/arch/arm/include/stm32f0l0g0/stm32g0_irq.h
@@ -50,7 +50,7 @@
 #include <arch/stm32f0l0g0/chip.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32f0l0g0/stm32l0_irq.h b/arch/arm/include/stm32f0l0g0/stm32l0_irq.h
index fba2850..48083f1 100644
--- a/arch/arm/include/stm32f0l0g0/stm32l0_irq.h
+++ b/arch/arm/include/stm32f0l0g0/stm32l0_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32f0l0g0/stm32l0_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,31 +16,34 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through nuttx/irq.h */
+/* This file should never be included directly but, rather,
+ * only indirectly through nuttx/irq.h
+ */
 
 #ifndef __ARCH_ARM_INCLUDE_STM32F0L0G0_STM32L0_IRQ_H
 #define __ARCH_ARM_INCLUDE_STM32F0L0G0_STM32L0_IRQ_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <nuttx/irq.h>
 #include <arch/stm32f0l0g0/chip.h>
 
-/****************************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  *
- * Processor Exceptions (vectors 0-15).  These common definitions can be found
- * in nuttx/arch/arm/include/stm32f0l0g0/irq.h
+ * Processor Exceptions (vectors 0-15).  These common definitions
+ * can be found in nuttx/arch/arm/include/stm32f0l0g0/irq.h
  */
 
 #define STM32_IRQ_WWDG        (STM32_IRQ_EXTINT + 0)  /* 0:  Window Watchdog interrupt */
@@ -87,13 +90,13 @@
 
 #define STM32_IRQ_NEXTINT     (32)
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Types
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Data
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -104,9 +107,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/****************************************************************************************************
+/****************************************************************************
  * Public Functions Prototypes
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/stm32f7/chip.h b/arch/arm/include/stm32f7/chip.h
index a77dae3..b24e68e 100644
--- a/arch/arm/include/stm32f7/chip.h
+++ b/arch/arm/include/stm32f7/chip.h
@@ -1,4 +1,4 @@
-/********************************************************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32f7/chip.h
  *
  *   Copyright (C) 2015-2017 Gregory Nutt. All rights reserved.
@@ -33,101 +33,171 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ********************************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_STM32F7_CHIP_H
 #define __ARCH_ARM_INCLUDE_STM32F7_CHIP_H
 
-/********************************************************************************************************************
+/****************************************************************************
  * Included Files
- ********************************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/********************************************************************************************************************
- * Pre-processor Definitions
- ********************************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* STM32F722xx, STM32F723xx,
- * STM32F745xx, STM32F746xx, STM32F756xx, STM32F765xx, STM32F767xx, STM32F768xx,
- * STM32F769xx, STM32F777xx and STM32F779xx  Differences between family members:
+ * STM32F745xx, STM32F746xx, STM32F756xx, STM32F765xx, STM32F767xx,
+ * STM32F768xx, STM32F769xx, STM32F777xx and STM32F779xx
+ * Differences between family members:
  *
- *   ----------- ---------------- ----- ---- ----- ---- ---- ---- ---- ---- ----- ----- ---- ------------ ------
+ *   ----------- ---------------- ----- ---- ----- ---- ---- ---- ----
  *                                       SPI   ADC LCD
- *   PART        PACKAGE          GPIOs  I2S  CHAN TFT  MIPI JPEG CAN  ETH  DFSDM CRYPTO FPU      RAM      L1
- *   ----------- ---------------- ----- ---- ----- ---- ---- ---- ---- ---- ----- ----- ---- ------------ ------
- *   STM32F722Rx LQFP64             50   3/3   16   No   No   No   1   No    No    No   SFPU (176+16+64)  8+8
- *   STM32F722Vx LQFP100            82   4/3   16   No   No   No   1   No    No    No   SFPU (176+16+64)  8+8
- *   STM32F722Zx LQFP144           114   5/3   24   No   No   No   1   No    No    No   SFPU (176+16+64)  8+8
- *   STM32F722Ix UFBGA176/LQFP176  140   5/3   24   No   No   No   1   No    No    No   SFPU (176+16+64)  8+8
- *
- *   STM32F723Vx WLCSP100           79   4/3   16   No   No   No   1   No    No    No   SFPU (176+16+64)  8+8
- *   STM32F723Zx UFBGA144/LQFP144  112   5/3   24   No   No   No   1   No    No    No   SFPU (176+16+64)  8+8
- *   STM32F723Ix UFBGA176/LQFP176  138   5/3   24   No   No   No   1   No    No    No   SFPU (176+16+64)  8+8
- *
- *   STM32F745Vx LQFP100            82   4/3   16   No   No   No   2   Yes   No    No   SFPU (240+16+64)  4+4
- *   STM32F745Zx WLCSP143/LQFP144  114   6/3   24   No   No   No   2   Yes   No    No   SFPU (240+16+64)  4+4
- *   STM32F745Ix UFBGA176/LQFP176  140   6/3   24   No   No   No   2   Yes   No    No   SFPU (240+16+64)  4+4
- *   STM32F745Bx LQFP208           168   6/3   24   No   No   No   2   Yes   No    No   SFPU (240+16+64)  4+4
- *   STM32F745Nx TFBGA216           68   6/3   24   No   No   No   2   Yes   No    No   SFPU (240+16+64)  4+4
- *
- *   STM32F746Vx LQFP100            82   4/3   16   Yes  No   No   2   Yes   No    No   SFPU (240+16+64)  4+4
- *   STM32F746Zx WLCSP143/LQFP144  114   6/3   24   Yes  No   No   2   Yes   No    No   SFPU (240+16+64)  4+4
- *   STM32F746Ix UFBGA176/LQFP176  140   6/3   24   Yes  No   No   2   Yes   No    No   SFPU (240+16+64)  4+4
- *   STM32F746Bx LQFP208           168   6/3   24   Yes  No   No   2   Yes   No    No   SFPU (240+16+64)  4+4
- *   STM32F746Nx TFBGA216          168   6/3   24   Yes  No   No   2   Yes   No    No   SFPU
- *
- *   STM32F756Vx LQFP100            82   4/3   16   Yes  No   No   2   Yes   No   Yes   SFPU (240+16+64)  4+4
- *   STM32F756Zx WLCSP143/LQFP144  114   6/3   24   Yes  No   No   2   Yes   No   Yes   SFPU (240+16+64)  4+4
- *   STM32F756Ix UFBGA176/LQFP176  140   6/3   24   Yes  No   No   2   Yes   No   Yes   SFPU (240+16+64)  4+4
- *   STM32F756Bx LQFP208           168   6/3   24   Yes  No   No   2   Yes   No   Yes   SFPU (240+16+64)  4+4
- *   STM32F756Nx TFBGA216          168   6/3   24   Yes  No   No   2   Yes   No   Yes   SFPU (240+16+64)  4+4
- *
- *   STM32F765Vx LQFP100            82   4/3   16   No   No   No   3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F765Zx WLCSP143/LQFP144  114   6/3   24   No   No   No   3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F765Ix UFBGA176/LQFP176  140   6/3   24   No   No   No   3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F765Bx LQFP208           168   6/3   24   No   No   No   3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F765Nx TFBGA216          168   6/3   24   No   No   No   3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *
- *   STM32F767Vx LQFP100            82   4/3   16   Yes  No   Yes  3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F767Zx WLCSP143/LQFP144  114   6/3   24   Yes  No   Yes  3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F767Ix UFBGA176/LQFP176  132   6/3   24   Yes  Yes  Yes  3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F767Bx LQFP208           168   6/3   24   Yes  Yes  Yes  3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F767Nx TFBGA216          159   6/3   24   Yes  Yes  Yes  3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *
- *   STM32F768Ax WLCSP180          129   6/3   24   Yes  Yes  Yes  3   No    Yes   No   DFPU (368+16+128) 16+16
- *
- *   STM32F769Vx LQFP100            82   4/3   16   Yes  No   Yes  3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F769Zx LQFP144           114   6/3   24   Yes  No   Yes  3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F769Ix UFBGA176/LQFP176  132   6/3   24   Yes  Yes  Yes  3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F769Bx LQFP208           168   6/3   24   Yes  Yes  Yes  3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *   STM32F769Nx TFBGA216          159   6/3   24   Yes  Yes  Yes  3   Yes   Yes   No   DFPU (368+16+128) 16+16
- *
- *   STM32F769Ax WLCSP180          129   6/3   24   Yes  Yes  Yes  3   No    Yes   No   DFPU (368+16+128) 16+16
- *
- *   STM32F777Vx LQFP100            82   4/3   16   Yes  No   Yes  3   Yes   Yes   Yes  DFPU (368+16+128) 16+16
- *   STM32F777Zx LQFP144           114   6/3   24   Yes  No   Yes  3   Yes   Yes   Yes  DFPU (368+16+128) 16+16
- *   STM32F777Ix UFBGA176/LQFP176  132   6/3   24   Yes  Yes  Yes  3   Yes   Yes   Yes  DFPU (368+16+128) 16+16
- *   STM32F777Bx LQFP208           159   6/3   24   Yes  Yes  Yes  3   Yes   Yes   Yes  DFPU (368+16+128) 16+16
- *   STM32F777Nx TFBGA216          159   6/3   24   Yes  Yes  Yes  3   Yes   Yes   Yes  DFPU (368+16+128) 16+16
- *
- *   STM32F778Ax WLCSP180          129   6/3   24   Yes  Yes  Yes  3   No    Yes   Yes  DFPU (368+16+128) 16+16
- *
- *   STM32F779Ix UFBGA176/LQFP176  132   6/3   24   Yes  Yes  Yes  3   Yes   Yes   Yes  DFPU (368+16+128) 16+16
- *   STM32F779Bx LQFP208           159   6/3   24   Yes  Yes  Yes  3   Yes   Yes   Yes  DFPU (368+16+128) 16+16
- *   STM32F779Nx TFBGA216          159   6/3   24   Yes  Yes  Yes  3   Yes   Yes   Yes  DFPU (368+16+128) 16+16
+ *   PART        PACKAGE          GPIOs  I2S  CHAN TFT  MIPI JPEG CAN
+ *   ----------- ---------------- ----- ---- ----- ---- ---- ---- ----
+ *   STM32F722Rx LQFP64             50   3/3   16   No   No   No   1
+ *   STM32F722Vx LQFP100            82   4/3   16   No   No   No   1
+ *   STM32F722Zx LQFP144           114   5/3   24   No   No   No   1
+ *   STM32F722Ix UFBGA176/LQFP176  140   5/3   24   No   No   No   1
+ *
+ *   STM32F723Vx WLCSP100           79   4/3   16   No   No   No   1
+ *   STM32F723Zx UFBGA144/LQFP144  112   5/3   24   No   No   No   1
+ *   STM32F723Ix UFBGA176/LQFP176  138   5/3   24   No   No   No   1
+ *
+ *   STM32F745Vx LQFP100            82   4/3   16   No   No   No   2
+ *   STM32F745Zx WLCSP143/LQFP144  114   6/3   24   No   No   No   2
+ *   STM32F745Ix UFBGA176/LQFP176  140   6/3   24   No   No   No   2
+ *   STM32F745Bx LQFP208           168   6/3   24   No   No   No   2
+ *   STM32F745Nx TFBGA216           68   6/3   24   No   No   No   2
+ *
+ *   STM32F746Vx LQFP100            82   4/3   16   Yes  No   No   2
+ *   STM32F746Zx WLCSP143/LQFP144  114   6/3   24   Yes  No   No   2
+ *   STM32F746Ix UFBGA176/LQFP176  140   6/3   24   Yes  No   No   2
+ *   STM32F746Bx LQFP208           168   6/3   24   Yes  No   No   2
+ *   STM32F746Nx TFBGA216          168   6/3   24   Yes  No   No   2
+ *
+ *   STM32F756Vx LQFP100            82   4/3   16   Yes  No   No   2
+ *   STM32F756Zx WLCSP143/LQFP144  114   6/3   24   Yes  No   No   2
+ *   STM32F756Ix UFBGA176/LQFP176  140   6/3   24   Yes  No   No   2
+ *   STM32F756Bx LQFP208           168   6/3   24   Yes  No   No   2
+ *   STM32F756Nx TFBGA216          168   6/3   24   Yes  No   No   2
+ *
+ *   STM32F765Vx LQFP100            82   4/3   16   No   No   No   3
+ *   STM32F765Zx WLCSP143/LQFP144  114   6/3   24   No   No   No   3
+ *   STM32F765Ix UFBGA176/LQFP176  140   6/3   24   No   No   No   3
+ *   STM32F765Bx LQFP208           168   6/3   24   No   No   No   3
+ *   STM32F765Nx TFBGA216          168   6/3   24   No   No   No   3
+ *
+ *   STM32F767Vx LQFP100            82   4/3   16   Yes  No   Yes  3
+ *   STM32F767Zx WLCSP143/LQFP144  114   6/3   24   Yes  No   Yes  3
+ *   STM32F767Ix UFBGA176/LQFP176  132   6/3   24   Yes  Yes  Yes  3
+ *   STM32F767Bx LQFP208           168   6/3   24   Yes  Yes  Yes  3
+ *   STM32F767Nx TFBGA216          159   6/3   24   Yes  Yes  Yes  3
+ *
+ *   STM32F768Ax WLCSP180          129   6/3   24   Yes  Yes  Yes  3
+ *
+ *   STM32F769Vx LQFP100            82   4/3   16   Yes  No   Yes  3
+ *   STM32F769Zx LQFP144           114   6/3   24   Yes  No   Yes  3
+ *   STM32F769Ix UFBGA176/LQFP176  132   6/3   24   Yes  Yes  Yes  3
+ *   STM32F769Bx LQFP208           168   6/3   24   Yes  Yes  Yes  3
+ *   STM32F769Nx TFBGA216          159   6/3   24   Yes  Yes  Yes  3
+ *
+ *   STM32F769Ax WLCSP180          129   6/3   24   Yes  Yes  Yes  3
+ *
+ *   STM32F777Vx LQFP100            82   4/3   16   Yes  No   Yes  3
+ *   STM32F777Zx LQFP144           114   6/3   24   Yes  No   Yes  3
+ *   STM32F777Ix UFBGA176/LQFP176  132   6/3   24   Yes  Yes  Yes  3
+ *   STM32F777Bx LQFP208           159   6/3   24   Yes  Yes  Yes  3
+ *   STM32F777Nx TFBGA216          159   6/3   24   Yes  Yes  Yes  3
+ *
+ *   STM32F778Ax WLCSP180          129   6/3   24   Yes  Yes  Yes  3
+ *
+ *   STM32F779Ix UFBGA176/LQFP176  132   6/3   24   Yes  Yes  Yes  3
+ *   STM32F779Bx LQFP208           159   6/3   24   Yes  Yes  Yes  3
+ *   STM32F779Nx TFBGA216          159   6/3   24   Yes  Yes  Yes  3
 
- *   STM32F779Ax WLCSP180          129   6/3   24   Yes  Yes  Yes  3   No    Yes   Yes  DFPU (368+16+128) 16+16
- *   ----------- ---------------- ----- ---- ----- ---- ---- ---- ---- ---- ----- ----- ---- ------------ ------
+ *   STM32F779Ax WLCSP180          129   6/3   24   Yes  Yes  Yes  3
+ *   ----------- ---------------- ----- ---- ----- ---- ---- ---- ----
+ *
+ *
+ *   -----------  ---- ----- ----- ---- ------------ ------
  *
+ *   PART        ETH  DFSDM CRYPTO FPU      RAM      L1
+ *   ----------- ---- ----- ----- ---- ------------ ------
+ *   STM32F722Rx No    No    No   SFPU (176+16+64)  8+8
+ *   STM32F722Vx No    No    No   SFPU (176+16+64)  8+8
+ *   STM32F722Zx No    No    No   SFPU (176+16+64)  8+8
+ *   STM32F722Ix No    No    No   SFPU (176+16+64)  8+8
+ *
+ *   STM32F723Vx No    No    No   SFPU (176+16+64)  8+8
+ *   STM32F723Zx No    No    No   SFPU (176+16+64)  8+8
+ *   STM32F723Ix No    No    No   SFPU (176+16+64)  8+8
+ *
+ *   STM32F745Vx Yes   No    No   SFPU (240+16+64)  4+4
+ *   STM32F745Zx Yes   No    No   SFPU (240+16+64)  4+4
+ *   STM32F745Ix Yes   No    No   SFPU (240+16+64)  4+4
+ *   STM32F745Bx Yes   No    No   SFPU (240+16+64)  4+4
+ *   STM32F745Nx Yes   No    No   SFPU (240+16+64)  4+4
+ *
+ *   STM32F746Vx Yes   No    No   SFPU (240+16+64)  4+4
+ *   STM32F746Zx Yes   No    No   SFPU (240+16+64)  4+4
+ *   STM32F746Ix Yes   No    No   SFPU (240+16+64)  4+4
+ *   STM32F746Bx Yes   No    No   SFPU (240+16+64)  4+4
+ *   STM32F746Nx Yes   No    No   SFPU
+ *
+ *   STM32F756Vx Yes   No   Yes   SFPU (240+16+64)  4+4
+ *   STM32F756Zx Yes   No   Yes   SFPU (240+16+64)  4+4
+ *   STM32F756Ix Yes   No   Yes   SFPU (240+16+64)  4+4
+ *   STM32F756Bx Yes   No   Yes   SFPU (240+16+64)  4+4
+ *   STM32F756Nx Yes   No   Yes   SFPU (240+16+64)  4+4
+ *
+ *   STM32F765Vx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F765Zx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F765Ix Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F765Bx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F765Nx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *
+ *   STM32F767Vx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F767Zx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F767Ix Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F767Bx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F767Nx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *
+ *   STM32F768Ax No    Yes   No   DFPU (368+16+128) 16+16
+ *
+ *   STM32F769Vx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F769Zx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F769Ix Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F769Bx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *   STM32F769Nx Yes   Yes   No   DFPU (368+16+128) 16+16
+ *
+ *   STM32F769Ax No    Yes   No   DFPU (368+16+128) 16+16
+ *
+ *   STM32F777Vx Yes   Yes   Yes  DFPU (368+16+128) 16+16
+ *   STM32F777Zx Yes   Yes   Yes  DFPU (368+16+128) 16+16
+ *   STM32F777Ix Yes   Yes   Yes  DFPU (368+16+128) 16+16
+ *   STM32F777Bx Yes   Yes   Yes  DFPU (368+16+128) 16+16
+ *   STM32F777Nx Yes   Yes   Yes  DFPU (368+16+128) 16+16
+ *
+ *   STM32F778Ax No    Yes   Yes  DFPU (368+16+128) 16+16
+ *
+ *   STM32F779Ix Yes   Yes   Yes  DFPU (368+16+128) 16+16
+ *   STM32F779Bx Yes   Yes   Yes  DFPU (368+16+128) 16+16
+ *   STM32F779Nx Yes   Yes   Yes  DFPU (368+16+128) 16+16
+
+ *   STM32F779Ax No    Yes   Yes  DFPU (368+16+128) 16+16
+ *   ----------- ---- ----- ---- ----- ------------ ------
+
  * Parts STM32F72xxC & STM32F73xxC have 256Kb of FLASH
  * Parts STM32F72xxE & STM32F73xxE have 512Kb of FLASH
  * Parts STM32F74xxE have 512Kb of FLASH
  * Parts STM32F74xxG have 1024Kb of FLASH
  * Parts STM32F74xxI have 2048Kb of FLASH
  *
- * The correct FLASH size will be set CONFIG_STM32F7_FLASH_CONFIG_x or overridden
- * with CONFIG_STM32F7_FLASH_OVERRIDE_x
+ * The correct FLASH size will be set CONFIG_STM32F7_FLASH_CONFIG_x
+ * or overridden with CONFIG_STM32F7_FLASH_OVERRIDE_x
  *
  */
 #if defined(CONFIG_ARCH_CHIP_STM32F722RC) || \
@@ -374,7 +444,7 @@
 #define STM32F7_NDFSDM                     0   /* No Digital filters */
 #endif
 
-/* NVIC priority levels *********************************************************************************************/
+/* NVIC priority levels *****************************************************/
 
 /* 16 Programmable interrupt levels */
 
diff --git a/arch/arm/include/stm32f7/irq.h b/arch/arm/include/stm32f7/irq.h
index 2147d54..0b6624b 100644
--- a/arch/arm/include/stm32f7/irq.h
+++ b/arch/arm/include/stm32f7/irq.h
@@ -48,7 +48,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32f7/stm32f72xx73xx_irq.h b/arch/arm/include/stm32f7/stm32f72xx73xx_irq.h
index 4ffc3c6..611c2a2 100644
--- a/arch/arm/include/stm32f7/stm32f72xx73xx_irq.h
+++ b/arch/arm/include/stm32f7/stm32f72xx73xx_irq.h
@@ -52,7 +52,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32f7/stm32f74xx75xx_irq.h b/arch/arm/include/stm32f7/stm32f74xx75xx_irq.h
index d481351..4502fc5 100644
--- a/arch/arm/include/stm32f7/stm32f74xx75xx_irq.h
+++ b/arch/arm/include/stm32f7/stm32f74xx75xx_irq.h
@@ -32,7 +32,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32f7/stm32f76xx77xx_irq.h b/arch/arm/include/stm32f7/stm32f76xx77xx_irq.h
index e3dd548..1e9cca9 100644
--- a/arch/arm/include/stm32f7/stm32f76xx77xx_irq.h
+++ b/arch/arm/include/stm32f7/stm32f76xx77xx_irq.h
@@ -32,7 +32,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32h7/chip.h b/arch/arm/include/stm32h7/chip.h
index eed4ab8..3c16e21 100644
--- a/arch/arm/include/stm32h7/chip.h
+++ b/arch/arm/include/stm32h7/chip.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32h7/chip.h
  *
  *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
@@ -32,20 +32,20 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_STM32H7_CHIP_H
 #define __ARCH_ARM_INCLUDE_STM32H7_CHIP_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* STM32H7x3xx  Differences between family members:
  *
@@ -65,8 +65,8 @@
  *
  * Parts STM32H7xxxI have 2048Kb of FLASH
  *
- * The correct FLASH size will be set CONFIG_STM32H7_FLASH_CONFIG_x or overridden
- * with CONFIG_STM32H7_FLASH_OVERRIDE_x
+ * The correct FLASH size will be set CONFIG_STM32H7_FLASH_CONFIG_x or
+ * overridden with CONFIG_STM32H7_FLASH_OVERRIDE_x
  */
 
 #if defined (CONFIG_ARCH_CHIP_STM32H743AG) || \
@@ -211,7 +211,7 @@
 #  define STM32H7_NFMC                     0   /* No FMC memory controller */
 #endif
 
-/* NVIC priority levels *************************************************************/
+/* NVIC priority levels *****************************************************/
 
 /* 16 Programmable interrupt levels */
 
diff --git a/arch/arm/include/stm32h7/irq.h b/arch/arm/include/stm32h7/irq.h
index 894f59d..54ec535 100644
--- a/arch/arm/include/stm32h7/irq.h
+++ b/arch/arm/include/stm32h7/irq.h
@@ -32,7 +32,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32h7/stm32h7x3xx_irq.h b/arch/arm/include/stm32h7/stm32h7x3xx_irq.h
index 88ca875..5cb5496 100644
--- a/arch/arm/include/stm32h7/stm32h7x3xx_irq.h
+++ b/arch/arm/include/stm32h7/stm32h7x3xx_irq.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32h7/stm32h7x3xx_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,27 +16,33 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directly but, rather, only indirectly through arch/irq.h */
+/* This file should never be included directly but, rather,
+ * only indirectly through arch/irq.h
+ */
 
 #ifndef __ARCH_ARM_INCLUDE_STM32H7_STM32H7X3XX_IRQ_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/****************************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to bits in the
- * NVIC.  This does, however, waste several words of memory in the IRQ to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to bits
+ * in the NVIC.
+ * This does, however, waste several words of memory in the IRQ to handle
+ * mapping tables.
  *
- * Processor Exceptions (vectors 0-15).  These common definitions can be found in the file
- * nuttx/arch/arm/include/stm32h7/irq.h which includes this file
+ * Processor Exceptions (vectors 0-15).  These common definitions can be
+ * found in the file nuttx/arch/arm/include/stm32h7/irq.h which includes
+ * this file
  *
  * External interrupts (vectors >= 16)
  */
diff --git a/arch/arm/include/stm32h7/stm32h7x7xx_irq.h b/arch/arm/include/stm32h7/stm32h7x7xx_irq.h
index d52fb87..eee6850 100644
--- a/arch/arm/include/stm32h7/stm32h7x7xx_irq.h
+++ b/arch/arm/include/stm32h7/stm32h7x7xx_irq.h
@@ -31,7 +31,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32l4/chip.h b/arch/arm/include/stm32l4/chip.h
index 0d74e62..4ba5cfe 100644
--- a/arch/arm/include/stm32l4/chip.h
+++ b/arch/arm/include/stm32l4/chip.h
@@ -28,7 +28,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* STM32L475, STM32L476, STM32L486, STM32L496, STM32L4A6
diff --git a/arch/arm/include/stm32l4/irq.h b/arch/arm/include/stm32l4/irq.h
index 76bc1f0..dc259c7 100644
--- a/arch/arm/include/stm32l4/irq.h
+++ b/arch/arm/include/stm32l4/irq.h
@@ -32,7 +32,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32l4/stm32l4x3xx_irq.h b/arch/arm/include/stm32l4/stm32l4x3xx_irq.h
index 69759bb..43360ee 100644
--- a/arch/arm/include/stm32l4/stm32l4x3xx_irq.h
+++ b/arch/arm/include/stm32l4/stm32l4x3xx_irq.h
@@ -49,7 +49,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32l4/stm32l4x5xx_irq.h b/arch/arm/include/stm32l4/stm32l4x5xx_irq.h
index 55baf3f..b1e7e92 100644
--- a/arch/arm/include/stm32l4/stm32l4x5xx_irq.h
+++ b/arch/arm/include/stm32l4/stm32l4x5xx_irq.h
@@ -32,7 +32,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32l4/stm32l4x6xx_irq.h b/arch/arm/include/stm32l4/stm32l4x6xx_irq.h
index 003d6c9..b8f628c 100644
--- a/arch/arm/include/stm32l4/stm32l4x6xx_irq.h
+++ b/arch/arm/include/stm32l4/stm32l4x6xx_irq.h
@@ -32,7 +32,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32l4/stm32l4xrxx_irq.h b/arch/arm/include/stm32l4/stm32l4xrxx_irq.h
index 54db53f..18a8b14 100644
--- a/arch/arm/include/stm32l4/stm32l4xrxx_irq.h
+++ b/arch/arm/include/stm32l4/stm32l4xrxx_irq.h
@@ -32,7 +32,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/stm32l5/chip.h b/arch/arm/include/stm32l5/chip.h
index 9d3c892..7bb1472 100644
--- a/arch/arm/include/stm32l5/chip.h
+++ b/arch/arm/include/stm32l5/chip.h
@@ -1,4 +1,4 @@
-/*****************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32l5/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,20 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- *****************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_STM32L5_CHIP_H
 #define __ARCH_ARM_INCLUDE_STM32L5_CHIP_H
 
-/*****************************************************************************
+/****************************************************************************
  * Included Files
- *****************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/*****************************************************************************
- * Pre-processor Definitions
- *****************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 #if defined(CONFIG_STM32L5_STM32L562XX)
 #  define STM32L5_SRAM1_SIZE       (192*1024)  /* 192Kb SRAM1 on AHB bus Matrix */
@@ -69,7 +69,7 @@
 #  define STM32L5_NOPAMP                   2   /* Operational Amplifiers */
 #endif /* CONFIG_STM32L5_STM32L562XX */
 
-/* NVIC priority levels ******************************************************/
+/* NVIC priority levels *****************************************************/
 
 /* 16 Programmable interrupt levels */
 
diff --git a/arch/arm/include/stm32l5/irq.h b/arch/arm/include/stm32l5/irq.h
index 2c2a334..8e03ede 100644
--- a/arch/arm/include/stm32l5/irq.h
+++ b/arch/arm/include/stm32l5/irq.h
@@ -1,4 +1,4 @@
-/*****************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32l5/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,7 +16,7 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- *****************************************************************************/
+ ****************************************************************************/
 
 /* This file should never be included directed but, rather,
  * only indirectly through nuttx/irq.h
@@ -25,9 +25,9 @@
 #ifndef __ARCH_ARM_INCLUDE_STM32L5_IRQ_H
 #define __ARCH_ARM_INCLUDE_STM32L5_IRQ_H
 
-/*****************************************************************************
+/****************************************************************************
  * Included Files
- *****************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
diff --git a/arch/arm/include/stm32l5/stm32l562xx_irq.h b/arch/arm/include/stm32l5/stm32l562xx_irq.h
index 6ec2933..97bf297 100644
--- a/arch/arm/include/stm32l5/stm32l562xx_irq.h
+++ b/arch/arm/include/stm32l5/stm32l562xx_irq.h
@@ -1,4 +1,4 @@
-/*****************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32l5/stm32l562xx_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,29 +16,29 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- *****************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_STM32L5_STM32L562XX_IRQ_H
 #define __ARCH_ARM_INCLUDE_STM32L5_STM32L562XX_IRQ_H
 
-/*****************************************************************************
+/****************************************************************************
  * Included Files
- *****************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/stm32l5/stm32l5_irq.h>
 
-/*****************************************************************************
- * Pre-processor Definitions
- *****************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
  * directly to bits in the NVIC.  This does, however, waste several words of
  * memory in the IRQ to handle mapping tables.
  *
- * Processor Exceptions (vectors 0-15).  These common definitions can be found
- * in the file nuttx/arch/arm/include/stm32l5/stm32l5_irq.h, which is included
- * above.
+ * Processor Exceptions (vectors 0-15). These common definitions can be found
+ * in the file nuttx/arch/arm/include/stm32l5/stm32l5_irq.h, which is
+ * included above.
  *
  * External interrupts (vectors >= 16)
  *
diff --git a/arch/arm/include/stm32l5/stm32l5_irq.h b/arch/arm/include/stm32l5/stm32l5_irq.h
index d57ab39..be3f9fe 100644
--- a/arch/arm/include/stm32l5/stm32l5_irq.h
+++ b/arch/arm/include/stm32l5/stm32l5_irq.h
@@ -1,4 +1,4 @@
-/*****************************************************************************
+/****************************************************************************
  * arch/arm/include/stm32l5/stm32l5_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,28 +16,30 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- *****************************************************************************/
+ ****************************************************************************/
 
-/* This file should never be included directed but, rather, only indirectly by
- * the chip type specific header files (e.g. stm32l562xx_irq.h)
+/* This file should never be included directed but, rather,
+ * only indirectly by the chip type specific header files
+ * (e.g. stm32l562xx_irq.h)
  */
 
 #ifndef __ARCH_ARM_INCLUDE_STM32L5_STM32L5_IRQ_H
 #define __ARCH_ARM_INCLUDE_STM32L5_STM32L5_IRQ_H
 
-/*****************************************************************************
+/****************************************************************************
  * Included Files
- *****************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/*****************************************************************************
- * Pre-processor Definitions
- *****************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map
- * directly to bits in the NVIC.  This does, however, waste several words of
- * memory in the IRQ to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to bits
+ * in the NVIC.  This does, however, waste several words of memory in the
+ * IRQ to handle mapping tables.
  */
 
 /* Processor Exceptions (vectors 0-15) */
@@ -57,17 +59,19 @@
 #define STM32L5_IRQ_PENDSV        (14) /* Vector 14: Pendable system service request */
 #define STM32L5_IRQ_SYSTICK       (15) /* Vector 15: System tick */
 
-/* External interrupts (vectors >= 16).  These definitions are chip-specific */
+/* External interrupts (vectors >= 16).
+ * These definitions are chip-specific
+ */
 
 #define STM32L5_IRQ_FIRST         (16) /* Vector number of the first external interrupt */
 
-/*****************************************************************************
+/****************************************************************************
  * Public Types
- *****************************************************************************/
+ ****************************************************************************/
 
-/*****************************************************************************
+/****************************************************************************
  * Public Data
- *****************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -78,9 +82,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/*****************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- *****************************************************************************/
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/str71x/irq.h b/arch/arm/include/str71x/irq.h
index 998409c..3c0e9f2 100644
--- a/arch/arm/include/str71x/irq.h
+++ b/arch/arm/include/str71x/irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/str71x/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,7 +16,7 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 /* This file should never be included directly but, rather,
  * only indirectly through nuttx/irq.h
@@ -25,15 +25,15 @@
 #ifndef __ARCH_ARM_INCLUDE_STR71X_IRQ_H
 #define __ARCH_ARM_INCLUDE_STR71X_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* IRQ channels */
 
@@ -106,13 +106,13 @@
 #define STR71X_FIQ_WDG        (0X00000002)
 #define STR71X_FIQ_WDGT0TIMIS (0X00000003)
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -123,9 +123,9 @@ extern "C"
 #define EXTERN extern
 #endif
 
-/************************************************************************************
- * Public Functions
- ************************************************************************************/
+/****************************************************************************
+ * Public Functions Prototypes
+ ****************************************************************************/
 
 #undef EXTERN
 #ifdef __cplusplus
diff --git a/arch/arm/include/syscall.h b/arch/arm/include/syscall.h
index 7651c21..ea1ee2e 100644
--- a/arch/arm/include/syscall.h
+++ b/arch/arm/include/syscall.h
@@ -46,7 +46,7 @@
 #endif
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /****************************************************************************
diff --git a/arch/arm/include/tiva/cc13x0_irq.h b/arch/arm/include/tiva/cc13x0_irq.h
index 95ac7d6..2a1a0b2 100644
--- a/arch/arm/include/tiva/cc13x0_irq.h
+++ b/arch/arm/include/tiva/cc13x0_irq.h
@@ -28,7 +28,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/tiva/cc13x2_cc26x2_irq.h b/arch/arm/include/tiva/cc13x2_cc26x2_irq.h
index 4cecf15..1ad68e9 100644
--- a/arch/arm/include/tiva/cc13x2_cc26x2_irq.h
+++ b/arch/arm/include/tiva/cc13x2_cc26x2_irq.h
@@ -28,7 +28,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* IRQ numbers.  The IRQ number corresponds vector number and hence map
diff --git a/arch/arm/include/tiva/chip.h b/arch/arm/include/tiva/chip.h
index f0813a1..0899ac3 100644
--- a/arch/arm/include/tiva/chip.h
+++ b/arch/arm/include/tiva/chip.h
@@ -45,7 +45,7 @@
 #include <nuttx/config.h>
 
 /****************************************************************************
- * Pre-processor Definitions
+ * Pre-processor Prototypes
  ****************************************************************************/
 
 /* Get customizations for each supported chip */
diff --git a/arch/arm/include/tiva/irq.h b/arch/arm/include/tiva/irq.h
index 68727b9..b77d7f5 100644
--- a/arch/arm/include/tiva/irq.h
+++ b/arch/arm/include/tiva/irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/tiva/irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,21 +16,21 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_TIVA_IRQ_H
 #define __ARCH_ARM_INCLUDE_TIVA_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 #include <arch/tiva/chip.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* Mark GPIO interrupts as disabled for non-existent GPIO ports. */
 
@@ -109,9 +109,9 @@
 
 #define TIVA_IRQ_INTERRUPTS (16) /* Vector number of the first external interrupt */
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #if defined(CONFIG_ARCH_CHIP_LM3S)
 #  include <arch/tiva/lm3s_irq.h>
@@ -127,16 +127,16 @@
 #  error "Unsupported Stellaris IRQ file"
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ************************************************************************************/
+ ****************************************************************************/
 
 #endif /* __ARCH_ARM_INCLUDE_TIVA_IRQ_H */
diff --git a/arch/arm/include/tiva/lm3s_irq.h b/arch/arm/include/tiva/lm3s_irq.h
index 6d39590..1cf8c11 100644
--- a/arch/arm/include/tiva/lm3s_irq.h
+++ b/arch/arm/include/tiva/lm3s_irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/tiva/lm3s_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,25 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_TIVA_LM3S_IRQ_H
 #define __ARCH_ARM_INCLUDE_TIVA_LM3S_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* External interrupts (vectors >= 16) */
@@ -503,13 +504,13 @@
 
 #define NR_GPIO_IRQS          (_NGPIOTIRQS - NR_IRQS)
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -517,9 +518,9 @@ extern "C"
 {
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 }
diff --git a/arch/arm/include/tiva/lm4f_irq.h b/arch/arm/include/tiva/lm4f_irq.h
index ba81f6d..f7a287d8 100644
--- a/arch/arm/include/tiva/lm4f_irq.h
+++ b/arch/arm/include/tiva/lm4f_irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/tiva/lm4f_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,24 +16,25 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_TIVA_LM4F_IRQ_H
 #define __ARCH_ARM_INCLUDE_TIVA_LM4F_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* External interrupts (vectors >= 16) */
@@ -334,13 +335,13 @@
 
 #define NR_GPIO_IRQS          (_NGPIOTIRQS - NR_IRQS)
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -348,9 +349,9 @@ extern "C"
 {
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Function Prototypes
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 }
diff --git a/arch/arm/include/tiva/tm4c_irq.h b/arch/arm/include/tiva/tm4c_irq.h
index df02a17..500cf09 100644
--- a/arch/arm/include/tiva/tm4c_irq.h
+++ b/arch/arm/include/tiva/tm4c_irq.h
@@ -1,4 +1,4 @@
-/************************************************************************************
+/****************************************************************************
  * arch/arm/include/tiva/tm4c_irq.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,20 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_TIVA_TM4C_IRQ_H
 #define __ARCH_ARM_INCLUDE_TIVA_TM4C_IRQ_H
 
-/************************************************************************************
+/****************************************************************************
  * Included Files
- ************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/************************************************************************************
- * Pre-processor Definitions
- ************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /* All of the TM4C123* part numbers in the following list basically have the
  * same set of interrupt vectors. However, each part number varies in
@@ -59,9 +59,10 @@
  * TM4C129ENCPDT, TM4C129ENCZAD, TM4C129LNCZAD, TM4C129XKCZAD, TM4C129XNCZAD.
  */
 
-/* IRQ numbers.  The IRQ number corresponds vector number and hence map directly to
- * bits in the NVIC.  This does, however, waste several words of memory in the IRQ
- * to handle mapping tables.
+/* IRQ numbers.
+ * The IRQ number corresponds vector number and hence map directly to
+ * bits in the NVIC.  This does, however, waste several words of memory in
+ * the IRQ to handle mapping tables.
  */
 
 /* External interrupts (vectors >= 16) */
@@ -1487,13 +1488,13 @@
 
 #define NR_GPIO_IRQS          (_NGPIOQIRQS - NR_IRQS)
 
-/************************************************************************************
+/****************************************************************************
  * Public Types
- ************************************************************************************/
+ ****************************************************************************/
 
-/************************************************************************************
+/****************************************************************************
  * Public Data
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ASSEMBLY__
 #ifdef __cplusplus
@@ -1501,9 +1502,9 @@ extern "C"
 {
 #endif
 
-/************************************************************************************
+/****************************************************************************
  * Public Function Prototypess
- ************************************************************************************/
+ ****************************************************************************/
 
 #ifdef __cplusplus
 }
diff --git a/arch/arm/include/tms570/chip.h b/arch/arm/include/tms570/chip.h
index bf2edcf..cd1a334 100644
--- a/arch/arm/include/tms570/chip.h
+++ b/arch/arm/include/tms570/chip.h
@@ -1,4 +1,4 @@
-/****************************************************************************************************
+/****************************************************************************
  * arch/arm/include/tms570/chip.h
  *
  * Licensed to the Apache Software Foundation (ASF) under one or more
@@ -16,20 +16,20 @@
  * License for the specific language governing permissions and limitations
  * under the License.
  *
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #ifndef __ARCH_ARM_INCLUDE_TMS570_CHIP_H
 #define __ARCH_ARM_INCLUDE_TMS570_CHIP_H
 
-/****************************************************************************************************
+/****************************************************************************
  * Included Files
- ****************************************************************************************************/
+ ****************************************************************************/
 
 #include <nuttx/config.h>
 
-/****************************************************************************************************
- * Pre-processor Definitions
- ****************************************************************************************************/
+/****************************************************************************
+ * Pre-processor Prototypes
+ ****************************************************************************/
 
 /*                 TMS570LS0432PZ TMS570LS0332PZ TMS570LS0232PZ
  * Package         100 QFP        100 QFP        100 QFP
@@ -167,29 +167,53 @@
 #  undef  TMS570_RTP                     /* No RAM trace port (RTP) */
 #  undef  TMS570_DMM                     /* No DMM */
 
-/*                 TMS570LS1227ZWT TMS570LS0714ZWT TMS570LS0714PGE TMS570LS0714PZ
- * Package         337 BGA         337 BGA         144 QFP         100 QFP
- * CPU             ARM Cortex-R4F  ARM Cortex-R4F  ARM Cortex-R4F  ARM Cortex-R4F
- * Frequency (MHz) 180             180             160             100
- * Flash (KB)      1280            768             768             768
- * RAM (KB)        192             128             128             128
- * Data Flash (KB) 64              64              64              64
- * EMAC            10/100          –               –               –
- * FlexRay         2-ch            –               –               –
- * CAN             3               3               3               2
- * MibADC (CH)     2 (24)          2 (24)          2 (24)          2 (16)
- * N2HET (Ch)      2 (44)          2 (44)          2 (40)          2 (21)
- * ePWM Channels   14              14              14              8
- * eCAP Channels   6               6               6               4
- * eQEP Channels   2               2               2               1
- * MibSPI (CS)     3 (6+6+4)       3 (6+6+4)       3 (5+6+4)       2 (5+1)
- * SPI (CS)        2 (2+1)         2 (2+1)         1 (1)           1 (1)
- * SCI (LIN)       2 (1)           2 (1)           2 (1)           1 (1)
- * I2C             1               1               1               –
- * GPIO (INT)      101 (16)        101 (16)        64 (10)         45 (9)
- * EMIF            16-bit data     –               –               –
- * ETM (Trace)     –               –               –               –
- * RTP/DMM         –               –               –               –
+/*                 TMS570LS1227ZWT TMS570LS0714ZWT
+ * Package         337 BGA         337 BGA
+ * CPU             ARM Cortex-R4F  ARM Cortex-R4F
+ * Frequency (MHz) 180             180
+ * Flash (KB)      1280            768
+ * RAM (KB)        192             128
+ * Data Flash (KB) 64              64
+ * EMAC            10/100          –
+ * FlexRay         2-ch            –
+ * CAN             3               3
+ * MibADC (CH)     2 (24)          2 (24)
+ * N2HET (Ch)      2 (44)          2 (44)
+ * ePWM Channels   14              14
+ * eCAP Channels   6               6
+ * eQEP Channels   2               2
+ * MibSPI (CS)     3 (6+6+4)       3 (6+6+4)
+ * SPI (CS)        2 (2+1)         2 (2+1)
+ * SCI (LIN)       2 (1)           2 (1)
+ * I2C             1               1
+ * GPIO (INT)      101 (16)        101 (16)
+ * EMIF            16-bit data     –
+ * ETM (Trace)     –               –
+ * RTP/DMM         –               –
+ *
+ *                 TMS570LS0714PGE TMS570LS0714PZ
+ * Package         144 QFP         100 QFP
+ * CPU             ARM Cortex-R4F  ARM Cortex-R4F
+ * Frequency (MHz) 160             100
+ * Flash (KB)      768             768
+ * RAM (KB)        128             128
+ * Data Flash (KB) 64              64
+ * EMAC            –               –
+ * FlexRay         –               –
+ * CAN             3               2
+ * MibADC (CH)     2 (24)          2 (16)
+ * N2HET (Ch)      2 (40)          2 (21)
+ * ePWM Channels   14              8
+ * eCAP Channels   6               4
+ * eQEP Channels   2               1
+ * MibSPI (CS)     3 (5+6+4)       2 (5+1)
+ * SPI (CS)        1 (1)           1 (1)
+ * SCI (LIN)       2 (1)           1 (1)
+ * I2C             1               –
+ * GPIO (INT)      64 (10)         45 (9)
+ * EMIF            –               –
+ * ETM (Trace)     –               –
+ * RTP/DMM         –               –
  */
 
 #elif defined(CONFIG_ARCH_CHIP_TMS570LS0714PZ)
diff --git a/arch/arm/include/tms570/irq.h b/arch/arm/include/tms570/irq.h
... 482 lines suppressed ...

[incubator-nuttx] 03/16: libs: Author David Sidrane: update licenses to Apache

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 3d6185709f80c62a925824339f44f29fbf9888f8
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sat Mar 20 19:59:50 2021 +0100

    libs: Author David Sidrane: update licenses to Apache
    
    David Sidrane has submitted the ICL and we can migrate the licenses
     to Apache.
    
    Gregory Nutt has submitted the SGA and we can migrate the licenses
     to Apache.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 libs/libc/time/lib_dayofweek.c | 40 ++++++++++++----------------------------
 1 file changed, 12 insertions(+), 28 deletions(-)

diff --git a/libs/libc/time/lib_dayofweek.c b/libs/libc/time/lib_dayofweek.c
index 07b64a2..7acccf6 100644
--- a/libs/libc/time/lib_dayofweek.c
+++ b/libs/libc/time/lib_dayofweek.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * libs/libc/time/lib_dayofweek.c
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 

[incubator-nuttx] 14/16: boards: arm: stm32: fix Mixed case identifier

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit fe64ed54b96ea574de487f7bb763ca2a33dcea6b
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sun Mar 21 22:16:40 2021 +0100

    boards: arm: stm32: fix Mixed case identifier
    
    Mixed case identifier fix to pass CI
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 boards/arm/stm32/olimexino-stm32/src/olimexino-stm32.h | 6 +++---
 boards/arm/stm32/olimexino-stm32/src/stm32_spi.c       | 8 ++++----
 boards/arm/stm32/olimexino-stm32/src/stm32_usbdev.c    | 4 ++--
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/boards/arm/stm32/olimexino-stm32/src/olimexino-stm32.h b/boards/arm/stm32/olimexino-stm32/src/olimexino-stm32.h
index 1fa4d01..30d4ebb 100644
--- a/boards/arm/stm32/olimexino-stm32/src/olimexino-stm32.h
+++ b/boards/arm/stm32/olimexino-stm32/src/olimexino-stm32.h
@@ -99,7 +99,7 @@
  */
 
 #define GPIO_USB_VBUS    (GPIO_INPUT | GPIO_CNF_INFLOAT | GPIO_PORTC | GPIO_PIN11)
-#define GPIO_USB_PULLUPn (GPIO_OUTPUT | GPIO_CNF_OUTPP | GPIO_MODE_50MHz | \
+#define GPIO_USB_PULLUPN (GPIO_OUTPUT | GPIO_CNF_OUTPP | GPIO_MODE_50MHz | \
                           GPIO_PORTC | GPIO_PIN12 | GPIO_OUTPUT_SET)
 
 /* SPI **********************************************************************
@@ -114,11 +114,11 @@
 
 #define GPIO_SPI1_SSn (GPIO_OUTPUT | GPIO_CNF_OUTPP | GPIO_MODE_50MHz | \
                        GPIO_PORTC | GPIO_PIN9 | GPIO_OUTPUT_SET)
-#define USER_CSn      GPIO_SPI1_SSn
+#define USER_CSN      GPIO_SPI1_SSn
 
 #define GPIO_SPI2_SSn (GPIO_OUTPUT | GPIO_CNF_OUTPP | GPIO_MODE_50MHz | \
                        GPIO_PORTD | GPIO_PIN2 | GPIO_OUTPUT_SET)
-#define MMCSD_CSn     GPIO_SPI2_SSn
+#define MMCSD_CSN     GPIO_SPI2_SSn
 
 /****************************************************************************
  * Public Types
diff --git a/boards/arm/stm32/olimexino-stm32/src/stm32_spi.c b/boards/arm/stm32/olimexino-stm32/src/stm32_spi.c
index f171a8e..fba745b 100644
--- a/boards/arm/stm32/olimexino-stm32/src/stm32_spi.c
+++ b/boards/arm/stm32/olimexino-stm32/src/stm32_spi.c
@@ -56,11 +56,11 @@ void weak_function stm32_spidev_initialize(void)
   /* Setup CS */
 
 #ifdef CONFIG_STM32_SPI1
-  stm32_configgpio(USER_CSn);
+  stm32_configgpio(USER_CSN);
 #endif
 
 #ifdef CONFIG_STM32_SPI2
-  stm32_configgpio(MMCSD_CSn);
+  stm32_configgpio(MMCSD_CSN);
 #endif
 }
 
@@ -98,7 +98,7 @@ void stm32_spi1select(FAR struct spi_dev_s *dev,
           (int)devid, selected ? "assert" : "de-assert");
   if (devid == SPIDEV_USER(0))
     {
-      stm32_gpiowrite(USER_CSn, !selected);
+      stm32_gpiowrite(USER_CSN, !selected);
     }
 }
 
@@ -117,7 +117,7 @@ void stm32_spi2select(FAR struct spi_dev_s *dev,
 #if defined(CONFIG_MMCSD)
   if (devid == SPIDEV_MMCSD(0))
     {
-      stm32_gpiowrite(MMCSD_CSn, !selected);
+      stm32_gpiowrite(MMCSD_CSN, !selected);
     }
 #endif
 }
diff --git a/boards/arm/stm32/olimexino-stm32/src/stm32_usbdev.c b/boards/arm/stm32/olimexino-stm32/src/stm32_usbdev.c
index 570de4d..9d922b6 100644
--- a/boards/arm/stm32/olimexino-stm32/src/stm32_usbdev.c
+++ b/boards/arm/stm32/olimexino-stm32/src/stm32_usbdev.c
@@ -79,7 +79,7 @@ void stm32_usbinitialize(void)
 
   /* USB Soft Connect Pullup */
 
-  stm32_configgpio(GPIO_USB_PULLUPn);
+  stm32_configgpio(GPIO_USB_PULLUPN);
 }
 
 /****************************************************************************
@@ -98,7 +98,7 @@ void stm32_usbinitialize(void)
 int stm32_usbpullup(FAR struct usbdev_s *dev, bool enable)
 {
   usbtrace(TRACE_DEVPULLUP, (uint16_t)enable);
-  stm32_gpiowrite(GPIO_USB_PULLUPn, !enable);
+  stm32_gpiowrite(GPIO_USB_PULLUPN, !enable);
   return OK;
 }
 

[incubator-nuttx] 05/16: boards: Author David Sidrane: update licenses to Apache

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 1863dca88a6f6ac03b33d87ccf2a8b7f401205f8
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sat Mar 20 20:13:13 2021 +0100

    boards: Author David Sidrane: update licenses to Apache
    
    David Sidrane has submitted the ICL and we can migrate the licenses
     to Apache.
    
    Gregory Nutt has submitted the SGA and we can migrate the licenses
     to Apache.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 boards/arm/imxrt/imxrt1060-evk/src/imxrt1060-evk.h | 44 +++++++---------------
 boards/arm/imxrt/imxrt1060-evk/src/imxrt_appinit.c | 40 ++++++--------------
 .../arm/imxrt/imxrt1060-evk/src/imxrt_autoleds.c   | 44 +++++++---------------
 boards/arm/imxrt/imxrt1060-evk/src/imxrt_boot.c    | 40 ++++++--------------
 boards/arm/imxrt/imxrt1060-evk/src/imxrt_bringup.c | 40 ++++++--------------
 .../arm/imxrt/imxrt1060-evk/src/imxrt_ethernet.c   | 40 ++++++--------------
 .../arm/imxrt/imxrt1060-evk/src/imxrt_userleds.c   | 40 ++++++--------------
 boards/arm/stm32/olimexino-stm32/include/board.h   | 43 +++++++--------------
 .../arm/stm32/olimexino-stm32/src/stm32_appinit.c  | 40 ++++++--------------
 boards/arm/stm32/olimexino-stm32/src/stm32_boot.c  | 40 ++++++--------------
 boards/arm/stm32/olimexino-stm32/src/stm32_can.c   | 44 ++++++++--------------
 .../stm32/olimexino-stm32/src/stm32_composite.c    | 40 ++++++--------------
 boards/arm/stm32/olimexino-stm32/src/stm32_leds.c  | 40 ++++++--------------
 boards/arm/stm32/olimexino-stm32/src/stm32_spi.c   | 40 ++++++--------------
 .../arm/stm32/olimexino-stm32/src/stm32_usbdev.c   | 40 ++++++--------------
 .../arm/stm32/olimexino-stm32/src/stm32_usbmsc.c   | 40 ++++++--------------
 .../stm32f7/nucleo-144/configs/f746-nsh/Make.defs  | 40 ++++++--------------
 .../nucleo-144/configs/f767-netnsh/Make.defs       | 40 ++++++--------------
 .../stm32f7/nucleo-144/configs/f767-nsh/Make.defs  | 40 ++++++--------------
 boards/arm/stm32f7/nucleo-144/src/Makefile         | 40 ++++++--------------
 boards/arm/stm32f7/nucleo-144/src/stm32_autoleds.c | 40 ++++++--------------
 boards/arm/stm32f7/nucleo-144/src/stm32_bbsram.c   | 39 ++++++-------------
 boards/arm/stm32f7/nucleo-144/src/stm32_boot.c     | 40 ++++++--------------
 boards/arm/stm32f7/nucleo-144/src/stm32_buttons.c  | 40 ++++++--------------
 boards/arm/stm32f7/nucleo-144/src/stm32_spi.c      | 40 ++++++--------------
 boards/arm/stm32f7/nucleo-144/src/stm32_usb.c      | 40 ++++++--------------
 boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c   | 40 ++++++--------------
 .../arm/stm32h7/stm32h747i-disco/src/stm32_adc.c   | 40 ++++++--------------
 boards/arm/stm32l4/nucleo-l496zg/src/Makefile      | 40 ++++++--------------
 .../arm/stm32l4/nucleo-l496zg/src/stm32_autoleds.c | 40 ++++++--------------
 boards/arm/stm32l4/nucleo-l496zg/src/stm32_boot.c  | 40 ++++++--------------
 .../arm/stm32l4/nucleo-l496zg/src/stm32_buttons.c  | 40 ++++++--------------
 boards/arm/stm32l4/nucleo-l496zg/src/stm32_spi.c   | 40 ++++++--------------
 boards/arm/stm32l4/nucleo-l496zg/src/stm32_usb.c   | 40 ++++++--------------
 34 files changed, 417 insertions(+), 957 deletions(-)

diff --git a/boards/arm/imxrt/imxrt1060-evk/src/imxrt1060-evk.h b/boards/arm/imxrt/imxrt1060-evk/src/imxrt1060-evk.h
index 1db80fc..81e2cb3 100644
--- a/boards/arm/imxrt/imxrt1060-evk/src/imxrt1060-evk.h
+++ b/boards/arm/imxrt/imxrt1060-evk/src/imxrt1060-evk.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/imxrt/imxrt1060-evk/src/imxrt1060-evk.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_appinit.c b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_appinit.c
index 994cc9c..d16e498 100644
--- a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_appinit.c
+++ b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_appinit.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/imxrt/imxrt1060-evk/src/imxrt_appinit.c
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_autoleds.c b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_autoleds.c
index 129e9dd..a7c7e42 100644
--- a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_autoleds.c
+++ b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_autoleds.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/imxrt/imxrt1060-evk/src/imxrt_autoleds.c
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_boot.c b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_boot.c
index 83bc19e..9228a9c 100644
--- a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_boot.c
+++ b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_boot.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/imxrt/imxrt1060-evk/src/imxrt_boot.c
  *
- *   Copyright (C) 2015-2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_bringup.c b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_bringup.c
index 558a427..cdd5a4a 100644
--- a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_bringup.c
+++ b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_bringup.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/imxrt/imxrt1060-evk/src/imxrt_bringup.c
  *
- *   Copyright (C) 2018, 2020 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_ethernet.c b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_ethernet.c
index 639987d..0c74f85 100644
--- a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_ethernet.c
+++ b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_ethernet.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/imxrt/imxrt1060-evk/src/imxrt_ethernet.c
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_userleds.c b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_userleds.c
index 5e11868..654c5ac 100644
--- a/boards/arm/imxrt/imxrt1060-evk/src/imxrt_userleds.c
+++ b/boards/arm/imxrt/imxrt1060-evk/src/imxrt_userleds.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/imxrt/imxrt1060-evk/src/imxrt_userleds.c
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32/olimexino-stm32/include/board.h b/boards/arm/stm32/olimexino-stm32/include/board.h
index 656b7fa..fecfd46 100644
--- a/boards/arm/stm32/olimexino-stm32/include/board.h
+++ b/boards/arm/stm32/olimexino-stm32/include/board.h
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32/olimexino-stm32/include/board.h
  *
- *   Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
@@ -53,7 +37,8 @@
 /****************************************************************************
  * Pre-processor Definitions
  ****************************************************************************/
-/* Clocking *************************************************************************/
+
+/* Clocking *****************************************************************/
 
 /* HSI - 8 MHz RC factory-trimmed
  * LSI - 40 KHz RC (30-60KHz, uncalibrated)
diff --git a/boards/arm/stm32/olimexino-stm32/src/stm32_appinit.c b/boards/arm/stm32/olimexino-stm32/src/stm32_appinit.c
index f92c732..8dfa03e 100644
--- a/boards/arm/stm32/olimexino-stm32/src/stm32_appinit.c
+++ b/boards/arm/stm32/olimexino-stm32/src/stm32_appinit.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32/olimexino-stm32/src/stm32_appinit.c
  *
- *   Copyright (C) 2015, 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32/olimexino-stm32/src/stm32_boot.c b/boards/arm/stm32/olimexino-stm32/src/stm32_boot.c
index 6a453eb..74258cd 100644
--- a/boards/arm/stm32/olimexino-stm32/src/stm32_boot.c
+++ b/boards/arm/stm32/olimexino-stm32/src/stm32_boot.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32/olimexino-stm32/src/stm32_boot.c
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32/olimexino-stm32/src/stm32_can.c b/boards/arm/stm32/olimexino-stm32/src/stm32_can.c
index 0d331e9..48dcd3d 100644
--- a/boards/arm/stm32/olimexino-stm32/src/stm32_can.c
+++ b/boards/arm/stm32/olimexino-stm32/src/stm32_can.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32/olimexino-stm32/src/stm32_can.c
  *
- *   Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
@@ -58,7 +42,9 @@
 /****************************************************************************
  * Pre-processor Definitions
  ****************************************************************************/
-/* Configuration ********************************************************************/
+
+/* Configuration ************************************************************/
+
 /* The STM32F107VC supports CAN1 and CAN2 */
 
 #if defined(CONFIG_STM32_CAN1) && defined(CONFIG_STM32_CAN2)
diff --git a/boards/arm/stm32/olimexino-stm32/src/stm32_composite.c b/boards/arm/stm32/olimexino-stm32/src/stm32_composite.c
index b5ec10e..e7b1b28 100644
--- a/boards/arm/stm32/olimexino-stm32/src/stm32_composite.c
+++ b/boards/arm/stm32/olimexino-stm32/src/stm32_composite.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32/olimexino-stm32/src/stm32_composite.c
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32/olimexino-stm32/src/stm32_leds.c b/boards/arm/stm32/olimexino-stm32/src/stm32_leds.c
index e9ff885..1fcaa69 100644
--- a/boards/arm/stm32/olimexino-stm32/src/stm32_leds.c
+++ b/boards/arm/stm32/olimexino-stm32/src/stm32_leds.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32/olimexino-stm32/src/stm32_leds.c
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32/olimexino-stm32/src/stm32_spi.c b/boards/arm/stm32/olimexino-stm32/src/stm32_spi.c
index ad4708a..2704076 100644
--- a/boards/arm/stm32/olimexino-stm32/src/stm32_spi.c
+++ b/boards/arm/stm32/olimexino-stm32/src/stm32_spi.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32/olimexino-stm32/src/stm32_spi.c
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32/olimexino-stm32/src/stm32_usbdev.c b/boards/arm/stm32/olimexino-stm32/src/stm32_usbdev.c
index ea2d87e..f9914fe 100644
--- a/boards/arm/stm32/olimexino-stm32/src/stm32_usbdev.c
+++ b/boards/arm/stm32/olimexino-stm32/src/stm32_usbdev.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32/olimexino-stm32/src/stm32_usbdev.c
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32/olimexino-stm32/src/stm32_usbmsc.c b/boards/arm/stm32/olimexino-stm32/src/stm32_usbmsc.c
index 452090a..cb0fdb7 100644
--- a/boards/arm/stm32/olimexino-stm32/src/stm32_usbmsc.c
+++ b/boards/arm/stm32/olimexino-stm32/src/stm32_usbmsc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32/olimexino-stm32/src/stm32_usbmsc.c
  *
- *   Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *           David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32f7/nucleo-144/configs/f746-nsh/Make.defs b/boards/arm/stm32f7/nucleo-144/configs/f746-nsh/Make.defs
index 568912f..b2c816a 100644
--- a/boards/arm/stm32f7/nucleo-144/configs/f746-nsh/Make.defs
+++ b/boards/arm/stm32f7/nucleo-144/configs/f746-nsh/Make.defs
@@ -1,36 +1,20 @@
 ############################################################################
 # boards/arm/stm32f7/nucleo-144/configs/f746-nsh/Make.defs
 #
-#   Copyright (C) 2016 Gregory Nutt. All rights reserved.
-#   Authors: Gregory Nutt <gn...@nuttx.org>
-#            David Sidrane <da...@nscdg.com>
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.  The
+# ASF licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
 #
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
-# 1. Redistributions of source code must retain the above copyright
-#    notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-#    notice, this list of conditions and the following disclaimer in
-#    the documentation and/or other materials provided with the
-#    distribution.
-# 3. Neither the name NuttX nor the names of its contributors may be
-#    used to endorse or promote products derived from this software
-#    without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
-# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
-# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
 #
 ############################################################################
 
diff --git a/boards/arm/stm32f7/nucleo-144/configs/f767-netnsh/Make.defs b/boards/arm/stm32f7/nucleo-144/configs/f767-netnsh/Make.defs
index b6ce326..bbb93e1 100644
--- a/boards/arm/stm32f7/nucleo-144/configs/f767-netnsh/Make.defs
+++ b/boards/arm/stm32f7/nucleo-144/configs/f767-netnsh/Make.defs
@@ -1,36 +1,20 @@
 ############################################################################
 # boards/arm/stm32f7/nucleo-144/configs/f767-netnsh/Make.defs
 #
-#   Copyright (C) 2016 Gregory Nutt. All rights reserved.
-#   Authors: Gregory Nutt <gn...@nuttx.org>
-#            David Sidrane <da...@nscdg.com>
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.  The
+# ASF licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
 #
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
-# 1. Redistributions of source code must retain the above copyright
-#    notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-#    notice, this list of conditions and the following disclaimer in
-#    the documentation and/or other materials provided with the
-#    distribution.
-# 3. Neither the name NuttX nor the names of its contributors may be
-#    used to endorse or promote products derived from this software
-#    without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
-# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
-# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
 #
 ############################################################################
 
diff --git a/boards/arm/stm32f7/nucleo-144/configs/f767-nsh/Make.defs b/boards/arm/stm32f7/nucleo-144/configs/f767-nsh/Make.defs
index a4dab1b..345822e 100644
--- a/boards/arm/stm32f7/nucleo-144/configs/f767-nsh/Make.defs
+++ b/boards/arm/stm32f7/nucleo-144/configs/f767-nsh/Make.defs
@@ -1,36 +1,20 @@
 ############################################################################
 # boards/arm/stm32f7/nucleo-144/configs/f767-nsh/Make.defs
 #
-#   Copyright (C) 2016 Gregory Nutt. All rights reserved.
-#   Authors: Gregory Nutt <gn...@nuttx.org>
-#            David Sidrane <da...@nscdg.com>
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.  The
+# ASF licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
 #
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
-# 1. Redistributions of source code must retain the above copyright
-#    notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-#    notice, this list of conditions and the following disclaimer in
-#    the documentation and/or other materials provided with the
-#    distribution.
-# 3. Neither the name NuttX nor the names of its contributors may be
-#    used to endorse or promote products derived from this software
-#    without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
-# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
-# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
 #
 ############################################################################
 
diff --git a/boards/arm/stm32f7/nucleo-144/src/Makefile b/boards/arm/stm32f7/nucleo-144/src/Makefile
index 6ad9b49..dcce711 100644
--- a/boards/arm/stm32f7/nucleo-144/src/Makefile
+++ b/boards/arm/stm32f7/nucleo-144/src/Makefile
@@ -1,36 +1,20 @@
 ############################################################################
 # boards/arm/stm32f7/nucleo-144/src/Makefile
 #
-#   Copyright (C) 2015 Gregory Nutt. All rights reserved.
-#   Author: Gregory Nutt <gn...@nuttx.org>
-#            David Sidrane <da...@nscdg.com>
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.  The
+# ASF licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
 #
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
-# 1. Redistributions of source code must retain the above copyright
-#    notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-#    notice, this list of conditions and the following disclaimer in
-#    the documentation and/or other materials provided with the
-#    distribution.
-# 3. Neither the name NuttX nor the names of its contributors may be
-#    used to endorse or promote products derived from this software
-#    without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
-# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
-# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
 #
 ############################################################################
 
diff --git a/boards/arm/stm32f7/nucleo-144/src/stm32_autoleds.c b/boards/arm/stm32f7/nucleo-144/src/stm32_autoleds.c
index 8e342d6..5516183 100644
--- a/boards/arm/stm32f7/nucleo-144/src/stm32_autoleds.c
+++ b/boards/arm/stm32f7/nucleo-144/src/stm32_autoleds.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32f7/nucleo-144/src/stm32_autoleds.c
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32f7/nucleo-144/src/stm32_bbsram.c b/boards/arm/stm32f7/nucleo-144/src/stm32_bbsram.c
index 5e03d6d..efc305e 100644
--- a/boards/arm/stm32f7/nucleo-144/src/stm32_bbsram.c
+++ b/boards/arm/stm32f7/nucleo-144/src/stm32_bbsram.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32f7/nucleo-144/src/stm32_bbsram.c
  *
- *   Copyright (C) 2016, 2018 Gregory Nutt. All rights reserved.
- *   Author: David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32f7/nucleo-144/src/stm32_boot.c b/boards/arm/stm32f7/nucleo-144/src/stm32_boot.c
index bf407c8..9904b6c 100644
--- a/boards/arm/stm32f7/nucleo-144/src/stm32_boot.c
+++ b/boards/arm/stm32f7/nucleo-144/src/stm32_boot.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32f7/nucleo-144/src/stm32_boot.c
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32f7/nucleo-144/src/stm32_buttons.c b/boards/arm/stm32f7/nucleo-144/src/stm32_buttons.c
index 66684a5..0f94550 100644
--- a/boards/arm/stm32f7/nucleo-144/src/stm32_buttons.c
+++ b/boards/arm/stm32f7/nucleo-144/src/stm32_buttons.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32f7/nucleo-144/src/stm32_buttons.c
  *
- *   Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32f7/nucleo-144/src/stm32_spi.c b/boards/arm/stm32f7/nucleo-144/src/stm32_spi.c
index 72e74d4..9d749c8 100644
--- a/boards/arm/stm32f7/nucleo-144/src/stm32_spi.c
+++ b/boards/arm/stm32f7/nucleo-144/src/stm32_spi.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32f7/nucleo-144/src/stm32_spi.c
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32f7/nucleo-144/src/stm32_usb.c b/boards/arm/stm32f7/nucleo-144/src/stm32_usb.c
index fc085c6..ef3f62f 100644
--- a/boards/arm/stm32f7/nucleo-144/src/stm32_usb.c
+++ b/boards/arm/stm32f7/nucleo-144/src/stm32_usb.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32f7/nucleo-144/src/stm32_usb.c
  *
- *   Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c
index 4850230..905b49f 100644
--- a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c
+++ b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32h7/nucleo-h743zi/src/stm32_adc.c
  *
- *   Copyright (C) 2016, 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_adc.c b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_adc.c
index e87c729..5a30d0b 100644
--- a/boards/arm/stm32h7/stm32h747i-disco/src/stm32_adc.c
+++ b/boards/arm/stm32h7/stm32h747i-disco/src/stm32_adc.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32h7/stm32h747i-disco/src/stm32_adc.c
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32l4/nucleo-l496zg/src/Makefile b/boards/arm/stm32l4/nucleo-l496zg/src/Makefile
index cd178fa..e47755b 100644
--- a/boards/arm/stm32l4/nucleo-l496zg/src/Makefile
+++ b/boards/arm/stm32l4/nucleo-l496zg/src/Makefile
@@ -1,36 +1,20 @@
 ############################################################################
 # boards/arm/stm32l4/nucleo-l496zg/src/Makefile
 #
-#   Copyright (C) 2015 Gregory Nutt. All rights reserved.
-#   Author: Gregory Nutt <gn...@nuttx.org>
-#            David Sidrane <da...@nscdg.com>
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.  The
+# ASF licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the
+# License.  You may obtain a copy of the License at
 #
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
-# 1. Redistributions of source code must retain the above copyright
-#    notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-#    notice, this list of conditions and the following disclaimer in
-#    the documentation and/or other materials provided with the
-#    distribution.
-# 3. Neither the name NuttX nor the names of its contributors may be
-#    used to endorse or promote products derived from this software
-#    without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
-# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
-# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations
+# under the License.
 #
 ############################################################################
 
diff --git a/boards/arm/stm32l4/nucleo-l496zg/src/stm32_autoleds.c b/boards/arm/stm32l4/nucleo-l496zg/src/stm32_autoleds.c
index c96596b..b589d21 100644
--- a/boards/arm/stm32l4/nucleo-l496zg/src/stm32_autoleds.c
+++ b/boards/arm/stm32l4/nucleo-l496zg/src/stm32_autoleds.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32l4/nucleo-l496zg/src/stm32_autoleds.c
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32l4/nucleo-l496zg/src/stm32_boot.c b/boards/arm/stm32l4/nucleo-l496zg/src/stm32_boot.c
index f1ed132..43644ee 100644
--- a/boards/arm/stm32l4/nucleo-l496zg/src/stm32_boot.c
+++ b/boards/arm/stm32l4/nucleo-l496zg/src/stm32_boot.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32l4/nucleo-l496zg/src/stm32_boot.c
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32l4/nucleo-l496zg/src/stm32_buttons.c b/boards/arm/stm32l4/nucleo-l496zg/src/stm32_buttons.c
index 785146f..e1b43d4 100644
--- a/boards/arm/stm32l4/nucleo-l496zg/src/stm32_buttons.c
+++ b/boards/arm/stm32l4/nucleo-l496zg/src/stm32_buttons.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32l4/nucleo-l496zg/src/stm32_buttons.c
  *
- *   Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32l4/nucleo-l496zg/src/stm32_spi.c b/boards/arm/stm32l4/nucleo-l496zg/src/stm32_spi.c
index 48d30c0..3f27888 100644
--- a/boards/arm/stm32l4/nucleo-l496zg/src/stm32_spi.c
+++ b/boards/arm/stm32l4/nucleo-l496zg/src/stm32_spi.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32l4/nucleo-l496zg/src/stm32_spi.c
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/boards/arm/stm32l4/nucleo-l496zg/src/stm32_usb.c b/boards/arm/stm32l4/nucleo-l496zg/src/stm32_usb.c
index 2f14c54..9e6afab 100644
--- a/boards/arm/stm32l4/nucleo-l496zg/src/stm32_usb.c
+++ b/boards/arm/stm32l4/nucleo-l496zg/src/stm32_usb.c
@@ -1,36 +1,20 @@
 /****************************************************************************
  * boards/arm/stm32l4/nucleo-l496zg/src/stm32_usb.c
  *
- *   Copyright (C) 2016-2017 Gregory Nutt. All rights reserved.
- *   Authors: Gregory Nutt <gn...@nuttx.org>
- *            David Sidrane <da...@nscdg.com>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 

[incubator-nuttx] 02/16: drivers: Author David Sidrane: update licenses to Apache

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit da7dfd06b316e43430087fa7bb806225767ee09e
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sat Mar 20 19:59:00 2021 +0100

    drivers: Author David Sidrane: update licenses to Apache
    
    David Sidrane has submitted the ICL and we can migrate the licenses
     to Apache.
    
    Gregory Nutt has submitted the SGA and we can migrate the licenses
     to Apache.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 drivers/mtd/sst25.c | 45 ++++++++++++---------------------------------
 1 file changed, 12 insertions(+), 33 deletions(-)

diff --git a/drivers/mtd/sst25.c b/drivers/mtd/sst25.c
index f7c6b58..8cde8ea 100644
--- a/drivers/mtd/sst25.c
+++ b/drivers/mtd/sst25.c
@@ -1,41 +1,20 @@
 /****************************************************************************
  * drivers/mtd/sst25.c
- * Driver for SPI-based SST25 FLASH.
  *
- *   Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- *   Modifications:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *      - 10/08/2013: David Sidrane <da...@nscdg.com>
- *           - Modified to support SST25VF016B
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 

[incubator-nuttx] 01/16: nuttx: Author David S. Alessio: update licenses to Apache

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 8dd660ecd450075904aeba09f0a9015e01f91ba9
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sat Mar 20 19:54:56 2021 +0100

    nuttx: Author David S. Alessio: update licenses to Apache
    
    David S. Alessio has submitted the ICL and we can migrate the licenses
     to Apache.
    
    Gregory Nutt has submitted the SGA and we can migrate the licenses
     to Apache.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 arch/arm/include/setjmp.h                  | 39 +++++++++------------------
 arch/arm/src/armv7-m/gnu/arm_setjmp.S      | 43 ++++++++++--------------------
 arch/arm/src/armv8-m/arm_setjmp.S          | 43 ++++++++++--------------------
 drivers/crypto/dev_urandom.c               | 39 +++++++++------------------
 include/nuttx/lib/xorshift128.h            | 39 +++++++++------------------
 libs/libc/machine/arm/armv7-m/arch_fabsf.c | 26 +++++++++---------
 libs/libc/machine/arm/armv7-m/arch_sqrtf.c | 26 +++++++++---------
 libs/libc/misc/lib_xorshift128.c           | 39 +++++++++------------------
 8 files changed, 100 insertions(+), 194 deletions(-)

diff --git a/arch/arm/include/setjmp.h b/arch/arm/include/setjmp.h
index 1202b48..fefbc96 100644
--- a/arch/arm/include/setjmp.h
+++ b/arch/arm/include/setjmp.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/setjmp.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: David S. Alessio <Da...@DSA.Consulting>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/src/armv7-m/gnu/arm_setjmp.S b/arch/arm/src/armv7-m/gnu/arm_setjmp.S
index 657c47d..224a0b7 100644
--- a/arch/arm/src/armv7-m/gnu/arm_setjmp.S
+++ b/arch/arm/src/armv7-m/gnu/arm_setjmp.S
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/armv7-m/gnu/arm_setjmp.S
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: David S. Alessio <Da...@DSA.Consulting>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/src/armv8-m/arm_setjmp.S b/arch/arm/src/armv8-m/arm_setjmp.S
index ab65da1..1ff2bea 100644
--- a/arch/arm/src/armv8-m/arm_setjmp.S
+++ b/arch/arm/src/armv8-m/arm_setjmp.S
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/src/armv8-m/gnu/arm_setjmp.S
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: David S. Alessio <Da...@DSA.Consulting>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/drivers/crypto/dev_urandom.c b/drivers/crypto/dev_urandom.c
index 0ec2c91..0960399 100644
--- a/drivers/crypto/dev_urandom.c
+++ b/drivers/crypto/dev_urandom.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * drivers/crypto/dev_urandom.c
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: David S. Alessio
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/include/nuttx/lib/xorshift128.h b/include/nuttx/lib/xorshift128.h
index b2eec4f..4b9718d 100644
--- a/include/nuttx/lib/xorshift128.h
+++ b/include/nuttx/lib/xorshift128.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * include/nuttx/lib/xorshift128.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: David S. Alessio
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/machine/arm/armv7-m/arch_fabsf.c b/libs/libc/machine/arm/armv7-m/arch_fabsf.c
index 2db453a..a065e2d 100644
--- a/libs/libc/machine/arm/armv7-m/arch_fabsf.c
+++ b/libs/libc/machine/arm/armv7-m/arch_fabsf.c
@@ -1,22 +1,20 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv7-m/arch_fabsf.c
  *
- * This file is a part of NuttX:
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: David S. Alessio <da...@gmail.com>
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/machine/arm/armv7-m/arch_sqrtf.c b/libs/libc/machine/arm/armv7-m/arch_sqrtf.c
index 8697386..2781ca1 100644
--- a/libs/libc/machine/arm/armv7-m/arch_sqrtf.c
+++ b/libs/libc/machine/arm/armv7-m/arch_sqrtf.c
@@ -1,22 +1,20 @@
 /****************************************************************************
  * libs/libc/machine/arm/armv7-m/arch_sqrtf.c
  *
- * This file is a part of NuttX:
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: David S. Alessio <da...@gmail.com>
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/libs/libc/misc/lib_xorshift128.c b/libs/libc/misc/lib_xorshift128.c
index cfd8704..3bda6f7 100644
--- a/libs/libc/misc/lib_xorshift128.c
+++ b/libs/libc/misc/lib_xorshift128.c
@@ -1,35 +1,20 @@
 /****************************************************************************
  * libs/libc/misc/lib_xorshift128.c
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: David S. Alessio
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 

[incubator-nuttx] 09/16: arch: arm: include: Author Gregory Nutt: update licenses to Apache

Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 4daa2769030634146a8724b3c96fc8fd69f1b13c
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Sat Mar 20 21:46:19 2021 +0100

    arch: arm: include: Author Gregory Nutt: update licenses to Apache
    
    Gregory Nutt has submitted the SGA and we can migrate the licenses
     to Apache.
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 arch/arm/include/a1x/a10_irq.h                | 39 +++++++---------------
 arch/arm/include/a1x/chip.h                   | 39 +++++++---------------
 arch/arm/include/a1x/irq.h                    | 39 +++++++---------------
 arch/arm/include/arch.h                       | 39 +++++++---------------
 arch/arm/include/arm/irq.h                    | 39 +++++++---------------
 arch/arm/include/arm/spinlock.h               | 39 +++++++---------------
 arch/arm/include/arm/syscall.h                | 39 +++++++---------------
 arch/arm/include/armv6-m/irq.h                | 39 +++++++---------------
 arch/arm/include/armv6-m/spinlock.h           | 39 +++++++---------------
 arch/arm/include/armv6-m/syscall.h            | 39 +++++++---------------
 arch/arm/include/armv7-a/irq.h                | 39 +++++++---------------
 arch/arm/include/armv7-a/spinlock.h           | 39 +++++++---------------
 arch/arm/include/armv7-a/syscall.h            | 39 +++++++---------------
 arch/arm/include/armv7-r/irq.h                | 39 +++++++---------------
 arch/arm/include/armv7-r/spinlock.h           | 39 +++++++---------------
 arch/arm/include/armv7-r/syscall.h            | 39 +++++++---------------
 arch/arm/include/c5471/irq.h                  | 39 +++++++---------------
 arch/arm/include/cxd56xx/chip.h               | 41 +++++++----------------
 arch/arm/include/cxd56xx/irq.h                | 41 +++++++----------------
 arch/arm/include/cxd56xx/pin.h                | 42 +++++++----------------
 arch/arm/include/dm320/irq.h                  | 39 +++++++---------------
 arch/arm/include/efm32/chip.h                 | 39 +++++++---------------
 arch/arm/include/efm32/efm32g_irq.h           | 39 +++++++---------------
 arch/arm/include/efm32/irq.h                  | 39 +++++++---------------
 arch/arm/include/elf.h                        | 46 +++++++++----------------
 arch/arm/include/imx1/irq.h                   | 39 +++++++---------------
 arch/arm/include/imx6/chip.h                  | 39 +++++++---------------
 arch/arm/include/imx6/irq.h                   | 39 +++++++---------------
 arch/arm/include/imxrt/imxrt105x_irq.h        | 39 +++++++---------------
 arch/arm/include/kl/chip.h                    | 39 +++++++---------------
 arch/arm/include/kl/irq.h                     | 39 +++++++---------------
 arch/arm/include/limits.h                     | 39 +++++++---------------
 arch/arm/include/lpc17xx_40xx/irq.h           | 39 +++++++---------------
 arch/arm/include/lpc17xx_40xx/lpc176x_irq.h   | 39 +++++++---------------
 arch/arm/include/lpc214x/irq.h                | 39 +++++++---------------
 arch/arm/include/lpc31xx/irq.h                | 39 +++++++---------------
 arch/arm/include/lpc43xx/chip.h               | 39 +++++++---------------
 arch/arm/include/lpc43xx/irq.h                | 39 +++++++---------------
 arch/arm/include/lpc54xx/chip.h               | 39 +++++++---------------
 arch/arm/include/lpc54xx/irq.h                | 39 +++++++---------------
 arch/arm/include/lpc54xx/lpc546x_irq.h        | 39 +++++++---------------
 arch/arm/include/max326xx/chip.h              | 39 +++++++---------------
 arch/arm/include/max326xx/irq.h               | 39 +++++++---------------
 arch/arm/include/max326xx/max32620_30_irq.h   | 39 +++++++---------------
 arch/arm/include/max326xx/max32660_irq.h      | 39 +++++++---------------
 arch/arm/include/moxart/irq.h                 | 39 +++++++---------------
 arch/arm/include/nrf52/irq.h                  | 39 +++++++---------------
 arch/arm/include/nrf52/nrf52_irq.h            | 39 +++++++---------------
 arch/arm/include/nuc1xx/chip.h                | 39 +++++++---------------
 arch/arm/include/nuc1xx/irq.h                 | 39 +++++++---------------
 arch/arm/include/nuc1xx/nuc120_irq.h          | 39 +++++++---------------
 arch/arm/include/s32k1xx/chip.h               | 39 +++++++---------------
 arch/arm/include/s32k1xx/irq.h                | 39 +++++++---------------
 arch/arm/include/s32k1xx/s32k11x_irq.h        | 39 +++++++---------------
 arch/arm/include/s32k1xx/s32k14x_irq.h        | 39 +++++++---------------
 arch/arm/include/sam34/chip.h                 | 39 +++++++---------------
 arch/arm/include/sam34/irq.h                  | 39 +++++++---------------
 arch/arm/include/sam34/sam3u_irq.h            | 39 +++++++---------------
 arch/arm/include/sam34/sam3x_irq.h            | 39 +++++++---------------
 arch/arm/include/sam34/sam4cm_irq.h           | 39 +++++++---------------
 arch/arm/include/sam34/sam4e_irq.h            | 39 +++++++---------------
 arch/arm/include/sam34/sam4l_irq.h            | 39 +++++++---------------
 arch/arm/include/sam34/sam4s_irq.h            | 39 +++++++---------------
 arch/arm/include/sama5/chip.h                 | 39 +++++++---------------
 arch/arm/include/sama5/irq.h                  | 39 +++++++---------------
 arch/arm/include/sama5/sama5d2_irq.h          | 39 +++++++---------------
 arch/arm/include/sama5/sama5d3_irq.h          | 39 +++++++---------------
 arch/arm/include/sama5/sama5d4_irq.h          | 39 +++++++---------------
 arch/arm/include/samd2l2/chip.h               | 39 +++++++---------------
 arch/arm/include/samd2l2/irq.h                | 39 +++++++---------------
 arch/arm/include/samd2l2/sam_adc.h            | 39 +++++++---------------
 arch/arm/include/samd2l2/samd20_irq.h         | 39 +++++++---------------
 arch/arm/include/samd2l2/samd21_irq.h         | 48 ++++++++++-----------------
 arch/arm/include/samd2l2/saml21_irq.h         | 39 +++++++---------------
 arch/arm/include/samd5e5/chip.h               | 39 +++++++---------------
 arch/arm/include/samd5e5/irq.h                | 39 +++++++---------------
 arch/arm/include/samd5e5/samd5e5_irq.h        | 39 +++++++---------------
 arch/arm/include/samv7/chip.h                 | 39 +++++++---------------
 arch/arm/include/samv7/irq.h                  | 39 +++++++---------------
 arch/arm/include/samv7/same70_irq.h           | 39 +++++++---------------
 arch/arm/include/samv7/samv71_irq.h           | 39 +++++++---------------
 arch/arm/include/spinlock.h                   | 43 ++++++++----------------
 arch/arm/include/stdarg.h                     | 39 +++++++---------------
 arch/arm/include/stm32/chip.h                 | 39 +++++++---------------
 arch/arm/include/stm32/irq.h                  | 39 +++++++---------------
 arch/arm/include/stm32/stm32f10xxx_irq.h      | 39 +++++++---------------
 arch/arm/include/stm32/stm32f20xxx_irq.h      | 39 +++++++---------------
 arch/arm/include/stm32/stm32f30xxx_irq.h      | 39 +++++++---------------
 arch/arm/include/stm32/stm32l15xxx_irq.h      | 41 +++++++----------------
 arch/arm/include/stm32f7/stm32f74xx75xx_irq.h | 39 +++++++---------------
 arch/arm/include/stm32h7/irq.h                | 39 +++++++---------------
 arch/arm/include/str71x/irq.h                 | 39 +++++++---------------
 arch/arm/include/tiva/cc13x0_irq.h            | 39 +++++++---------------
 arch/arm/include/tiva/cc13x2_cc26x2_irq.h     | 39 +++++++---------------
 arch/arm/include/tiva/irq.h                   | 39 +++++++---------------
 arch/arm/include/tiva/lm3s_irq.h              | 39 +++++++---------------
 arch/arm/include/tiva/lm4f_irq.h              | 39 +++++++---------------
 arch/arm/include/tiva/tm4c_irq.h              | 39 +++++++---------------
 arch/arm/include/tms570/chip.h                | 39 +++++++---------------
 arch/arm/include/tms570/irq.h                 | 39 +++++++---------------
 arch/arm/include/tms570/tms570ls04x03x_irq.h  | 39 +++++++---------------
 arch/arm/include/xmc4/chip.h                  | 39 +++++++---------------
 arch/arm/include/xmc4/irq.h                   | 39 +++++++---------------
 arch/arm/include/xmc4/xmc4500_irq.h           | 39 +++++++---------------
 104 files changed, 1259 insertions(+), 2826 deletions(-)

diff --git a/arch/arm/include/a1x/a10_irq.h b/arch/arm/include/a1x/a10_irq.h
index 45c6d9e..85691e6 100644
--- a/arch/arm/include/a1x/a10_irq.h
+++ b/arch/arm/include/a1x/a10_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/a1x/a10_irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/a1x/chip.h b/arch/arm/include/a1x/chip.h
index 69d0eab..521d1b1 100644
--- a/arch/arm/include/a1x/chip.h
+++ b/arch/arm/include/a1x/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/a1x/chip.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/a1x/irq.h b/arch/arm/include/a1x/irq.h
index 0408caf..e5cb970 100644
--- a/arch/arm/include/a1x/irq.h
+++ b/arch/arm/include/a1x/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/a1x/irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/arch.h b/arch/arm/include/arch.h
index 6f55a37..46d47b8 100644
--- a/arch/arm/include/arch.h
+++ b/arch/arm/include/arch.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/arch.h
  *
- *   Copyright (C) 2007-2009, 2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/arm/irq.h b/arch/arm/include/arm/irq.h
index 5133d38..5a79821 100644
--- a/arch/arm/include/arm/irq.h
+++ b/arch/arm/include/arm/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/arm/irq.h
  *
- *   Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/arm/spinlock.h b/arch/arm/include/arm/spinlock.h
index a81dc40..66ae2b7 100644
--- a/arch/arm/include/arm/spinlock.h
+++ b/arch/arm/include/arm/spinlock.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/arm/spinlock.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/arm/syscall.h b/arch/arm/include/arm/syscall.h
index 151a894..bd5d86c 100644
--- a/arch/arm/include/arm/syscall.h
+++ b/arch/arm/include/arm/syscall.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/arm/syscall.h
  *
- *   Copyright (C) 2011 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/armv6-m/irq.h b/arch/arm/include/armv6-m/irq.h
index 0418201..21ac8ea 100644
--- a/arch/arm/include/armv6-m/irq.h
+++ b/arch/arm/include/armv6-m/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/armv6-m/irq.h
  *
- *   Copyright (C) 2013-2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/armv6-m/spinlock.h b/arch/arm/include/armv6-m/spinlock.h
index 09393fa..b6769fa 100644
--- a/arch/arm/include/armv6-m/spinlock.h
+++ b/arch/arm/include/armv6-m/spinlock.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/armv6-m/spinlock.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/armv6-m/syscall.h b/arch/arm/include/armv6-m/syscall.h
index 70a3dac..cf5a1e9 100644
--- a/arch/arm/include/armv6-m/syscall.h
+++ b/arch/arm/include/armv6-m/syscall.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/armv6-m/syscall.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/armv7-a/irq.h b/arch/arm/include/armv7-a/irq.h
index a70ff80..c9247c4 100644
--- a/arch/arm/include/armv7-a/irq.h
+++ b/arch/arm/include/armv7-a/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/armv7-a/irq.h
  *
- *   Copyright (C) 2013-2014, 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/armv7-a/spinlock.h b/arch/arm/include/armv7-a/spinlock.h
index 764a96e..d306029 100644
--- a/arch/arm/include/armv7-a/spinlock.h
+++ b/arch/arm/include/armv7-a/spinlock.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/armv7-a/spinlock.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/armv7-a/syscall.h b/arch/arm/include/armv7-a/syscall.h
index 627355d..6ea02ae 100644
--- a/arch/arm/include/armv7-a/syscall.h
+++ b/arch/arm/include/armv7-a/syscall.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/armv7-a/syscall.h
  *
- *   Copyright (C) 2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/armv7-r/irq.h b/arch/arm/include/armv7-r/irq.h
index ffc9952..771a3f0 100644
--- a/arch/arm/include/armv7-r/irq.h
+++ b/arch/arm/include/armv7-r/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/armv7-r/irq.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/armv7-r/spinlock.h b/arch/arm/include/armv7-r/spinlock.h
index ab7900f..79f4ff2 100644
--- a/arch/arm/include/armv7-r/spinlock.h
+++ b/arch/arm/include/armv7-r/spinlock.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/armv7-r/spinlock.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/armv7-r/syscall.h b/arch/arm/include/armv7-r/syscall.h
index a284faf..7381ce6 100644
--- a/arch/arm/include/armv7-r/syscall.h
+++ b/arch/arm/include/armv7-r/syscall.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/armv7-r/syscall.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/c5471/irq.h b/arch/arm/include/c5471/irq.h
index ac6008b..7c06f41 100644
--- a/arch/arm/include/c5471/irq.h
+++ b/arch/arm/include/c5471/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/c5471/irq.h
  *
- *   Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/cxd56xx/chip.h b/arch/arm/include/cxd56xx/chip.h
index 6e04d86..c9cc33b 100644
--- a/arch/arm/include/cxd56xx/chip.h
+++ b/arch/arm/include/cxd56xx/chip.h
@@ -1,37 +1,20 @@
 /****************************************************************************
  * arch/arm/include/cxd56xx/chip.h
  *
- *   Copyright 2018 Sony Semiconductor Solutions Corporation
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- *   Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/cxd56xx/irq.h b/arch/arm/include/cxd56xx/irq.h
index 37121f6..e48a727 100644
--- a/arch/arm/include/cxd56xx/irq.h
+++ b/arch/arm/include/cxd56xx/irq.h
@@ -1,37 +1,20 @@
 /****************************************************************************
  * arch/arm/include/cxd56xx/irq.h
  *
- *   Copyright 2018 Sony Semiconductor Solutions Corporation
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- *   Copyright (C) 2012 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/cxd56xx/pin.h b/arch/arm/include/cxd56xx/pin.h
index ab0f20b..8cfc36a 100644
--- a/arch/arm/include/cxd56xx/pin.h
+++ b/arch/arm/include/cxd56xx/pin.h
@@ -1,38 +1,20 @@
 /****************************************************************************
  * arch/arm/include/cxd56xx/pin.h
  *
- *   Copyright (C) 2008-2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- *   Copyright 2018 Sony Semiconductor Solutions Corporation
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name of Sony Semiconductor Solutions Corporation nor
- *    the names of its contributors may be used to endorse or promote
- *    products derived from this software without specific prior written
- *    permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/dm320/irq.h b/arch/arm/include/dm320/irq.h
index cf5ead4..4e80b62 100644
--- a/arch/arm/include/dm320/irq.h
+++ b/arch/arm/include/dm320/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/dm320/irq.h
  *
- *   Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/efm32/chip.h b/arch/arm/include/efm32/chip.h
index 3559dfe..8eb60e8 100644
--- a/arch/arm/include/efm32/chip.h
+++ b/arch/arm/include/efm32/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/efm32/chip.h
  *
- *   Copyright (C) 2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/efm32/efm32g_irq.h b/arch/arm/include/efm32/efm32g_irq.h
index 0448be8..089109f 100644
--- a/arch/arm/include/efm32/efm32g_irq.h
+++ b/arch/arm/include/efm32/efm32g_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/efm32/efm32g_irq.h
  *
- *   Copyright (C) 2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/efm32/irq.h b/arch/arm/include/efm32/irq.h
index fc193cb..ae768a8 100644
--- a/arch/arm/include/efm32/irq.h
+++ b/arch/arm/include/efm32/irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/efm32/irq.h
  *
- *   Copyright (C) 2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/elf.h b/arch/arm/include/elf.h
index 88dd7d9..f6207b7 100644
--- a/arch/arm/include/elf.h
+++ b/arch/arm/include/elf.h
@@ -1,41 +1,27 @@
 /****************************************************************************
  * arch/arm/include/elf.h
  *
- *   Copyright (C) 2012 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Reference: "ELF for the ARM� Architecture," ARM IHI 0044D, current through
- *   ABI release 2.08, October 28, 2009, ARM Limited.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
+/* Reference: "ELF for the ARM� Architecture," ARM IHI 0044D, current through
+ *   ABI release 2.08, October 28, 2009, ARM Limited.
+ */
+
 #ifndef __ARCH_ARM_INCLUDE_ELF_H
 #define __ARCH_ARM_INCLUDE_ELF_H
 
diff --git a/arch/arm/include/imx1/irq.h b/arch/arm/include/imx1/irq.h
index 0c4689a..0935a09 100644
--- a/arch/arm/include/imx1/irq.h
+++ b/arch/arm/include/imx1/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/imx1/irq.h
  *
- *   Copyright (C) 2009 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/imx6/chip.h b/arch/arm/include/imx6/chip.h
index 2120f21..88a3178 100644
--- a/arch/arm/include/imx6/chip.h
+++ b/arch/arm/include/imx6/chip.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/imx6/chip.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/imx6/irq.h b/arch/arm/include/imx6/irq.h
index 0a1d65b..93bee02 100644
--- a/arch/arm/include/imx6/irq.h
+++ b/arch/arm/include/imx6/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/imx6/irq.h
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/imxrt/imxrt105x_irq.h b/arch/arm/include/imxrt/imxrt105x_irq.h
index 64f9dce..b6a5c18 100644
--- a/arch/arm/include/imxrt/imxrt105x_irq.h
+++ b/arch/arm/include/imxrt/imxrt105x_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/imxrt/imxrt105x_irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/kl/chip.h b/arch/arm/include/kl/chip.h
index 22fb256..ac9c5f4 100644
--- a/arch/arm/include/kl/chip.h
+++ b/arch/arm/include/kl/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/kl/chip.h
  *
- *   Copyright (C) 2013, 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/kl/irq.h b/arch/arm/include/kl/irq.h
index 27368ab..8194966 100644
--- a/arch/arm/include/kl/irq.h
+++ b/arch/arm/include/kl/irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/kl/irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/limits.h b/arch/arm/include/limits.h
index c291e33..55ad8c5 100644
--- a/arch/arm/include/limits.h
+++ b/arch/arm/include/limits.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/limits.h
  *
- *   Copyright (C) 2007-2009, 2012 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/lpc17xx_40xx/irq.h b/arch/arm/include/lpc17xx_40xx/irq.h
index c1b1a43..77de3b8 100644
--- a/arch/arm/include/lpc17xx_40xx/irq.h
+++ b/arch/arm/include/lpc17xx_40xx/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/lpc17xx_40xx/irq.h
  *
- *   Copyright (C) 2010-2011, 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/lpc17xx_40xx/lpc176x_irq.h b/arch/arm/include/lpc17xx_40xx/lpc176x_irq.h
index 27796a9..d5c04f4 100644
--- a/arch/arm/include/lpc17xx_40xx/lpc176x_irq.h
+++ b/arch/arm/include/lpc17xx_40xx/lpc176x_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/lpc17xx_40xx/lpc176x_irq.h
  *
- *   Copyright (C) 2010-2011, 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/lpc214x/irq.h b/arch/arm/include/lpc214x/irq.h
index a99e2d1..493b433 100644
--- a/arch/arm/include/lpc214x/irq.h
+++ b/arch/arm/include/lpc214x/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/lpc214x/irq.h
  *
- *   Copyright (C) 2007, 2008, 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/lpc31xx/irq.h b/arch/arm/include/lpc31xx/irq.h
index f36cdfb..4ac8b1a 100644
--- a/arch/arm/include/lpc31xx/irq.h
+++ b/arch/arm/include/lpc31xx/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/lpc31xx/irq.h
  *
- *   Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/lpc43xx/chip.h b/arch/arm/include/lpc43xx/chip.h
index 8202a68..b923a9d 100644
--- a/arch/arm/include/lpc43xx/chip.h
+++ b/arch/arm/include/lpc43xx/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/lpc43xx/chip.h
  *
- *   Copyright (C) 2012-2013, 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/lpc43xx/irq.h b/arch/arm/include/lpc43xx/irq.h
index 8cb3058..dd3f3e1 100644
--- a/arch/arm/include/lpc43xx/irq.h
+++ b/arch/arm/include/lpc43xx/irq.h
@@ -1,35 +1,20 @@
 /********************************************************************************************
  * arch/arm/include/lpc43xx/irq.h
  *
- *   Copyright (C) 2012 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/include/lpc54xx/chip.h b/arch/arm/include/lpc54xx/chip.h
index 08123cb..2b4546b 100644
--- a/arch/arm/include/lpc54xx/chip.h
+++ b/arch/arm/include/lpc54xx/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/lpc54xx/chip.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/lpc54xx/irq.h b/arch/arm/include/lpc54xx/irq.h
index 458cb4d..4339983 100644
--- a/arch/arm/include/lpc54xx/irq.h
+++ b/arch/arm/include/lpc54xx/irq.h
@@ -1,35 +1,20 @@
 /********************************************************************************************
  * arch/arm/include/lpc54xx/irq.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/include/lpc54xx/lpc546x_irq.h b/arch/arm/include/lpc54xx/lpc546x_irq.h
index abdf22d..e7a7a2d 100644
--- a/arch/arm/include/lpc54xx/lpc546x_irq.h
+++ b/arch/arm/include/lpc54xx/lpc546x_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************************
  * arch/arm/include/lpc54xx/lpc546x_irq.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/include/max326xx/chip.h b/arch/arm/include/max326xx/chip.h
index eb25ae9..c270e78 100644
--- a/arch/arm/include/max326xx/chip.h
+++ b/arch/arm/include/max326xx/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/max326xx/chip.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/max326xx/irq.h b/arch/arm/include/max326xx/irq.h
index 1f3eeec..db08258 100644
--- a/arch/arm/include/max326xx/irq.h
+++ b/arch/arm/include/max326xx/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/max326xx/irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/max326xx/max32620_30_irq.h b/arch/arm/include/max326xx/max32620_30_irq.h
index f9fd6d8..27fdddd 100644
--- a/arch/arm/include/max326xx/max32620_30_irq.h
+++ b/arch/arm/include/max326xx/max32620_30_irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************************
  * arch/arm/include/max326xx/max32620_30_irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************************/
 
diff --git a/arch/arm/include/max326xx/max32660_irq.h b/arch/arm/include/max326xx/max32660_irq.h
index 097eca9..9288fdf 100644
--- a/arch/arm/include/max326xx/max32660_irq.h
+++ b/arch/arm/include/max326xx/max32660_irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************************
  * arch/arm/include/max326xx/max32660_irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************************/
 
diff --git a/arch/arm/include/moxart/irq.h b/arch/arm/include/moxart/irq.h
index 23c4493..4796641 100644
--- a/arch/arm/include/moxart/irq.h
+++ b/arch/arm/include/moxart/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/moxart/irq.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/nrf52/irq.h b/arch/arm/include/nrf52/irq.h
index b978cf7..31c0dc4 100644
--- a/arch/arm/include/nrf52/irq.h
+++ b/arch/arm/include/nrf52/irq.h
@@ -1,35 +1,20 @@
 /********************************************************************************************
  * arch/arm/include/nrf52/irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/include/nrf52/nrf52_irq.h b/arch/arm/include/nrf52/nrf52_irq.h
index 3fbf7dd..b337fa5 100644
--- a/arch/arm/include/nrf52/nrf52_irq.h
+++ b/arch/arm/include/nrf52/nrf52_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************************
  * arch/arm/include/nrf52/nrf52_irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/include/nuc1xx/chip.h b/arch/arm/include/nuc1xx/chip.h
index d643610..b054e74 100644
--- a/arch/arm/include/nuc1xx/chip.h
+++ b/arch/arm/include/nuc1xx/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/nuc1xx/chip.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/nuc1xx/irq.h b/arch/arm/include/nuc1xx/irq.h
index 9c61bcd..963e532 100644
--- a/arch/arm/include/nuc1xx/irq.h
+++ b/arch/arm/include/nuc1xx/irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/nuc1xx/irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/nuc1xx/nuc120_irq.h b/arch/arm/include/nuc1xx/nuc120_irq.h
index cfd0f2a..a6e5444 100644
--- a/arch/arm/include/nuc1xx/nuc120_irq.h
+++ b/arch/arm/include/nuc1xx/nuc120_irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/nuc1xx/nuc120_irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/s32k1xx/chip.h b/arch/arm/include/s32k1xx/chip.h
index 00aca65..c21009d 100644
--- a/arch/arm/include/s32k1xx/chip.h
+++ b/arch/arm/include/s32k1xx/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/s32k1xx/chip.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/s32k1xx/irq.h b/arch/arm/include/s32k1xx/irq.h
index 23ae0e3..fa1ae6a 100644
--- a/arch/arm/include/s32k1xx/irq.h
+++ b/arch/arm/include/s32k1xx/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/s32k1xx/irq.h
  *
- *   Copyright (C) 2012 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/s32k1xx/s32k11x_irq.h b/arch/arm/include/s32k1xx/s32k11x_irq.h
index 1b96d6f..d5cfc64 100644
--- a/arch/arm/include/s32k1xx/s32k11x_irq.h
+++ b/arch/arm/include/s32k1xx/s32k11x_irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/s32k1xx/s32k11x_irq.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/s32k1xx/s32k14x_irq.h b/arch/arm/include/s32k1xx/s32k14x_irq.h
index f5159f5..bd7fe3c 100644
--- a/arch/arm/include/s32k1xx/s32k14x_irq.h
+++ b/arch/arm/include/s32k1xx/s32k14x_irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/s32k1xx/s32k14x_irq.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/sam34/chip.h b/arch/arm/include/sam34/chip.h
index fbfda2d..8586f88 100644
--- a/arch/arm/include/sam34/chip.h
+++ b/arch/arm/include/sam34/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/sam34/chip.h
  *
- *   Copyright (C) 2009-2010, 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/sam34/irq.h b/arch/arm/include/sam34/irq.h
index d041d59..10ff9c0 100644
--- a/arch/arm/include/sam34/irq.h
+++ b/arch/arm/include/sam34/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/sam34/irq.h
  *
- *   Copyright (C) 2009-2011, 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/sam34/sam3u_irq.h b/arch/arm/include/sam34/sam3u_irq.h
index 75a72ff..8a65773 100644
--- a/arch/arm/include/sam34/sam3u_irq.h
+++ b/arch/arm/include/sam34/sam3u_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/sam34/sam3u_irq.h
  *
- *   Copyright (C) 2009-2011, 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/sam34/sam3x_irq.h b/arch/arm/include/sam34/sam3x_irq.h
index 26cd481..cc94a86 100644
--- a/arch/arm/include/sam34/sam3x_irq.h
+++ b/arch/arm/include/sam34/sam3x_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/sam34/sam3x_irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/sam34/sam4cm_irq.h b/arch/arm/include/sam34/sam4cm_irq.h
index b456c78..9dda0f1 100644
--- a/arch/arm/include/sam34/sam4cm_irq.h
+++ b/arch/arm/include/sam34/sam4cm_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/sam34/sam4cm_irq.h
  *
- *   Copyright (C) 2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/sam34/sam4e_irq.h b/arch/arm/include/sam34/sam4e_irq.h
index 141ca07..6dad711 100644
--- a/arch/arm/include/sam34/sam4e_irq.h
+++ b/arch/arm/include/sam34/sam4e_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/sam34/sam4e_irq.h
  *
- *   Copyright (C) 2013-2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/sam34/sam4l_irq.h b/arch/arm/include/sam34/sam4l_irq.h
index 05ed862..8127231 100644
--- a/arch/arm/include/sam34/sam4l_irq.h
+++ b/arch/arm/include/sam34/sam4l_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/sam34/sam4l_irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/sam34/sam4s_irq.h b/arch/arm/include/sam34/sam4s_irq.h
index bfd7d47..e8b9d60 100644
--- a/arch/arm/include/sam34/sam4s_irq.h
+++ b/arch/arm/include/sam34/sam4s_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/sam34/sam4s_irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/sama5/chip.h b/arch/arm/include/sama5/chip.h
index c2e6cf0..136a1b3 100644
--- a/arch/arm/include/sama5/chip.h
+++ b/arch/arm/include/sama5/chip.h
@@ -1,35 +1,20 @@
 /****************************************************************************************************
  * arch/arm/include/sama5/chip.h
  *
- *   Copyright (C) 2013-2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/include/sama5/irq.h b/arch/arm/include/sama5/irq.h
index bf6fec2..bf27161 100644
--- a/arch/arm/include/sama5/irq.h
+++ b/arch/arm/include/sama5/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/sama5/irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/sama5/sama5d2_irq.h b/arch/arm/include/sama5/sama5d2_irq.h
index 91a5376..37f9d64 100644
--- a/arch/arm/include/sama5/sama5d2_irq.h
+++ b/arch/arm/include/sama5/sama5d2_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/sama5/sama5d2_irq.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/sama5/sama5d3_irq.h b/arch/arm/include/sama5/sama5d3_irq.h
index 9cc67bb..d08eba6 100644
--- a/arch/arm/include/sama5/sama5d3_irq.h
+++ b/arch/arm/include/sama5/sama5d3_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/sama5/sama5d3_irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/sama5/sama5d4_irq.h b/arch/arm/include/sama5/sama5d4_irq.h
index 445093a..dedbb62 100644
--- a/arch/arm/include/sama5/sama5d4_irq.h
+++ b/arch/arm/include/sama5/sama5d4_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/sama5/sama5d4_irq.h
  *
- *   Copyright (C) 2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/samd2l2/chip.h b/arch/arm/include/samd2l2/chip.h
index 7f516ee..2513314 100644
--- a/arch/arm/include/samd2l2/chip.h
+++ b/arch/arm/include/samd2l2/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/samd2l2/chip.h
  *
- *   Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/samd2l2/irq.h b/arch/arm/include/samd2l2/irq.h
index b36eb0a..f866ad0 100644
--- a/arch/arm/include/samd2l2/irq.h
+++ b/arch/arm/include/samd2l2/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/samd2l2/irq.h
  *
- *   Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/samd2l2/sam_adc.h b/arch/arm/include/samd2l2/sam_adc.h
index 1a21fbe5..83a4112 100644
--- a/arch/arm/include/samd2l2/sam_adc.h
+++ b/arch/arm/include/samd2l2/sam_adc.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/samd2l2/sam_adc.h
  *
- *   Copyright (C) 2019 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/samd2l2/samd20_irq.h b/arch/arm/include/samd2l2/samd20_irq.h
index 542abe2..976d5bb 100644
--- a/arch/arm/include/samd2l2/samd20_irq.h
+++ b/arch/arm/include/samd2l2/samd20_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/samd2l2/samd20_irq.h
  *
- *   Copyright (C) 2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/samd2l2/samd21_irq.h b/arch/arm/include/samd2l2/samd21_irq.h
index f2a0b7b..e08753a 100644
--- a/arch/arm/include/samd2l2/samd21_irq.h
+++ b/arch/arm/include/samd2l2/samd21_irq.h
@@ -1,42 +1,28 @@
 /****************************************************************************************
  * arch/arm/include/samd2l2/samd21_irq.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * References:
- *   "Atmel SAM D21E / SAM D21G / SAM D21J SMART ARM-Based Microcontroller
- *   Datasheet", Atmel-42181E–SAM-D21_Datasheet–02/2015
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
+/* References:
+ *   "Atmel SAM D21E / SAM D21G / SAM D21J SMART ARM-Based Microcontroller
+ *   Datasheet", Atmel-42181E–SAM-D21_Datasheet–02/2015
+ */
+
 /* This file should never be included directly but, rather, only indirectly through
  * nuttx/irq.h
  */
diff --git a/arch/arm/include/samd2l2/saml21_irq.h b/arch/arm/include/samd2l2/saml21_irq.h
index 07e7055..b11fba1 100644
--- a/arch/arm/include/samd2l2/saml21_irq.h
+++ b/arch/arm/include/samd2l2/saml21_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/samd2l2/saml21_irq.h
  *
- *   Copyright (C) 2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/samd5e5/chip.h b/arch/arm/include/samd5e5/chip.h
index a627234..2cae696 100644
--- a/arch/arm/include/samd5e5/chip.h
+++ b/arch/arm/include/samd5e5/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/samd5e5/chip.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/samd5e5/irq.h b/arch/arm/include/samd5e5/irq.h
index 2b64485..a370657 100644
--- a/arch/arm/include/samd5e5/irq.h
+++ b/arch/arm/include/samd5e5/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/samd5e5/irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/samd5e5/samd5e5_irq.h b/arch/arm/include/samd5e5/samd5e5_irq.h
index 6fcc3c2..4fe3a24 100644
--- a/arch/arm/include/samd5e5/samd5e5_irq.h
+++ b/arch/arm/include/samd5e5/samd5e5_irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************************
  * arch/arm/include/samd5e5/samd5e5_irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************************/
 
diff --git a/arch/arm/include/samv7/chip.h b/arch/arm/include/samv7/chip.h
index 6def881..04eea7b 100644
--- a/arch/arm/include/samv7/chip.h
+++ b/arch/arm/include/samv7/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/samv7/chip.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/samv7/irq.h b/arch/arm/include/samv7/irq.h
index 1327f7e..02d1179 100644
--- a/arch/arm/include/samv7/irq.h
+++ b/arch/arm/include/samv7/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/samv7/irq.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/samv7/same70_irq.h b/arch/arm/include/samv7/same70_irq.h
index 002f829..2f6bf12 100644
--- a/arch/arm/include/samv7/same70_irq.h
+++ b/arch/arm/include/samv7/same70_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/samv7/same70_irq.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/samv7/samv71_irq.h b/arch/arm/include/samv7/samv71_irq.h
index ae4a627..a669405 100644
--- a/arch/arm/include/samv7/samv71_irq.h
+++ b/arch/arm/include/samv7/samv71_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/samv7/samv71_irq.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/spinlock.h b/arch/arm/include/spinlock.h
index 478bd66..5072e90 100644
--- a/arch/arm/include/spinlock.h
+++ b/arch/arm/include/spinlock.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/spinlock.h
  *
- *   Copyright (C) 2016, 2019 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stdarg.h b/arch/arm/include/stdarg.h
index 653d34a..6cf07bc 100644
--- a/arch/arm/include/stdarg.h
+++ b/arch/arm/include/stdarg.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stdarg.h
  *
- *   Copyright (C) 2012 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32/chip.h b/arch/arm/include/stm32/chip.h
index b6628bc..d798ad2 100644
--- a/arch/arm/include/stm32/chip.h
+++ b/arch/arm/include/stm32/chip.h
@@ -1,35 +1,20 @@
 /**************************************************************************************************
  * arch/arm/include/stm32/chip.h
  *
- *   Copyright (C) 2009, 2011-2014, 2017-2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  **************************************************************************************************/
 
diff --git a/arch/arm/include/stm32/irq.h b/arch/arm/include/stm32/irq.h
index 818820d..240cd30 100644
--- a/arch/arm/include/stm32/irq.h
+++ b/arch/arm/include/stm32/irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/stm32/irq.h
  *
- *   Copyright (C) 2009, 2012, 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/stm32/stm32f10xxx_irq.h b/arch/arm/include/stm32/stm32f10xxx_irq.h
index dba92e7..22bfbe4 100644
--- a/arch/arm/include/stm32/stm32f10xxx_irq.h
+++ b/arch/arm/include/stm32/stm32f10xxx_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32/stm32f10xxx_irq.h
  *
- *   Copyright (C) 2009, 2012, 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32/stm32f20xxx_irq.h b/arch/arm/include/stm32/stm32f20xxx_irq.h
index 35de62e..aa83433 100644
--- a/arch/arm/include/stm32/stm32f20xxx_irq.h
+++ b/arch/arm/include/stm32/stm32f20xxx_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32/stm32f20xxx_irq.h
  *
- *   Copyright (C) 2012, 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32/stm32f30xxx_irq.h b/arch/arm/include/stm32/stm32f30xxx_irq.h
index bf8c504..ed17603 100644
--- a/arch/arm/include/stm32/stm32f30xxx_irq.h
+++ b/arch/arm/include/stm32/stm32f30xxx_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32/stm32f30xxx_irq.h
  *
- *   Copyright (C) 2012, 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32/stm32l15xxx_irq.h b/arch/arm/include/stm32/stm32l15xxx_irq.h
index 14520c9..26d006e 100644
--- a/arch/arm/include/stm32/stm32l15xxx_irq.h
+++ b/arch/arm/include/stm32/stm32l15xxx_irq.h
@@ -1,37 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32/stm32l15xxx_irq.h
- * For STM32L100xx, STM32L151xx, STM32L152xx and STM32L162xx advanced
- * ARM-based 32-bit MCUs
  *
- *   Copyright (C) 2013, 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32f7/stm32f74xx75xx_irq.h b/arch/arm/include/stm32f7/stm32f74xx75xx_irq.h
index cfa9d66..d481351 100644
--- a/arch/arm/include/stm32f7/stm32f74xx75xx_irq.h
+++ b/arch/arm/include/stm32f7/stm32f74xx75xx_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32f7/stm32f74xx75xx_irq.h
  *
- *   Copyright (C) 2009 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/stm32h7/irq.h b/arch/arm/include/stm32h7/irq.h
index 913546e..894f59d 100644
--- a/arch/arm/include/stm32h7/irq.h
+++ b/arch/arm/include/stm32h7/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/stm32h7/irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/str71x/irq.h b/arch/arm/include/str71x/irq.h
index cbb3b62..998409c 100644
--- a/arch/arm/include/str71x/irq.h
+++ b/arch/arm/include/str71x/irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/str71x/irq.h
  *
- *   Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/tiva/cc13x0_irq.h b/arch/arm/include/tiva/cc13x0_irq.h
index 16a1e79..95ac7d6 100644
--- a/arch/arm/include/tiva/cc13x0_irq.h
+++ b/arch/arm/include/tiva/cc13x0_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/tiva/cc13x0_irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/tiva/cc13x2_cc26x2_irq.h b/arch/arm/include/tiva/cc13x2_cc26x2_irq.h
index 3ba2f9a..4cecf15 100644
--- a/arch/arm/include/tiva/cc13x2_cc26x2_irq.h
+++ b/arch/arm/include/tiva/cc13x2_cc26x2_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************
  * arch/arm/include/tiva/cc13x2_cc26x2_irq.h
  *
- *   Copyright (C) 2018 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************/
 
diff --git a/arch/arm/include/tiva/irq.h b/arch/arm/include/tiva/irq.h
index b5ab005..68727b9 100644
--- a/arch/arm/include/tiva/irq.h
+++ b/arch/arm/include/tiva/irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/tiva/irq.h
  *
- *   Copyright (C) 2009-2011 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/tiva/lm3s_irq.h b/arch/arm/include/tiva/lm3s_irq.h
index e4d285e..6d39590 100644
--- a/arch/arm/include/tiva/lm3s_irq.h
+++ b/arch/arm/include/tiva/lm3s_irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/tiva/lm3s_irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/tiva/lm4f_irq.h b/arch/arm/include/tiva/lm4f_irq.h
index a0135b1..ba81f6d 100644
--- a/arch/arm/include/tiva/lm4f_irq.h
+++ b/arch/arm/include/tiva/lm4f_irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/tiva/lm4f_irq.h
  *
- *   Copyright (C) 2013 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/tiva/tm4c_irq.h b/arch/arm/include/tiva/tm4c_irq.h
index f608080..df02a17 100644
--- a/arch/arm/include/tiva/tm4c_irq.h
+++ b/arch/arm/include/tiva/tm4c_irq.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/tiva/tm4c_irq.h
  *
- *   Copyright (C) 2014 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/tms570/chip.h b/arch/arm/include/tms570/chip.h
index e153f95..bf2edcf 100644
--- a/arch/arm/include/tms570/chip.h
+++ b/arch/arm/include/tms570/chip.h
@@ -1,35 +1,20 @@
 /****************************************************************************************************
  * arch/arm/include/tms570/chip.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************************/
 
diff --git a/arch/arm/include/tms570/irq.h b/arch/arm/include/tms570/irq.h
index 5d003a5..4179bfb 100644
--- a/arch/arm/include/tms570/irq.h
+++ b/arch/arm/include/tms570/irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/tms570/irq.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/tms570/tms570ls04x03x_irq.h b/arch/arm/include/tms570/tms570ls04x03x_irq.h
index ee18b6d..fff9d29 100644
--- a/arch/arm/include/tms570/tms570ls04x03x_irq.h
+++ b/arch/arm/include/tms570/tms570ls04x03x_irq.h
@@ -1,35 +1,20 @@
 /****************************************************************************************
  * arch/arm/include/tms570/tms570ls04x03x_irq.h
  *
- *   Copyright (C) 2015 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ****************************************************************************************/
 
diff --git a/arch/arm/include/xmc4/chip.h b/arch/arm/include/xmc4/chip.h
index d0ffae2..398f988 100644
--- a/arch/arm/include/xmc4/chip.h
+++ b/arch/arm/include/xmc4/chip.h
@@ -1,35 +1,20 @@
 /************************************************************************************
  * arch/arm/include/xmc4/chip.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ************************************************************************************/
 
diff --git a/arch/arm/include/xmc4/irq.h b/arch/arm/include/xmc4/irq.h
index f54166f..4211ede 100644
--- a/arch/arm/include/xmc4/irq.h
+++ b/arch/arm/include/xmc4/irq.h
@@ -1,35 +1,20 @@
 /********************************************************************************************
  * arch/arm/include/xmc4/irq.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/
 
diff --git a/arch/arm/include/xmc4/xmc4500_irq.h b/arch/arm/include/xmc4/xmc4500_irq.h
index 7a02e61..70b9512 100644
--- a/arch/arm/include/xmc4/xmc4500_irq.h
+++ b/arch/arm/include/xmc4/xmc4500_irq.h
@@ -1,35 +1,20 @@
 /********************************************************************************************
  * arch/arm/include/xmc4/xmc4500_irq.h
  *
- *   Copyright (C) 2017 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <gn...@nuttx.org>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
+ * License.  You may obtain a copy of the License at
  *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- * 3. Neither the name NuttX nor the names of its contributors may be
- *    used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ * License for the specific language governing permissions and limitations
+ * under the License.
  *
  ********************************************************************************************/