Skip to content

Commit

Permalink
ARM: dts: imx: add SPI to GW54xx
Browse files Browse the repository at this point in the history
The GW54xx revision E adds SPI via an off-board connector.

Signed-off-by: Tim Harvey <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
Gateworks authored and Shawn Guo committed Jan 2, 2017
1 parent d447dd8 commit b0a5c46
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@
<&clks IMX6QDL_CLK_PLL3_USB_OTG>;
};

&ecspi2 {
fsl,spi-num-chipselects = <1>;
cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi2>;
status = "okay";
};

&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
Expand Down Expand Up @@ -499,6 +507,15 @@
>;
};

pinctrl_ecspi2: escpi2grp {
fsl,pins = <
MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1
MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1
MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1
MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x100b1
>;
};

pinctrl_flexcan1: flexcan1grp {
fsl,pins = <
MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b1
Expand Down

0 comments on commit b0a5c46

Please sign in to comment.