Home Device Tree GPIO Pin Multipexing Value Calculation
Reply: 0

Device Tree GPIO Pin Multipexing Value Calculation

user563 Published in April 26, 2018, 5:48 am

I am using a custom i.MX6 Board and I am configuring pin multiplexing in device tree.

Can anyone tell me how this value is calculated

MX6QDL_PAD_GPIO_0__CCM_CLKO1    0x130b0

Same GPIO is configured in different ways in different dtsi

MX6QDL_PAD_SD1_DAT2__GPIO1_IO19          0x80000000
MX6QDL_PAD_SD1_DAT2__GPIO1_IO19         0x030b0

What I know is that we configuring the PAD SDA1_DAT2 to GPIO1_IO19 mode.. But why is the value different..

Thanks for your time

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.305935 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO