Forum Discussion
tehjingy_Altera
Regular Contributor
1 year agoHi
Yeah Sure.
There are plenty of how to in editing the device tree online.
For the interrupt cell below are the explaination on the entery:
- The 1st cell is the interrupt type: 0 for SPI interrupts, 1 for PPI interrupts.
- The 2nd cell contains the interrupt number for the interrupt type.
SPI interrupts are in the range [0-987], PPI interrupts are in the range [0-15]
- The 3rd cell is the flags, encoded as follows:
- bits[3:0] trigger type and level flags.
- 1 = low-to-high edge triggered
- 2 = high-to-low edge triggered
- 4 = active high level-sensitive
- 8 = active low level-sensitive
- bits[15:8] PPI interrupt cpu mask.
Regards
Jingyang, Teh
jakobjung10
New Contributor
1 year agoHi @JingyangTeh_Altera ,
I am aware of the explanations for the different entries.
My temporary solution was to manually edit the device-tree-file.
However, you mentioned that the sopc2dts-converter is outdated.
So what is the modern way of automatically generating a .dtso-file? (you mentioned GSRD-package...)
BR,
Jakob