def7999c | 08-Oct-2024 |
Mitchell Horne <mhorne@FreeBSD.org> |
riscv: enable cpufreq_dt driver
Implement the small amount of MD code required; copied from arm/arm64.
One tweak is made to cpufreq_dt itself: if the opp-shared property is missing, but there is on
riscv: enable cpufreq_dt driver
Implement the small amount of MD code required; copied from arm/arm64.
One tweak is made to cpufreq_dt itself: if the opp-shared property is missing, but there is only one CPU, then we can still attach. This is relevant for the single-core Allwinner D1.
Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48124
show more ...
|
71924545 | 10-Dec-2024 |
Julien Cassette <julien.cassette@gmail.com> |
aw_gpio: support Allwinner D1 GPIO
The GPIO controls the multiplexing of the D1 pins to its peripherals, so this adds the definitions needed by the aw_gpio driver to support the D1.
Also, this modi
aw_gpio: support Allwinner D1 GPIO
The GPIO controls the multiplexing of the D1 pins to its peripherals, so this adds the definitions needed by the aw_gpio driver to support the D1.
Also, this modifies the aw_gpio driver to support the differences of the D1 controller:
- pins can have up to 15 functions - each port is mapped with an alignment of 0x30 - CFG registers have 4 bits per pin - DRV registers have 4 bits per pin - the offset of PULL registers is 0x24
Signed-off-by: Julien Cassette <julien.cassette@gmail.com> Reviewed by: mhorne Differential Revision: https://reviews.freebsd.org/D35593
show more ...
|
c5c02a13 | 16-Nov-2024 |
Julien Cassette <julien.cassette@gmail.com> |
riscv: Allwinner D1 clock and reset driver
Add the SOC_ALLWINNER_D1 config option, following other platforms.
Co-authored-by: mhorne Reviewed by: manu (previous version) Sponsored by: The FreeBSD F
riscv: Allwinner D1 clock and reset driver
Add the SOC_ALLWINNER_D1 config option, following other platforms.
Co-authored-by: mhorne Reviewed by: manu (previous version) Sponsored by: The FreeBSD Foundation (in part) Differential Revision: https://reviews.freebsd.org/D47515
show more ...
|
4a763910 | 05-Dec-2023 |
Mitchell Horne <mhorne@FreeBSD.org> |
riscv: add some more drivers to GENERIC
Enable phy and regulator extres devices. These aren't needed for existing SoC support, but are of general utility to FDT platforms and enable out-of-tree work
riscv: add some more drivers to GENERIC
Enable phy and regulator extres devices. These aren't needed for existing SoC support, but are of general utility to FDT platforms and enable out-of-tree work.
Similarly, enable sdhci and mmc.
Reviewed by: jrtc27 MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D42913
show more ...
|
e0833133 | 05-Dec-2023 |
Mitchell Horne <mhorne@FreeBSD.org> |
riscv: remove commented lines from GENERIC
These are relics of development, when static compilation of certain functionality/parameters was necessary. Today we have full module and loader(8) support
riscv: remove commented lines from GENERIC
These are relics of development, when static compilation of certain functionality/parameters was necessary. Today we have full module and loader(8) support.
Reviewed by: jrtc27 MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D42912
show more ...
|