Commit bb419dc6 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Alexandre Torgue

dt-bindings: arm: stm32: narrow DH STM32MP1 SoM boards

The bindings for DH STM32MP1 SoM boards allows invalid combinations,
e.g. st,stm32mp153 SoC on a dh,stm32mp157c-dhcom-som SoM.

Split the enums to properly match valid setups.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
parent 448fb6ea
...@@ -14,21 +14,6 @@ properties: ...@@ -14,21 +14,6 @@ properties:
const: "/" const: "/"
compatible: compatible:
oneOf: oneOf:
- description: DH STM32MP1 SoM based Boards
items:
- enum:
- arrow,stm32mp157a-avenger96 # Avenger96
- dh,stm32mp153c-dhcom-drc02
- dh,stm32mp157c-dhcom-pdk2
- dh,stm32mp157c-dhcom-picoitx
- enum:
- dh,stm32mp153c-dhcom-som
- dh,stm32mp157a-dhcor-som
- dh,stm32mp157c-dhcom-som
- enum:
- st,stm32mp153
- st,stm32mp157
- description: emtrion STM32MP1 Argon based Boards - description: emtrion STM32MP1 Argon based Boards
items: items:
- const: emtrion,stm32mp157c-emsbc-argon - const: emtrion,stm32mp157c-emsbc-argon
...@@ -65,6 +50,13 @@ properties: ...@@ -65,6 +50,13 @@ properties:
- enum: - enum:
- st,stm32mp135f-dk - st,stm32mp135f-dk
- const: st,stm32mp135 - const: st,stm32mp135
- description: DH STM32MP153 SoM based Boards
items:
- const: dh,stm32mp153c-dhcom-drc02
- const: dh,stm32mp153c-dhcom-som
- const: st,stm32mp153
- items: - items:
- enum: - enum:
- shiratech,stm32mp157a-iot-box # IoT Box - shiratech,stm32mp157a-iot-box # IoT Box
...@@ -79,6 +71,21 @@ properties: ...@@ -79,6 +71,21 @@ properties:
- const: st,stm32mp157c-ed1 - const: st,stm32mp157c-ed1
- const: st,stm32mp157 - const: st,stm32mp157
- description: DH STM32MP1 SoM based Boards
items:
- enum:
- arrow,stm32mp157a-avenger96 # Avenger96
- const: dh,stm32mp157a-dhcor-som
- const: st,stm32mp157
- description: DH STM32MP1 SoM based Boards
items:
- enum:
- dh,stm32mp157c-dhcom-pdk2
- dh,stm32mp157c-dhcom-picoitx
- const: dh,stm32mp157c-dhcom-som
- const: st,stm32mp157
- description: Engicam i.Core STM32MP1 SoM based Boards - description: Engicam i.Core STM32MP1 SoM based Boards
items: items:
- enum: - enum:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment