yamllint: indentation: fix dts/bindings/
Fix the YAML files indentation for files in dts/bindings/. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
0daa3a78a9
commit
eb0a524972
913 changed files with 14009 additions and 14009 deletions
|
@ -7,142 +7,142 @@
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#address-cells":
|
"#address-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
"#size-cells":
|
"#size-cells":
|
||||||
const: 0
|
const: 0
|
||||||
|
|
||||||
child-binding:
|
child-binding:
|
||||||
description: |
|
description: |
|
||||||
Channel configuration.
|
Channel configuration.
|
||||||
|
|
||||||
All nodes using this binding must be named "channel", otherwise their
|
All nodes using this binding must be named "channel", otherwise their
|
||||||
data will not be accessible for the ADC API macros.
|
data will not be accessible for the ADC API macros.
|
||||||
|
|
||||||
This is based on Linux, documentation:
|
This is based on Linux, documentation:
|
||||||
https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/adc/adc.yaml
|
https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/adc/adc.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
type: array
|
type: array
|
||||||
required: true
|
required: true
|
||||||
description: Channel identifier.
|
description: Channel identifier.
|
||||||
|
|
||||||
zephyr,gain:
|
zephyr,gain:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
Gain selection:
|
Gain selection:
|
||||||
- ADC_GAIN_1_6: x 1/6
|
- ADC_GAIN_1_6: x 1/6
|
||||||
- ADC_GAIN_1_5: x 1/5
|
- ADC_GAIN_1_5: x 1/5
|
||||||
- ADC_GAIN_1_4: x 1/4
|
- ADC_GAIN_1_4: x 1/4
|
||||||
- ADC_GAIN_1_3: x 1/3
|
- ADC_GAIN_1_3: x 1/3
|
||||||
- ADC_GAIN_2_5: x 2/5
|
- ADC_GAIN_2_5: x 2/5
|
||||||
- ADC_GAIN_1_2: x 1/2
|
- ADC_GAIN_1_2: x 1/2
|
||||||
- ADC_GAIN_2_3: x 2/3
|
- ADC_GAIN_2_3: x 2/3
|
||||||
- ADC_GAIN_4_5: x 4/5
|
- ADC_GAIN_4_5: x 4/5
|
||||||
- ADC_GAIN_1: x 1
|
- ADC_GAIN_1: x 1
|
||||||
- ADC_GAIN_2: x 2
|
- ADC_GAIN_2: x 2
|
||||||
- ADC_GAIN_3: x 3
|
- ADC_GAIN_3: x 3
|
||||||
- ADC_GAIN_4: x 4
|
- ADC_GAIN_4: x 4
|
||||||
- ADC_GAIN_6: x 6
|
- ADC_GAIN_6: x 6
|
||||||
- ADC_GAIN_8: x 8
|
- ADC_GAIN_8: x 8
|
||||||
- ADC_GAIN_12: x 12
|
- ADC_GAIN_12: x 12
|
||||||
- ADC_GAIN_16: x 16
|
- ADC_GAIN_16: x 16
|
||||||
- ADC_GAIN_24: x 24
|
- ADC_GAIN_24: x 24
|
||||||
- ADC_GAIN_32: x 32
|
- ADC_GAIN_32: x 32
|
||||||
- ADC_GAIN_64: x 64
|
- ADC_GAIN_64: x 64
|
||||||
- ADC_GAIN_128: x 128
|
- ADC_GAIN_128: x 128
|
||||||
enum:
|
enum:
|
||||||
- "ADC_GAIN_1_6"
|
- "ADC_GAIN_1_6"
|
||||||
- "ADC_GAIN_1_5"
|
- "ADC_GAIN_1_5"
|
||||||
- "ADC_GAIN_1_4"
|
- "ADC_GAIN_1_4"
|
||||||
- "ADC_GAIN_1_3"
|
- "ADC_GAIN_1_3"
|
||||||
- "ADC_GAIN_2_5"
|
- "ADC_GAIN_2_5"
|
||||||
- "ADC_GAIN_1_2"
|
- "ADC_GAIN_1_2"
|
||||||
- "ADC_GAIN_2_3"
|
- "ADC_GAIN_2_3"
|
||||||
- "ADC_GAIN_4_5"
|
- "ADC_GAIN_4_5"
|
||||||
- "ADC_GAIN_1"
|
- "ADC_GAIN_1"
|
||||||
- "ADC_GAIN_2"
|
- "ADC_GAIN_2"
|
||||||
- "ADC_GAIN_3"
|
- "ADC_GAIN_3"
|
||||||
- "ADC_GAIN_4"
|
- "ADC_GAIN_4"
|
||||||
- "ADC_GAIN_6"
|
- "ADC_GAIN_6"
|
||||||
- "ADC_GAIN_8"
|
- "ADC_GAIN_8"
|
||||||
- "ADC_GAIN_12"
|
- "ADC_GAIN_12"
|
||||||
- "ADC_GAIN_16"
|
- "ADC_GAIN_16"
|
||||||
- "ADC_GAIN_24"
|
- "ADC_GAIN_24"
|
||||||
- "ADC_GAIN_32"
|
- "ADC_GAIN_32"
|
||||||
- "ADC_GAIN_64"
|
- "ADC_GAIN_64"
|
||||||
- "ADC_GAIN_128"
|
- "ADC_GAIN_128"
|
||||||
|
|
||||||
zephyr,reference:
|
zephyr,reference:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
Reference selection:
|
Reference selection:
|
||||||
- ADC_REF_VDD_1: VDD
|
- ADC_REF_VDD_1: VDD
|
||||||
- ADC_REF_VDD_1_2: VDD/2
|
- ADC_REF_VDD_1_2: VDD/2
|
||||||
- ADC_REF_VDD_1_3: VDD/3
|
- ADC_REF_VDD_1_3: VDD/3
|
||||||
- ADC_REF_VDD_1_4: VDD/4
|
- ADC_REF_VDD_1_4: VDD/4
|
||||||
- ADC_REF_INTERNAL: Internal
|
- ADC_REF_INTERNAL: Internal
|
||||||
- ADC_REF_EXTERNAL0: External, input 0
|
- ADC_REF_EXTERNAL0: External, input 0
|
||||||
- ADC_REF_EXTERNAL1: External, input 1
|
- ADC_REF_EXTERNAL1: External, input 1
|
||||||
enum:
|
enum:
|
||||||
- "ADC_REF_VDD_1"
|
- "ADC_REF_VDD_1"
|
||||||
- "ADC_REF_VDD_1_2"
|
- "ADC_REF_VDD_1_2"
|
||||||
- "ADC_REF_VDD_1_3"
|
- "ADC_REF_VDD_1_3"
|
||||||
- "ADC_REF_VDD_1_4"
|
- "ADC_REF_VDD_1_4"
|
||||||
- "ADC_REF_INTERNAL"
|
- "ADC_REF_INTERNAL"
|
||||||
- "ADC_REF_EXTERNAL0"
|
- "ADC_REF_EXTERNAL0"
|
||||||
- "ADC_REF_EXTERNAL1"
|
- "ADC_REF_EXTERNAL1"
|
||||||
|
|
||||||
zephyr,vref-mv:
|
zephyr,vref-mv:
|
||||||
type: int
|
type: int
|
||||||
description: |
|
description: |
|
||||||
This property can be used to specify the voltage (in millivolts)
|
This property can be used to specify the voltage (in millivolts)
|
||||||
of the reference selected for this channel, so that applications
|
of the reference selected for this channel, so that applications
|
||||||
can get that value if needed for some calculations.
|
can get that value if needed for some calculations.
|
||||||
For the internal reference, the voltage can be usually obtained with
|
For the internal reference, the voltage can be usually obtained with
|
||||||
a dedicated ADC API call, so there is no need to use this property
|
a dedicated ADC API call, so there is no need to use this property
|
||||||
in that case, but for other references this property can be useful.
|
in that case, but for other references this property can be useful.
|
||||||
|
|
||||||
zephyr,acquisition-time:
|
zephyr,acquisition-time:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
Acquisition time.
|
Acquisition time.
|
||||||
Use the ADC_ACQ_TIME macro to compose the value for this property
|
Use the ADC_ACQ_TIME macro to compose the value for this property
|
||||||
or pass ADC_ACQ_TIME_DEFAULT to use the default setting for a given
|
or pass ADC_ACQ_TIME_DEFAULT to use the default setting for a given
|
||||||
hardware (e.g. when the hardware does not allow to configure the
|
hardware (e.g. when the hardware does not allow to configure the
|
||||||
acquisition time).
|
acquisition time).
|
||||||
|
|
||||||
zephyr,input-positive:
|
zephyr,input-positive:
|
||||||
type: int
|
type: int
|
||||||
description: |
|
description: |
|
||||||
Positive ADC input. Used only for drivers that select
|
Positive ADC input. Used only for drivers that select
|
||||||
the ADC_CONFIGURABLE_INPUTS Kconfig option.
|
the ADC_CONFIGURABLE_INPUTS Kconfig option.
|
||||||
|
|
||||||
zephyr,input-negative:
|
zephyr,input-negative:
|
||||||
type: int
|
type: int
|
||||||
description: |
|
description: |
|
||||||
Negative ADC input. Used only for drivers that select
|
Negative ADC input. Used only for drivers that select
|
||||||
the ADC_CONFIGURABLE_INPUTS Kconfig option.
|
the ADC_CONFIGURABLE_INPUTS Kconfig option.
|
||||||
When specified, the channel is to be used in differential input mode,
|
When specified, the channel is to be used in differential input mode,
|
||||||
otherwise, single-ended mode is used.
|
otherwise, single-ended mode is used.
|
||||||
|
|
||||||
zephyr,resolution:
|
zephyr,resolution:
|
||||||
type: int
|
type: int
|
||||||
description: |
|
description: |
|
||||||
ADC resolution to be used for the channel.
|
ADC resolution to be used for the channel.
|
||||||
|
|
||||||
zephyr,oversampling:
|
zephyr,oversampling:
|
||||||
type: int
|
type: int
|
||||||
description: |
|
description: |
|
||||||
Oversampling setting to be used for the channel.
|
Oversampling setting to be used for the channel.
|
||||||
When specified, each sample is averaged from 2^N conversion results
|
When specified, each sample is averaged from 2^N conversion results
|
||||||
(where N is the provided value).
|
(where N is the provided value).
|
||||||
|
|
|
@ -16,17 +16,17 @@ compatible: "arduino,uno-adc"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
io-channel-map:
|
io-channel-map:
|
||||||
type: compound
|
type: compound
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
io-channel-map-mask:
|
io-channel-map-mask:
|
||||||
type: compound
|
type: compound
|
||||||
|
|
||||||
io-channel-map-pass-thru:
|
io-channel-map-pass-thru:
|
||||||
type: compound
|
type: compound
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Number of items to expect in an ADC specifier
|
description: Number of items to expect in an ADC specifier
|
||||||
|
|
|
@ -3,23 +3,23 @@ description: Atmel SAM family AFEC
|
||||||
compatible: "atmel,sam-afec"
|
compatible: "atmel,sam-afec"
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- name: adc-controller.yaml
|
- name: adc-controller.yaml
|
||||||
- name: pinctrl-device.yaml
|
- name: pinctrl-device.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
peripheral-id:
|
peripheral-id:
|
||||||
type: int
|
type: int
|
||||||
description: peripheral ID
|
description: peripheral ID
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -6,44 +6,44 @@ description: Atmel SAM0 family ADC
|
||||||
compatible: "atmel,sam0-adc"
|
compatible: "atmel,sam0-adc"
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- name: adc-controller.yaml
|
- name: adc-controller.yaml
|
||||||
- name: pinctrl-device.yaml
|
- name: pinctrl-device.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
gclk:
|
gclk:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: generic clock generator source
|
description: generic clock generator source
|
||||||
|
|
||||||
prescaler:
|
prescaler:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: clock prescaler divisor applied to the generic clock
|
description: clock prescaler divisor applied to the generic clock
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
calib-offset:
|
calib-offset:
|
||||||
type: int
|
type: int
|
||||||
description: |
|
description: |
|
||||||
bit position offset in NVM SW Calib for start of ADC0 BIASCOMP field.
|
bit position offset in NVM SW Calib for start of ADC0 BIASCOMP field.
|
||||||
This property is expected to be set on SAM{D,E}5x family of SoCs.
|
This property is expected to be set on SAM{D,E}5x family of SoCs.
|
||||||
For ADC0 this should be 0, and for ADC1 this should be 14.
|
For ADC0 this should be 0, and for ADC1 this should be 14.
|
||||||
enum:
|
enum:
|
||||||
- 0
|
- 0
|
||||||
- 14
|
- 14
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -19,38 +19,38 @@ compatible: "gd,gd32-adc"
|
||||||
include: [adc-controller.yaml, reset-device.yaml, pinctrl-device.yaml]
|
include: [adc-controller.yaml, reset-device.yaml, pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
resets:
|
resets:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
rcu-clock-source:
|
rcu-clock-source:
|
||||||
type: int
|
type: int
|
||||||
description: |
|
description: |
|
||||||
Some GD32 ADC have additional clock source, like IRC14M or IRC28M.
|
Some GD32 ADC have additional clock source, like IRC14M or IRC28M.
|
||||||
This property used to select the clock and related prescaler, valid
|
This property used to select the clock and related prescaler, valid
|
||||||
values defined at 'dts-bindings/adc/gd32xxx.h' headers.
|
values defined at 'dts-bindings/adc/gd32xxx.h' headers.
|
||||||
|
|
||||||
channels:
|
channels:
|
||||||
type: int
|
type: int
|
||||||
description: Number of external channels
|
description: Number of external channels
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
pinctrl-0:
|
pinctrl-0:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
pinctrl-names:
|
pinctrl-names:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -13,20 +13,20 @@ compatible: "infineon,xmc4xxx-adc"
|
||||||
include: adc-controller.yaml
|
include: adc-controller.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
vref-internal-mv:
|
vref-internal-mv:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
This property sets the internal reference voltage (in millivolts).
|
This property sets the internal reference voltage (in millivolts).
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,14 +8,14 @@ compatible: "ite,it8xxx2-adc"
|
||||||
include: [adc-controller.yaml, pinctrl-device.yaml]
|
include: [adc-controller.yaml, pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
pinctrl-0:
|
pinctrl-0:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
pinctrl-names:
|
pinctrl-names:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
include: [adc-controller.yaml, spi-device.yaml]
|
include: [adc-controller.yaml, spi-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- channel
|
- channel
|
||||||
|
|
|
@ -9,30 +9,30 @@ compatible: "microchip,xec-adc-v2"
|
||||||
include: [adc-controller.yaml, pinctrl-device.yaml]
|
include: [adc-controller.yaml, pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
girqs:
|
girqs:
|
||||||
type: array
|
type: array
|
||||||
required: true
|
required: true
|
||||||
description: Array of pairs of GIRQ number and bit position
|
description: Array of pairs of GIRQ number and bit position
|
||||||
|
|
||||||
pcrs:
|
pcrs:
|
||||||
type: array
|
type: array
|
||||||
required: true
|
required: true
|
||||||
description: ADC PCR register index and bit position
|
description: ADC PCR register index and bit position
|
||||||
|
|
||||||
pinctrl-0:
|
pinctrl-0:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
pinctrl-names:
|
pinctrl-names:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,25 +8,25 @@ compatible: "microchip,xec-adc"
|
||||||
include: [adc-controller.yaml, pinctrl-device.yaml]
|
include: [adc-controller.yaml, pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
clktime:
|
clktime:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: ADC clock high & low time count value <1:255>
|
description: ADC clock high & low time count value <1:255>
|
||||||
|
|
||||||
pinctrl-0:
|
pinctrl-0:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
pinctrl-names:
|
pinctrl-names:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,14 +8,14 @@ compatible: "nordic,nrf-adc"
|
||||||
include: adc-controller.yaml
|
include: adc-controller.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,16 +8,16 @@ compatible: "nordic,nrf-comp"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
type: int
|
type: int
|
||||||
const: 1
|
const: 1
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,16 +8,16 @@ compatible: "nordic,nrf-lpcomp"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
type: int
|
type: int
|
||||||
const: 1
|
const: 1
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,14 +8,14 @@ compatible: "nordic,nrf-saadc"
|
||||||
include: adc-controller.yaml
|
include: adc-controller.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,33 +8,33 @@ compatible: "nxp,kinetis-adc12"
|
||||||
include: [adc-controller.yaml, pinctrl-device.yaml]
|
include: [adc-controller.yaml, pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clk-source:
|
clk-source:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: converter clock source
|
description: converter clock source
|
||||||
|
|
||||||
clk-divider:
|
clk-divider:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: clock divider for the converter
|
description: clock divider for the converter
|
||||||
|
|
||||||
alternate-voltage-reference:
|
alternate-voltage-reference:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: use alternate voltage reference source
|
description: use alternate voltage reference source
|
||||||
|
|
||||||
sample-time:
|
sample-time:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: sample time in clock cycles
|
description: sample time in clock cycles
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,49 +8,49 @@ compatible: "nxp,kinetis-adc16"
|
||||||
include: ["adc-controller.yaml", "pinctrl-device.yaml"]
|
include: ["adc-controller.yaml", "pinctrl-device.yaml"]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
channel-mux-b:
|
channel-mux-b:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: |
|
description: |
|
||||||
Use alternate set (b instead of a) of ADC channels
|
Use alternate set (b instead of a) of ADC channels
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
periodic-trigger:
|
periodic-trigger:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: if periodic trigger enabled
|
description: if periodic trigger enabled
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
clk-source:
|
clk-source:
|
||||||
type: int
|
type: int
|
||||||
description: use alternate clock reference source
|
description: use alternate clock reference source
|
||||||
|
|
||||||
long-sample:
|
long-sample:
|
||||||
type: int
|
type: int
|
||||||
enum:
|
enum:
|
||||||
- 0
|
- 0
|
||||||
- 1
|
- 1
|
||||||
- 2
|
- 2
|
||||||
- 3
|
- 3
|
||||||
- 4
|
- 4
|
||||||
description: long sample mode
|
description: long sample mode
|
||||||
|
|
||||||
continuous-convert:
|
continuous-convert:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: If use continuous convert
|
description: If use continuous convert
|
||||||
|
|
||||||
high-speed:
|
high-speed:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: If use high speed
|
description: If use high speed
|
||||||
|
|
||||||
hw-trigger-src:
|
hw-trigger-src:
|
||||||
type: int
|
type: int
|
||||||
description: hardware trigger source (See ADCxTRGSEL field in user manual for more details)
|
description: hardware trigger source (See ADCxTRGSEL field in user manual for more details)
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,20 +8,20 @@ compatible: "raspberrypi,pico-adc"
|
||||||
include: [adc-controller.yaml, pinctrl-device.yaml, reset-device.yaml]
|
include: [adc-controller.yaml, pinctrl-device.yaml, reset-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
vref-mv:
|
vref-mv:
|
||||||
type: int
|
type: int
|
||||||
default: 3300
|
default: 3300
|
||||||
description: |
|
description: |
|
||||||
Indicate the reference voltage of the ADC in mV.
|
Indicate the reference voltage of the ADC in mV.
|
||||||
Raspberry Pi has one voltage reference.
|
Raspberry Pi has one voltage reference.
|
||||||
And it is usually connected to VDD.
|
And it is usually connected to VDD.
|
||||||
In such case, set this property to the VDD (in mV) value.
|
In such case, set this property to the VDD (in mV) value.
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -9,40 +9,40 @@ compatible: "st,stm32-adc"
|
||||||
include: [adc-controller.yaml, pinctrl-device.yaml]
|
include: [adc-controller.yaml, pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
pinctrl-0:
|
pinctrl-0:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
pinctrl-names:
|
pinctrl-names:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
vref-mv:
|
vref-mv:
|
||||||
type: int
|
type: int
|
||||||
default: 3300
|
default: 3300
|
||||||
description: Indicates the reference voltage of the ADC in mV (on the target board).
|
description: Indicates the reference voltage of the ADC in mV (on the target board).
|
||||||
|
|
||||||
has-temp-channel:
|
has-temp-channel:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates if the ADC has a dedicated internal temperature sensor channel.
|
description: Indicates if the ADC has a dedicated internal temperature sensor channel.
|
||||||
|
|
||||||
has-vref-channel:
|
has-vref-channel:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates if the ADC has a dedicated internal voltage reference channel.
|
description: Indicates if the ADC has a dedicated internal voltage reference channel.
|
||||||
|
|
||||||
has-vbat-channel:
|
has-vbat-channel:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates if the ADC has a dedicated internal vbat monitoring channel.
|
description: Indicates if the ADC has a dedicated internal vbat monitoring channel.
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,31 +8,31 @@ compatible: "telink,b91-adc"
|
||||||
include: adc-controller.yaml
|
include: adc-controller.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
sample-freq:
|
sample-freq:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
enum:
|
enum:
|
||||||
- 23000
|
- 23000
|
||||||
- 48000
|
- 48000
|
||||||
- 96000
|
- 96000
|
||||||
description: |
|
description: |
|
||||||
This property selects the ADC source frequency: 23 kHz, 48 kHz, or 96 kHz.
|
This property selects the ADC source frequency: 23 kHz, 48 kHz, or 96 kHz.
|
||||||
|
|
||||||
vref-internal-mv:
|
vref-internal-mv:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
enum:
|
enum:
|
||||||
- 900
|
- 900
|
||||||
- 1200
|
- 1200
|
||||||
description: |
|
description: |
|
||||||
This property selects the internal reference voltage source (in millivolts).
|
This property selects the internal reference voltage source (in millivolts).
|
||||||
The external reference source is not supported.
|
The external reference source is not supported.
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "ti,ads1119"
|
||||||
include: [adc-controller.yaml, i2c-device.yaml]
|
include: [adc-controller.yaml, i2c-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
include: [adc-controller.yaml, i2c-device.yaml]
|
include: [adc-controller.yaml, i2c-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,14 +8,14 @@ compatible: "ti,cc13xx-cc26xx-adc"
|
||||||
include: [adc-controller.yaml]
|
include: [adc-controller.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -8,14 +8,14 @@ compatible: "ti,cc32xx-adc"
|
||||||
include: adc-controller.yaml
|
include: adc-controller.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -5,13 +5,13 @@ include: [adc-controller.yaml, spi-device.yaml]
|
||||||
bus: lmp90xxx
|
bus: lmp90xxx
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
drdyb-gpios:
|
drdyb-gpios:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
description: Data Ready Bar
|
description: Data Ready Bar
|
||||||
|
|
||||||
"#io-channel-cells":
|
"#io-channel-cells":
|
||||||
const: 2
|
const: 2
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- positive
|
- positive
|
||||||
- negative
|
- negative
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
include: ti,lmp90xxx-base.yaml
|
include: ti,lmp90xxx-base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
rtd-current:
|
rtd-current:
|
||||||
type: int
|
type: int
|
||||||
description: RTD current in microampere
|
description: RTD current in microampere
|
||||||
|
|
|
@ -10,29 +10,29 @@ compatible: "voltage-divider"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
io-channels:
|
io-channels:
|
||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
Channels available with this divider configuration.
|
Channels available with this divider configuration.
|
||||||
|
|
||||||
output-ohms:
|
output-ohms:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
Resistance of the lower leg of the voltage divider
|
Resistance of the lower leg of the voltage divider
|
||||||
|
|
||||||
full-ohms:
|
full-ohms:
|
||||||
type: int
|
type: int
|
||||||
description: |
|
description: |
|
||||||
Resistance of the full path through the voltage divider.
|
Resistance of the full path through the voltage divider.
|
||||||
|
|
||||||
If absent or zero the driver assumes that the upper leg is a
|
If absent or zero the driver assumes that the upper leg is a
|
||||||
resistance-based sensor.
|
resistance-based sensor.
|
||||||
|
|
||||||
power-gpios:
|
power-gpios:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
description: |
|
description: |
|
||||||
Control power to the voltage divider inputs.
|
Control power to the voltage divider inputs.
|
||||||
|
|
||||||
If present the corresponding GPIO must be set to an active level
|
If present the corresponding GPIO must be set to an active level
|
||||||
to enable the divider input.
|
to enable the divider input.
|
||||||
|
|
|
@ -8,38 +8,38 @@ compatible: "zephyr,adc-emul"
|
||||||
include: adc-controller.yaml
|
include: adc-controller.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
nchannels:
|
nchannels:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Number of emulated ADC channels. Should be in 1-32 range.
|
description: Number of emulated ADC channels. Should be in 1-32 range.
|
||||||
|
|
||||||
ref-internal-mv:
|
ref-internal-mv:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
description:
|
description:
|
||||||
Internal reference voltage in mV. If not provided or set to zero,
|
Internal reference voltage in mV. If not provided or set to zero,
|
||||||
channel setup with ADC_REF_INTERNAL will fail.
|
channel setup with ADC_REF_INTERNAL will fail.
|
||||||
|
|
||||||
ref-vdd-mv:
|
ref-vdd-mv:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
description:
|
description:
|
||||||
VDD reference voltage in mV. If not provided or set to zero,
|
VDD reference voltage in mV. If not provided or set to zero,
|
||||||
channel setup with ADC_REF_VDD_X will fail.
|
channel setup with ADC_REF_VDD_X will fail.
|
||||||
|
|
||||||
ref-external0-mv:
|
ref-external0-mv:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
description:
|
description:
|
||||||
External 0 reference voltage in mV. If not provided or set to zero,
|
External 0 reference voltage in mV. If not provided or set to zero,
|
||||||
channel setup with ADC_REF_EXTERNAL0 will fail.
|
channel setup with ADC_REF_EXTERNAL0 will fail.
|
||||||
|
|
||||||
ref-external1-mv:
|
ref-external1-mv:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
description:
|
description:
|
||||||
External 1 reference voltage in mV. If not provided or set to zero,
|
External 1 reference voltage in mV. If not provided or set to zero,
|
||||||
channel setup with ADC_REF_EXTERNAL1 will fail.
|
channel setup with ADC_REF_EXTERNAL1 will fail.
|
||||||
|
|
||||||
io-channel-cells:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
|
@ -9,5 +9,5 @@ compatible: "intel,alh-dai"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "arc,dccm"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "arc,iccm"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -10,5 +10,5 @@ compatible: "arc,xccm"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -10,5 +10,5 @@ compatible: "arc,yccm"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,9 +8,9 @@ compatible: "arm,beetle-syscon"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
required: true
|
required: true
|
||||||
const: 0
|
const: 0
|
||||||
|
|
|
@ -7,5 +7,5 @@ compatible: "arm,dtcm"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -17,16 +17,16 @@ compatible: "arm,ethos-u"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
secure-enable:
|
secure-enable:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Configure Ethos-U NPU to operate in secure- or non-secure mode
|
description: Configure Ethos-U NPU to operate in secure- or non-secure mode
|
||||||
|
|
||||||
privilege-enable:
|
privilege-enable:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Configure Ethos-U NPU to operate in privileged- or non-privileged mode
|
description: Configure Ethos-U NPU to operate in privileged- or non-privileged mode
|
||||||
|
|
|
@ -7,5 +7,5 @@ compatible: "arm,itcm"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "arm,scc"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -6,35 +6,35 @@ description: Atmel SAM SSC (Synchronous Serial Controller) controller
|
||||||
compatible: "atmel,sam-ssc"
|
compatible: "atmel,sam-ssc"
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- name: base.yaml
|
- name: base.yaml
|
||||||
- name: pinctrl-device.yaml
|
- name: pinctrl-device.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
peripheral-id:
|
peripheral-id:
|
||||||
type: int
|
type: int
|
||||||
description: peripheral ID
|
description: peripheral ID
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
dmas:
|
dmas:
|
||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
TX & RX dma specifiers. Each specifier will have a phandle
|
TX & RX dma specifiers. Each specifier will have a phandle
|
||||||
reference to the dma controller, the channel number, and peripheral
|
reference to the dma controller, the channel number, and peripheral
|
||||||
trigger source.
|
trigger source.
|
||||||
|
|
||||||
For example dmas for TX, RX would look like
|
For example dmas for TX, RX would look like
|
||||||
dmas = <&xdmac 22 DMA_PERID_SSC_TX>, <&xdmac 23 DMA_PERID_SSC_RX>;
|
dmas = <&xdmac 22 DMA_PERID_SSC_TX>, <&xdmac 23 DMA_PERID_SSC_RX>;
|
||||||
|
|
||||||
dma-names:
|
dma-names:
|
||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
This should be "tx" and "rx" to match the dmas property.
|
This should be "tx" and "rx" to match the dmas property.
|
||||||
|
|
||||||
For example
|
For example
|
||||||
dma-names = "tx", "rx";
|
dma-names = "tx", "rx";
|
||||||
|
|
|
@ -6,5 +6,5 @@ compatible: "atmel,sam0-id"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -5,11 +5,11 @@ compatible: "atmel,sam0-sercom"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,11 +8,11 @@ compatible: "atmel,samd2x-pm"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 2
|
const: 2
|
||||||
|
|
||||||
clock-cells:
|
clock-cells:
|
||||||
- offset
|
- offset
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "nordic,nrf-acl"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "nordic,nrf-bprot"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "nordic,nrf-ctrlapperi"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "nordic,nrf-dcnf"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -9,5 +9,5 @@ compatible: "nordic,nrf-dppic"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,8 +8,8 @@ compatible: "nordic,nrf-egu"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -5,5 +5,5 @@ compatible: "nordic,nrf-ficr"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,8 +8,8 @@ compatible: "nordic,nrf-kmu"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "nordic,nrf-mpu"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "nordic,nrf-mutex"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "nordic,nrf-mwu"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "nordic,nrf-ppi"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "nordic,nrf-reset"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -5,8 +5,8 @@ compatible: "nordic,nrf-spu"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,8 +8,8 @@ compatible: "nordic,nrf-swi"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -5,5 +5,5 @@ compatible: "nordic,nrf-uicr"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "nxp,imx-dtcm"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -9,17 +9,17 @@ include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
prescaler:
|
prescaler:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Set the EPIT prescaler between 0 and 4095
|
description: Set the EPIT prescaler between 0 and 4095
|
||||||
|
|
||||||
rdc:
|
rdc:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Set the RDC permission for this peripheral
|
description: Set the RDC permission for this peripheral
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "nxp,imx-itcm"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -9,12 +9,12 @@ include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
rdc:
|
rdc:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Set the RDC permission for this peripheral
|
description: Set the RDC permission for this peripheral
|
||||||
|
|
|
@ -9,12 +9,12 @@ include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
rdc:
|
rdc:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Set the RDC permission for this peripheral
|
description: Set the RDC permission for this peripheral
|
||||||
|
|
|
@ -8,22 +8,22 @@ compatible: "nxp,kinetis-ftm"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
prescaler:
|
prescaler:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
enum:
|
enum:
|
||||||
- 1
|
- 1
|
||||||
- 2
|
- 2
|
||||||
- 4
|
- 4
|
||||||
- 8
|
- 8
|
||||||
- 16
|
- 16
|
||||||
- 32
|
- 32
|
||||||
- 64
|
- 64
|
||||||
- 128
|
- 128
|
||||||
description: Input clock prescaler
|
description: Input clock prescaler
|
||||||
|
|
|
@ -8,8 +8,8 @@ compatible: "nxp,lpc-flexcomm"
|
||||||
include: [base.yaml, pinctrl-device.yaml]
|
include: [base.yaml, pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -7,5 +7,5 @@ compatible: "st,stm32-ccm"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -7,5 +7,5 @@ compatible: "xlnx,zynq-ocm"
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,62 +8,62 @@ compatible: "nordic,nrf-pdm"
|
||||||
include: [base.yaml, pinctrl-device.yaml]
|
include: [base.yaml, pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clk-pin:
|
clk-pin:
|
||||||
type: int
|
type: int
|
||||||
deprecated: true
|
deprecated: true
|
||||||
description: |
|
description: |
|
||||||
IMPORTANT: This option will only be used if the new pin control driver
|
IMPORTANT: This option will only be used if the new pin control driver
|
||||||
is not enabled.
|
is not enabled.
|
||||||
|
|
||||||
The CLK pin to use.
|
The CLK pin to use.
|
||||||
|
|
||||||
For pins P0.0 through P0.31, use the pin number. For example,
|
For pins P0.0 through P0.31, use the pin number. For example,
|
||||||
to use P0.16 for CLK, set:
|
to use P0.16 for CLK, set:
|
||||||
|
|
||||||
clk-pin = <16>;
|
clk-pin = <16>;
|
||||||
|
|
||||||
For pins P1.0 through P1.31, add 32 to the pin number. For
|
For pins P1.0 through P1.31, add 32 to the pin number. For
|
||||||
example, to use P1.2 for CLK, set:
|
example, to use P1.2 for CLK, set:
|
||||||
|
|
||||||
clk-pin = <34>; /* 32 + 2 */
|
clk-pin = <34>; /* 32 + 2 */
|
||||||
|
|
||||||
din-pin:
|
din-pin:
|
||||||
type: int
|
type: int
|
||||||
deprecated: true
|
deprecated: true
|
||||||
description: |
|
description: |
|
||||||
IMPORTANT: This option will only be used if the new pin control driver
|
IMPORTANT: This option will only be used if the new pin control driver
|
||||||
is not enabled.
|
is not enabled.
|
||||||
|
|
||||||
The DIN pin to use. The pin numbering scheme is the same as
|
The DIN pin to use. The pin numbering scheme is the same as
|
||||||
the clk-pin property's.
|
the clk-pin property's.
|
||||||
|
|
||||||
clock-source:
|
clock-source:
|
||||||
type: string
|
type: string
|
||||||
default: "PCLK32M_HFXO"
|
default: "PCLK32M_HFXO"
|
||||||
description: |
|
description: |
|
||||||
Clock source to be used by the PDM peripheral. The following options
|
Clock source to be used by the PDM peripheral. The following options
|
||||||
are available:
|
are available:
|
||||||
- "PCLK32M": 32 MHz peripheral clock, synchronous to HFCLK
|
- "PCLK32M": 32 MHz peripheral clock, synchronous to HFCLK
|
||||||
- "PCLK32M_HFXO": PCLK32M running off the 32 MHz crystal oscillator
|
- "PCLK32M_HFXO": PCLK32M running off the 32 MHz crystal oscillator
|
||||||
(HFXO) for better clock accuracy and jitter performance
|
(HFXO) for better clock accuracy and jitter performance
|
||||||
- "ACLK": Audio PLL clock with configurable frequency (frequency for
|
- "ACLK": Audio PLL clock with configurable frequency (frequency for
|
||||||
this clock must be set via the "hfclkaudio-frequency" property
|
this clock must be set via the "hfclkaudio-frequency" property
|
||||||
in the "nordic,nrf-clock" node); this clock source is only available
|
in the "nordic,nrf-clock" node); this clock source is only available
|
||||||
in the nRF53 Series SoCs and it requires the use of HFXO
|
in the nRF53 Series SoCs and it requires the use of HFXO
|
||||||
enum:
|
enum:
|
||||||
- "PCLK32M"
|
- "PCLK32M"
|
||||||
- "PCLK32M_HFXO"
|
- "PCLK32M_HFXO"
|
||||||
- "ACLK"
|
- "ACLK"
|
||||||
|
|
||||||
queue-size:
|
queue-size:
|
||||||
type: int
|
type: int
|
||||||
default: 4
|
default: 4
|
||||||
description: |
|
description: |
|
||||||
Size of the queue of received audio data blocks to be used
|
Size of the queue of received audio data blocks to be used
|
||||||
by the driver.
|
by the driver.
|
||||||
|
|
|
@ -8,6 +8,6 @@ compatible: "ti,tlv320dac"
|
||||||
include: i2c-device.yaml
|
include: i2c-device.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reset-gpios:
|
reset-gpios:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -3,92 +3,92 @@
|
||||||
include: [pm.yaml]
|
include: [pm.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
description: indicates the operational status of a device
|
description: indicates the operational status of a device
|
||||||
enum:
|
enum:
|
||||||
- "ok" # Deprecated form
|
- "ok" # Deprecated form
|
||||||
- "okay"
|
- "okay"
|
||||||
- "disabled"
|
- "disabled"
|
||||||
- "reserved"
|
- "reserved"
|
||||||
- "fail"
|
- "fail"
|
||||||
- "fail-sss"
|
- "fail-sss"
|
||||||
|
|
||||||
compatible:
|
compatible:
|
||||||
type: string-array
|
type: string-array
|
||||||
required: true
|
required: true
|
||||||
description: compatible strings
|
description: compatible strings
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
type: array
|
type: array
|
||||||
description: register space
|
description: register space
|
||||||
|
|
||||||
reg-names:
|
reg-names:
|
||||||
type: string-array
|
type: string-array
|
||||||
description: name of each register space
|
description: name of each register space
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
type: array
|
type: array
|
||||||
description: interrupts for device
|
description: interrupts for device
|
||||||
|
|
||||||
# Does not follow the 'type: phandle-array' scheme, but gets type-checked
|
# Does not follow the 'type: phandle-array' scheme, but gets type-checked
|
||||||
# by the code. Declare it here just so that other bindings can make it
|
# by the code. Declare it here just so that other bindings can make it
|
||||||
# 'required: true' easily if they want to.
|
# 'required: true' easily if they want to.
|
||||||
interrupts-extended:
|
interrupts-extended:
|
||||||
type: compound
|
type: compound
|
||||||
description: extended interrupt specifier for device
|
description: extended interrupt specifier for device
|
||||||
|
|
||||||
interrupt-names:
|
interrupt-names:
|
||||||
type: string-array
|
type: string-array
|
||||||
description: name of each interrupt
|
description: name of each interrupt
|
||||||
|
|
||||||
interrupt-parent:
|
interrupt-parent:
|
||||||
type: phandle
|
type: phandle
|
||||||
description: phandle to interrupt controller node
|
description: phandle to interrupt controller node
|
||||||
|
|
||||||
label:
|
label:
|
||||||
type: string
|
type: string
|
||||||
deprecated: true
|
deprecated: true
|
||||||
description: |
|
description: |
|
||||||
Human readable string describing the device (used as device_get_binding() argument)
|
Human readable string describing the device (used as device_get_binding() argument)
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
description: Clock gate information
|
description: Clock gate information
|
||||||
|
|
||||||
clock-names:
|
clock-names:
|
||||||
type: string-array
|
type: string-array
|
||||||
description: name of each clock
|
description: name of each clock
|
||||||
|
|
||||||
"#address-cells":
|
"#address-cells":
|
||||||
type: int
|
type: int
|
||||||
description: number of address cells in reg property
|
description: number of address cells in reg property
|
||||||
|
|
||||||
"#size-cells":
|
"#size-cells":
|
||||||
type: int
|
type: int
|
||||||
description: number of size cells in reg property
|
description: number of size cells in reg property
|
||||||
|
|
||||||
dmas:
|
dmas:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
description: DMA channels specifiers
|
description: DMA channels specifiers
|
||||||
|
|
||||||
dma-names:
|
dma-names:
|
||||||
type: string-array
|
type: string-array
|
||||||
description: Provided names of DMA channel specifiers
|
description: Provided names of DMA channel specifiers
|
||||||
|
|
||||||
io-channels:
|
io-channels:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
description: IO channels specifiers
|
description: IO channels specifiers
|
||||||
|
|
||||||
io-channel-names:
|
io-channel-names:
|
||||||
type: string-array
|
type: string-array
|
||||||
description: Provided names of IO channel specifiers
|
description: Provided names of IO channel specifiers
|
||||||
|
|
||||||
mboxes:
|
mboxes:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
description: mailbox / IPM channels specifiers
|
description: mailbox / IPM channels specifiers
|
||||||
specifier-space: mbox
|
specifier-space: mbox
|
||||||
|
|
||||||
mbox-names:
|
mbox-names:
|
||||||
type: string-array
|
type: string-array
|
||||||
description: Provided names of mailbox / IPM channel specifiers
|
description: Provided names of mailbox / IPM channel specifiers
|
||||||
|
|
|
@ -4,25 +4,25 @@
|
||||||
# Properties for Power Management (PM)
|
# Properties for Power Management (PM)
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
wakeup-source:
|
wakeup-source:
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
description: |
|
description: |
|
||||||
Property to identify that a device can be used as wake up source.
|
Property to identify that a device can be used as wake up source.
|
||||||
|
|
||||||
When this property is provided a specific flag is set into the
|
When this property is provided a specific flag is set into the
|
||||||
device that tells the system that the device is capable of
|
device that tells the system that the device is capable of
|
||||||
wake up the system.
|
wake up the system.
|
||||||
|
|
||||||
Wake up capable devices are disabled (interruptions will not wake up
|
Wake up capable devices are disabled (interruptions will not wake up
|
||||||
the system) by default but they can be enabled at runtime if necessary.
|
the system) by default but they can be enabled at runtime if necessary.
|
||||||
|
|
||||||
power-domain:
|
power-domain:
|
||||||
required: false
|
required: false
|
||||||
type: phandle
|
type: phandle
|
||||||
description: |
|
description: |
|
||||||
|
|
||||||
Power domain the device belongs to.
|
Power domain the device belongs to.
|
||||||
|
|
||||||
The device will be notified when the power domain it belongs to is either
|
The device will be notified when the power domain it belongs to is either
|
||||||
suspended or resumed.
|
suspended or resumed.
|
||||||
|
|
|
@ -4,30 +4,30 @@
|
||||||
# Properties for nodes with controllable power supplies.
|
# Properties for nodes with controllable power supplies.
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
supply-gpios:
|
supply-gpios:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
required: false
|
required: false
|
||||||
description: |
|
description: |
|
||||||
GPIO specifier that controls power to the device.
|
GPIO specifier that controls power to the device.
|
||||||
|
|
||||||
This property should be provided when the device has a dedicated
|
This property should be provided when the device has a dedicated
|
||||||
switch that controls power to the device. The supply state is
|
switch that controls power to the device. The supply state is
|
||||||
entirely the responsibility of the device driver.
|
entirely the responsibility of the device driver.
|
||||||
|
|
||||||
Contrast with vin-supply.
|
Contrast with vin-supply.
|
||||||
|
|
||||||
vin-supply:
|
vin-supply:
|
||||||
type: phandle
|
type: phandle
|
||||||
required: false
|
required: false
|
||||||
description: |
|
description: |
|
||||||
Reference to the regulator that controls power to the device.
|
Reference to the regulator that controls power to the device.
|
||||||
The referenced devicetree node must have a regulator compatible.
|
The referenced devicetree node must have a regulator compatible.
|
||||||
|
|
||||||
This property should be provided when device power is supplied
|
This property should be provided when device power is supplied
|
||||||
by a shared regulator. The supply state is dependent on the
|
by a shared regulator. The supply state is dependent on the
|
||||||
request status of all devices fed by the regulator.
|
request status of all devices fed by the regulator.
|
||||||
|
|
||||||
Contrast with supply-gpios. If both properties are provided
|
Contrast with supply-gpios. If both properties are provided
|
||||||
then the regulator must be requested before the supply GPIOS is
|
then the regulator must be requested before the supply GPIOS is
|
||||||
set to an active state, and the supply GPIOS must be set to an
|
set to an active state, and the supply GPIOS must be set to an
|
||||||
inactive state before releasing the regulator.
|
inactive state before releasing the regulator.
|
||||||
|
|
|
@ -29,6 +29,6 @@ include: base.yaml
|
||||||
on-bus: spi
|
on-bus: spi
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
irq-gpios:
|
irq-gpios:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -10,16 +10,16 @@ compatible: "zephyr,bt-hci-spi"
|
||||||
include: spi-device.yaml
|
include: spi-device.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
irq-gpios:
|
irq-gpios:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
reset-gpios:
|
reset-gpios:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
reset-assert-duration-ms:
|
reset-assert-duration-ms:
|
||||||
type: int
|
type: int
|
||||||
description:
|
description:
|
||||||
Minimum duration to hold the reset-gpios pin low for.
|
Minimum duration to hold the reset-gpios pin low for.
|
||||||
If not specified no delay beyond the code path execution time is guaranteed.
|
If not specified no delay beyond the code path execution time is guaranteed.
|
||||||
|
|
|
@ -3,26 +3,26 @@ description: Specialization of Bosch m_can CAN-FD controller for Atmel SAM
|
||||||
compatible: "atmel,sam-can"
|
compatible: "atmel,sam-can"
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- name: can-fd-controller.yaml
|
- name: can-fd-controller.yaml
|
||||||
- name: pinctrl-device.yaml
|
- name: pinctrl-device.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
peripheral-id:
|
peripheral-id:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: peripheral ID
|
description: peripheral ID
|
||||||
|
|
||||||
divider:
|
divider:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
enum:
|
enum:
|
||||||
- 6
|
- 6
|
||||||
- 12
|
- 12
|
||||||
- 24
|
- 24
|
||||||
description: Clock divider for the CAN core clock
|
description: Clock divider for the CAN core clock
|
||||||
|
|
|
@ -3,26 +3,26 @@ description: Bosch M_CAN CAN-FD controller base
|
||||||
compatible: "bosch,m_can-base"
|
compatible: "bosch,m_can-base"
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
std-filter-elements:
|
std-filter-elements:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
ext-filter-elements:
|
ext-filter-elements:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
rx-fifo0-elements:
|
rx-fifo0-elements:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
rx-fifo1-elements:
|
rx-fifo1-elements:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
rx-buffer-elements:
|
rx-buffer-elements:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
tx-buffer-elements:
|
tx-buffer-elements:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -3,64 +3,64 @@
|
||||||
include: base.yaml
|
include: base.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
bus-speed:
|
bus-speed:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: bus speed in Baud/s
|
description: bus speed in Baud/s
|
||||||
sjw:
|
sjw:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Resynchronization jump width (ISO 11898-1)
|
description: Resynchronization jump width (ISO 11898-1)
|
||||||
prop-seg:
|
prop-seg:
|
||||||
type: int
|
type: int
|
||||||
description: Time quantums of propagation segment (ISO 11898-1)
|
description: Time quantums of propagation segment (ISO 11898-1)
|
||||||
phase-seg1:
|
phase-seg1:
|
||||||
type: int
|
type: int
|
||||||
description: Time quantums of phase buffer 1 segment (ISO 11898-1)
|
description: Time quantums of phase buffer 1 segment (ISO 11898-1)
|
||||||
phase-seg2:
|
phase-seg2:
|
||||||
type: int
|
type: int
|
||||||
description: Time quantums of phase buffer 2 segment (ISO 11898-1)
|
description: Time quantums of phase buffer 2 segment (ISO 11898-1)
|
||||||
sample-point:
|
sample-point:
|
||||||
type: int
|
type: int
|
||||||
description: >
|
description: >
|
||||||
Sample point in permille.
|
Sample point in permille.
|
||||||
This param is required if segments are not given.
|
This param is required if segments are not given.
|
||||||
If the sample point is given, the segments are ignored.
|
If the sample point is given, the segments are ignored.
|
||||||
phys:
|
phys:
|
||||||
type: phandle
|
type: phandle
|
||||||
description: |
|
|
||||||
Actively controlled CAN transceiver.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
transceiver0: can-phy0 {
|
|
||||||
compatible = "nxp,tja1040", "can-transceiver-gpio";
|
|
||||||
standby-gpios = <gpioa 0 GPIO_ACTIVE_HIGH>;
|
|
||||||
max-bitrate = <1000000>;
|
|
||||||
#phy-cells = <0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&can0 {
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
phys = <&transceiver0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
child-binding:
|
|
||||||
description: |
|
description: |
|
||||||
Passive CAN transceiver. The child node must be named "can-transceiver".
|
Actively controlled CAN transceiver.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
transceiver0: can-phy0 {
|
||||||
|
compatible = "nxp,tja1040", "can-transceiver-gpio";
|
||||||
|
standby-gpios = <gpioa 0 GPIO_ACTIVE_HIGH>;
|
||||||
|
max-bitrate = <1000000>;
|
||||||
|
#phy-cells = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
&can0 {
|
&can0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
can-transceiver {
|
phys = <&transceiver0>;
|
||||||
max-bitrate = <1000000>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
properties:
|
child-binding:
|
||||||
max-bitrate:
|
description: |
|
||||||
type: int
|
Passive CAN transceiver. The child node must be named "can-transceiver".
|
||||||
required: true
|
|
||||||
description: |
|
Example:
|
||||||
The maximum bitrate supported by the CAN transceiver in bits/s.
|
&can0 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
can-transceiver {
|
||||||
|
max-bitrate = <1000000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
properties:
|
||||||
|
max-bitrate:
|
||||||
|
type: int
|
||||||
|
required: true
|
||||||
|
description: |
|
||||||
|
The maximum bitrate supported by the CAN transceiver in bits/s.
|
||||||
|
|
|
@ -3,29 +3,29 @@
|
||||||
include: can-controller.yaml
|
include: can-controller.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
bus-speed-data:
|
bus-speed-data:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: data phase bus speed in Baud/s
|
description: data phase bus speed in Baud/s
|
||||||
sjw-data:
|
sjw-data:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Resynchronization jump width for the data phase. (ISO11898-1:2015)
|
description: Resynchronization jump width for the data phase. (ISO11898-1:2015)
|
||||||
prop-seg-data:
|
prop-seg-data:
|
||||||
type: int
|
type: int
|
||||||
description: Time quantums of propagation segment for the data phase. (ISO11898-1:2015)
|
description: Time quantums of propagation segment for the data phase. (ISO11898-1:2015)
|
||||||
phase-seg1-data:
|
phase-seg1-data:
|
||||||
type: int
|
type: int
|
||||||
description: Time quantums of phase buffer 1 segment for the data phase. (ISO11898-1:2015)
|
description: Time quantums of phase buffer 1 segment for the data phase. (ISO11898-1:2015)
|
||||||
phase-seg2-data:
|
phase-seg2-data:
|
||||||
type: int
|
type: int
|
||||||
description: Time quantums of phase buffer 2 segment for the data phase. (ISO11898-1:2015)
|
description: Time quantums of phase buffer 2 segment for the data phase. (ISO11898-1:2015)
|
||||||
sample-point-data:
|
sample-point-data:
|
||||||
type: int
|
type: int
|
||||||
description: >
|
description: >
|
||||||
Sample point in permille for the data phase.
|
Sample point in permille for the data phase.
|
||||||
This param is required if segments are not given.
|
This param is required if segments are not given.
|
||||||
If the sample point is given, the segments are ignored.
|
If the sample point is given, the segments are ignored.
|
||||||
tx-delay-comp-offset:
|
tx-delay-comp-offset:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 0
|
||||||
|
|
|
@ -8,25 +8,25 @@ compatible: "espressif,esp32-twai"
|
||||||
include: [can-controller.yaml, pinctrl-device.yaml]
|
include: [can-controller.yaml, pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
pinctrl-0:
|
pinctrl-0:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
pinctrl-names:
|
pinctrl-names:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clkout-divider:
|
clkout-divider:
|
||||||
type: int
|
type: int
|
||||||
description: |
|
description: |
|
||||||
Clock divider for the CLKOUT signal. If not set, the CLKOUT signal is turned off.
|
Clock divider for the CLKOUT signal. If not set, the CLKOUT signal is turned off.
|
||||||
|
|
||||||
Valid values are 1 or any even number from 2 to 14 for ESP32 and 2 to 490 for newer
|
Valid values are 1 or any even number from 2 to 14 for ESP32 and 2 to 490 for newer
|
||||||
Espressif MCUs like ESP32-C3.
|
Espressif MCUs like ESP32-C3.
|
||||||
|
|
|
@ -8,5 +8,5 @@ compatible: "kvaser,pcican"
|
||||||
include: [can-controller.yaml, pcie-device.yaml]
|
include: [can-controller.yaml, pcie-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,19 +8,19 @@ compatible: "microchip,mcp2515"
|
||||||
include: [spi-device.yaml, can-controller.yaml]
|
include: [spi-device.yaml, can-controller.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
osc-freq:
|
osc-freq:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Frequency of the external oscillator
|
description: Frequency of the external oscillator
|
||||||
int-gpios:
|
int-gpios:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
Interrupt pin.
|
Interrupt pin.
|
||||||
|
|
||||||
This pin signals active low when produced by the controller. The
|
This pin signals active low when produced by the controller. The
|
||||||
property value should ensure the flags properly describe the signal
|
property value should ensure the flags properly describe the signal
|
||||||
that is presented to the driver.
|
that is presented to the driver.
|
||||||
reg:
|
reg:
|
||||||
type: array
|
type: array
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,16 +8,16 @@ compatible: "nxp,kinetis-flexcan"
|
||||||
include: ["can-controller.yaml", "pinctrl-device.yaml"]
|
include: ["can-controller.yaml", "pinctrl-device.yaml"]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clk-source:
|
clk-source:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: CAN engine clock source
|
description: CAN engine clock source
|
||||||
|
|
|
@ -5,11 +5,11 @@ compatible: "nxp,lpc-mcan"
|
||||||
include: [can-fd-controller.yaml, "bosch,m_can-base.yaml", pinctrl-device.yaml]
|
include: [can-fd-controller.yaml, "bosch,m_can-base.yaml", pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -5,11 +5,11 @@ compatible: "renesas,rcar-can"
|
||||||
include: [can-controller.yaml, pinctrl-device.yaml]
|
include: [can-controller.yaml, pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -5,21 +5,21 @@ compatible: "st,stm32-can"
|
||||||
include: [can-controller.yaml, pinctrl-device.yaml]
|
include: [can-controller.yaml, pinctrl-device.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
pinctrl-0:
|
pinctrl-0:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
pinctrl-names:
|
pinctrl-names:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
master-can-reg:
|
master-can-reg:
|
||||||
type: int
|
type: int
|
||||||
description: master can reg when different from current instance
|
description: master can reg when different from current instance
|
||||||
|
|
|
@ -5,38 +5,38 @@ compatible: "st,stm32-fdcan"
|
||||||
include: ["can-fd-controller.yaml", "pinctrl-device.yaml"]
|
include: ["can-fd-controller.yaml", "pinctrl-device.yaml"]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clk-divider:
|
clk-divider:
|
||||||
type: int
|
type: int
|
||||||
enum:
|
enum:
|
||||||
- 1
|
- 1
|
||||||
- 2
|
- 2
|
||||||
- 4
|
- 4
|
||||||
- 6
|
- 6
|
||||||
- 8
|
- 8
|
||||||
- 10
|
- 10
|
||||||
- 12
|
- 12
|
||||||
- 14
|
- 14
|
||||||
- 16
|
- 16
|
||||||
- 18
|
- 18
|
||||||
- 20
|
- 20
|
||||||
- 22
|
- 22
|
||||||
- 24
|
- 24
|
||||||
- 26
|
- 26
|
||||||
- 28
|
- 28
|
||||||
- 30
|
- 30
|
||||||
|
|
||||||
description: |
|
description: |
|
||||||
Divides the kernel clock giving the time quanta clock that is fed to the
|
Divides the kernel clock giving the time quanta clock that is fed to the
|
||||||
CAN core(FDCAN_CKDIV).
|
CAN core(FDCAN_CKDIV).
|
||||||
Note that the divisor is common to all 'st,stm32-fdcan' instances.
|
Note that the divisor is common to all 'st,stm32-fdcan' instances.
|
||||||
Divide by 1 is the peripherals reset value and remains set unless
|
Divide by 1 is the peripherals reset value and remains set unless
|
||||||
this property is configured.
|
this property is configured.
|
||||||
|
|
|
@ -5,11 +5,11 @@ compatible: "st,stm32h7-fdcan"
|
||||||
include: ["can-fd-controller.yaml", "pinctrl-device.yaml"]
|
include: ["can-fd-controller.yaml", "pinctrl-device.yaml"]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
clocks:
|
clocks:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
interrupts:
|
interrupts:
|
||||||
required: true
|
required: true
|
||||||
|
|
|
@ -8,7 +8,7 @@ compatible: "zephyr,native-posix-linux-can"
|
||||||
include: can-controller.yaml
|
include: can-controller.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
host-interface:
|
host-interface:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
description: Linux host interface name (e.g. zcan0, vcan0, can0, ...)
|
description: Linux host interface name (e.g. zcan0, vcan0, can0, ...)
|
||||||
|
|
|
@ -8,8 +8,8 @@ compatible: "aspeed,ast10x0-clock"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
clock-cells:
|
clock-cells:
|
||||||
- clk_id
|
- clk_id
|
||||||
|
|
|
@ -8,11 +8,11 @@ compatible: "atmel,samc2x-gclk"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
clock-cells:
|
clock-cells:
|
||||||
- periph_ch
|
- periph_ch
|
||||||
|
|
|
@ -8,11 +8,11 @@ compatible: "atmel,samc2x-mclk"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 2
|
const: 2
|
||||||
|
|
||||||
clock-cells:
|
clock-cells:
|
||||||
- offset
|
- offset
|
||||||
|
|
|
@ -8,11 +8,11 @@ compatible: "atmel,samd2x-gclk"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
clock-cells:
|
clock-cells:
|
||||||
- clkctrl_id
|
- clkctrl_id
|
||||||
|
|
|
@ -8,11 +8,11 @@ compatible: "atmel,samd5x-gclk"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
clock-cells:
|
clock-cells:
|
||||||
- periph_ch
|
- periph_ch
|
||||||
|
|
|
@ -8,11 +8,11 @@ compatible: "atmel,samd5x-mclk"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 2
|
const: 2
|
||||||
|
|
||||||
clock-cells:
|
clock-cells:
|
||||||
- offset
|
- offset
|
||||||
|
|
|
@ -8,11 +8,11 @@ compatible: "atmel,saml2x-gclk"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
clock-cells:
|
clock-cells:
|
||||||
- periph_ch
|
- periph_ch
|
||||||
|
|
|
@ -8,11 +8,11 @@ compatible: "atmel,saml2x-mclk"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 2
|
const: 2
|
||||||
|
|
||||||
clock-cells:
|
clock-cells:
|
||||||
- offset
|
- offset
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Common fields for clock controllers
|
# Common fields for clock controllers
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Number of items to expect in a Clock specifier
|
description: Number of items to expect in a Clock specifier
|
||||||
|
|
|
@ -8,20 +8,20 @@ compatible: "espressif,esp32-rtc"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
reg:
|
reg:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
xtal-freq:
|
xtal-freq:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
description: Value of the external XTAL connected to ESP32.
|
description: Value of the external XTAL connected to ESP32.
|
||||||
|
|
||||||
xtal-div:
|
xtal-div:
|
||||||
type: int
|
type: int
|
||||||
description: Divisor value for XTAL Clock, CPU_CLK = XTAL_FREQ / xtal-div
|
description: Divisor value for XTAL Clock, CPU_CLK = XTAL_FREQ / xtal-div
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
clock-cells:
|
clock-cells:
|
||||||
- offset # Index of the peripheral in esp32 modules list (Check esp32_clock.h)
|
- offset # Index of the peripheral in esp32 modules list (Check esp32_clock.h)
|
||||||
|
|
|
@ -8,14 +8,14 @@ compatible: "fixed-clock"
|
||||||
include: clock-controller.yaml
|
include: clock-controller.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
clock-frequency:
|
clock-frequency:
|
||||||
type: int
|
type: int
|
||||||
description: output clock frequency (Hz)
|
description: output clock frequency (Hz)
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
type: array
|
type: array
|
||||||
description: input clock source
|
description: input clock source
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 0
|
const: 0
|
||||||
|
|
|
@ -8,17 +8,17 @@ compatible: "fixed-factor-clock"
|
||||||
include: clock-controller.yaml
|
include: clock-controller.yaml
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
clock-div:
|
clock-div:
|
||||||
type: int
|
type: int
|
||||||
description: fixed clock divider
|
description: fixed clock divider
|
||||||
|
|
||||||
clock-mult:
|
clock-mult:
|
||||||
type: int
|
type: int
|
||||||
description: fixed clock multiplier
|
description: fixed clock multiplier
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
type: phandle-array
|
type: phandle-array
|
||||||
description: input clock source
|
description: input clock source
|
||||||
|
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 0
|
const: 0
|
||||||
|
|
|
@ -25,8 +25,8 @@ compatible: "gd,gd32-cctl"
|
||||||
include: [clock-controller.yaml, base.yaml]
|
include: [clock-controller.yaml, base.yaml]
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
"#clock-cells":
|
"#clock-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
clock-cells:
|
clock-cells:
|
||||||
- id
|
- id
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue