AnsweredAssumed Answered

imx6ul datasheet中寄存器值的读取问题

Question asked by luo yaojun on May 25, 2018
Latest reply on May 28, 2018 by luo yaojun

我想读取dts中定义的某个引脚的寄存器值,确认下其设定成功,步骤如下:

1、dts中定义了 MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1  0x4001b0a8

2、查看datasheet找到最后一个0x4001b0a8的寄存器地址为Address: 20E_0000h base + 368h offset = 20E_0368h

3、内核中使用readl(ioremap(0x020e0368, 0x1000))并不能打印出0x4001b0a8的值?结果是0x10b0?读取方式有问题?

Outcomes