1# Copyright (c) 2021, ATL Electronics 2# SPDX-License-Identifier: Apache-2.0 3 4description: Cypress SBC[SPI] 5 6compatible: "cypress,psoc6-spi" 7 8include: [spi-controller.yaml, pinctrl-device.yaml] 9 10properties: 11 reg: 12 required: true 13 14 interrupts: 15 required: true 16 17 peripheral-id: 18 type: int 19 description: peripheral ID 20 required: true 21 22 pinctrl-0: 23 type: phandles 24 description: | 25 Port pin configuration for the various SPI signals that includes 26 MISO, MOSI, SCK, and possibly various chip selects signals. We 27 expect that the phandles will reference pinctrl nodes. These 28 nodes will have a nodelabel that matches the Cypress SoC HAL defines 29 and be of the form p<port>_<pin>_<periph><inst>_<signal>. 30 31 For example the SPI on PSOC 63 Pioneer Kit would be 32 pinctrl-0 = <&p12_0_spi6_mosi &p12_1_spi6_miso &p12_2_spi6_clk &p12_3_spi6_sel0>; 33 34 required: true 35