From: Tim Harvey Date: Thu, 7 Jan 2016 17:58:09 +0000 (-0800) Subject: ARM: dts: imx: ventana: add alternate PWM4 pinmux for GW54xx X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f8ea256e6fe9929e38cd0126847a1a98e34d6fbd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: dts: imx: ventana: add alternate PWM4 pinmux for GW54xx The GW54xx can provide PWM4 out either the off-board backlight connector or the off-board digital I/O connector. By default the pinmux routes it to the backlight connector but this pinctl alternate provides documentation for those who may want to change it. Signed-off-by: Tim Harvey Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi index 66983dc5cbda..367cc49eea0d 100644 --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi @@ -397,8 +397,9 @@ }; &pwm4 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_pwm4>; + pinctrl-names = "default", "state_dio"; + pinctrl-0 = <&pinctrl_pwm4_backlight>; + pinctrl-1 = <&pinctrl_pwm4_dio>; status = "okay"; }; @@ -573,12 +574,20 @@ >; }; - pinctrl_pwm4: pwm4grp { + pinctrl_pwm4_backlight: pwm4grpbacklight { fsl,pins = < + /* LVDS_PWM J6.5 */ MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 >; }; + pinctrl_pwm4_dio: pwm4grpdio { + fsl,pins = < + /* DIO3 J16.4 */ + MX6QDL_PAD_SD4_DAT2__PWM4_OUT 0x1b0b1 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1