Skip to content
Permalink
Browse files

dts: add CC13xx / CC26xx SPI bindings and nodes

Add bindings and device tree nodes for TI CC13xx / CC26xx SPI support.

Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
  • Loading branch information...
bwitherspoon authored and nashif committed May 23, 2019
1 parent f2eea2e commit 7713c8551955c900a8c4ef4416a7e4ad073d3ba5
Showing with 69 additions and 0 deletions.
  1. +20 −0 dts/arm/ti/cc13x2_cc26x2.dtsi
  2. +49 −0 dts/bindings/spi/ti,cc13xx-cc26xx-spi.yaml
@@ -87,6 +87,26 @@
status = "disabled";
label = "I2C_0";
};

spi0: spi@40000000 {
compatible = "ti,cc13xx-cc26xx-spi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x40000000 0x1000>;
interrupts = <7 0>;
status = "disabled";
label = "SPI_0";
};

spi1: spi@40008000 {
compatible = "ti,cc13xx-cc26xx-spi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x40008000 0x1000>;
interrupts = <8 0>;
status = "disabled";
label = "SPI_1";
};
};
};

@@ -0,0 +1,49 @@
#
# Copyright (c) 2019 Brett Witherspoon
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: TI SimpleLink CC13xx / CC26xx SPI
version: 0.1

description: >
This is a representation of the TI SimpleLink CC13xx / CC26xx SPI node
inherits:
!include spi.yaml

properties:
compatible:
constraint: "ti,cc13xx-cc26xx-spi"

reg:
type: array
category: required
description: mmio register space
generation: define

sck-pin:
type: int
category: required
description: SCK pin
generation: define

mosi-pin:
type: int
category: required
description: MOSI pin
generation: define

miso-pin:
type: int
category: required
description: MISO pin
generation: define

cs-pin:
type: int
category: optional
description: CS pin
generation: define
...

0 comments on commit 7713c85

Please sign in to comment.
You can’t perform that action at this time.