This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Beginner in build zephur devicetree

Hi,

I am completly new in nrf52, nrf-connect and zephyr environment.

I need to configure pwm channels that wont be used to drive led...

Most of thing is undestand for me... but...

That is some part of my board.dts file

pwmleds {
    compatible = "pwm-leds";
    pwm_led0: pwm_led_0 {
        pwms = <&pwm0 29>;
	};
};

My questions: Is there only one way to configure pwm channel to set bindings "compatible = "pwm-leds"", in my opinion that will be some naming misstatement to use "pwm-leds" to drive buzzer... Can I define my own bindings(ex. pwm-base) or do it in other way? All my ideas not work, so I am here :)

Related