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 pad register offset info

In the absence of PINMUX utility, how can I find the offset for a pad address for the pad/

The base address is 0x44e10800. The TRM in section 9, Table 9-10 has many conf_xxxx_xxxx address locations, but they do not correspond to a specific pad location. 

Now if I read the AM335X datasheet with AM3358ZCZ, I have the pad and it's mode information, but I do not have the corresponding address offset of software register for that pad information to be able to configure the pad. 

With the PinMux utility the offsets can be obtained, how can the same be found without pinmux.

  • The padconf registers in the TRM are named after the pin function in Mode 0. For example, register conf_gpmc_a0 corresponds to pad GPMC_A0, ball R13. The register is at offset 0x840, which you add to the Control Module base address 0x44E1_0000, so register address will be 0x44E1_0840. You get the padconf register offsets from TRM Table 9-10, Control Module base address from TRM Table 2-2, and pin names and balls from AM335x Datasheet Table 4-1.