Commit Graph

38 Commits

Author SHA1 Message Date
manu
3f7c433cf9 Update our devicetree to 4.19 for arm and arm64
MFC after:	2 months
2018-11-10 21:02:32 +00:00
manu
19442a3a49 dts: Import DTS for arm64
- Most of the boards are using U-Boot, u-boot embed a DTB that isn't
compiled with -@ (overlay ready) so we cannot use overlays. We want
overlays, overlays are nice.
 - The DTS life is going to linux, then sometimes it's imported in
U-Boot but it depend on the SoC family, U-Boot doesn't batch import
every DTS like we do. So sometimes to U-Boot DTS are very old. Or when
an interesting patch in commited upstream it is in Linux X+2 (roughly 4
months from now), we then have to wait for U-Boot to catch up, that
give us between 4 and 6 months to have an update.
 - Some boards like the Marvell ones have 3 DTS, the one in the
vendor U-Boot made by Marvell themselves, the one in u-boot mainline
and the one in Linux. I found that the DTS in the Marvell U-Boot have
some problem with FreeBSD (especially the macchiatobin that declare
node with the same address but not the same size, that is not something
that the rman code can handle, it could be modified, I don't know the
code well enough). Also some compatible are used when they shouldn't,
for example they declare the gpio being orion-gpio while this binding
requires interrupts supports, which the node doesn't have.
 - The above situation is mostly the same with RockChip SoCs (possibly
others, those are the only SoCs I work on that have this problem).

 Note that importing the DTS doesn't mean that every board will use
them, I don't intend to copy the DTB to the GENERIC memstick image for
the Overdrive 1000/3000 for example, the ones provided by the firmware
works fine.
 RPI3 will still stay an exception as we use the DTB provided by the
rpi-firmware package, so they come from the rpi foundation linux fork.
2018-08-23 13:21:01 +00:00
manu
304ecbd204 Import DTS files from Linux 4.18 2018-08-13 06:40:20 +00:00
manu
ca4447df64 dts: Update our copy to Linux 4.17 2018-06-14 07:12:10 +00:00
manu
8897e4c4c3 gnu/dts: Update our copy of arm dts from Linux 4.16 2018-04-20 19:37:08 +00:00
manu
d528531ffa dts: Update our device tree sources files from Linux 4.15 2018-02-10 15:29:46 +00:00
manu
e1fd3b3692 Update our copy of DTS from the ones from Linux 4.14 2017-11-18 15:46:48 +00:00
manu
72cbfc7788 dts: Update our device tree sources file fomr Linux 4.13 2017-10-21 15:47:40 +00:00
manu
78955d65bd Update DTS files from Linux 4.12
Notable changes:

Allwinner:
  * H3/H5 were merged into a common dtsi file
  * include/dt-bindings/sun4i-a10.h is not included anymore
  in a lot of dts files
  * Add sun8i-h3-nanopi-neo-air board DTS file
2017-07-09 13:53:32 +00:00
manu
d98b407871 Update the GNU DTS file from Linux 4.11 2017-06-20 03:13:49 +00:00
adrian
cfbff08319 [mips] [rt2880] Add oldest Ralink MIPS SOC RT2880 support code.
* Target module have ic plus etherswitch ip175c.
* Also add etherswitch support code on rt driver.

Reviewed by:	mizhka
Differential Revision:	https://reviews.freebsd.org/D10336
2017-05-06 06:20:34 +00:00
manu
a0beb3e490 Update our device tree files to a Linux 4.10 2017-03-07 13:56:49 +00:00
br
7f4de7e9bd Import latest vendor DTS files for Intel Arria 10. 2017-03-03 14:17:07 +00:00
br
f88a8cbab9 Add Ingenic X1000 DTS files (unofficial).
This is based on JZ4780 due to missing original X1000 parts.

Sponsored by:	DARPA, AFRL
2016-11-19 15:03:49 +00:00
br
bcd4959c4b Import Ingenic CI20 (jz4780) DTS files.
Submitted by:	kan
Sponsored by:	DARPA, AFRL
2016-11-17 11:31:13 +00:00
imp
6746f9298b Revert and redo r306083.
Update the device tree source files to a Linux 4.7-RC.

The dts tree currently can't be merged w/o specific revisions.

Note: due to a stupid bug in the commit checking script, I couldn't
just remove the svn:keyword tag from the new files, I had to add
fbsd:nokeywords to all the files (including ones that didn't need it)
2016-09-22 15:17:36 +00:00
andrew
96792f0216 Update the device tree source files to a Linux 4.7-RC.
MFC after:	2 weeks
Sponsored by:	ABT Systems Ltd
2016-09-21 08:54:08 +00:00
ian
f44d1abe81 Revert changes for local testing, inadvertantly commited in r300811. 2016-05-26 23:59:42 +00:00
ian
9b3e507c26 Add a PPS driver that takes the timing pulse from a gpio pin. Currently
supports only ofw/fdt systems.  Some day, hinted attachment for non-fdt
systems should be possible too.
2016-05-26 23:56:12 +00:00
sgalabov
65033a03d4 Bring ralink/mediatek DTS files in sync with LEDE
This is the last sync with LEDE Project dts files before 11.0.

Obtained from:	LEDE Project
Sponsored by:	Smartcom - Bulgaria AD
2016-05-25 06:39:48 +00:00
sgalabov
e282774be5 Import LEDE dts files for Ralink/Mediatek
This is an import of the reworked LEDE dts files. Besides other things
they make it easier for us to reuse.

The only diffs left are for the following SoCs:
MT7620A (fbsd-mt7620a.dtsi)
MT7621 (fbsd-mt7621.dtsi)
MT7628 (fbsd-mt7628an.dtsi)
RT3883 (fbsd-rt3883.dtsi)

So we include the fbsd-*.dtsi files at the end of the original LEDE dtsi
files, using '#include "fbsd-xxxx.dtsi"'.
For example, for MT7621, the LEDE dtsi file is mt7621.dtsi. At the end of
it we add:
#include "fbsd-mt7621.dtsi"

Approved by:	adrian (mentor)
Obtained from:	LEDE project
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D6394
2016-05-17 06:42:24 +00:00
sgalabov
a4524d0609 Change OpenWRT imported dtsi files
Change '#include <fbsd-*>' to '/include/ "fbsd-*"' in [rm]t*.dtsi

Basically the pre-import work on OpenWRT's dts/dtsi files boils down to:

for f in `ls [mr]t*.dtsi`; do
printf '\n/include/ "fbsd-$f"\n' >> $f
done

Approved by:	adrian (mentor)
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D5993
2016-04-20 14:29:03 +00:00
sgalabov
7842d768b6 Import Mediatek/Ralink dts files from OpenWRT
Import original OpenWRT dts files after executing the following script
on them:

for f in `ls [mr]t*.dtsi`; do
	printf "\n#include <fbsd-$f>\n" >> $f
done

Approved by:	adrian (mentor)
Obtained from:	OpenWRT
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D5971
2016-04-16 20:01:08 +00:00
andrew
327efa1f37 Update our copy of the Linux dts files to be in sync with Linux 4.5-rc1. We
now uave a full copy of the arm device tree sources to help when adding
support for newer boards.

Sponsored by:	ABT Systems Ltd
2016-02-09 16:42:32 +00:00
ganbold
759dedc691 The GNU Amlogic DTS files have some errors (e.g. bad register
address, bad IRQ, etc) which are fixed by this patch.

John has sent these changes to the author of the files who said
he'll propagate the changes further upstream.

Submitted by:	John Wehle
Reviewed by:	imp
2015-04-11 08:17:39 +00:00
imp
86778ceeca File names with commas in them cause issues for freebsd-update. We
don't actually use these files at the moment, so eliminate them until
we actually do. In the mean time, freebsd-update will be updated
to eliminate the issues.

Requested by: cperciva
2015-03-12 06:43:58 +00:00
imp
ce485e4c79 Merge latest (commit c8c1b3a77934768c7f7a4a9c10140c8bec529059) files
from the git tree. This merges a lot that we're not using, but there's
too many files to be selective and have a hope of catching everything.
If there are conflicts with the rest of the tree, we'll resolve them
on a case by case basis.

MFC after:	2 weeks
Sponsored by:	Netflix, Inc.
2015-02-28 00:06:04 +00:00
imp
77f020ec58 Merge forgotten .h files from vendor branch. 2014-09-05 02:21:45 +00:00
imp
9099058799 Reimport dts files from vendor repo now that it has been properly
trimmed.
2014-09-04 21:48:33 +00:00
imp
dd6e2ef2ad Delete old arm dts tree. This was created by cherry picking from a
full vendor tree. This worked great until it was time to update, but
now it is time to update. Hit the rest button by removing this branch
and re-adding it by a full copy of whatever is in the vendor tree.
2014-09-04 21:28:25 +00:00
imp
e47626077f Update bindings to latest vendor branch representing 3.17-rc2 level of
Linux DTS API.
2014-09-04 20:48:16 +00:00
imp
8da1a827f9 New DTS files to suppport the SAM9260EK eval board. Derived, in part,
from the SAM9G20EK dts files (so that file is GPL'd).
2014-08-19 03:51:05 +00:00
ian
f368e1ff30 Revert r269528; this was not the right way to bring these changes in. 2014-08-05 22:38:49 +00:00
ian
2e8aa91b3d Bring in the latest standard defines for imx6 clocks referenced in dts files. 2014-08-04 20:50:46 +00:00
imp
d494cb8449 Symbolic bindings for the dts files... 2014-02-28 16:51:33 +00:00
imp
a13ef798dc Add missing skeleton file. 2014-02-28 16:43:56 +00:00
imp
dc70de355e Add skeleton.dtsi and update to new place in tree. 2014-02-28 16:42:14 +00:00
imp
1b123b598a These file have a, possibly dubious, GPL claim. Until that's sorted, move to gnu. 2014-02-28 16:26:44 +00:00