<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.radxa.com/mw/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.radxa.com/mw/index.php?action=history&amp;feed=atom&amp;title=Rock3%2FCM%2FCM3I%2FE25%2FGPIO</id>
		<title>Rock3/CM/CM3I/E25/GPIO - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.radxa.com/mw/index.php?action=history&amp;feed=atom&amp;title=Rock3%2FCM%2FCM3I%2FE25%2FGPIO"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rock3/CM/CM3I/E25/GPIO&amp;action=history"/>
		<updated>2026-06-14T18:01:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Rock3/CM/CM3I/E25/GPIO&amp;diff=9002&amp;oldid=prev</id>
		<title>Hipboi: /* Radxa E25 V1.4 has a 24-pin expansion header. */</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rock3/CM/CM3I/E25/GPIO&amp;diff=9002&amp;oldid=prev"/>
				<updated>2022-11-18T08:16:21Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Radxa E25 V1.4 has a 24-pin expansion header.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:16, 18 November 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 91:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 91:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Radxa E25 V1.4 has a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;24&lt;/del&gt;-pin expansion header. ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Radxa E25 V1.4 has a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;26&lt;/ins&gt;-pin expansion header. ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; vertical-align:middle;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; vertical-align:middle;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hipboi</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Rock3/CM/CM3I/E25/GPIO&amp;diff=8509&amp;oldid=prev</id>
		<title>Alvin at 12:08, 1 September 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rock3/CM/CM3I/E25/GPIO&amp;diff=8509&amp;oldid=prev"/>
				<updated>2022-09-01T12:08:37Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:08, 1 September 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 367:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 367:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* CAN: x1;CAN0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* CAN: x1;CAN0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== More details about &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;10&lt;/del&gt;-pin Header In V1.4 ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== More details about &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;24&lt;/ins&gt;-pin Header In V1.4 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* PWM;x6; PWM7_IR/PWM12_M0/PWM13_M0/PWM13_M1/PWM14_M0/PWM15_IR_M0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* PWM;x6; PWM7_IR/PWM12_M0/PWM13_M0/PWM13_M1/PWM14_M0/PWM15_IR_M0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* SPI: x2; SPI0/SPI1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* SPI: x2; SPI0/SPI1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Alvin</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Rock3/CM/CM3I/E25/GPIO&amp;diff=8508&amp;oldid=prev</id>
		<title>Alvin at 12:07, 1 September 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rock3/CM/CM3I/E25/GPIO&amp;diff=8508&amp;oldid=prev"/>
				<updated>2022-09-01T12:07:40Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.radxa.com/mw/index.php?title=Rock3/CM/CM3I/E25/GPIO&amp;amp;diff=8508&amp;amp;oldid=7986&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Alvin</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Rock3/CM/CM3I/E25/GPIO&amp;diff=7986&amp;oldid=prev</id>
		<title>Jack-ma: Created page with &quot;{{rock3_header}} {{Languages|rock3/CM/CM3I/E25/GPIO}}        ROCK 3 &gt;  Compute Module &gt;  CM3 Industrial  &gt; rock3/CM/CM3I/E25 | Ra...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rock3/CM/CM3I/E25/GPIO&amp;diff=7986&amp;oldid=prev"/>
				<updated>2022-05-21T09:56:51Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{rock3_header}} {{Languages|rock3/CM/CM3I/E25/GPIO}}       &lt;a href=&quot;/Rock3&quot; title=&quot;Rock3&quot;&gt; ROCK 3&lt;/a&gt; &amp;gt; &lt;a href=&quot;/Rock3/CM&quot; title=&quot;Rock3/CM&quot;&gt; Compute Module&lt;/a&gt; &amp;gt; &lt;a href=&quot;/Rock3/CM/CM3I&quot; title=&quot;Rock3/CM/CM3I&quot;&gt; CM3 Industrial &lt;/a&gt; &amp;gt; rock3/CM/CM3I/E25 | Ra...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{rock3_header}}&lt;br /&gt;
{{Languages|rock3/CM/CM3I/E25/GPIO}}&lt;br /&gt;
&lt;br /&gt;
     [[rock3 | ROCK 3]] &amp;gt; [[rock3/CM | Compute Module]] &amp;gt; [[rock3/CM/CM3I | CM3 Industrial ]] &amp;gt; [[rock3/CM/CM3I/E25 | Radxa E25]] &amp;gt; [[rock3/CM/CM3I/E25/GPIO | GPIO]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span id=&amp;quot;gpio&amp;quot;&amp;gt;General purpose input-output (GPIO) connector&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Radxa E25 has a 10-pin expansion header. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;vertical-align:middle;&amp;quot;&lt;br /&gt;
|- style=&amp;quot;font-weight:bold; text-align:center;&amp;quot;&lt;br /&gt;
!Pin#&lt;br /&gt;
! Function1&lt;br /&gt;
! Function2&lt;br /&gt;
! Function3&lt;br /&gt;
! Function4&lt;br /&gt;
! Gpionumber&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#008000; color:#FFF;&amp;quot; | 1&lt;br /&gt;
| GPIO0_B4&lt;br /&gt;
| CAN0_RX_M0&lt;br /&gt;
| I2C1_SDA&lt;br /&gt;
|&lt;br /&gt;
| 12&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#008000; color:#FFF;&amp;quot; | 2&lt;br /&gt;
| GPIO3_C2&lt;br /&gt;
| SPI1_MISO_M1&lt;br /&gt;
| UART5_TX_M1&lt;br /&gt;
| I2S1_SDO3_M2&lt;br /&gt;
|114&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#008000; color:#FFF;&amp;quot; | 3&lt;br /&gt;
| GPIO3_C3&lt;br /&gt;
| SPI1_CLK_M1&lt;br /&gt;
| UART5_RX_M1&lt;br /&gt;
| I2S1_SCLK_RX_M2&lt;br /&gt;
| 115&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#008000; color:#FFF;&amp;quot; | 4&lt;br /&gt;
| GPIO3_C0&lt;br /&gt;
| PWM13_M0&lt;br /&gt;
| UART3_RX_M1&lt;br /&gt;
| &lt;br /&gt;
|112&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#000; color:#FFF&amp;quot; | 5&lt;br /&gt;
| GND&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#008000; color:#FFF;&amp;quot; | 6&lt;br /&gt;
| GPIO1_A1&lt;br /&gt;
| CAN1_TX_M0&lt;br /&gt;
| UART3_TX_M0&lt;br /&gt;
| I2C3_SCL_M0&lt;br /&gt;
| 33&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#008000; color:#FFF;&amp;quot; | 7&lt;br /&gt;
| GPIO1_A0&lt;br /&gt;
| CAN1_RX_M0&lt;br /&gt;
| UART3_RX_M0&lt;br /&gt;
| I2C3_SDA_M0&lt;br /&gt;
| 32&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#008000; color:#FFF;&amp;quot; | 8&lt;br /&gt;
| GPIO3_A1&lt;br /&gt;
| SPI1_CS0_M1&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
| 97&lt;br /&gt;
|-&lt;br /&gt;
|  style=&amp;quot;background-color:#008000; color:#FFF;&amp;quot; | 9&lt;br /&gt;
| GPIO3_C1&lt;br /&gt;
| I2S1_SDO2_M2&lt;br /&gt;
| SPI1_MOSI_M1&lt;br /&gt;
| &lt;br /&gt;
| 113&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background-color:#008000; color:#FFF;&amp;quot; | 10&lt;br /&gt;
| GPIO0_B3&lt;br /&gt;
| CAN0_TX_M0&lt;br /&gt;
| I2C1_SCL&lt;br /&gt;
|&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== More details about 10-pin Header In V1.3 ====&lt;br /&gt;
* PWM;x1; PWM13&lt;br /&gt;
* SPI: x1; PSI1&lt;br /&gt;
* I2C: x2;I2C1/I2C3/&lt;br /&gt;
* UART: x2;UART3/UART5&lt;br /&gt;
* CAN: x1;CAN0&lt;br /&gt;
&lt;br /&gt;
=== GPIO number ===&lt;br /&gt;
&lt;br /&gt;
Rockchip RK3568 GPIO has 5 banks, GPIO0 to GPIO4, each bank has 32pins, naming as below:&lt;br /&gt;
&lt;br /&gt;
 GPIO0_A0 ~ A7 &lt;br /&gt;
 GPIO0_B0 ~ B7&lt;br /&gt;
 GPIO0_C0 ~ C7&lt;br /&gt;
 GPIO0_D0 ~ D7&lt;br /&gt;
    &lt;br /&gt;
 GPIO1_A0 ~ A7&lt;br /&gt;
 ....&lt;br /&gt;
 GPIO1_D0 ~ D7&lt;br /&gt;
&lt;br /&gt;
For Rockchip 4.19 kernel, the GPIO number can be calculated as below, take GPIO3_C2 (PIN2 on 10-PIN HEADER) as an example:&lt;br /&gt;
&lt;br /&gt;
 GPIO3_C2 = 3*32 + 2*8 + 2 = 114 &lt;br /&gt;
 (A=0, B=1, C=2, D=3)&lt;br /&gt;
&lt;br /&gt;
To set GPIO3_C2 output&lt;br /&gt;
&lt;br /&gt;
 cd /sys/class/gpio&lt;br /&gt;
 echo 114&amp;gt; export&lt;br /&gt;
 cd gpio114&lt;br /&gt;
 echo out &amp;gt; direction&lt;br /&gt;
 echo 1 &amp;gt; value     # output high&lt;br /&gt;
 echo 0 &amp;gt; value     # output low&lt;/div&gt;</summary>
		<author><name>Jack-ma</name></author>	</entry>

	</feed>