/* * Copyright (C) 2022 - All Rights Reserved by * EmbedFire LubanCat */ /dts-v1/; /plugin/; #include #include #include #include &pwm0 { status = "okay"; pinctrl-names = "active"; pinctrl-0 = <&pwm0m1_pins>; }; &{/} { pwm_demo: pwm_demo { status = "okay"; compatible = "pwm_demo"; back { pwm-names = "pwm-demo"; pwms = <&pwm0 0 10000 1>; duty_ns = <5000>; }; }; };