This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X device tree AM33XX_IOPAD 第一个参数什么意思?



AM33XX_IOPAD(0X810,PIN_OUTPUT_PULLOWN | MUX_MODE7)  /*gpmc_ad4.gpio1_4 */

0X810 是如何得出的?

谢谢!

  • 这些是pinmux寄存器的offset地址,这些offset地址+Control Module base address可以得到实际的寄存器地址,请看TRM 。

    9.3.1 CONTROL_MODULE Registers
    http://www.ti.com/lit/ug/spruh73p/spruh73p.pdf