Advertisement
silver2row

AI and GPIO/PWM... .dts files

May 25th, 2021
1,572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.03 KB | None | 0 0
  1. fragment@2 {
  2.         target = <&dra7_pmx_core>;
  3.         __overlay__ {
  4.             bborg_motor_led_pins: pinmux-bborg-proto-led-pins {
  5.                 pinctrl-single,pins = <
  6.                     DRA7XX_CORE_IOPAD(0x3598, PIN_OUTPUT_PULLUP | INPUT_EN | MUX_MODE14)    /* D5: P8.14*/
  7.                     DRA7XX_CORE_IOPAD(0x35BC, PIN_OUTPUT_PULLUP | INPUT_EN | MUX_MODE14)    /* B4: P8.16 */
  8.                     DRA7XX_CORE_IOPAD(0x3588, PIN_OUTPUT_PULLUP | INPUT_EN | MUX_MODE14)    /* F5: P8.18 */
  9.                     DRA7XX_CORE_IOPAD(0x35B8, PIN_OUTPUT_PULLUP | INPUT_EN | MUX_MODE14)    /* B3: P8.26 */
  10.                 >;
  11.             };
  12.  
  13.             bborg_motor_ehrpwm3_pins: pinmux-bborg-proto-ehrpwm3-pins {
  14.                 pinctrl-single,pins = <
  15.                     DRA7XX_CORE_IOPAD(0x35AC, PIN_OUTPUT_PULLDOWN | MUX_MODE10) /* D6: P9.14 */
  16.                     DRA7XX_CORE_IOPAD(0x35B0, PIN_OUTPUT_PULLDOWN | MUX_MODE10) /* C5: P9.16 */
  17.                 >;
  18.             };
  19.  
  20.             bborg_motor_ehrpwm2_pins: pinmux-bborg-proto-ehrpwm2-pins {
  21.                 pinctrl-single,pins = <
  22.                     DRA7XX_CORE_IOPAD(0x3590, PIN_OUTPUT_PULLDOWN | MUX_MODE10) /* D3: P8.13 */
  23.                     DRA7XX_CORE_IOPAD(0x358C, PIN_OUTPUT_PULLDOWN | MUX_MODE10) /* E6: P8.19 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement