[PATCH v2 1/2] ARM: mvebu: Add support to get the ID and the revision of a SoC
Andrew Lunn
andrew at lunn.ch
Mon Jan 6 11:24:42 EST 2014
> Are you saying that FreeBSD has a different set of bindings for the
> same hardware?
Yes. I was not even aware FreeBSD was using DT until somebody
mentioned it in Edinburgh.
As an example:
http://fxr.watson.org/fxr/source/boot/fdt/dts/sheevaplug.dts
compared with
http://lxr.linux.no/linux+v3.12.6/arch/arm/boot/dts/kirkwood-sheevaplug.dts
http://lxr.linux.no/linux+v3.12.6/arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi
http://lxr.linux.no/linux+v3.12.6/arch/arm/boot/dts/kirkwood-6281.dtsi
http://lxr.linux.no/linux+v3.12.6/arch/arm/boot/dts/kirkwood.dtsi
> That would be rather unfortunate and we should probably
> try to merge the bindings eventually and make sure that either OS can
> boot with any conforming DTB
It probably requires one of the DT maintainers to talk to FreeBSD
equivalents to get some coordination going. We have a lot of generic
stuff, like gpio keys, gpio leds, cpu nodes, mtd partitions, etc,
which could be done at a high level, and then SoC specific nodes
sorted out between individual developers.
> On the example of missing clocks, it should work as long as all relevant
> clocks are enabled by the boot loader and the clock properties are
> optional the binding.
However, not all clocks are optional. We need the clock in order to
know how fast it ticks. So at least the serial ports and i2c will not
work, and maybe other devices, i would have to check.
Andrew
More information about the linux-arm-kernel
mailing list