device\rockchip\common\BoardConfig.mk

-- TARGET_RECOVERY_DEFAULT_ROTATION ?= ROTATION_LEFT
++ TARGET_RECOVERY_DEFAULT_ROTATION ?= ROTATION_RIGHT

device\rockchip\rk3326\device-common.mk

--                ro.sf.hwrotation=270 \
++ ro.sf.hwrotation=90 \

external\rk-pcba-test\Android.mk

-- ROTATE_SCREEN := 270
++ ROTATE_SCREEN := 90

kernel/arch/arm64/boot/dts/rockchip/rk3326-evb-ai-va-v11.dts

screen_max_x = <1280>;
screen_max_y = <800>;
revert_x = <1>;
- revert_y = <0>;
+ revert_y = <1>;
revert_xy = <1>;
chip_id = <1>;
gsl_name = "M863_GSL1680";