Skip to content

Commit

Permalink
ARM: dts: hummingboard: Setup pwm lines
Browse files Browse the repository at this point in the history
Setup pwm lines as follows -
pwm1: In case HummingBoard base carrier; this pin drives through a serial
      capacitor the mono out of the audio jack.
      In case HummingBoard pro the this pad can be reached by wiring to
      C8 capacitors on the board.
pwm2: Setup pwm2 on gpio-1 but leave the default function of the iopad as
      a gpio.
      The user can change the io pad mux in user space and therefore use
      this function on gpio-1 (pin number 7 on the 26 pin header).

pwm3,pwm4: unused

Signed-off-by: Rabeeh Khoury <[email protected]>
  • Loading branch information
rabeeh authored and linux4kix committed Oct 23, 2014
1 parent b839103 commit dc5edb8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,13 @@
MX6QDL_PAD_EIM_DA4__GPIO3_IO04 0x80000000
>;
};

pinctrl_pwm1: pwm1grp {
fsl,pins = <
MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b1
>;
};

};
};

Expand Down Expand Up @@ -339,3 +346,22 @@
no-msi;
};

&pwm1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm1>;
status = "okay";
};

&pwm2 {
pinctrl-names = "default";
status = "okay";
};

&pwm3 {
status = "disabled";
};

&pwm4 {
status = "disabled";
};

0 comments on commit dc5edb8

Please sign in to comment.