dts/bindings: Move common properties into a base.yaml

Move common properties like 'compatible', 'reg', 'reg-names',
'interrupts', 'interrupt-names', and 'label' into one common base.yaml
that all the other yaml's can inherit from.  This removes both
duplication and inconsistent definition.

The device specific yamls just need to say if a property is 'required'
or not.

NOTE: due to some generation conflicts we did not covert
'soc-nv-flash.yaml' to use base.yaml.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-06-07 11:12:49 -05:00 committed by Maureen Helm
commit 48100df875
238 changed files with 443 additions and 2000 deletions

View file

@ -10,17 +10,13 @@ version: 0.1
description: >
This binding gives a base representation of the ARC DCCM
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "arc,dccm"
generation: define
reg:
type: array
description: DCCM memory mapped address space
generation: define
category: required
...

View file

@ -10,17 +10,13 @@ version: 0.1
description: >
This binding gives a base representation of the ARC ICCM
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "arc,iccm"
generation: define
reg:
type: array
description: ICCM memory mapped address space
generation: define
category: required
...

View file

@ -10,17 +10,14 @@ version: 0.1
description: >
This binding gives a base representation of the ARM SCC
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "arm,scc"
reg:
type: array
description: mmio register space
generation: define
category: required
...

View file

@ -5,17 +5,13 @@ version: 0.1
description: >
Binding for locating the Device ID (serial number) on Atmel SAM0 devices.
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "atmel,sam0-id"
generation: define
reg:
type: array
category: required
description: Location of Device ID words in memory
generation: define
...

View file

@ -5,23 +5,16 @@ version: 0.1
description: >
Binding for the Atmel SAM0 DMA controller.
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "atmel,sam0-dmac"
generation: define
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -5,23 +5,16 @@ version: 0.1
description: >
Binding for the Atmel SAM0 multi-protocol (UART, SPI, I2C) SERCOM unit.
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "atmel,sam0-sercom"
generation: define
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -11,17 +11,13 @@ description: >
Binding for the Nordic DPPIC
Distributed Programmable Peripheral Interconnect Controller
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nordic,nrf-dppic"
generation: define
reg:
type: array
category: required
description: mmio register space
generation: define
...

View file

@ -5,18 +5,14 @@ version: 0.1
description: >
Binding for the Nordic FICR (Factory Information Configuration Registers)
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nordic,nrf-ficr"
generation: define
reg:
type: array
description: mmio register space
generation: define
category: required
...

View file

@ -5,24 +5,17 @@ version: 0.1
description: >
Binding for the Nordic SPU (System Protection Unit)
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nordic,nrf-spu"
generation: define
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -10,17 +10,14 @@ version: 0.1
description: >
This binding gives a base representation of the i.MX DTCM
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
constraint: "nxp,imx-dtcm"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
...

View file

@ -10,30 +10,21 @@ version: 0.1
description: >
This binding gives a base representation of the i.MX Enhanced Periodic Interrupt Timer (EPIT)
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,imx-epit"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
prescaler:
type: int

View file

@ -10,17 +10,14 @@ version: 0.1
description: >
This binding gives a base representation of the i.MX ITCM
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
constraint: "nxp,imx-itcm"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
...

View file

@ -10,30 +10,21 @@ version: 0.1
description: >
This binding gives a base representation of the i.MX Messaging Unit
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,imx-mu"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
rdc:
type: int

View file

@ -10,25 +10,18 @@ version: 0.1
description: >
This is a representation of the NXP Kinetis PCC IP node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,kinetis-pcc"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
"#cells":
- name

View file

@ -10,25 +10,18 @@ version: 0.1
description: >
This is a representation of the NXP Kinetis SCG IP node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,kinetis-scg"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
clk-divider-slow:
type: int

View file

@ -10,25 +10,18 @@ version: 0.1
description: >
This is a representation of the Kinetis SIM IP node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,kinetis-sim"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
clkout-source:
type: int

View file

@ -10,30 +10,20 @@ version: 0.1
description: >
This binding gives a base representation of the LPC MAILBOX
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,lpc-mailbox"
generation: define
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -6,17 +6,14 @@ version: 0.1
description: >
This binding gives a base representation of the STM32 CCM (Core Coupled Memory)
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
constraint: "st,stm32-ccm"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
...

View file

@ -7,17 +7,13 @@ description: >
This binding gives a base representation of the TI CC2650
Power, Reset, and Clock control Module.
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "ti,cc2650-prcm"
generation: define
reg:
type: array
description: mmio register space
generation: define
category: required
...

View file

@ -17,9 +17,6 @@ properties:
compatible:
constraint: "st,mpxxdtyy"
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -0,0 +1,45 @@
---
title: base device binding
version: 0.1
description: >
Binding for device
properties:
compatible:
type: string
category: required
description: compatible strings
generation: define
reg:
type: array
description: register space
generation: define
category: optional
reg-names:
type: stringlist
description: name of each register space
generation: define
category: optional
interrupts:
type: array
category: optional
description: interrupts for device
generation: define
interrupt-names:
type: stringlist
category: optional
description: name of each interrupt
generation: define
label:
type: string
category: optional
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -11,16 +11,15 @@ description: >
This binding gives the base representation of a bluetooth controller node
that provides HCI over SPI.
inherits:
!include base.yaml
parent:
bus: spi
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "zephyr,bt-hci-spi-slave"
generation: define
irq-gpios:
type: compound

View file

@ -10,23 +10,15 @@ version: 0.1
description: >
This binding gives the base structures for all can devices
inherits:
!include base.yaml
parent:
bus: can
properties:
compatible:
type: string
category: required
description: compatible strings
generation: define
reg:
type: array
description: register base address
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -5,15 +5,13 @@ version: 0.1
description: >
This binding gives the base structures for all CAN devices
inherits:
!include base.yaml
child:
bus: can
properties:
compatible:
type: string
category: required
description: compatible strings
generation: define
"#address-cells":
type: int
category: required
@ -23,10 +21,7 @@ properties:
category: required
description: should be 0.
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
bus-speed:
type: int
category: required

View file

@ -15,9 +15,6 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "microchip,mcp2515"
int-gpios:
type: compound

View file

@ -13,21 +13,10 @@ properties:
constraint: "st,stm32-can"
reg:
type: array
description: register base address
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
interrupt-names:
type: array
category: optional
description: names off the interrupt lines
gpio-port:
type: string

View file

@ -10,28 +10,19 @@ version: 0.1
description: >
This is a representation of the Nordic nRF clock control node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nordic,nrf-clock"
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
reg:
type: array
category: required
description: mmio register space
generation: define
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -10,25 +10,18 @@ version: 0.1
description: >
This is a representation of the i.MX CCM IP node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,imx-ccm"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
"#cells":
- name

View file

@ -5,18 +5,14 @@ version: 0.1
description: >
This binding gives a base representation of the STM32 Clock control
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "st,stm32-rcc"
generation: define
reg:
type: array
description: mmio register space
generation: define
category: required
"#cells":

View file

@ -10,33 +10,18 @@ version: 0.1
description: >
This is a representation of the ARM TrustZone CryptoCell 310
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "arm,cryptocell-310"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
interrupts:
type: array
category: required
description: required interrupts
generation: define
interrupt-names:
type: stringlist
category: optional
description: readable string describing the interrupts

View file

@ -10,22 +10,15 @@ version: 0.1
description: >
This is a representation of the Nordic Control Interface for ARM TrustZone CryptoCell 310
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nordic,nrf-cc310"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define

View file

@ -10,28 +10,19 @@ version: 0.1
description: >
This binding gives a base representation of the NXP i.MX eLCDIF controller
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "fsl,imx6sx-lcdif"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -11,10 +11,10 @@ description: >
This binding gives a base representation of the Rocktech LCD module with
LED backlight and capacitive touch panel.
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "rocktech,rk043fn02h-ct"
...

View file

@ -9,6 +9,9 @@ version: 0.1
description: >
This binding gives a base structures for all Ethernet devices
inherits:
!include base.yaml
properties:
local-mac-address:
type: array
@ -16,8 +19,5 @@ properties:
description: mac address
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -9,22 +9,16 @@ version: 0.1
description: >
This is a representation of the Intel E1000 Ethernet controller
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "intel,e1000"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -14,9 +14,6 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "microchip,enc28j60"
int-gpios:
type: compound

View file

@ -14,18 +14,9 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,kinetis-ethernet"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -10,15 +10,12 @@ version: 0.1
description: >
This binding gives a base representation of the NXP Kinetis Ethernet PTP
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,kinetis-ptp"
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -10,21 +10,15 @@ description: >
This is a representation of the formerly SMSC, now Microchip, LAN9220
Ethernet controller.
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "smsc,lan9220"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define

View file

@ -14,18 +14,9 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "ti,stellaris-ethernet"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -5,34 +5,13 @@ version: 0.1
description: >
This binding gives the base structures for all flash controller devices
properties:
compatible:
type: string
category: required
description: compatible strings
generation: define
inherits:
!include base.yaml
properties:
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: optional
description: required interrupts
generation: define
interrupt-names:
type: stringlist
category: optional
description: names of required interrupts
...

View file

@ -6,17 +6,14 @@ version: 0.1
description: >
This binding gives a base representation of a simulated flash memory
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "zephyr,sim-flash"
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -10,13 +10,12 @@ version: 0.1
description: >
This is a representation of GPIO pin nodes exposed as headers on Arduino R3
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "arduino-header-r3"
generation: define
gpio-map:
type: compound

View file

@ -5,23 +5,16 @@ version: 0.1
description: >
This binding gives a base representation of the ARM CMSDK GPIO
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "arm,cmsdk-gpio"
generation: define
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -5,31 +5,21 @@ version: 0.1
description: >
This is a representation of the SAM GPIO PORT nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "atmel,sam-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
peripheral-id:
type: int

View file

@ -5,25 +5,18 @@ version: 0.1
description: >
This is a representation of the SAM0 GPIO PORT nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "atmel,sam0-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
"#cells":
- pin

View file

@ -10,13 +10,12 @@ version: 0.1
description: >
This is a representation of the GPIO KEYS nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "gpio-keys"
generation: define
gpios:
type: compound
@ -24,9 +23,6 @@ properties:
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -10,13 +10,12 @@ version: 0.1
description: >
This is a representation of the LED GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "gpio-leds"
generation: define
gpios:
type: compound
@ -24,9 +23,6 @@ properties:
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -4,26 +4,19 @@ version: 0.1
description: Holtek HT16K33 Keyscan binding
inherits:
!include base.yaml
parent:
bus: ht16k33
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "holtek,ht16k33-keyscan"
generation: define
reg:
type: array
description: Keyscan row on the HT16K33 (KSx)
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
cell_string: GPIO

View file

@ -10,29 +10,20 @@ version: 0.1
description: >
This is a representation of the Intel Apollo Lake GPIO node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "intel,apl-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
interrupts:
type: int
generation: define
category: required
cell_string: GPIO

View file

@ -10,31 +10,21 @@ version: 0.1
description: >
This is a representation of the Intel QMSI GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "intel,qmsi-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
cell_string: GPIO

View file

@ -10,31 +10,21 @@ version: 0.1
description: >
This is a representation of the Intel QMSI SS GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "intel,qmsi-ss-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
cell_string: GPIO

View file

@ -11,31 +11,21 @@ version: 0.1
description: >
This is a representation of the CEC/MEC GPIO nodes for Microchip
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "microchip,xec-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: optional
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
"#cells":
- pin

View file

@ -10,25 +10,18 @@ version: 0.1
description: >
This is a representation of the NRF GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nordic,nrf-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
cell_string: GPIO

View file

@ -10,30 +10,20 @@ version: 0.1
description: >
This is a representation of the NRF GPIOTE node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nordic,nrf-gpiote"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -10,31 +10,21 @@ version: 0.1
description: >
This is a representation of the i.MX GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,imx-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
rdc:
type: int

View file

@ -5,31 +5,21 @@ version: 0.1
description: >
This is a representation of the Kinetis GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nxp,kinetis-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
"#cells":
- pin

View file

@ -5,31 +5,21 @@ version: 0.1
description: >
This is a representation of the OpenISA GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "openisa,rv32m1-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
clocks:
type: array

View file

@ -18,10 +18,7 @@ properties:
constraint: "semtech,sx1509b"
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
cell_string: GPIO

View file

@ -10,29 +10,20 @@ version: 0.1
description: >
This is a representation of the SiFive GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "sifive,gpio0"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
interrupts:
type: int
generation: define
category: required
cell_string: GPIO

View file

@ -5,25 +5,18 @@ version: 0.1
description: >
This is a representation of the EFM32 GPIO Port nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "silabs,efm32-gpio-port"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
"#cells":
- pin

View file

@ -5,31 +5,21 @@ version: 0.1
description: >
This is a representation of the EFM32 GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "silabs,efm32-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
location-swo:
type: int

View file

@ -5,25 +5,18 @@ version: 0.1
description: >
This is a representation of the EFR32MG GPIO Port nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "silabs,efr32mg-gpio-port"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
"#cells":
- pin

View file

@ -5,31 +5,21 @@ version: 0.1
description: >
This is a representation of the EFR32MG GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "silabs,efr32mg-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
location-swo:
type: int

View file

@ -5,25 +5,18 @@ version: 0.1
description: >
This is a representation of the EFR32XG1 GPIO Port nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "silabs,efr32xg1-gpio-port"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
"#cells":
- pin

View file

@ -5,31 +5,21 @@ version: 0.1
description: >
This is a representation of the EFR32XG1 GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "silabs,efr32xg1-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
location-swo:
type: int

View file

@ -10,18 +10,14 @@ version: 0.1
description: >
This is a representation of the Synopsys DesignWare gpio node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "snps,designware-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
bits:
@ -31,16 +27,10 @@ properties:
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
cell_string: GPIO

View file

@ -10,31 +10,21 @@ version: 0.1
description: >
This is a representation of the STM32 GPIO nodes
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "st,stm32-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
clocks:
type: array

View file

@ -10,31 +10,21 @@ version: 0.1
description: >
This is a representation of the TI SimpleLink CC13xx / CC26xx GPIO node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "ti,cc13xx-cc26xx-gpio"
generation: define
reg:
type: int
category: required
description: mmio register space
generation: define
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
cell_string: GPIO

View file

@ -6,23 +6,16 @@ version: 0.1
description: >
This is a representation of the TI CC2650 GPIO node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "ti,cc2650-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
...

View file

@ -6,31 +6,21 @@ version: 0.1
description: >
This is a representation of the TI CC32XX GPIO node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "ti,cc32xx-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
cell_string: GPIO

View file

@ -6,31 +6,21 @@ version: 0.1
description: >
This is a representation of the TI Stellaris GPIO node
inherits:
!include base.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "ti,stellaris-gpio"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
interrupts:
type: compound
category: required
description: required interrupts
generation: define
"#cells":
- pin

View file

@ -18,9 +18,6 @@ properties:
constraint: "arm,versatile-i2c"
reg:
type: array
description: mmio register space
generation: define
category: required
...

View file

@ -18,16 +18,10 @@ properties:
constraint: "atmel,sam-i2c-twi"
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

View file

@ -18,16 +18,10 @@ properties:
constraint: "atmel,sam-i2c-twihs"
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

View file

@ -15,22 +15,13 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "atmel,sam0-i2c"
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
dma:
type: int

View file

@ -18,16 +18,10 @@ properties:
constraint: "fsl,imx7d-i2c"
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
rdc:
type: int

View file

@ -10,23 +10,15 @@ version: 0.1
description: >
This binding gives the base structures for all i2c devices
inherits:
!include base.yaml
parent:
bus: i2c
properties:
compatible:
type: string
category: required
description: compatible strings
generation: define
reg:
type: array
description: address on i2c bus
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -10,15 +10,13 @@ version: 0.1
description: >
This binding gives the base structures for all I2C devices
inherits:
!include base.yaml
child:
bus: i2c
properties:
compatible:
type: string
category: required
description: compatible strings
generation: define
"#address-cells":
type: int
category: required
@ -38,8 +36,5 @@ properties:
description: Clock gate information
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -18,15 +18,9 @@ properties:
constraint: "intel,qmsi-i2c"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -18,20 +18,9 @@ properties:
constraint: "intel,qmsi-ss-i2c"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
interrupt-names:
type: stringlist
category: optional
description: readable string describing the interrupts
...

View file

@ -15,16 +15,9 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "microchip,xec-i2c"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
port_sel:

View file

@ -18,15 +18,9 @@ properties:
constraint: "nios2,i2c"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
...

View file

@ -16,22 +16,13 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "nordic,nrf-i2c"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
sda-pin:
type: int

View file

@ -18,13 +18,7 @@ properties:
constraint: "nxp,imx-lpi2c"
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define

View file

@ -18,13 +18,7 @@ properties:
constraint: "nxp,kinetis-i2c"
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define

View file

@ -18,13 +18,7 @@ properties:
constraint: "openisa,rv32m1-lpi2c"
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define

View file

@ -15,11 +15,7 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "sifive,i2c0"
generation: define
input-frequency:
type: int
@ -28,9 +24,6 @@ properties:
generation: define
reg:
type: array
description: mmio register space
generation: define
category: required
...

View file

@ -15,22 +15,13 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "silabs,gecko-i2c"
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
# Note: Not all SoC series support setting individual pin location. If this
# is a case all location-* properties need to have identical value.

View file

@ -18,16 +18,10 @@ properties:
constraint: "snps,designware-i2c"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
pcie:
type: boolean

View file

@ -18,19 +18,9 @@ properties:
constraint: "st,stm32-i2c-v1"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
interrupt-names:
type: stringlist
category: optional
description: readable string describing the interrupts
...

View file

@ -18,19 +18,8 @@ properties:
constraint: "st,stm32-i2c-v2"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
interrupt-names:
type: stringlist
category: optional
description: readable string describing the interrupts
...

View file

@ -15,22 +15,13 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "ti,cc13xx-cc26xx-i2c"
reg:
type: array
category: required
description: mmio register space
generation: define
interrupts:
type: array
category: required
description: required interrupts
generation: define
sda-pin:
type: int

View file

@ -13,15 +13,9 @@ properties:
constraint: "ti,cc32xx-i2c"
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
...

View file

@ -10,24 +10,16 @@ version: 0.1
description: >
This binding gives the base structures for all i2s devices
inherits:
!include base.yaml
parent:
bus: i2s
properties:
compatible:
type: string
category: required
description: compatible strings
generation: define
reg:
type: array
description: Logic number of device
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

View file

@ -10,15 +10,13 @@ version: 0.1
description: >
This binding gives the base structures for all I2S devices
inherits:
!include base.yaml
child:
bus: i2s
properties:
compatible:
type: string
category: required
description: compatible strings
generation: define
"#address-cells":
type: int
category: required
@ -28,15 +26,11 @@ properties:
category: required
description: should be 0.
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
clocks:
type: array
category: optional
description: Clock gate information
generation: define
...

View file

@ -18,20 +18,9 @@ properties:
constraint: "st,stm32-i2s"
reg:
type: array
description: mmio register space
generation: define
category: required
interrupts:
type: array
category: required
description: required interrupts
generation: define
interrupt-names:
type: stringlist
category: optional
description: readable string describing the interrupts
...

View file

@ -15,9 +15,6 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "ti,cc1200"
...

View file

@ -15,9 +15,6 @@ inherits:
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "ti,cc2520"
vreg-en-gpios:

View file

@ -10,13 +10,10 @@ version: 0.1
description: >
This binding gives the base structures for all ADC devices
properties:
compatible:
type: string
category: required
description: compatible strings
generation: define
inherits:
!include base.yaml
properties:
clocks:
type: array
category: required
@ -24,8 +21,5 @@ properties:
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...

Some files were not shown because too many files have changed in this diff Show more