<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: S32G3 toggle gpio failed in u-boot in S32G</title>
    <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2107909#M13608</link>
    <description>&lt;P&gt;hi，&lt;SPAN&gt;GG0712&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank your for your reply.&lt;/P&gt;
&lt;P&gt;I checked the AFT and u-boot information.&lt;/P&gt;
&lt;P&gt;Some file is about the pinctrl and gpio system in BSP35, it has been changed in the BSP43. These files includes&amp;nbsp;&amp;nbsp;pinctrl-s32cc.c and&amp;nbsp;gpio-s32cc.c in uboot. The file of&amp;nbsp;s32g.dtsi has the description for gpio device in ATF.&lt;/P&gt;
&lt;P&gt;These files have all changed due to version updates. By referring to these files, some information can be found.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
    <pubDate>Fri, 30 May 2025 09:07:03 GMT</pubDate>
    <dc:creator>Joey_z</dc:creator>
    <dc:date>2025-05-30T09:07:03Z</dc:date>
    <item>
      <title>S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2101501#M13526</link>
      <description>&lt;P&gt;Hi NXP team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We refer to the custom board of s32g399ardb3 and using BSP35.&lt;/P&gt;&lt;P&gt;I added pinctrl configuration in atf device tree and try to toggles gpios in u-boot&lt;/P&gt;&lt;P&gt;I can toggle&amp;nbsp;&lt;SPAN&gt;PC_05 (37) and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;PB_12 (28) but&lt;/SPAN&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;PK_13 (173) and PK_11 (171) failed&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;arm-trusted-firmware device tree:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fdts/s32gxxxa-rdb.dtsi

&amp;amp;gpio {
	pinctrl-names = "default";
	pinctrl-0 = &amp;lt;&amp;amp;custom1_pins, &amp;amp;custom2_pins&amp;gt;;
};

&amp;amp;pinctrl {
	u-boot,dm-pre-reloc;

	custom1_pins: custom1_pins {
		custom1_grp0 {
			pinmux = &amp;lt;S32CC_PINMUX(174, FUNC0)&amp;gt;;
			input-enable;
		};

		custom1_grp1 {
			pinmux = &amp;lt;S32CC_PINMUX(37,  FUNC0)&amp;gt;,
				 &amp;lt;S32CC_PINMUX(171, FUNC0)&amp;gt;;
			output-enable;
		};
	};

	custom2_pins: custom2_pins {
		custom2_grp0 {
			pinmux = &amp;lt;S32CC_PINMUX(183, FUNC0)&amp;gt;;
			input-enable;
		};

		custom2_grp1 {
			pinmux = &amp;lt;S32CC_PINMUX(28,  FUNC0)&amp;gt;,
				 &amp;lt;S32CC_PINMUX(173, FUNC0)&amp;gt;;
			output-enable;
		};
	};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is gpio control failed log&lt;/P&gt;&lt;PRE&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700037
gpio: pin siul2-gpio@4009d700037 (gpio 37) value is 1
=&amp;gt; gpio clear siul2-gpio@4009d700037
gpio: pin siul2-gpio@4009d700037 (gpio 37) value is 0

=&amp;gt; gpio clear siul2-gpio@4009d700028
gpio: pin siul2-gpio@4009d700028 (gpio 28) value is 0
=&amp;gt; gpio toggle siul2-gpio@4009d700028
gpio: pin siul2-gpio@4009d700028 (gpio 28) value is 1

=&amp;gt; gpio toggle siul2-gpio@4009d700171
gpio: pin siul2-gpio@4009d700171 (gpio 171) value is 1
   &lt;FONT color="#FF0000"&gt;Warning: value of pin is still 0&lt;/FONT&gt;
=&amp;gt; gpio toggle siul2-gpio@4009d700173
gpio: pin siul2-gpio@4009d700173 (gpio 173) value is 1
   &lt;FONT color="#FF0000"&gt;Warning: value of pin is still 0&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 09:56:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2101501#M13526</guid>
      <dc:creator>GG0712</dc:creator>
      <dc:date>2025-05-21T09:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2101538#M13528</link>
      <description>&lt;P&gt;hi,&lt;SPAN&gt;GG0712&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for contacting us.&lt;/P&gt;
&lt;P&gt;I will help you test this problem and reply to you as soon as there is a result.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 10:33:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2101538#M13528</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-05-21T10:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2103063#M13544</link>
      <description>&lt;P&gt;hi，&lt;SPAN&gt;GG0712&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The pinctrl subsystem is used in the default configuration of BSP. I can operate PK_13 (173) and PK_11 (171) normally with the new version of BSP42. I think it should be that the BSP35 version is older. After comparison, it is found that the description of siul2 in the device tree file s32g.dtsi of ATF has been modified. The picture below shows the result of my operation in the BSP42.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_0-1747967170143.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/339326i6ED56BA1E2E7993B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_0-1747967170143.png" alt="Joey_z_0-1747967170143.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 02:28:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2103063#M13544</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-05-23T02:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2104304#M13557</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Joey_z,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got failed after update device tree.&lt;/P&gt;&lt;P&gt;I upload my&amp;nbsp;&lt;SPAN&gt;s32g.dtsi siul2 part to BSP43 version as attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also I modify our device tree as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fdts/s32gxxxa-rdb.dtsi

&amp;amp;gpio {
	pinctrl-names = "default";
	pinctrl-0 = &amp;lt;&amp;amp;custom1_pins, &amp;amp;custom2_pins&amp;gt;;
};

&amp;amp;pinctrl {
	u-boot,dm-pre-reloc;

	custom1_pins: custom1_pins {
		custom1_grp0 {
			pinmux = &amp;lt;S32CC_PINMUX(174, FUNC0)&amp;gt;;
			input-enable;
		};

		custom1_grp1 {
			pinmux = &amp;lt;S32CC_PINMUX(37,  FUNC0)&amp;gt;;
			output-enable;
		};

		custom1_grp2 {
			pinmux = &amp;lt;S32CC_PINMUX(171, FUNC0)&amp;gt;;
			bias-pull-down;
			output-enable;
		};
	};

	custom2_pins: custom2_pins {
		custom2_grp0 {
			pinmux = &amp;lt;S32CC_PINMUX(183, FUNC0)&amp;gt;;
			input-enable;
		};

		custom2_grp1 {
			pinmux = &amp;lt;S32CC_PINMUX(28,  FUNC0)&amp;gt;;
			output-enable;
		};
		custom2_grp2 {
			pinmux = &amp;lt;S32CC_PINMUX(173, FUNC0)&amp;gt;;
			bias-pull-down;
			output-enable;
		};
	};&lt;/LI-CODE&gt;&lt;P&gt;In our hardware design, both PK_13 (173) and PK_11 (171) GPIOs from the SoC are connected to the EN pin of the MPQ5068GQV-AEC1-Z. A 10 Kohm pull-down resistor is also connected to the EN pin&lt;/P&gt;&lt;PRE&gt;SoC GPIO: PK_13 (173) ─┬──&amp;gt; EN pin of MPQ5068GQV-AEC1-Z
                       |
                       R (10kΩ pull-down)
                       |
                      GND

SoC GPIO: PK_11 (171) ─┬──&amp;gt; EN pin of MPQ5068GQV-AEC1-Z
                       |
                       R (10kΩ pull-down)
                       |
                      GND&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my test log&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#FF0000"&gt;// Port  Module            SSS       Addr       Function&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;// PK_13 SIUL_OFFCC        0000_0000 0x440104F4 GPIO[173]&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; md.l 0x440104F4 1&lt;BR /&gt;440104f4: 00010000&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700173&lt;BR /&gt;gpio: pin siul2-gpio@4009d700173 (gpio 173) value is 1&lt;BR /&gt;Warning: value of pin is still 0&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; md.l 0x440104F4 1&lt;BR /&gt;440104f4: 00202000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;// Port  Module  SSS       Addr       Function&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;// PB_12 SIUL_CC 0000_0000 0x440104F4 GPIO[28]&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; md.l 0x4009C2B0 1&lt;BR /&gt;4009c2b0: 00200000&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700028&lt;BR /&gt;gpio: pin siul2-gpio@4009d700028 (gpio 28) value is 1&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; md.l 0x4009C2B0 1&lt;BR /&gt;4009c2b0: 00280000&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 09:16:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2104304#M13557</guid>
      <dc:creator>GG0712</dc:creator>
      <dc:date>2025-05-26T09:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2104334#M13558</link>
      <description>&lt;P&gt;hi,&lt;SPAN&gt;GG0712&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Can you use gpio 171/173 normally without modifying the device tree and using BSP by default? If it can be toggle normally, I don't think it's a hardware issue.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_0-1748252664026.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/339690iB25F47CD75035F0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_0-1748252664026.png" alt="Joey_z_0-1748252664026.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 09:44:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2104334#M13558</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-05-26T09:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2105632#M13577</link>
      <description>&lt;P&gt;Hi Joey_z,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I toggle 171/173 failed when I try to using siul2 and pins config by default and using siul2 by BSP43 but pins config by default&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In S32G3_IOMUX 2 file, the gpio 28 module is SIUL_CC and the gpio 171/173&amp;nbsp; module is SIUL_OFFCC , are there&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;any differences between these modules?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;$ gpio status -a&lt;BR /&gt;...&lt;BR /&gt;siul2-gpio@4009d70028: unknown&lt;BR /&gt;...&lt;BR /&gt;siul2-gpio@4009d700171: unknown&lt;BR /&gt;siul2-gpio@4009d700172: unknown&lt;BR /&gt;siul2-gpio@4009d700173: unknown&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; gpio set siul2-gpio@4009d700173&lt;BR /&gt;gpio: pin siul2-gpio@4009d700173 (gpio 173) value is 1&lt;BR /&gt;Warning: value of pin is still 0&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700173&lt;BR /&gt;gpio: pin siul2-gpio@4009d700173 (gpio 173) value is 1&lt;BR /&gt;Warning: value of pin is still 0&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; gpio set siul2-gpio@4009d700171&lt;BR /&gt;gpio: pin siul2-gpio@4009d700171 (gpio 171) value is 1&lt;BR /&gt;Warning: value of pin is still 0&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700171&lt;BR /&gt;gpio: pin siul2-gpio@4009d700171 (gpio 171) value is 1&lt;BR /&gt;Warning: value of pin is still 0&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d70028&lt;BR /&gt;gpio: pin siul2-gpio@4009d70028 (gpio 28) value is 1&lt;BR /&gt;=&amp;gt; gpio clear siul2-gpio@4009d70028&lt;BR /&gt;gpio: pin siul2-gpio@4009d70028 (gpio 28) value is 0&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 01:28:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2105632#M13577</guid>
      <dc:creator>GG0712</dc:creator>
      <dc:date>2025-05-28T01:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2105722#M13580</link>
      <description>&lt;P&gt;hi，&lt;SPAN&gt;GG0712&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;It is normally to use the&amp;nbsp;&lt;SPAN&gt;gpio 171/173 for BSP43 on our development board, you can try to cancel the 10k pulldown resistance. The status of unknown should be not to set the gpio.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can check the status, if you have been set the gpio as shown the following picture.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_0-1748400369580.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/340060iEFC83575ADD18C5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_0-1748400369580.png" alt="Joey_z_0-1748400369580.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;in addition, Refers to SIUL2_0 and SIUL2_1 as SIUL2_CC and SIUL2_OFFCC in &lt;SPAN&gt;S32G3_IOMUX&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_1-1748400518739.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/340062i59479EF940B911A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_1-1748400518739.png" alt="Joey_z_1-1748400518739.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 08:49:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2105722#M13580</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-05-28T08:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106143#M13583</link>
      <description>&lt;P&gt;Hi Joey_z,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply,&amp;nbsp; I will try to remove 10K pull down&amp;nbsp;resistor.&lt;/P&gt;&lt;P&gt;But in my case, I can control gpio 171/173 through Linux kernel module.&lt;/P&gt;&lt;P&gt;Is it should be possible to rule out hardware issues ?&lt;/P&gt;&lt;PRE&gt;linux-s32_5.10/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi&lt;BR /&gt;custom_gpio: custom_gpio {
    compatible = "custom,gpio-handler";
    toggle171-gpios  = &amp;lt;&amp;amp;gpio 171 GPIO_ACTIVE_HIGH&amp;gt;;	// PK_11		
    toggle173-gpios  = &amp;lt;&amp;amp;gpio 173 GPIO_ACTIVE_HIGH&amp;gt;;	// PK_13
};&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I can use kernel api "gpiod_set_value" to toggle 171/173&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 09:58:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106143#M13583</guid>
      <dc:creator>GG0712</dc:creator>
      <dc:date>2025-05-28T09:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106227#M13585</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Joey_z,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I try to toggle our gpio but seem like all of&amp;nbsp;SIUL2_1 toggle failed &lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700030&lt;BR /&gt;gpio: pin siul2-gpio@4009d700030 (gpio 30) value is 1&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700024&lt;BR /&gt;gpio: pin siul2-gpio@4009d700024 (gpio 24) value is 1&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700112&lt;BR /&gt;gpio: pin siul2-gpio@4009d700112 (gpio 112) value is 1&lt;BR /&gt;Warning: value of pin is still 0&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700185&lt;BR /&gt;gpio: pin siul2-gpio@4009d700185 (gpio 185) value is 1&lt;BR /&gt;Warning: value of pin is still 0&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700184&lt;BR /&gt;gpio: pin siul2-gpio@4009d700184 (gpio 184) value is 1&lt;BR /&gt;Warning: value of pin is still 0&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700186&lt;BR /&gt;gpio: pin siul2-gpio@4009d700186 (gpio 186) value is 1&lt;BR /&gt;Warning: value of pin is still 0&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700177&lt;BR /&gt;gpio: pin siul2-gpio@4009d700177 (gpio 177) value is 1&lt;BR /&gt;Warning: value of pin is still 0&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700178&lt;BR /&gt;gpio: pin siul2-gpio@4009d700178 (gpio 178) value is 1&lt;BR /&gt;Warning: value of pin is still 0&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 11:24:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106227#M13585</guid>
      <dc:creator>GG0712</dc:creator>
      <dc:date>2025-05-28T11:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106677#M13592</link>
      <description>&lt;P&gt;hi，&lt;SPAN&gt;GG0712&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your reply and information.&lt;/P&gt;
&lt;P&gt;You mentioned that after modifying the kernel source code, gpio can be controlled. You can try to measure the gpio voltage with a multimeter to see if true control has been achieved.&lt;/P&gt;
&lt;P&gt;In addition, about&amp;nbsp;all of SIUL2_1 toggle failed, is&amp;nbsp;it a phenomenon that only occurs after modifying the Kernel?&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 02:36:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106677#M13592</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-05-29T02:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106697#M13593</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Joey_z,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The gpio voltage has changed,&amp;nbsp;but this is an old solution. We currently want to move the gpio control to the u-boot stage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We just modify Linux kernel device tree and add a custom kernel module to control gpio.&lt;/P&gt;&lt;P&gt;Toggle SIUL2_1 related gpio faild after I use default Linux device tree.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 03:02:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106697#M13593</guid>
      <dc:creator>GG0712</dc:creator>
      <dc:date>2025-05-29T03:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106778#M13594</link>
      <description>&lt;P&gt;hi，&lt;SPAN&gt;GG0712&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I understand what you mean, but I need to confirm some information.&lt;BR /&gt;Are you using BSP43? Can't you operate gpio 171/173 either by using the default fsl-image-auto-s32g399ardb3.sdcard file as shown in the figure? It's fine for me to use it, as I demonstrated to you before.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Joey_z_0-1748497061553.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/340340i130B0DC770DEC460/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Joey_z_0-1748497061553.png" alt="Joey_z_0-1748497061553.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 05:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106778#M13594</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-05-29T05:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106845#M13595</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Joey_z,&lt;/P&gt;&lt;P&gt;Currently we using BSP35.&lt;/P&gt;&lt;P&gt;I can toggle gpio 171/173 with BSP43 without any modify.&lt;/P&gt;&lt;P&gt;Do you have change list from BSP35 to BSP43?&lt;/P&gt;&lt;P&gt;We can compare and move commit to BSP35&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700173&lt;BR /&gt;gpio: pin siul2-gpio@4009d700173 (gpio 173) value is 1&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; gpio toggle siul2-gpio@4009d700171&lt;BR /&gt;gpio: pin siul2-gpio@4009d700171 (gpio 171) value is 1&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 06:28:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2106845#M13595</guid>
      <dc:creator>GG0712</dc:creator>
      <dc:date>2025-05-29T06:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2107538#M13602</link>
      <description>&lt;P&gt;hi,&lt;SPAN&gt;GG0712&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;You can refer to the BSP Releasenotes to find some change information.&lt;/P&gt;
&lt;P&gt;The BSP43 and BSP35 have a big different of version, the u-boot and device tree&amp;nbsp;will have been changed, I will help you to check the change content and reply to you as soon as I get the results.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 02:03:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2107538#M13602</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-05-30T02:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2107909#M13608</link>
      <description>&lt;P&gt;hi，&lt;SPAN&gt;GG0712&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank your for your reply.&lt;/P&gt;
&lt;P&gt;I checked the AFT and u-boot information.&lt;/P&gt;
&lt;P&gt;Some file is about the pinctrl and gpio system in BSP35, it has been changed in the BSP43. These files includes&amp;nbsp;&amp;nbsp;pinctrl-s32cc.c and&amp;nbsp;gpio-s32cc.c in uboot. The file of&amp;nbsp;s32g.dtsi has the description for gpio device in ATF.&lt;/P&gt;
&lt;P&gt;These files have all changed due to version updates. By referring to these files, some information can be found.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 09:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2107909#M13608</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-05-30T09:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2109418#M13632</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Joey_z,&lt;/P&gt;&lt;P&gt;We still toggle gpio failed after I update&amp;nbsp;&lt;SPAN&gt;pinctrl-s32cc.c and&amp;nbsp;gpio-s32cc.c in u-boot and s32g.dtsi&amp;nbsp;in ATF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I can toggle gpio in BSP37 and will try to use BSP36.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I will update result after test.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BTW, we don't have any idea about BSP37 and BSP36 release note about this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After test, I will try to compare u-boot driver and device tree in ATF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GG0712_0-1748944520671.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341084i24751DF10EAE674C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GG0712_0-1748944520671.png" alt="GG0712_0-1748944520671.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 09:59:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2109418#M13632</guid>
      <dc:creator>GG0712</dc:creator>
      <dc:date>2025-06-03T09:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2109914#M13634</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Joey_z,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We found the solution in BSP36.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The commit f54ed6f81ceff324cd5f354da440b78507e2bed0 show that why we can not toggle SIUL2_1 related GPIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I can toggle 171/173 GPIO after I merge this commit and without any modify in ATF and u-boot.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GG0712_0-1749002723460.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341228i7740770B88E005CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GG0712_0-1749002723460.png" alt="GG0712_0-1749002723460.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 02:09:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2109914#M13634</guid>
      <dc:creator>GG0712</dc:creator>
      <dc:date>2025-06-04T02:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: S32G3 toggle gpio failed in u-boot</title>
      <link>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2109956#M13635</link>
      <description>&lt;P&gt;hi,&lt;SPAN&gt;GG0712&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your reply and&amp;nbsp;share your experience.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Joey&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 02:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G3-toggle-gpio-failed-in-u-boot/m-p/2109956#M13635</guid>
      <dc:creator>Joey_z</dc:creator>
      <dc:date>2025-06-04T02:47:34Z</dc:date>
    </item>
  </channel>
</rss>

