This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

beaglebone and ehrpwm1 (ti sdk 2.00.00)

Hi,

i want to play with ehrpwm1 (processors.wiki.ti.com/.../AM335x_PWM_Driver's_Guide) but i could not get it to work.

My am335x-boneblack.dts looks like

/*
 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
/dts-v1/;

#include "am33xx.dtsi"
#include "am335x-bone-common.dtsi"

&ldo3_reg {
	regulator-min-microvolt = <1800000>;
	regulator-max-microvolt = <1800000>;
	regulator-always-on;
};

&sgx {
	status = "okay";
};

&mmc1 {
	vmmc-supply = <&vmmcsd_fixed>;
};

&mmc2 {
	vmmc-supply = <&vmmcsd_fixed>;
	pinctrl-names = "default";
	pinctrl-0 = <&emmc_pins>;
	bus-width = <8>;
	status = "okay";
	ti,vcc-aux-disable-is-sleep;
};

/ {
};

&am33xx_pinmux {
        my_pwm_pins_default: my_pwm_pins {
		pinctrl-single,pins = <
			0x48  (PIN_OUTPUT | MUX_MODE6)	  
		>;
	};
        my_pwm_pins_sleep: my_pwm_pins_sleep {
		pinctrl-single,pins = <
			0x48  (PIN_INPUT_PULLDOWN | MUX_MODE6)	  
		>;
	};

};


&epwmss1 {
	status = "okay";

	ehrpwm1: ehrpwm@48302200 {
		status = "okay";
		pinctrl-names = "default", "sleep";
		pinctrl-0 = <&my_pwm_pins_default>;
		pinctrl-1 = <&my_pwm_pins_sleep>;
	};
};

Please help

Best regards

Erich