<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Thingy:91 X devicetree issue with LED mapping and sw0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120611/thingy-91-x-devicetree-issue-with-led-mapping-and-sw0</link><description>&amp;quot;C:\ncs\v2.9.1\nrf\boards\nordic\thingy91x\thingy91x_nrf9151_common.dts&amp;quot; lists LED GPIO as 
 leds { compatible = &amp;quot;gpio-leds&amp;quot;; red_led: led_1 { gpios = &amp;lt;&amp;amp;gpio0 29 0&amp;gt;; label = &amp;quot;RGB red channel&amp;quot;; }; green_led: led_2 { gpios = &amp;lt;&amp;amp;gpio0 30 0&amp;gt;; label = &amp;quot;RGB</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Apr 2025 13:58:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120611/thingy-91-x-devicetree-issue-with-led-mapping-and-sw0" /><item><title>RE: Thingy:91 X devicetree issue with LED mapping and sw0</title><link>https://devzone.nordicsemi.com/thread/531387?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 13:58:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7092d200-35a4-432b-b443-31486613c14f</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]This swaps the Green and Blue LEDs based on the hardware schematic[/quote]
&lt;p&gt;This issue has been fixed in main. Please have a look&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/boards/nordic/thingy91x/thingy91x_nrf9151_common.dts#L29-L43"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Regarding buttons, button2 is connected to ship hold on npm1300, while button1 is connected to nrf9151, nrf5340 and npm1300.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 X devicetree issue with LED mapping and sw0</title><link>https://devzone.nordicsemi.com/thread/531313?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 10:19:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2142ea7-5f96-434d-9d68-287682aecc0c</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;I recognized that as well.&lt;/p&gt;
&lt;p&gt;AFAIK that&amp;#39;s already fixed on github and may be part of the next release.&lt;/p&gt;
&lt;p&gt;As temporary work-around I use an&amp;nbsp;&lt;a href="https://github.com/boaks/zephyr-coaps-client/blob/main/boards/thingy91x_nrf9151_ns.overlay#L58-L64"&gt;overlay&lt;/a&gt; with&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;green_led {
    gpios = &amp;lt;&amp;amp;gpio0 31 0&amp;gt;;
};

&amp;amp;blue_led {
    gpios = &amp;lt;&amp;amp;gpio0 30 0&amp;gt;;
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>