Datasheet

13.3inch HDMI LCD (H)
sudo nano /etc/X11/xorg.conf.d/40-libinput.conf
5. save and reboot your Pi
sudo reboot
After completing these steps. The LCD could rotate 90 degree both display and touch.
Note
90 degree: Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
180 degree: Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1"
270 degree: Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"