#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
300777 |
|
26-May-2016 |
manu |
Add support for interrupts, sensors and GPIO for AXP209 PMIC. Pressing the PEK (power enable key) will shutdown the board. Some events are reported to devd via system "PMU" and subsystem "Battery", "AC" and "USB" such as connected/disconnected. Some sensors values (power source voltage/current) are reported via sysctl (dev.axp209_pmu.X.) It also expose a gpioc node usable in kernel and userland. Only 3 of the 4 GPIO are exposed (The GPIO3 is different and mostly unused on boards). Most popular boards uses GPIO1 as a sense pin for OTG power. Add a dtsi file that adds gpio-controller capability to the device as upstream doesn't defined it and include it in our custom DTS.
Reviewed by: jmcneill Approved by: cognet (mentor) Differential Revision: https://reviews.freebsd.org/D6135
|
#
297627 |
|
06-Apr-2016 |
jmcneill |
Convert Allwinner port to extres clk/hwreset/regulator APIs.
Reviewed by: andrew, gonzo, Emmanuel Vadot <manu@bidouilliste.com> Approved by: gonzo (mentor) Differential Revision: https://reviews.freebsd.org/D5752
|
#
295711 |
|
17-Feb-2016 |
andrew |
Move the Allwinner kernels to use fdt_pinctrl. This will read the pin 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
|
#
285090 |
|
03-Jul-2015 |
loos |
Add AHCI attachment code for Allwinner A10/A20 SoCs.
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
|
#
283253 |
|
21-May-2015 |
loos |
Add the MMC/SD driver for Allwinner SoCs.
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>
|
#
265038 |
|
28-Apr-2014 |
ganbold |
Move common device tree informations to separate dtsi files for A10 and A20 SoC. Change cubieboard1 and cubieboard2 dts files accordingly.
Approved by: stas (mentor)
|
#
263711 |
|
25-Mar-2014 |
ganbold |
Switch to my freebsd.org emal address in copyright.
Approved by: stas (mentor)
|
#
262711 |
|
03-Mar-2014 |
ganbold |
Add EMAC and SRAM controller entries to FDT. Add EMAC device to kernel config files and enable EMAC, SRAM drivers for build.
Approved by: stas (mentor)
|
#
262614 |
|
28-Feb-2014 |
imp |
Integrate device-tree upstream files into the build process: (1) Invoke cpp to bring in files via #include (although the old /include/ stuff is supported still). (2) bring in files from either vendor tree or freebsd-custom files when building. (3) move all dts* files from sys/boot/fdt/dts to sys/boot/fdt/dts/${MACHINE} as appropriate. (4) encode all the magic to do the build in sys/tools/fdt/make_dtb.sh so that the different places in the tree use the exact same logic. (5) switch back to gpl dtc by default. the bsdl one in the tree has significant issues not easily addressed by those unfamiliar with the code.
|
#
260447 |
|
08-Jan-2014 |
ganbold |
Update dts files of Cubieboard1,2 to use 1GB memory. Whilst there, fix cpu config register address for Cubieboard2.
Approved by: stas (mentor)
|
#
247520 |
|
01-Mar-2013 |
ganbold |
Enable uart driver for A10.
Approved by: gonzo@
|
#
246851 |
|
15-Feb-2013 |
gonzo |
Enable USB1 (which is EHCI0) for Allwinner A10
Tested by: ganbold@
|
#
246660 |
|
11-Feb-2013 |
gonzo |
Add watchdog driver for Allwinner A10
|
#
246342 |
|
05-Feb-2013 |
ganbold |
Add gpio driver and update dts and kernel config accordingly.
Approved by: gonzo@
|
#
246057 |
|
29-Jan-2013 |
ganbold |
Add simple clock driver and ehci glue code for a10 Update dts and kernel config
Approved by: gonzo@
|
#
245900 |
|
25-Jan-2013 |
ganbold |
Fix method of naming compatible string to follow "<manufacturer>,<model>" as described in http://www.devicetree.org/Device_Tree_Usage
Reviewed by: andrew@ Approved by: gonzo@
|
#
245450 |
|
15-Jan-2013 |
ganbold |
Initial support for Allwinner A10 SoC (Cubieboard) Add simple console driver Add interrupt handling and timer codes Add kernel config file Add dts file Approved by: gonzo
|