dt-bindings: clock: stm32mp1: describes clocks if "st,stm32mp1-rcc-secure"
In case of "st,stm32mp1-rcc-secure" (stm32mp1 clock driver with RCC security support hardened), "clocks" and "clock-names" describe oscillators and are required. Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Reviewed-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
6e5b6ce205
commit
35de4b4b82
@ -58,14 +58,8 @@ properties:
|
||||
- st,stm32mp1-rcc-secure
|
||||
- st,stm32mp1-rcc
|
||||
- const: syscon
|
||||
|
||||
clocks:
|
||||
description:
|
||||
Specifies the external RX clock for ethernet MAC.
|
||||
maxItems: 1
|
||||
|
||||
clock-names:
|
||||
const: ETH_RX_CLK/ETH_REF_CLK
|
||||
clocks: true
|
||||
clock-names: true
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
@ -76,6 +70,38 @@ required:
|
||||
- compatible
|
||||
- reg
|
||||
|
||||
if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
enum:
|
||||
- st,stm32mp1-rcc-secure
|
||||
then:
|
||||
properties:
|
||||
clocks:
|
||||
description: Specifies oscillators.
|
||||
maxItems: 5
|
||||
|
||||
clock-names:
|
||||
items:
|
||||
- const: hse
|
||||
- const: hsi
|
||||
- const: csi
|
||||
- const: lse
|
||||
- const: lsi
|
||||
required:
|
||||
- clocks
|
||||
- clock-names
|
||||
else:
|
||||
properties:
|
||||
clocks:
|
||||
description:
|
||||
Specifies the external RX clock for ethernet MAC.
|
||||
maxItems: 1
|
||||
|
||||
clock-names:
|
||||
const: ETH_RX_CLK/ETH_REF_CLK
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
|
Loading…
x
Reference in New Issue
Block a user