aboutsummaryrefslogtreecommitdiff
path: root/sys/dts/arm
Commit message (Collapse)AuthorAgeFilesLines
* remove sys/dts/arm/socfpga_*_sdmmc.dtsOskar Holmlund2025-12-152-190/+0
| | | | | | | | | | | These two files are broken due to Linux 6.5 DTS import. Both of these boards have support in Linux DTS tree, please use these DTS instead. Removed and not fixed because of commit 949efdaa1db8 Approved by: br, manu (mentor) Differential revision: https://reviews.freebsd.org/D54216
* Remove: sys/dts/arm/overlays/spigen-rpi-b.dtsoOskar Holmlund2025-12-121-30/+0
| | | | | | | Remove SPIGEN device tree overlay used with rpi-b (BCM2835/armv6) Approved by: manu (mentor) Differential revision: https://reviews.freebsd.org/D54188
* sys/dts: Remove i.MX5 device treeOskar Holmlund2025-12-114-1607/+0
| | | | | | | | | | | | | | IMX51 is already EOL and IMX53 is going to be EOL in Feb 2026. See NXP product longevity site Remove Digi ConnectCore Wi-i.MX53 Genesi Efika MX FreeBSD own DTSI for imx51 and imx53 sys/modules/dtb/imx5 for i.MX53 quick start board. Approved by: manu (mentor) Differential revision: https://reviews.freebsd.org/D53888
* sys/dts/arm/ufs.dts: fix compile errorOskar Holmlund2025-12-051-1/+1
| | | | | | | | | | Fix compile error due to the include file am33xx.dtsi has been moved. The Linux device-tree archive has split the general directory (ARM/ARM64...) into vendor specific subdirectories since Linux 6.5. Reviewed by: kp Approved by: manu (mentor) Differential revision: https://reviews.freebsd.org/D53894
* dts: fix RT-AC58U to match the updated device tree name/alias changes.Adrian Chadd2025-04-081-2/+2
| | | | | | | | | | | | | A variety of subtle changes occured with the upstream syncs over time. This allows the RT-AC58U to boot and have working USB3. Locally tested: * Asus RT-AC58U, USB3 (umass) Differential Revision: https://reviews.freebsd.org/D49685 Reviewed by: manu
* Remove SOC FPGA driversJohn Baldwin2024-12-061-151/+0
| | | | | | | | | The drivers have been disconnected from the build since the removal of the SOCFPGA kernel configs. Reviewed by: manu, imp, andrew Sponsored by: AFRL, DARPA Differential Revision: https://reviews.freebsd.org/D47885
* dts: Fix arm/qcom-ipq4018-rt-ac58u.dts for recent device-tree versionsJessica Clarke2024-07-171-1/+1
| | | | | | | | The included file has recently moved to a subdirectory. This fixes building arm.armv7 ASUS_AC1300 (marked NO_UNIVERSE). Fixes: f126890ac538 ("Import device-tree files from Linux 6.5")
* Remove residual blank line at start of MakefileWarner Losh2024-07-153-3/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* arm/nvidia: Fix DTS buildEmmanuel Vadot2024-03-221-1/+1
| | | | | | | We need to include the DTS with the full path now that it changed. Fixes: f126890ac538 ("Import device-tree files from Linux 6.5") Sponsored by: Beckhoff Automation GmbH & Co. KG
* add allwinner overlays for enabling additional USB portsAndriy Gapon2024-01-282-0/+28
| | | | | For instance, on NanoPi NEO two additional ports are available via a GPIO header.
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-163-3/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* sys: Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-162-2/+0
| | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* sys: Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-168-8/+0
| | | | Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
* sys: Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-1614-28/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* dts: add IPQ4018/IPQ4019 ethernet MAC and ethernet switch definitionsAdrian Chadd2022-02-042-0/+240
| | | | | | | | | | | This adds the ethernet MAC and ethernet switch definitions. I've rewritten the header file and the DTS based on documentation and the required driver fields rather than the GPL'ed ones from openwrt. Differential Revision: https://reviews.freebsd.org/D34111 Reviewed by: manu
* add overlay for enabling spi0 on allwinner h3Andriy Gapon2022-01-261-0/+10
| | | | | | | At least on Orange Pi PC Plus it is routed to the 40-pin header, so it can used to communicate with external devices. MFC after: 2 weeks
* add overlay for enabling i2c1 on allwinner h3Andriy Gapon2022-01-261-0/+10
| | | | | | | At least on Orange Pi PC Plus it is routed to the 40-pin header, so it can used to communicate with external devices. MFC after: 2 weeks
* ipq4018: add a device tree file for the ASUS rt-ac58u routerAdrian Chadd2021-10-181-0/+312
| | | | | | | This is the initial device tree file describing the ASUS RT-AC58U 2GHz/5GHz 11ac router. Obtained from: OpenWRT
* Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrightsEd Maste2021-08-082-2/+0
| | | | | | | These ones were unambiguous cases where the Foundation was the only listed copyright holder (in the associated license block). Sponsored by: The FreeBSD Foundation
* arm: allwinner: dtb: Add overlays to disable SD/MMC nodeEmmanuel Vadot2021-06-143-0/+30
| | | | | | Useful for dev Sponsored by: Diablotin Systems
* Remove DTS files for arm boards we don't supportAndrew Turner2021-01-2714-3464/+0
| | | | | | | | | These are all FreeBS-specific device tree files. We don't support any of these anymore, remove them. Reviewed by: emaste, manu Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D28365
* cgem: add 64-bit supportThomas Skibo2021-01-101-6/+6
| | | | | | | | Add 64-bit address support to Cadence CGEM Ethernet driver for use in other SoCs such as the Zynq UltraScale+ and SiFive HighFive Unleashed. Reviewed by: philip, 0mp (manpages) Differential Revision: https://reviews.freebsd.org/D24304
* allwinner: aw_thermal: Cope with DTS changesEmmanuel Vadot2020-04-142-46/+0
| | | | | | | | | | | | | The upstream DTS now include the thermal device node and the SID calibration entry. Update our driver to cope with this change and remove the DTB overlays that aren't needed anymore. MFC after: 2 months X-MFC-With: r359934 Notes: svn path=/head/; revision=359935
* arm: zynq: An SPI driver for Zynq platformsEmmanuel Vadot2020-02-281-0/+17
| | | | | | | | Submitted by: Thomas Skibo Differential Revision: https://reviews.freebsd.org/D23319 Notes: svn path=/head/; revision=358426
* zilinx/zy7_qspi: Add a qspi driver for Zynq platforms.Emmanuel Vadot2020-01-193-1/+20
| | | | | | | | | | | | This is a qspi driver for the Xilinx Zynq-7000 chip. It could be useful for anyone wanting to boot a system from flash memory instead of SD cards. Submitted by: Thomas Skibo (thomasskibo@yahoo.com) Differential Revision: https://reviews.freebsd.org/D14698 Notes: svn path=/head/; revision=356895
* dtso: allwinner: Add an overlay for H3 thermal nodeGanbold Tsagaankhuu2019-08-242-0/+32
| | | | | | | Reviewed by: manu Notes: svn path=/head/; revision=351452
* dtso: allwinner: Add an overlay for H3 i2c0Emmanuel Vadot2019-07-201-0/+12
| | | | | | | | Most of the H3 boards don't enable i2c as it is unused. Add an overlay so it's easier for user to use i2c device. Notes: svn path=/head/; revision=350180
* arm: dts: Remove some old DTSEmmanuel Vadot2019-04-1021-3170/+0
| | | | | | | | | | | RPI is using the firmware provided DTS since 12.0 Pandaboard works with the Linux DTS RK* Exynos* and Meson*/Odroid* don't even work with current source code, if someone wants to make them work again they better use the Linux DTS. Notes: svn path=/head/; revision=346095
* Adapt FreeBSD specific DT stub for Jetson TK1 board to be consistent withMichal Meloun2019-02-061-1/+1
| | | | | | | | | | | | update of devicetree to 4.19 in r340337. Our build system doesn't provide dependencies for included DTS files, so nobody noticed this issue for long time. PR: 235362 MFC after: 1 week Notes: svn path=/head/; revision=343828
* [rpi] Reorganize spigen(4) overlays for Raspberry PiOleksandr Tymoshenko2019-01-161-11/+2
| | | | | | | | | | | | | | | - Remove CS=2 entry from spigen-rpi2 since it didn't work - Add spigen-rpi3 overlay for Raspberry Pi 3 - Enable rpi overlay modules for GENERIC kernel on aarch64 PR: 233489 Submitted by: bobf@mrp3.com Reviewed by: db MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D16088 Notes: svn path=/head/; revision=343069
* Fix test-dts{,o} targetsKyle Evans2018-11-123-2/+5
| | | | | | | | | | | | | | | | | | | There were two main problems here: 1.) sys/dts/Makefile.inc is not included from various */overlays directories by default, only ../Makefile.inc 2.) When shelling out for DTS/DTSO, cwd != .CURDIR, so enumeration always failed These changes allow make test-dts and make test-dtso to function in their respective directories. Reviewed by: manu MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D17961 Notes: svn path=/head/; revision=340390
* Revert r339421 due to unintended files included to commit.Ruslan Bukin2018-10-181-4/+0
| | | | | | | | | Reported by: ian Approved by: re (gjb) Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=339422
* Support RISC-V implementations that do not manage the A and D bitsRuslan Bukin2018-10-181-0/+4
| | | | | | | | | | | | | | | | | | | (e.g. RocketChip, lowRISC and derivatives). RISC-V page table entries support A (accessed) and D (dirty) bits. The spec makes hardware support for these bits optional. Implementations that do not manage these bits in hardware raise page faults for accesses to a valid page without A set and writes to a writable page without D set. Check for these types of faults when handling a page fault and fixup the PTE without calling vm_fault if they occur. Reviewed by: jhb, markj Approved by: re (gjb) Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D17424 Notes: svn path=/head/; revision=339421
* Remove Atmel AT91RM9200 and AT91SAM9 support.Warner Losh2018-07-272-81/+0
| | | | | | | | | | | | | | The last known robust version of this code base was FreeBSD 8.2. There are no users of this on current, and all users of it have abandoned this platform or are in legacy mode with a prior version of FreeBSD. All known users on arm@ approved this removal, and there were no objections. Differential Revision: https://reviews.freebsd.org/D16312 Notes: svn path=/head/; revision=336770
* Add spi-max-frequency properties to all spigen nodes. This is a requiredIan Lepore2018-06-232-0/+4
| | | | | | | | | | property for spi devices, although in the spigen case it's expected that the speed will be overridden at runtime via the ioctl interface. A very conservative 500khz speed is used (I've never seen a spi device that couldn't run at 1mhz). Notes: svn path=/head/; revision=335592
* Add spigen(4) fdt data overlays for RPI-B, RPI-2.Ian Lepore2018-06-222-0/+66
| | | | | | | | | | | | By adding spigen-rpi{2,-b}.dtso to fdt_overlays= in loader.conf, the fdt data will set up the correct pinmux and device nodes to create a spigen(4) device for each available chipselect pin. Submitted by: Bob Frazier Differential Revision: https://reviews.freebsd.org/D15067 Notes: svn path=/head/; revision=335564
* arm: overlays: Update to new path-based sugar formatKyle Evans2018-05-042-19/+12
| | | | Notes: svn path=/head/; revision=333250
* Garbage collect the a83t emac overlaysKyle Evans2018-05-032-73/+0
| | | | | | | | | | | | The 4.16 DTS import brought in emac support for the a83t. Since these boards' DTS is pulled from /boot and I forgot to hook these up to the build, they should be fairly safe to go away. The a83t-sid and h3-sid overlays are still relevant. a83t-sid will likely come in with 4.18 DTS. Notes: svn path=/head/; revision=333225
* Update mv_gpio driver to new FreeBSD APIMarcin Wojtas2018-04-266-6/+6
| | | | | | | | | | | | | | | | | This patch implements and exports functions described in gpio_if.m file. It also uses new gpiobus_attach_bus function instead of adding gpioc and gpiobus as children. It removes ulgy reading SoC ID and related if..else, so it depends only on data read from FDT. Submitted by: Patryk Duda <pdk@semihalf.com> Reviewed by: manu Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14756 Notes: svn path=/head/; revision=333031
* Enable ARM PL330 DMA engine and Cadence Quad SPI flash controller onRuslan Bukin2018-04-231-0/+34
| | | | | | | | | | | Intel Arria 10 SoC boards. Tested on Intel Arria 10 SoC Development Kit. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=332887
* Remove deprecated DT sources of Armada 38x SoCsMarcin Wojtas2018-04-108-2368/+0
| | | | | | | | | | | | Now, as all platform code and drivers support Linux DT binding, safely remove deprecated sources and rely on sys/gnu/dts from now on. Obtained from: Semihalf Sponsored by: Stormshield Notes: svn path=/head/; revision=332362
* [rpi] Add fdt_pinctrl(4) support to Raspberry Pi GPIO driverOleksandr Tymoshenko2018-04-082-1/+26
| | | | | | | | | | | | | | | | | | On Raspberry Pi platform GPIO controller also responsible for pins multiplexing. Pi code predates proper FDT support in FreeBSD so a lot of pinmux info is hardcoded. This patch: - Implements pinctl methods in bcm2835_gpio - Converts all devices with ad-hoc pinmux info to proper pin control mechanisms and adds pinmux info in FreeBSD's custom dts files. - Adds fdt_pinctrl option to RPI2 and RPI-B kernels - Adds SPI pinmux config to FreeBSD's customization of GNU DTS. Reviewed by: imp, manu Differential Revision: https://reviews.freebsd.org/D14104 Notes: svn path=/head/; revision=332262
* Add a83t overlays for sid and emacKyle Evans2018-04-073-0/+90
| | | | | | | | | | | The sun8i-a83t-bananapi-m3-emac overlay technically doesn't match what will be coming from upstream. The tx-delay and rx-delay should be specified in terms of allwinner,tx-delay-ps and allwinner,rx-delay-ps respectively. The values are still technically correct for what we write in if_awg, and support for the new bindings will be coming soon. Notes: svn path=/head/; revision=332260
* Match Marvell Armada38X PCIE ranges in dts with LinuxMarcin Wojtas2018-04-042-14/+14
| | | | | | | | | | | | | If driver cannot determine ranges based on fdt, it will calculate them based on number and type of current port. Submitted by: Rafal Kozik <rk@semihalf.com> Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14752 Notes: svn path=/head/; revision=332019
* Change reg in Marvell Armada38X pcie FDTMarcin Wojtas2018-04-042-41/+28
| | | | | | | | | | | | | | | | | | Ranges in pcie-controller are unused, so could be changed to match Linux device tree represntation. Same with interrupt-cells and interrupt-parent. In PCI controller driver ocd_data are used for matching driver and choose proper resources acquisition function. fdt_win_process_child have new argument which provide information about fdt node containing addresses of MMIO registers. Submitted by: Rafal Kozik <rk@semihalf.com> Reviewed by: manu [DT part] Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14751 Notes: svn path=/head/; revision=332017
* Match Marvell Armada38X PCI compatible with LinuxMarcin Wojtas2018-04-042-7/+0
| | | | | | | | | | | | | | | | | | | | | In Linux FDT pcie does not have compatible string. Configuration of windows in mv_common was based on fdt compatible. Now pcie windows are configured by their parent: pcie_controller. Processing is moved to fdt_win_process_child. fdt_win_process now only walk through the tree. SOC_NODE_PCI is position of pcie function in soc_node_spec array. PCIe probe cannot use ofw_bus_search_compatible, because it needs to check also device type and parents compatible. Submitted by: Rafal Kozik <rk@semihalf.com> Reviewed by: manu [DT part] Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14749 Notes: svn path=/head/; revision=332015
* Make Marvell AmadaXP timer driver more genericMarcin Wojtas2018-04-031-1/+1
| | | | | | | | | | | | | | | | | Store pointers to SoC specific functions in mv_timer_config structure and determine proper config in runtime based on compatible string from FDT. Compatible string for ArmadaXP timers is changed to match Linux FDT. Armada 38x uses generic Cortex-A9 timer and separate watchdog drivers, so it does not need to be supported by timer driver. Submitted by: Rafal Kozik <rk@semihalf.com> Reviewed by: manu Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D14741 Notes: svn path=/head/; revision=331961
* Add dtb overlays supportEmmanuel Vadot2018-03-242-0/+25
| | | | | | | | | | | | | | | | | | | | | | DTB Overlays are useful to change/add nodes to a dtb without the need to modify it. Add support for building dtbo during buildkernel. The goal of DTBO present in the FreeBSD source tree is to fill a gap in time when we submit changes upstream (Linux). Instead of waiting 2 to 4 months we can add a DTBO in tree in the meantime. This is not for adding DTBO for capes/hat/addon boards, those will be better to put in a ports. This is also not for enabling a i2c/spi/pwm controller on certain pins, each user have a different use case for those (which pins to use etc ...) and we cannot have all possible configuration. Add a dtbo for sun8i-h3-sid which add the SID node missing in upstream dts. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D14782 Notes: svn path=/head/; revision=331499
* [rpi] remove IRQ support for BCM233x RNGOleksandr Tymoshenko2018-03-102-8/+0
| | | | | | | | | | | | | | | | | | Upstream DTBs don't provide IRQ lines for the RNG. Moreover, harvesting bytes as often as the RNG interrupt is triggered (87 times per sec) is an overkill. For these reasons, get rid of the interrupt mode and make callout mode the default, with random bits harvested every 4 seconds. Submitted by: Sylvain Garrigues <sylgar@gmail.com> Reviewed by: ian, imp, manu, mmel Approved by: emaste MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D14541 Notes: svn path=/head/; revision=330727