Khadas Edge-V - io-domain patch for 4.4 kernel

Hi

Need some help with io-domain settings for kernel for Khadas Edge-V, kernel 4.4

Please read
9.1.2.2 U-BOOT 配置 IO-DOMAIN configuration
https://mega.nz/file/IVUC3YSZ#8q5u8rrk0ITLTxjJsKRdYr55_wybCcaOgiUlpzoPCyU

The second grey block is the kernel patch.
Please check what pin values are required for Khadas Edge-V so I can add patch to my linux kernel so it can boot. I already have the u-boot patch added.

@goenjoy @Terry

@goenjoy Please follow up this.

Basically, only the khadas dtsi file need additional
3 lines of ‘uboot set’

Here

I think for Edge it must be the same as the other devices’ patch perhaps
uboot-set = <(RK3399_BT656_VDD_1V8 | RK3399_AUDIO_VDD_1V8 |
RK3399_GPIO1833_VDD_3V3)>;

and here

I think for Edge it must be the same as the other devices’ patch perhaps
uboot-set = <RK3399_PMU1830_VDD_1V8>;

then need to add the whole patch to


and also add the u-boot patch they mention in the doc, which is already part of u-boot-dev after March 2020 on rockchip-linux github.

I just want to make sure since using the incorrect voltages can damage the board they say.
LibreELEC with 4.4 kernel and Android with kernel/uboot after March 2020 now has these 2 commits for u-boot and kernel and if not set in the kernel dtsi file, firmware images don’t boot anymore.