Blame view

arch/arm64/boot/dts/freescale/fsl-imx8qxp-lpddr4-arm2-lpspi-slave.dts 903 Bytes
81f7e3824   Eric Lee   Initial Release, ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  /*
   * Copyright 2017-2018 NXP
   *
   * This program is free software; you can redistribute it and/or
   * modify it under the terms of the GNU General Public License
   * as published by the Free Software Foundation; either version 2
   * of the License, or (at your option) any later version.
   *
   * This program is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU General Public License for more details.
   */
  
  #include "fsl-imx8qxp-lpddr4-arm2-lpspi.dts"
  
  /delete-node/&spidev0;
  
  &pinctrl_lpspi2 {
  	fsl,pins = <
  		SC_P_SPI2_SCK_ADMA_SPI2_SCK		0x0600004c
  		SC_P_SPI2_SDO_ADMA_SPI2_SDO		0x0600004c
  		SC_P_SPI2_SDI_ADMA_SPI2_SDI		0x0600004c
  		SC_P_SPI2_CS0_ADMA_SPI2_CS0		0x0600004c
  	>;
  };
  
  &lpspi2 {
  	pinctrl-0 = <&pinctrl_lpspi2>;
  	/delete-property/ cs-gpios;
  	spi-slave;
  };