summaryrefslogtreecommitdiffstats
path: root/sys/boot/fdt/dts
Commit message (Collapse)AuthorAgeFilesLines
* Move the Allwinner kernels to use fdt_pinctrl. This will read the pinandrew2016-02-174-2/+42
| | | | | | | | | | | | | configuration from the FDT data, then set the pins into the requested state. As part of this the gpio controller now reports the correct number of pins instead of returning the number of bank * 32. To allow for a future consolidated kernel we add the SOC_ALLWINNER_A10 and SOC_ALLWINNER_A20 kernel options. These need to be set as appropriate for the SoC the kernel will boot on. Submitted by: Emmanuel Vadot <manu@bidouilliste.com> Differential Revision: https://reviews.freebsd.org/D5177
* Add an analog audio driver for the audio codec found on the Allwinnerandrew2016-02-161-0/+8
| | | | | | | | A10/A20 SoC. Based loosely on the submitters NetBSD driver, tested on Cubieboard 2. Playback and capture are supported. Submitted by: Jared McNeill <jmcneill@invisible.ca> Differential Revision: https://reviews.freebsd.org/D5202
* Temporary overwrite bad definition of elm interrupt property in Linuxskra2016-02-161-0/+4
| | | | | | | dts files. It may be removed once it will be fixed upstream. This is done just to supresses a warning during dtb evaluation as there is no elm driver in tree at present.
* Add support for the Allwinner DMA controller. This will be used by the atandrew2016-02-151-0/+7
| | | | | | | least the audio codec driver currently in review. Submitted by: Jared McNeill <jmcneill@invisible.ca> Differential Revision: https://reviews.freebsd.org/D5050
* o Move non-generic kernel configuration out from GENERIC.br2016-02-111-0/+92
| | | | | | | | | | o Add kernel configuration for QEMU. Both SPIKE and QEMU kernel configs are temporary (until we will be able to obtain DTB from loader). Sponsored by: DARPA, AFRL Sponsored by: HEIF5
* Update of the Allwinner drivers to:andrew2016-02-106-95/+136
| | | | | | | | | | | | | * Use the Linux compat string * Use EARLY_DRIVER_MODULE to attach at the right time * Add a generic A10 kernel config file * A20 now use generic_timer * Add two new dts files for Olimex boards * Update our custom DTS file for A10 and A20 to use the same compatible property names as the vendor ones. Submitted by: Emmanuel Vadot <manu@bidouilliste.com> Differential Revision: https://reviews.freebsd.org/D4792
* Welcome the RISC-V 64-bit kernel.br2016-01-291-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | This is the final step required allowing to compile and to run RISC-V kernel and userland from HEAD. RISC-V is a completely open ISA that is freely available to academia and industry. Thanks to all the people involved! Special thanks to Andrew Turner, David Chisnall, Ed Maste, Konstantin Belousov, John Baldwin and Arun Thomas for their help. Thanks to Robert Watson for organizing this project. This project sponsored by UK Higher Education Innovation Fund (HEIF5) and DARPA CTSRD project at the University of Cambridge Computer Laboratory. FreeBSD/RISC-V project home: https://wiki.freebsd.org/riscv Reviewed by: andrew, emaste, kib Relnotes: Yes Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D4982
* Change DTS entry of PCIe controller for Armada38xzbb2016-01-203-130/+23
| | | | | | | | | | | | | | | Invalid (in FreeBSD) definition of PCI controller was replaced with another one, working in FreeBSD environment. PCI controller's entry had to move from its parent node so as to be recognized properly by FBSD. PCI was enabled in kernel configuration file. Obtained from: Semihalf Sponsored by: Stormshield Submitted by: Bartosz Szczepanek <bsz@semihalf.com> Differential revision: https://reviews.freebsd.org/D4379
* Fix busy-detect when using DesignWare UARTzbb2016-01-204-20/+10
| | | | | | | | | | | | | uart_dev_ns8250 now relies on compatible property instead of additional 'busy-detect' cell. All drivers with compatible = "snps,dw-apb-uart" have busy detection turned on. DTS files of devices affected by the change were modified and 'busy-detect' property was removed. Reviewed by: andrew, ian, imp Obtained from: Semihalf Sponsored by: Stormshield Submitted by: Bartosz Szczepanek <bsz@semihalf.com> Differential revision: https://reviews.freebsd.org/D4218
* Add global mpcore timer node to Armada 38x DTSzbb2016-01-201-0/+9
| | | | | | | | | | | | Changes: - global mpcore timer dts node added - required by driver 'clock-frequency' property added Reviewed by: ian Obtained from: Semihalf Sponsored by: Stormshield Submitted by: Bartosz Szczepanek <bsz@semihalf.com> Differential revision: https://reviews.freebsd.org/D4213
* Correct ranges in Armada38x dtszbb2016-01-201-2/+1
| | | | | | | | | | | | Ranges property of 'soc' node used two-cell addresses which resulted in casting errors as simplebus resource allocation works with 32-bit u_long variables. FDT ranges were simplified. Reviewed by: imp Obtained from: Semihalf Sponsored by: Stormshield Submitted by: Michal Stanek <mst@semihalf.com> Differential revision: https://reviews.freebsd.org/D4212
* Introduce initial support for Marvell Armada38xzbb2016-01-205-0/+1429
| | | | | | | | | | | | | | | | | | This commit introduces initial support for Marvell Armada38x platform. Changes: - Add common DTS files for Armada38x SoCs and DTS file for A388-GP - Add ARMADA38X kernel configuration - Add option SOC_MV_ARMADA38X and set MV_PCI_PORTS - Add list of files to compile - Implement get_tclk(), get_sar_value(), cpu_reset() functions - Add CPU ID and SoC numbers - Correct ifdefs in arm/mv/timer.c Reviewed by: ian, imp Obtained from: Semihalf Sponsored by: Stormshield Submitted by: Michal Stanek <mst@semihalf.com> Differential revision: https://reviews.freebsd.org/D4210
* Add glue driver for Amlogic Meson Gigabit Ethernet Controllerganbold2015-12-031-1/+1
| | | | | and enable it for Odroid C1 board. Together with r291676 change, dwc(4) can receive packets now.
* Add support for the Zybo and similar boards to ZEDBOARD kernel.imp2015-11-131-0/+216
| | | | | | | | Zybo needs its own DTB and has a different PHY, so add it to the base kernel. Details on building bootable SD images at http://www.thomasskibo.com/zedbsd/ Submitted By: Thomas Skibo
* Raspberry Pi firmware passes cache line size as a DTB parametergonzo2015-11-034-2/+10
| | | | | | - Add cache-line-size paramter to vchiq node - Add cache_line_size DTB parameter referencing to .../vchiq/cache-line-size property
* Set the #address-cells and #size-cells for the I2C controllers in RPi2.loos2015-09-271-0/+4
| | | | This allows the use of I2C addresses in 'reg' property.
* Enable if_dwc for Allwinner A20 based boards.loos2015-09-211-0/+4
| | | | | | | This enables the gigabit ethernet on cubieboard2 and banana pi. A special thanks to Netgate who gently provided me with a banana pi almost a year ago.
* Enable both i2c1 and i2c2. These devices are disabled in TI's DTSgonzo2015-09-031-0/+30
| | | | | | so they were disabled during DTS transition. Though there are no standard devices/drivers on them people might use iic(4) userland interface to access these buses.
* Add the LED definitions from vendor's DTS.loos2015-08-303-1/+28
| | | | | | | Add gpioled support to A20 kernel. While here rename the gpio phandle to match the one used in the vendor's DTS.
* Reduce the difference to vendor DTS by using the vendor compat strings (atloos2015-08-301-1/+2
| | | | | some point we have to use the complete vendor DTS files, but we're not there yet).
* Add the Banana Pi DTS.loos2015-07-071-0/+79
| | | | | The Banana Pi support is in progress and this is intended to help the early adopters.
* Add the GMAC entries to sun7i (A20) DTS.loos2015-07-071-0/+14
| | | | While here make EMAC disabled unless explicitly enabled.
* o Add a description for virtio block device implementedbr2015-07-031-0/+12
| | | | | | | in PISM (Bluespec C-interface device) o Add a kernel config Sponsored by: HEIF5
* Add AHCI attachment code for Allwinner A10/A20 SoCs.loos2015-07-033-1/+7
| | | | | | | | | | | | | | | | | | | | | The Allwinner SoC has an AHCI device on its internal main bus rather than the PCI bus. This SoC is somewhat underdocumented, and its SATA controller is no exception. The methods to support this chip were harvested from the Linux Allwinner SDK, and then constants invented to describe what's going on based on low-level constants contained in the SATA standard and guess work. This SoC requires a specific AHCI channel setup in order to start the operations on the channel properly. Clock setup and AHCI channel setup idea came from NetBSD. Tested on Cubieboard 2 and Banana pi (and attachment on Cubieboard by Pratik Singhal). Differential Revision: https://reviews.freebsd.org/D737 Submitted by: imp Reviewed by: imp, ganbold, mav, andrew
* Add HDMI support to Beaglebone Black:gonzo2015-06-181-0/+22
| | | | | | | | | | - Add driver for TDA19988 HDMI framer - Add simple interface to communicate with HDMI sink: read EDID and set videomode - Add event-based API to notify LCD controller when HDMI sink is available - Add HDMI framer node and add refernce to it to lcdc node. This part of DTS tree is custom and does not match Linux DTS because Linux uses combination of pseudo-node in DTS and hardcoded driver information that does not map to our model.
* Remove the broken-txfifo setting for Allwinnner SoCs.loos2015-05-302-2/+0
| | | | | This fixes the eventual missing characters when you type too fast or paste some text on console.
* Add kernel config and dts files for an aml8726-m3ganbold2015-05-242-0/+314
| | | | | | | | | | | | | | | | | | | | | | | based device. Following u-boot commands allow FreeBSD boot on Yiyate Android TV Box (aml8726-m3): tv open 480p mmc rescan 0 fatload mmc 0 0x80100000 kernel.bin go 0x80100000 The current FreeBSD driver doesn't program the video clocks so the u-boot tv command is necessary in order for the frame buffer to be useful (otherwise it can be skipped). The SD card for the Yiyate Android TV Box doesn't need anything special beyond creating a FAT16 and a UFS filesystem. Differential Revision: https://reviews.freebsd.org/D2636 Submitted by: John Wehle
* Enable leds for VSATV102 in dts.ganbold2015-05-241-0/+11
| | | | | Differential Revision: https://reviews.freebsd.org/D2614 Submitted by: John Wehle
* Switch TI platform support code from using FreeBSD's custom-baked DTSgonzo2015-05-228-939/+136
| | | | | | | | | | | | | | | | | | | | | | | files to vendor-provided ones. It should make easier to adopt platform code to new revisions of hardware and to use DTS overlays for various Beaglebone extensions (shields/capes). Original dts filenames were not changed, they're now wrappers over dts files provided by TI. So make sure you update .dtb files on your devices as part of kernel update GPIO addressing was changed: instead of one global /dev/gpioc0 there are per-bank instances of /dev/gpiocX. Each bank has 32 pins so for instance pin 121 on /dev/gpioc0 in old addressing scheme is now pin 25 on /dev/gpioc3 On Pandaboard serial console devices was changed from /dev/ttyu0 to /dev/ttyu2 so you'll have to update /etc/ttys to get login prompt on serial port in multiuser mode. Single user mode serial console should work as-is Differential Revision: https://reviews.freebsd.org/D2146 Reviewed by: rpaulo, ian, Michal Meloun, Svatopluk Kraus
* Add the MMC/SD driver for Allwinner SoCs.loos2015-05-214-0/+24
| | | | | | | | | | | | | | | | | | | | | | This is based on the patch sent by Alexander Fedorov with the following fixes/improvements: - Better error handling; - Clock is derived from PLL6 (obtained from netbsd); - No more unnecessary busy loops on interrupt handler; - style(9) fixes and code cleanup. I also want to thanks Martin Galvan who has sent an alternative implementation with some interesting fixes. Tested on CubieBoard2, Banana-Pi (thanks to netgate!) and Cubieboard1 (Pratik Singhal). This is intended to pave the way for the upcoming GSoC work (and make easier the build of images for the supported boards). PR: 196081 Submitted by: Alexander Fedorov <alexander.fedorov@rtlservice.com>
* The RTC initialization values are based on the SoC which can beganbold2015-05-212-8/+0
| | | | | | | | | | determined at runtime so there's no need to set the values in each DTS. Tested on YYHD18 (aml8726-m3), VSATV102 (aml8726-m6), and ODROIDC1 (aml8726-m8b). Differential Revision: https://reviews.freebsd.org/D2588 Submitted by: John Wehle
* Introduce support for the Alpine PoC from Annapurna Labszbb2015-05-151-0/+244
| | | | | | | | | | | | | | | | | | | The Alpine Platform-On-Chip offers multicore processing (quad ARM Cortex-A15), 1/10Gb Ethernet, SATA 3, PCI-E 3, DMA engines, Virtualization, Advanced Power Management and other. This code drop involves basic platform support including: SMP, IRQs, SerDes, SATA. As of now it is missing the PCIe support. Part of the functionality is provided by the low-level code (HAL) delivered by the chip vendor (Annapurna Labs) and is a subject to change in the future (is planned to be moved to sys/contrib directory). The review log for this commit is available here: https://reviews.freebsd.org/D2340 Reviewed by: andrew, ian, imp Obtained from: Semihalf Sponsored by: Annapurna Labs
* Add support for the power button on BeagleBone Black.loos2015-05-131-0/+2
| | | | | | | Shutdown and turn off the board when the power button is pressed. Submitted by: Michal Meloun <meloun@miracle.cz> Relnotes: yes
* The interrupt-parent is set globally so it's unnecessary to also set it at ↵ganbold2015-05-082-13/+0
| | | | | | | each node. Differential Revision: https://reviews.freebsd.org/D2471 Submitted by: John Wehle
* Add the SMP support for Raspberry Pi 2 (BCM2836).loos2015-05-071-0/+18
| | | | | | Tested with the build of some ports and a buildworld. Submitted by: Daisuke Aoyama <aoyama@peach.ne.jp>
* Fix the gpio-leds node to match the LEDs on RPI2.loos2015-04-232-15/+11
| | | | | | | | The 'pwr' LED is connected to GPIO pin 35 (active high) and the 'act' LED is connected to GPIO pin 47 (active high). Remove the GPIO pin 47 from reserved pins list, previously it was used to signaling the SD Card presence and now it is used by act LED.
* Enable the watchdog on RPI2.loos2015-04-231-0/+6
| | | | | | The watchdog is used to reset the SoC on cpu_reset(). Without this, RPI2 will not reboot when asked to.
* Fix the SDHCI clock frequency for RPI2, the default clock (for the newerloos2015-04-221-1/+1
| | | | firmware versions) is 250MHz.
* This modifies the FreeBSD Amlogic DTS files to use the GNU filesganbold2015-04-112-365/+171
| | | | | | | as the base. Submitted by: John Wehle Reviewed by: imp
* The GNU files don't include a DTS for the aml8726-m8b (which hasganbold2015-04-111-0/+79
| | | | | | | cortex-a5 cores unlike the aml8726-m8 which has cortex-a9 cores). Submitted by: John Wehle Reviewed by: imp
* Add device tree files for Hardkernel Odroid-C1 and Visson ATV-102 devices.ganbold2015-03-312-0/+909
| | | | | Submitted by: John Wehle Approved by: stas (mentor)
* Add the Raspberry Pi 2 dtb, based on the existing rpi.dts, but with aandrew2015-03-252-0/+857
| | | | | | different base address for the devces. MFC after: 1 week
* Move PCI bus below simplebus for Broadcom XLPjchandra2015-02-271-0/+4
| | | | | This will enable us to do common allocation code for memory and interrupts for SoC devices as well as PCI devices.
* Remove run-time allocation of XLP IRQsjchandra2015-02-261-1/+1
| | | | | Follow the same static IRQ to Interrupt Table Entry mapping as the other OS supported on XLP.
* Add netlogic,xlp-pic as interrupt controller for XLPjchandra2015-02-261-0/+9
| | | | | Add an empty driver for netlogic,xlp-pic to ensure that the device tree is correct and has an interrupt controller.
* Set the #address-cells and #size-cells properties on I2C controllers ofloos2015-02-171-0/+4
| | | | | | | | | Raspberry-pi. This fixes the issues of dtc(1) while compiling I2C addresses set in "reg" property. MFC after: 2 weeks
* Add a generic way for hooking PMC interrupt.br2015-01-261-0/+5
|
* Add support for audio transmitting, include drivers for:br2015-01-242-4/+24
| | | | | | | | | | o Digital Audio Multiplexer (AUDMUX) o Smart Direct Memory Access Controller (SDMA) o Synchronous Serial Interface (SSI) Disable by default as it depends on SDMA firmware. Sponsored by: Machdep, Inc.
* Enable Synopsys DesignWare Mobile Storage Host Controllerganbold2015-01-203-4/+16
| | | | | | | | driver on Rockchip boards. It currently supports PIO mode and dma mode needs external dma controller to be used. Submitted by: jmcneill Approved by: stas (mentor)
* Fix the PMIC node name to match the PMIC i2c address.loos2015-01-151-2/+1
| | | | | | | | Remove an extra blank line. No functional changes. MFC after: 3 days
OpenPOWER on IntegriCloud