46 lines
1.1 KiB
Diff
46 lines
1.1 KiB
Diff
diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts
|
|
index db00d8ef7b19..9a5f612101db 100644
|
|
--- a/arch/arm/boot/dts/am335x-boneblack.dts
|
|
+++ b/arch/arm/boot/dts/am335x-boneblack.dts
|
|
@@ -75,6 +75,40 @@
|
|
AM33XX_IOPAD(0x86c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a11.GPIO1_27 */
|
|
>;
|
|
};
|
|
+
|
|
+ ehrpwm1_pins: pinmux_ehrpwm1a_pins {
|
|
+ pinctrl-single,pins = <
|
|
+ AM33XX_IOPAD(0x848, PIN_OUTPUT | MUX_MODE6) /* gpmc_a2.ehrpwm1a */
|
|
+ AM33XX_IOPAD(0x84c, PIN_OUTPUT | MUX_MODE6) /* gpmc_a3.ehrpwm1b */
|
|
+ >;
|
|
+ };
|
|
+
|
|
+ ehrpwm2_pins: pinmux_ehrpwm2a_pins {
|
|
+ pinctrl-single,pins = <
|
|
+ AM33XX_IOPAD(0x820, PIN_OUTPUT | MUX_MODE4) /* ehrpwm2a */
|
|
+ AM33XX_IOPAD(0x824, PIN_OUTPUT | MUX_MODE4) /* ehrpwm2b */
|
|
+ >;
|
|
+ };
|
|
+};
|
|
+
|
|
+&epwmss1 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&epwmss2 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&ehrpwm1 {
|
|
+ status = "okay";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&ehrpwm1_pins>;
|
|
+};
|
|
+
|
|
+&ehrpwm2 {
|
|
+ status = "okay";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&ehrpwm2_pins>;
|
|
};
|
|
|
|
&lcdc {
|