dt-bindings: serial: 8250: spacemit: fix clock property for K3 SoC

The UART of SpacemiT K3 SoC has same clock property as K1 generation which
request two clock sources, fix the binding otherwise will get DT check
warnings.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20260304-01-uart-clock-names-v1-1-338483f04a8b@kernel.org
Signed-off-by: Yixun Lan <dlan@kernel.org>
This commit is contained in:
Yixun Lan 2026-03-04 07:19:39 +00:00
parent 86314111f6
commit 606a6b8bca

View File

@ -63,7 +63,9 @@ allOf:
properties:
compatible:
contains:
const: spacemit,k1-uart
enum:
- spacemit,k1-uart
- spacemit,k3-uart
then:
properties:
clock-names:
@ -76,6 +78,7 @@ allOf:
contains:
enum:
- spacemit,k1-uart
- spacemit,k3-uart
- nxp,lpc1850-uart
then:
required: