Using http://kilobaser.com/blog/2014-07-28-beaglebone-black-devicetreeoverlay-generator I get an overlay file that looks like:
/* * Copyright (C) 2013 CircuitCo * Copyright (C) 2013 Texas Instruments * * 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. * * This is a template-generated file from BoneScript */ /dts-v1/; /plugin/; / { compatible = "ti,beaglebone", "ti,beaglebone-black"; /* identification */ part-number = "BS_PWM_P8_19_0x14"; /* state the resources this cape uses */ exclusive-use = /* the pin header uses */ "P8.19", /* the hardware IP uses */ "ehrpwm2A"; fragment@0 { target = <&am33xx_pinmux>; __overlay__ { bs_pwm_P8_19_0x14: pinmux_bs_pwm_P8_19_0x14 { pinctrl-single,pins = <0x020 0x14>; }; }; }; fragment@1 { target = <&ocp>; __overlay__ { bs_pwm_test_P8_19 { compatible = "pwm_test"; pwms = <&ehrpwm2 0 500000 1>; pwm-names = "PWM_P8_19"; pinctrl-names = "default"; pinctrl-0 = <&bs_pwm_P8_19_0x14>; enabled = <1>; duty = <0>; status = "okay"; }; }; }; }; is this pretty close? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.