Forum Discussion

XChoo's avatar
XChoo
Icon for New Contributor rankNew Contributor
6 years ago
Solved

Device tree and HPS access

Hello support.

I need to know if the device tree attribute disabled or ok affecting HPS access to FPGA peripherals .

  • Hello,

    The "Disable" and "OK" attributes in the device tree will disable or enable the driver of this peripheral. However, ARM can access the registers of these peripherals. You can use direct access via virtual memory to do this task.

    Please let me know if you need further help.

    Thank you

2 Replies

  • FawazJ_Altera's avatar
    FawazJ_Altera
    Icon for Frequent Contributor rankFrequent Contributor

    Hello,

    The "Disable" and "OK" attributes in the device tree will disable or enable the driver of this peripheral. However, ARM can access the registers of these peripherals. You can use direct access via virtual memory to do this task.

    Please let me know if you need further help.

    Thank you

  • XChoo's avatar
    XChoo
    Icon for New Contributor rankNew Contributor

    Thank you Fjumaah,

    Your description was clear and help me to undestand the driver relation with disable or OK.