diff options
author | Dan Murphy <a0272616@ti.com> | 2020-07-28 13:53:40 -0500 |
---|---|---|
committer | Dan Murphy <a0272616@ti.com> | 2020-07-28 13:53:40 -0500 |
commit | 901b24483d4e7c1be2b6ff50bd155ad933f3c359 (patch) | |
tree | 20b5973df7bff900d040db722805035416e5697c | |
parent | f3a538e4e9741b42df4ec3c60e5f0479430cdb06 (diff) | |
parent | ac127539ececef9981fb734d1966f5b5d887a0f8 (diff) | |
download | linux-dt-901b24483d4e7c1be2b6ff50bd155ad933f3c359.tar.gz |
Merge pull request #9 in LCPDPUB/ti-upstream-tools from ~A0132425/ti-upstream-tools:ehrpwm-v2 to master
* commit 'ac127539ececef9981fb734d1966f5b5d887a0f8':
system_test: am335x-boneblack-ehrpwm.dtso: Enable eCAP0 PWM for testing
-rw-r--r-- | arch/arm/boot/dts/ti/system_test/am3_ehrpwm/am335x-boneblack-ehrpwm.dtso | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/ti/system_test/am3_ehrpwm/am335x-boneblack-ehrpwm.dtso b/arch/arm/boot/dts/ti/system_test/am3_ehrpwm/am335x-boneblack-ehrpwm.dtso index 3d1774d..b4125a7 100644 --- a/arch/arm/boot/dts/ti/system_test/am3_ehrpwm/am335x-boneblack-ehrpwm.dtso +++ b/arch/arm/boot/dts/ti/system_test/am3_ehrpwm/am335x-boneblack-ehrpwm.dtso @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /** - * DT overlay for BBB eHRPWM testing + * DT overlay for BBB eHRPWM and eCAP PWM testing * * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ */ @@ -16,6 +16,22 @@ AM33XX_IOPAD(0x824, PIN_OUTPUT | MUX_MODE4 ) /* (R2) lcd_data1.ehrpwm2B */ >; }; + + ecap0_pins: backlight_pins { + pinctrl-single,pins = < + AM33XX_PADCONF(AM335X_PIN_ECAP0_IN_PWM0_OUT, 0x0, MUX_MODE0) + >; + }; +}; + +&epwmss0 { + status = "okay"; +}; + +&ecap0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&ecap0_pins>; }; &epwmss2 { |