<?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>Custom DTS child node unknown node type</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120945/custom-dts-child-node-unknown-node-type</link><description>I want to add custom outputs to my custom board dts: this thread mirrors exactly what I&amp;#39;m doing: 
 https://devzone.nordicsemi.com/f/nordic-q-a/92813/how-to-declare-a-single-gpio-pin-which-is-not-an-led-in-boards-dts-file/419238 
 The advice was as below</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 27 Apr 2025 16:21:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120945/custom-dts-child-node-unknown-node-type" /><item><title>RE: Custom DTS child node unknown node type</title><link>https://devzone.nordicsemi.com/thread/533108?ContentTypeID=1</link><pubDate>Sun, 27 Apr 2025 16:21:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cb805a5-949a-4aa2-a62f-37d85953ebbc</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;Thanks, the missing /dts/ did the trick. It&amp;#39;s the little things like this that waste a lot of time when you&amp;#39;re trying to learn a new system, dealing with the &amp;quot;unknown unknowns&amp;quot;&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DTS child node unknown node type</title><link>https://devzone.nordicsemi.com/thread/532820?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 12:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30fbbf7d-8ff2-4704-a909-e1c50e7a152d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It is explained here where the build system will look for bindings:&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/build/dts/bindings-intro.html#where-bindings-are-located"&gt;https://docs.zephyrproject.org/latest/build/dts/bindings-intro.html#where-bindings-are-located&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user=""]in my board or board/bindings directories[/quote]
&lt;p&gt;I haven&amp;#39;t tried placing it in the boards directory, but I believe it should still be boards/&lt;strong&gt;dts&lt;/strong&gt;/bindings/gpio/&amp;lt;your binding&amp;gt;.yaml&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you just need to control some pins directly from the application without using a driver that follows the zephyr driver model, you may also consider just using the&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/build/dts/zephyr-user-node.html#gpios"&gt;/zephyr,user&lt;/a&gt;&amp;nbsp;node. Then you will not have to define a custom binding.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;Example applications including custom DT bindings:&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&lt;a href="https://github.com/nrfconnect/ncs-example-application"&gt;https://github.com/nrfconnect/ncs-example-application&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>