{"id":3221,"date":"2025-05-19T21:43:28","date_gmt":"2025-05-19T13:43:28","guid":{"rendered":"http:\/\/www.51cos.com\/?p=3221"},"modified":"2025-05-19T21:43:28","modified_gmt":"2025-05-19T13:43:28","slug":"openwrt%e4%b8%8b%e5%a6%82%e4%bd%95%e6%9f%a5%e7%9c%8b%e8%8a%af%e7%89%87%e5%90%84%e4%b8%aapin%e7%9a%84%e5%ae%9a%e4%b9%89%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/www.51cos.com\/?p=3221","title":{"rendered":"openwrt\u4e0b\u5982\u4f55\u67e5\u770b\u82af\u7247\u5404\u4e2apin\u7684\u5b9a\u4e49\uff1f"},"content":{"rendered":"<pre><code class=\"language-bash line-numbers\">\/sys\/kernel\/debug\/pinctrl\/pinctrl-mtmips-pinctrl# cat pinmux-pins\nPinmux settings per pin\nFormat: pin (name): mux_owner gpio_owner hog?\npin 0 (io0): pinctrl (GPIO UNCLAIMED) function i2s group i2s\npin 1 (io1): pinctrl (GPIO UNCLAIMED) function i2s group i2s\npin 2 (io2): pinctrl (GPIO UNCLAIMED) function i2s group i2s\npin 3 (io3): pinctrl (GPIO UNCLAIMED) function i2s group i2s\npin 4 (io4): 10000900.i2c (GPIO UNCLAIMED) function i2c group i2c\npin 5 (io5): 10000900.i2c (GPIO UNCLAIMED) function i2c group i2c\npin 6 (io6): 10000b00.spi (GPIO UNCLAIMED) function spi cs1 group spi cs1\npin 7 (io7): 10000b00.spi (GPIO UNCLAIMED) function spi group spi\npin 8 (io8): 10000b00.spi (GPIO UNCLAIMED) function spi group spi\npin 9 (io9): 10000b00.spi (GPIO UNCLAIMED) function spi group spi\npin 10 (io10): 10000b00.spi (GPIO UNCLAIMED) function spi group spi\npin 11 (io11): pinctrl (GPIO UNCLAIMED) function gpio group gpio\npin 12 (io12): 10000c00.uart0 (GPIO UNCLAIMED) function uart0 group uart0\npin 13 (io13): 10000c00.uart0 (GPIO UNCLAIMED) function uart0 group uart0\npin 14 (io14): pinctrl (GPIO UNCLAIMED) function gpio group spis\npin 15 (io15): pinctrl (GPIO UNCLAIMED) function gpio group spis\npin 16 (io16): pinctrl (GPIO UNCLAIMED) function gpio group spis\npin 17 (io17): pinctrl (GPIO UNCLAIMED) function gpio group spis\npin 18 (io18): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 19 (io19): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 20 (io20): 10000e00.uart2 (GPIO UNCLAIMED) function uart2 group uart2\npin 21 (io21): 10000e00.uart2 (GPIO UNCLAIMED) function uart2 group uart2\npin 22 (io22): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 23 (io23): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 24 (io24): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 25 (io25): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 26 (io26): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 27 (io27): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 28 (io28): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 29 (io29): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 30 (io30): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 31 (io31): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 32 (io32): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 33 (io33): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 34 (io34): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 35 (io35): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 36 (io36): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 37 (io37): pinctrl (GPIO UNCLAIMED) function refclk group refclk\npin 38 (io38): pinctrl (GPIO UNCLAIMED) function gpio group wdt\npin 39 (io39): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 40 (io40): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 41 (io41): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 42 (io42): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 43 (io43): (MUX UNCLAIMED) (GPIO UNCLAIMED)\npin 44 (io44): pinctrl (GPIO UNCLAIMED) function gpio group wled_an\npin 45 (io45): 10000d00.uart1 (GPIO UNCLAIMED) function uart1 group uart1\npin 46 (io46): 10000d00.uart1 (GPIO UNCLAIMED) function uart1 group uart1\npin 47 (io47): (MUX UNCLAIMED) (GPIO UNCLAIMED)\n\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\/sys\/kernel\/debug\/pinctrl\/pinctrl-mtmips-pinctrl# cat p [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-3221","post","type-post","status-publish","format-standard","hentry","category-embedded"],"_links":{"self":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/3221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3221"}],"version-history":[{"count":1,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/3221\/revisions"}],"predecessor-version":[{"id":3222,"href":"http:\/\/www.51cos.com\/index.php?rest_route=\/wp\/v2\/posts\/3221\/revisions\/3222"}],"wp:attachment":[{"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3221"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.51cos.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}