For a while now I am trying to configure some GPIO's on the T1040 platform through a DTS file. I have learned recently, that pinmuxing is done in the RCW file, instead of the DTS file, which makes things a little easier to understand now. Still, I think there is some misconception in the GPIO modules numbering. In the datasheet, one can find this table:
While when one looks in the Linux kernel sources, one can find GPIO's numbered not from 1 to 4, but from 0 to 3...
So in the dts file, If I intend to address this physical pin:
Do I refer to GPIO2?
I would appreciate all help.