For enabling Raspberry Pi 7 inch touchscreen I configured device tree according to the binding. However, when I compile it it gives me syntax error and FATAL ERROR: Unable to parse input tree. I have read many pages of website about device tree but got no result. You can view my device tree and display's binding in the attachment. May you direct me to a correct way?
I applied what you have said me, I compiled the device tree succesfully. Then I connected the 15 pin ribbon cable of Raspberry pi to the 20 pin one of the Stm32mp157c-dk2. However, there is still nothing on the screen I do not know why. Even the backlight of the screen does not get activated. I checked the connection with multimeter everything seems correct in terms of physical connection. I activated the touchscreen in kernel config as well. I attached my stm32mp157c.dsi file in case you want to check it. I am so grateful for your help.