Since I am using Armbian kernel V5, it is using Device Trees for GPIO config rather than .FEX files. The build for this board appears to be setting up uart2 with the following overlay file. This is not working and I suspect this overly needs to change. Anyone know what changes are needed? Maybe the address is incorrect?
/dts-v1/;
/ {
compatible = "allwinner,sun8i-r40";
fragment@0 {
target-path = "/aliases";
__overlay__ {
serial2 = "/soc/serial@1c28800";
};
};
fragment@1 {
target = < 0xffffffff >;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = < 0xffffffff >;
status = "okay";
};
};
__fixups__ {
uart2 = "/fragment@1:target:0";
uart2_pi_pins = "/fragment@1/__overlay__:pinctrl-0:0";
};
};