Page MenuHomeFreeBSD

Update Armada 38x DTS after adding new timer in linux
AbandonedPublic

Authored by mw on Aug 5 2017, 10:07 AM.

Details

Reviewers
manu
cognet
loos
Summary

As a part of FreeBSD - Linux DT alignment for Marvell
Armada 38x platform, a new node for the generic
Cortex-A9 global timer was added in Linux. FreeBSD port is
basing on it, as platform does not use legacy timer.

The change is already merged to linux-next branch and
will reach main tree in the kernel v4.14:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/arch/arm/boot/dts/armada-38x.dtsi?h=next-20170804&id=0f015017a95c279a050ed953284451d2a0d29fb2

Due to ongoing effort to drop sys/boot/fdt Armada 38x
device tree, the timer node has to be available in
sys/gnu/dts before v4.14 release.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

manu requested changes to this revision.Aug 5 2017, 12:34 PM

I don't want to modify directly gnu dts source file as they come from vendor repository, it's a mess when updating.
Could you modify a dts in sys/boot/fdt/arm/ if it's needed now and include it in the dts in this directory, we do that for some Allwinner SoC and it's much easier to handle (thought not perfect).

Thanks,

This revision now requires changes to proceed.Aug 5 2017, 12:34 PM

Hi Manu,

Thanks. We'll use sys/boot/fdt/dts/arm until the change is imported from Linux v4.14

Best regards,
Marcin