dts: spi: Add cypress PSoC-6 controller

Add Cypress PSoC-6 SPI controller and pinctrl nodes.

Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
This commit is contained in:
Gerson Fernando Budke 2020-09-29 11:14:18 -03:00 committed by Carles Cufí
commit 3155b762a6
2 changed files with 114 additions and 0 deletions

View file

@ -0,0 +1,34 @@
# Copyright (c) 2021, ATL Electronics
# SPDX-License-Identifier: Apache-2.0
description: Cypress SBC[SPI]
compatible: "cypress,psoc6-spi"
include: spi-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
peripheral-id:
type: int
description: peripheral ID
required: true
pinctrl-0:
type: phandles
description: |
Port pin configuration for the various SPI signals that includes
MISO, MOSI, SCK, and possibly various chip selects signals. We
expect that the phandles will reference pinctrl nodes. These
nodes will have a nodelabel that matches the Cypress SoC HAL defines
and be of the form p<port>_<pin>_<periph><inst>_<signal>.
For example the SPI on PSoC-63 Pioneer Kit would be
pinctrl-0 = <&p12_0_spi6_mosi &p12_1_spi6_miso &p12_2_spi6_clk &p12_3_spi6_sel0>;
required: true