<?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>nRF5340 + Zephyr cannot disable led node</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108807/nrf5340-zephyr-cannot-disable-led-node</link><description>Hello, 
 Using nRF7002DK, I would like to disable &amp;amp;led0 and &amp;amp;led1 connected on pin P1.06 and P1.07. So I added to my overlay the following lines: 
 
 Unfortunately, they are still in use after build as observed using the Devicetree tool: 
 
 I managed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Mar 2024 12:03:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108807/nrf5340-zephyr-cannot-disable-led-node" /><item><title>RE: nRF5340 + Zephyr cannot disable led node</title><link>https://devzone.nordicsemi.com/thread/471774?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 12:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:041f2154-abd7-4d02-b1c4-a8817cc40c34</guid><dc:creator>BENBF</dc:creator><description>&lt;p&gt;Thank you for answer, it does work as expected&lt;br /&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 + Zephyr cannot disable led node</title><link>https://devzone.nordicsemi.com/thread/471515?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 12:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fac43fd-aaca-4640-b16b-a522bf35a5fb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can remove the&amp;nbsp;&amp;#39;leds&amp;#39; node altogether by using /delete-node/. The LED nodes are being referenced by the aliases, so those need to be removed as well.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
    aliases {
        /delete-property/ led0;
        /delete-property/ led1;
        /delete-property/ mcuboot-led0;
        /delete-property/ bootloader-led0;
    };

    /delete-node/ leds;

};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 + Zephyr cannot disable led node</title><link>https://devzone.nordicsemi.com/thread/471489?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 10:26:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ba9d198-ce1e-40df-b52c-2599b9024c47</guid><dc:creator>BENBF</dc:creator><description>&lt;p&gt;It appears that it deletes pins assignment if I juste set leds node&amp;#39;s status to &amp;quot;okay&amp;quot; without led_0 and led_1 definition:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/{
    leds {
        status = &amp;quot;okay&amp;quot;;
    };
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m still a bit confused about why disabling the node had no effect&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>