clk: Move allwinner driver into the common directoryNo need to keep it under sys/arm/allwinner/clkngIt's easier to find which controller we support by looking under one directory.It will also be
clk: Move allwinner driver into the common directoryNo need to keep it under sys/arm/allwinner/clkngIt's easier to find which controller we support by looking under one directory.It will also be shared with Allwinner RiscV SoC.Sponsored by: Beckhoff Automation GmbH & Co. KGDifferential Revision: https://reviews.freebsd.org/D43188
show more ...
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remov
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/Sponsored by: Netflix
sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
arm: allwinner: Fix padconf for interrupts informationAdd a eint_bank member to the allwinner_pins structure.On Allwinner SoCs not all pins can do interrupt.Older SoC (A10/A13 and A20) there is a
arm: allwinner: Fix padconf for interrupts informationAdd a eint_bank member to the allwinner_pins structure.On Allwinner SoCs not all pins can do interrupt.Older SoC (A10/A13 and A20) there is a maximum number of interruptsset to 32 and all the configuration is done in the same registers.While on "newer" SoCs (>=A31) interrupts registers are splitted perpin bank (i.e. all interrupts available in bank B will be configuredwith a sets of registers and the one in bank G in another set).While here set the names to all interrupts function topX_eintY where X is the bank name and Y the interrupt number.To whom ever in the future look at the H5 manual and notice that the bank Fhave interrupts support : This isn't true, trust me.MFC after: 1 month
Remove "all rights reserved" from copyright for the file that Jared McNeillown. He gave me permission to do this.
allwinner/a83t_padconf: Rename "emac" function to "gmac" as per upstream DTSAlthough these should have been 'emac', upstream DTS is going with using'gmac' as the function name for the emac RGMII p
allwinner/a83t_padconf: Rename "emac" function to "gmac" as per upstream DTSAlthough these should have been 'emac', upstream DTS is going with using'gmac' as the function name for the emac RGMII pins. Rename here toaccommodate.emac support for the a83t should come in with the 4.16 DTS update, inanother couple of months.
Add r-ccu support for the Allwinner a83tThe r-ccu on the a83t differs from the others only by what it names thear100 parents. Export the _CCU macros (now converted to an enu) so thatccu_sun8i_r c
Add r-ccu support for the Allwinner a83tThe r-ccu on the a83t differs from the others only by what it names thear100 parents. Export the _CCU macros (now converted to an enu) so thatccu_sun8i_r can differentiate between a83t r-ccu and the others, then addthe compat string for the a83t r-ccu.Reviewed by: manuApproved by: emaste (mentor, implicit)Differential Revision: https://reviews.freebsd.org/D13206
Allwinner a83t: add ccung bitsUpstream DTS has switched to using CCU rather than /clocks nodes. Add a CCUdriver for the a83t to bring us closer to upstream, but don't yet attach itto ccu node.R
Allwinner a83t: add ccung bitsUpstream DTS has switched to using CCU rather than /clocks nodes. Add a CCUdriver for the a83t to bring us closer to upstream, but don't yet attach itto ccu node.Reviewed by: manuApproved by: emaste (mentor)Differential Revision: https://reviews.freebsd.org/D12843
Remove the old Allwinner std.* files, these are not part of the commonAllwinner kernel configs.Sponsored by: ABT Systems Ltd
Add support for the Allwinner A83T (sun8iw6p1) SoC.Clocks, GPIO, UART, SD card / eMMC, USB, watchdog, and ethernet aresupported. Note that the A83T contains two clusters of four Cortex-A7CPUs, an
Add support for the Allwinner A83T (sun8iw6p1) SoC.Clocks, GPIO, UART, SD card / eMMC, USB, watchdog, and ethernet aresupported. Note that the A83T contains two clusters of four Cortex-A7CPUs, and only CPUs in first cluster are started for now.Tested on a Sinovoip Banana Pi BPI-M3.