实时查看Linux IO 复用情况

  1. 查找 pinmux-pins
  2. cat pinmux-pins
rk3288:/ # busybox find /d/pinctrl -name pinmux-pins
/d/pinctrl/pinctrl/pinmux-pins
rk3288:/ # cat /d/pinctrl/pinctrl/pinmux-pins
Pinmux settings per pin
Format: pin (name): mux_owner gpio_owner hog?
pin 0 (gpio0-0): 0-001b (GPIO UNCLAIMED) function sleep group global-pwroff
pin 1 (gpio0-1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 2 (gpio0-2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 3 (gpio0-3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 4 (gpio0-4): 0-001b (GPIO UNCLAIMED) function pmic group pmic-int
pin 5 (gpio0-5): (MUX UNCLAIMED) gpio0:5
pin 6 (gpio0-6): vcc-phy-regulator gpio0:6 function eth_phy group eth-phy-pwr
pin 7 (gpio0-7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 8 (gpio0-8): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 9 (gpio0-9): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 10 (gpio0-10): ff280000.tsadc (GPIO UNCLAIMED) function tsadc group otp-gpio
pin 11 (gpio0-11): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 12 (gpio0-12): (MUX UNCLAIMED) gpio0:12
pin 13 (gpio0-13): (MUX UNCLAIMED) (GPIO UNCLAIMED)

    原文作者:爱因私谈
    原文地址: https://www.jianshu.com/p/35cbbb358964
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞