[PATCH 2/6] dt-bindings: serial: lantiq,asc: Add Lightning Mountain

From: Daniel Golle

Date: Wed Dec 02 2026 - 15:57:01 EST


The ASC of the Intel (now MaxLinear) Lightning Mountain SoC is matched
by the driver as "intel,lgm-asc". It signals TX, RX and errors through a
single interrupt and takes its frequency and gate clocks from the CGU.

Add the compatible, describe its single interrupt and require the
clocks for it.

Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
---
.../bindings/serial/lantiq,asc.yaml | 46 +++++++++++++++----
1 file changed, 38 insertions(+), 8 deletions(-)

diff --git a/Documentation/devicetree/bindings/serial/lantiq,asc.yaml b/Documentation/devicetree/bindings/serial/lantiq,asc.yaml
index 96e8c79cb0478..1a7a6f8dfa104 100644
--- a/Documentation/devicetree/bindings/serial/lantiq,asc.yaml
+++ b/Documentation/devicetree/bindings/serial/lantiq,asc.yaml
@@ -10,21 +10,18 @@ maintainers:
- John Crispin <john@xxxxxxxxxxx>
- Songjun Wu <songjun.wu@xxxxxxxxxxxxxxx>

-allOf:
- - $ref: /schemas/serial/serial.yaml#
-
properties:
compatible:
- const: lantiq,asc
+ enum:
+ - intel,lgm-asc
+ - lantiq,asc

reg:
maxItems: 1

interrupts:
- items:
- - description: TX interrupt
- - description: RX interrupt
- - description: Error interrupt
+ minItems: 1
+ maxItems: 3

clocks:
items:
@@ -41,6 +38,29 @@ required:
- reg
- interrupts

+allOf:
+ - $ref: /schemas/serial/serial.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: intel,lgm-asc
+ then:
+ properties:
+ interrupts:
+ items:
+ - description: Combined TX, RX and error interrupt
+ required:
+ - clocks
+ - clock-names
+ else:
+ properties:
+ interrupts:
+ items:
+ - description: TX interrupt
+ - description: RX interrupt
+ - description: Error interrupt
+
unevaluatedProperties: false

examples:
@@ -54,3 +74,13 @@ examples:
<GIC_SHARED 105 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 106 IRQ_TYPE_LEVEL_HIGH>;
};
+ - |
+ #include <dt-bindings/clock/intel,lgm-clk.h>
+
+ serial@e0a00000 {
+ compatible = "intel,lgm-asc";
+ reg = <0xe0a00000 0x1000>;
+ interrupts = <128 1>;
+ clocks = <&cgu0 LGM_CLK_NOC4>, <&cgu0 LGM_GCLK_ASC0>;
+ clock-names = "freq", "asc";
+ };
--
2.56.1