Home | History | Annotate | only in /src/sys/dtb
History log of /src/sys/dtb
RevisionDateAuthorComments
 1.8 09-Oct-2025  skrll Add the beginnings of a GENERIC_V5 kernel that targets armv5 boards and
uses FDT.

In this first iteration some support is added for OLinuXino boards.

Thanks to Yuri Honegger for doing the vast majority of the work.
 1.7 11-Sep-2022  christos use sort -u
 1.6 10-Sep-2022  rillig sys/dtb: prevent duplicate entries in distrib/sets
 1.5 13-Nov-2021  skrll Hook in riscv dtb build
 1.4 23-May-2020  rin Simplify. No need to use sed...
 1.3 23-May-2020  rin Fix previous; add hack to prevent NetBSD RCSID from being expanded...
 1.2 22-May-2020  rin update-sets:
- sort entries
- add NetBSD RCSID
- add "DO NOT EDIT" comment
 1.1 18-May-2020  jmcneill Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
 1.7 09-Oct-2025  skrll Add the beginnings of a GENERIC_V5 kernel that targets armv5 boards and
uses FDT.

In this first iteration some support is added for OLinuXino boards.

Thanks to Yuri Honegger for doing the vast majority of the work.
 1.6 04-May-2023  bouyer Also build dtb files for CONFIG_SOC_IMX6SX
 1.5 12-Nov-2021  jmcneill branches: 1.5.4;
Build rockchip dtb files for armv7.
 1.4 07-Nov-2021  jmcneill CONFIG_ARCH_SOCFPGA has been renamed CONFIG_ARCH_INTEL_SOCFPGA
 1.3 10-Jun-2020  jmcneill Build i.MX7D dtbs for armv7
 1.2 23-May-2020  skrll imx6 kernels are part of GENERIC now
 1.1 18-May-2020  jmcneill Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
 1.5.4.1 28-May-2023  martin Pull up following revision(s) (requested by bouyer in ticket #182):

sys/arch/arm/nxp/imx6_platform.c: revision 1.8 (via patch)
sys/arch/arm/nxp/imx6_platform.c: revision 1.9 (via patch)
sys/arch/arm/nxp/imx6_ccmvar.h: revision 1.2
sys/arch/arm/nxp/imx6_ccmvar.h: revision 1.3
distrib/sets/lists/dtb/ad.earmv7hf: revision 1.10
sys/arch/arm/nxp/imx6sx_clk.c: revision 1.1
sys/arch/arm/nxp/imx6_ccm.c: revision 1.3
sys/arch/arm/nxp/imx6sx_clk.c: revision 1.2
sys/arch/arm/nxp/imx6_ccm.c: revision 1.4
sys/arch/arm/nxp/imx6sx_clk.c: revision 1.3
sys/arch/arm/nxp/imx6_spi.c: revision 1.8
sys/arch/arm/nxp/imx_sdhc.c: revision 1.8
sys/arch/arm/imx/imxusb.c: revision 1.19
sys/arch/arm/nxp/imx6_usb.c: revision 1.7
sys/arch/arm/nxp/imx6_usb.c: revision 1.8
sys/arch/arm/nxp/files.imx: revision 1.3
sys/arch/arm/nxp/imx6_clk.c: revision 1.5
sys/arch/arm/nxp/imx6_clk.c: revision 1.6
sys/arch/arm/nxp/imx6_reg.h: revision 1.2
sys/arch/arm/nxp/imx6_gpc.c: revision 1.4
sys/arch/arm/imx/imx23_usb.c: revision 1.6
sys/dtb/arm/Makefile: revision 1.6
sys/arch/arm/imx/imxusbvar.h: revision 1.7
sys/arch/evbarm/conf/GENERIC: revision 1.119
sys/arch/arm/nxp/imx6_ccmreg.h: revision 1.2
sys/arch/arm/nxp/imx6_iomux.c: revision 1.3
sys/arch/arm/nxp/imx6_usbphy.c: revision 1.3
sys/arch/arm/nxp/imx6_pcie.c: revision 1.7

In preparation of imx6sx support, move imx6q-specific definitions from
imx6_ccm.c to imx6_clk.c, and prefix with IMX6Q/imx6q:
- Clock IDs and related struct imx_clock_id
- Clock Parents and Divider Tables
- struct imx6_clk
and related static functions

Add a pointer to struct imx6_clk, and it's size to imx6ccm_softc

Pass a pointer to imx6ccm_softc to all functions from imx6_ccm.c
NFCI

i.mx6sx CPU support in the CCM module: the clock tree si different from
the i.mx6q
- move i.mx6q-specific functions and data to imx6_clk.c
- add i.mx6sx specific imx6sx_clk.c
- add a imx6sxccm device
i.mx6sx platform support:
- the i.mx6sx has a third AIPS, so KERNEL_IO_IOREG map has to be larger
- the uart clock is at 24Mhz instead of 80.

Add i.mx6sx compatible entries to drivers that should work as is.

Fix typo, preventing i2c4 from attaching
remove commented out entries, leftover from the imx6q ccm code.
introduce imx6sx_platform_bootstrap(), which calls imx_platform_bootstrap()
and then checks for an "arm,cortex-a9-twd-timer" compatible entry in the
fdt. If not present, create one so that a9ptmr will attach.
We need this entry as this is the only timer we support for this platform,
but the upstream imx6sx.dtsi is missing the entry for it (and all A9 CPUs
have it anyway).

Thanks to Jared McNeill for advices and review.

Also build dtb files for CONFIG_SOC_IMX6SX


experimental IMX6SX support:
- add options SOC_IMX6SX
- add imx6sxccm device
tested on a UDOO Neo Full board.

known to work:
- uart (console)
- sdmmc0
- ethernet (enet0)
known to not work:
- USB (device not detected).

needs a modified device tree at this time (add arm,cortex-a9-twd-timer entry
copied from the imx6qdl dtsi); for unkown reason the imx6sx.dtsi file lacks
an entry for the a9ptmr although it is present in the soc (and, from what I
understood, in all cortex A9 SoCs).

Add imx6sx dtb files

The i.mx6sx has 2 OTG and one host-only USB controller, while the 6q has
only one OTG.

Add a "uintptr_t data" argument to all sc_*_md_hook callbacks, which
gets the sc_md_hook_data value when called.

In imx6_usb.c use this to pass the number of OTG controllers to the callbacks.
imx6_usb_init() can then properly call init_otg() or init_h1() for unit 1.

In imx6_usb_attach(), test if there is a vbus-supply property in the fdt,
and enable the regulator if present.

Now the USB port of the UDOO Neo works.
 1.1 18-May-2020  jmcneill Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
 1.1 18-May-2020  jmcneill Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
 1.1 18-May-2020  jmcneill Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
 1.3 07-Nov-2021  jmcneill Extra dts files no longer required.
 1.2 02-Jan-2021  ryo add dts for odroid-N2 plus
 1.1 18-May-2020  jmcneill branches: 1.1.2;
Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
 1.1.2.1 03-Jan-2021  thorpej Sync w/ HEAD.
 1.1 18-May-2020  jmcneill Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
 1.1 18-May-2020  jmcneill Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
 1.2 04-Jul-2022  martin Build dtb files for the Tegra TX2
 1.1 18-May-2020  jmcneill Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
 1.3 07-Nov-2021  jmcneill Extra dts files no longer required.
 1.2 02-Jun-2021  jmcneill Install a copy of rk3399-pinebook-pro.dtb to the base dtb directory for
compatibility with the factory firmware. Normally this is frowned upon,
but this is the only easy way to boot NetBSD on this board without
having to crack open the case and/or hook up a serial console.
 1.1 18-May-2020  jmcneill branches: 1.1.6;
Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
 1.1.6.1 17-Jun-2021  thorpej Sync w/ HEAD.
 1.3 12-Aug-2024  skrll Import Linux 6.10.3 DTS for RISC-V

This has the side effect of pulling in 5 arm64 renesas and a few other
dt-bindings files which didn't exist before so there are no conflicts.

Hopefully arm/arm64/mips can catch up soon.
 1.2 14-Jan-2024  skrll branches: 1.2.2;
Import RISC-V starfive DTS from https://github.com/starfive-tech/linux.git"

The files are taken from the visionfive branch with latest DTS related commit

commit 9b5f280fa413ee76fac20cd575075fc53468d527
Author: Emil Renner Berthing <kernel@esmil.dk>
Date: Sun Oct 31 17:15:58 2021 +0100

riscv: dts: Add full JH7100, Starlight and VisionFive support
 1.1 13-Nov-2021  skrll Hook in riscv dtb build
 1.2.2.1 02-Aug-2025  perseant Sync with HEAD
 1.2 12-Aug-2024  skrll Import Linux 6.10.3 DTS for RISC-V

This has the side effect of pulling in 5 arm64 renesas and a few other
dt-bindings files which didn't exist before so there are no conflicts.

Hopefully arm/arm64/mips can catch up soon.
 1.1 13-Nov-2021  skrll branches: 1.1.10;
Hook in riscv dtb build
 1.1.10.1 02-Aug-2025  perseant Sync with HEAD
 1.2 18-Sep-2025  rillig riscv: prevent "internal option" warning from make
 1.1 12-Aug-2024  skrll Import Linux 6.10.3 DTS for RISC-V

This has the side effect of pulling in 5 arm64 renesas and a few other
dt-bindings files which didn't exist before so there are no conflicts.

Hopefully arm/arm64/mips can catch up soon.
 1.2 18-Sep-2025  rillig riscv: prevent "internal option" warning from make
 1.1 12-Aug-2024  skrll Import Linux 6.10.3 DTS for RISC-V

This has the side effect of pulling in 5 arm64 renesas and a few other
dt-bindings files which didn't exist before so there are no conflicts.

Hopefully arm/arm64/mips can catch up soon.
 1.2 18-Sep-2025  rillig riscv: prevent "internal option" warning from make
 1.1 12-Aug-2024  skrll Import Linux 6.10.3 DTS for RISC-V

This has the side effect of pulling in 5 arm64 renesas and a few other
dt-bindings files which didn't exist before so there are no conflicts.

Hopefully arm/arm64/mips can catch up soon.
 1.2 18-Sep-2025  rillig riscv: prevent "internal option" warning from make
 1.1 12-Aug-2024  skrll Import Linux 6.10.3 DTS for RISC-V

This has the side effect of pulling in 5 arm64 renesas and a few other
dt-bindings files which didn't exist before so there are no conflicts.

Hopefully arm/arm64/mips can catch up soon.
 1.3 18-Sep-2025  rillig riscv: prevent "internal option" warning from make
 1.2 12-Aug-2024  skrll Import Linux 6.10.3 DTS for RISC-V

This has the side effect of pulling in 5 arm64 renesas and a few other
dt-bindings files which didn't exist before so there are no conflicts.

Hopefully arm/arm64/mips can catch up soon.
 1.1 13-Nov-2021  skrll branches: 1.1.10;
Hook in riscv dtb build
 1.1.10.1 02-Aug-2025  perseant Sync with HEAD
 1.2 18-Sep-2025  rillig riscv: prevent "internal option" warning from make
 1.1 12-Aug-2024  skrll Import Linux 6.10.3 DTS for RISC-V

This has the side effect of pulling in 5 arm64 renesas and a few other
dt-bindings files which didn't exist before so there are no conflicts.

Hopefully arm/arm64/mips can catch up soon.
 1.2 18-Sep-2025  rillig riscv: prevent "internal option" warning from make
 1.1 14-Jan-2024  skrll Import RISC-V starfive DTS from https://github.com/starfive-tech/linux.git"

The files are taken from the visionfive branch with latest DTS related commit

commit 9b5f280fa413ee76fac20cd575075fc53468d527
Author: Emil Renner Berthing <kernel@esmil.dk>
Date: Sun Oct 31 17:15:58 2021 +0100

riscv: dts: Add full JH7100, Starlight and VisionFive support
 1.2 18-Sep-2025  rillig riscv: prevent "internal option" warning from make
 1.1 12-Aug-2024  skrll Import Linux 6.10.3 DTS for RISC-V

This has the side effect of pulling in 5 arm64 renesas and a few other
dt-bindings files which didn't exist before so there are no conflicts.

Hopefully arm/arm64/mips can catch up soon.

RSS XML Feed