<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[t113-s3 的ws2812 使用报错  请大佬指教]]></title><description><![CDATA[<p dir="auto">使用的是tina5.0 1.2的sdk  内核是5.4  使用的 io 是 pg13  看ds上描述 pg13是支持ledc的  但是启动的时候报错  设备树如下</p>
<pre><code>ledc_pins_a: ledc@0 {
	pins = "PG13";
	function = "ledc";
	drive-strength = &lt;10&gt;;
};
ledc_pins_b: ledc@1 {
	pins = "PG13";
	function = "gpio_in";
};     &amp;ledc {
pinctrl-0 = &lt;&amp;ledc_pins_a&gt;;
pinctrl-1 = &lt;&amp;ledc_pins_b&gt;;
led_count = &lt;10&gt;;
output_mode = "RGB";
reset_ns = &lt;84&gt;;
t1h_ns = &lt;800&gt;;
t1l_ns = &lt;320&gt;;
t0h_ns = &lt;300&gt;;
t0l_ns = &lt;800&gt;;
wait_time0_ns = &lt;84&gt;;
wait_time1_ns = &lt;84&gt;;
wait_data_time_ns = &lt;600000&gt;;
status	= "okay";
</code></pre>
<p dir="auto">};</p>
<p dir="auto">启动报错信息如下</p>
<pre><code>
dmesg | grep led
[    1.715427] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.094801] sunxi_led_probe()1727 - start
[    2.105868] sunxi_get_str_of_property()1575 - failed to get the string of propname led_regulator!
[    2.115884] sunxi_register_led_classdev()1459 - led_classdev start
[    2.135801] sunxi_ledc_pinctrl_init()1333 - devm_pinctrl_get_select_default failed!
[    2.150192] sunxi_led_probe()1819 - finish
[    2.363782] Loading compiled-in X.509 certificates
[    3.443655] [sound  403][MACH simple_parse_of] simple_dai_link_of failed
[    3.451341] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.475205] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.484937] cfg80211: failed to load regulatory.db
[    4.476174] [sound  403][MACH simple_parse_of] simple_dai_link_of failed
[    5.595124] [sound  403][MACH simple_parse_of] simple_dai_link_of failed
[    5.608815] [sound  403][MACH simple_parse_of] simple_dai_link_of failed
[    5.768616] [sound  403][MACH simple_parse_of] simple_dai_link_of failed
[    5.781471] [sound  403][MACH simple_parse_of] simple_dai_link_of failed</code></pre>
]]></description><link>https://bbs.aw-ol.com/topic/6694/t113-s3-的ws2812-使用报错-请大佬指教</link><generator>RSS for Node</generator><lastBuildDate>Sun, 07 Jun 2026 05:42:32 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/6694.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Oct 2025 09:38:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to t113-s3 的ws2812 使用报错  请大佬指教 on Fri, 12 Dec 2025 14:27:44 GMT]]></title><description><![CDATA[<p dir="auto">刚好在t113-s4上跑，加上 pinctrl-names = "default", "sleep";</p>
]]></description><link>https://bbs.aw-ol.com/post/27748</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/27748</guid><dc:creator><![CDATA[HQEmbed]]></dc:creator><pubDate>Fri, 12 Dec 2025 14:27:44 GMT</pubDate></item></channel></rss>