Skip to main content
Visitor II
October 8, 2019
Question

Compiling device tree results in syntax error and FATAL ERROR: Unable to parse input tree.

  • October 8, 2019
  • 1 reply
  • 2304 views

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?

Halil

    This topic has been closed for replies.

    1 reply

    Visitor II
    October 11, 2019

    Hi arslanhalil331.567665195518651E12 (as),

    I managed to parse the device tree and compile it by putting the example given by the raspberry touchscreen documentation (the one that you've given) into the soc part of the file stm32mp157c.dtsi as described in the wiki https://wiki.st.com/stm32mpu/wiki/DSI_device_tree_configuration and https://wiki.st.com/stm32mpu/wiki/I2C_device_tree_configuration.

    BR,

    Calvin

    HArslAuthor
    Visitor II
    October 12, 2019

    Hi calvin.ageneau1.569917709859113E12 ,

    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.

    Best regards,

    Halil