Skip to content

Commit ba1d167

Browse files
MrVanShawn Guo
authored andcommitted
arm64: dts: imx952-evk: Enable SPI7
Enable SPI7 for i.MX952-EVK. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent fc910b8 commit ba1d167

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

arch/arm64/boot/dts/freescale/imx952-evk.dts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
mmc1 = &usdhc2;
3030
serial0 = &lpuart1;
3131
serial4 = &lpuart5;
32+
spi6 = &lpspi7;
3233
};
3334

3435
chosen {
@@ -211,6 +212,13 @@
211212
};
212213
};
213214

215+
&lpspi7 {
216+
cs-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
217+
pinctrl-names = "default";
218+
pinctrl-0 = <&pinctrl_lpspi7>;
219+
status = "okay";
220+
};
221+
214222
&usdhc1 {
215223
pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
216224
pinctrl-0 = <&pinctrl_usdhc1>;
@@ -278,6 +286,15 @@
278286
>;
279287
};
280288

289+
pinctrl_lpspi7: lpspi7grp {
290+
fsl,pins = <
291+
IMX952_PAD_GPIO_IO04__WAKEUPMIX_TOP_GPIO2_IO_4 0x39e
292+
IMX952_PAD_GPIO_IO05__WAKEUPMIX_TOP_LPSPI7_SIN 0x39e
293+
IMX952_PAD_GPIO_IO06__WAKEUPMIX_TOP_LPSPI7_SOUT 0x39e
294+
IMX952_PAD_GPIO_IO07__WAKEUPMIX_TOP_LPSPI7_SCK 0x39e
295+
>;
296+
};
297+
281298
pinctrl_pcal6416: pcal6416grp {
282299
fsl,pins = <
283300
IMX952_PAD_GPIO_IO10__WAKEUPMIX_TOP_GPIO2_IO_10 0x31e

0 commit comments

Comments
 (0)