* initial ptv config
* Latest Updates:
* Move Charger Driver over to TI BQ25890 driver from mainline (and backport from 6.5 release)
* Fix up BQ25890 to work with the SC89890H which is in the PtV
* Drop vendor es8316 patches and backport es8316 patches from 6.5
* Update DT file for
- New Charger Driver, with battery and charger profiles derived from PT2
- Fix rfkill for BT/Wifi (was using incorrect GPIO and radio-type
- change hall sensors to emit SW_LID event
- add simple-battery profile from PT2 (needs a audit of used params tho)
- Fix Camera Flash Entry
- Fix backlight off by setting PullDown Mode on Backlight GPIO
- Start work on es8316 dt entry.
- add speaker_amp entry to turn on/off speakers when not used
- add audio routing and widgets based on PineBook Pro
* Update PtV kernel and new image layout specifically for PtV
Several issues with the current visionfive 2 support:
* JH7110 Support is only in OpenSBI Master branch, (upcoming 1.3 release). So pin OpenSBI Revision to the commit that adds JH7110 Support otherwise reset etc does not work
* There are two variants of VisionFive2 and Star64 - 4Gb and 8Gb. StarFive's u-boot reads the eeprom on board to determine what variant you have, and modifies the loaded FDT it passes to the kernel with the correct Memory. Current U-boot scripts in meta-riscv do not do this, and thus all boards end up with the default 4Gb configuration. I've updated this for Star64, but needs testing on VF2
* Some of the addresses used in uboot for kernel/initramfs or fdt were different from upstream. Aligned the addresses with upstream StarFive.
As both Star64 and VisionFive2 are based on the same SOC, i've changed the machine configuration so we have a JH7110 SOC and VisionFive2 and Star64 inherit from this. Where appropriate in the recipies, I've changed to jh7110 instead of visionfive2
Finally, as the Star64 has different kernel/u-boot configs/dts files, i've pointed those at my repos for now, and will be upstreaming (assuming Starfive accept star64 related PRs). Once upstreamed, I'll submit a new PR here.
This also lays the groundwork for the new PineTab-V from pine64 which is due to be shipped in May.
Signed-Off-By: Justin Hammond <justin@dynam.ac>
Align uEnv.txt with the Starfive SDK to boot from SD card.
uEnv sets required variables to read the fitImage from the
partition 3 on the SD card and rootfs is expected on the
partition 4.
Signed-off-by: Alexey Firago <alexey.firago@gmail.com>
Add recipe for a jh7110 signature tool, which is used to generate
SPL header information and generate u-boot-spl.bin.normal.out.
Signed-off-by: Alexey Firago <alexey.firago@gmail.com>
1.22 is in OE-core as well and make it like other machines e.g. rpi
where it gets a bbappend to do machine specifics
Signed-off-by: Khem Raj <raj.khem@gmail.com>