diff --git a/dts/arm/atmel/same70.dtsi b/dts/arm/atmel/same70.dtsi index e86cccb47ed..39814755603 100644 --- a/dts/arm/atmel/same70.dtsi +++ b/dts/arm/atmel/same70.dtsi @@ -68,6 +68,28 @@ status = "disabled"; }; + spi0: spi@40008000 { + compatible = "atmel,sam-spi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x40008000 0x4000>; + interrupts = <21 0>; + peripheral-id = <21>; + label = "SPI_0"; + status = "disabled"; + }; + + spi1: spi@40058000 { + compatible = "atmel,sam-spi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x40058000 0x4000>; + interrupts = <42 0>; + peripheral-id = <42>; + label = "SPI_1"; + status = "disabled"; + }; + uart0: uart@400E0800 { compatible = "atmel,sam-uart"; reg = <0x400E0800 0x100>; diff --git a/dts/bindings/spi/atmel,sam-spi.yaml b/dts/bindings/spi/atmel,sam-spi.yaml new file mode 100644 index 00000000000..aff72db340c --- /dev/null +++ b/dts/bindings/spi/atmel,sam-spi.yaml @@ -0,0 +1,38 @@ +# +# Copyright (c) 2018, qianfan Zhao +# +# SPDX-License-Identifier: Apache-2.0 +# +--- +title: Atmel SAM SPI driver +id: atmel,sam-spi +version: 0.1 + +description: > + This binding gives a base representation of the Atmel SAM SPI controller + +inherits: + !include spi.yaml + +properties: + compatible: + constraint: "atmel,sam-spi" + + reg: + type: array + description: mmio register space + generation: define + category: required + + interrupts: + type: array + category: required + description: required interrupts + generation: define + + peripheral-id: + type: int + description: peripheral ID + generation: define + category: required +...