diff --git a/drivers/serial/Kconfig.qmsi b/drivers/serial/Kconfig.qmsi index 1258c624565..49087467b76 100644 --- a/drivers/serial/Kconfig.qmsi +++ b/drivers/serial/Kconfig.qmsi @@ -14,6 +14,7 @@ config UART_QMSI_0 bool "Enable UART 0 controller" default n +if !HAS_DTS config UART_QMSI_0_NAME depends on UART_QMSI_0 string "UART_0 device name" @@ -28,6 +29,7 @@ config UART_QMSI_0_BAUDRATE default 115200 help This option sets the baud rate from the UART_0 device. +endif config UART_QMSI_0_HW_FC depends on UART_QMSI_0 @@ -42,6 +44,7 @@ config UART_QMSI_1 bool "Enable UART 1 controller" default n +if !HAS_DTS config UART_QMSI_1_NAME depends on UART_QMSI_1 string "UART_1 device name" @@ -56,6 +59,7 @@ config UART_QMSI_1_BAUDRATE default 115200 help This option sets the baud rate from the UART_1 device. +endif config UART_QMSI_1_HW_FC depends on UART_QMSI_1 diff --git a/dts/x86/yaml/intel,cuire-uart.yaml b/dts/x86/yaml/intel,cuire-uart.yaml new file mode 100644 index 00000000000..bb9db10ef00 --- /dev/null +++ b/dts/x86/yaml/intel,cuire-uart.yaml @@ -0,0 +1,42 @@ +--- +title: Intel QMSI Uart +id: intel,qmsi-uart +version: 0.1 + +description: > + This binding gives a base representation of the INTEL QMSI UART + +inherits: + - !include uart.yaml + +properties: + - compatible: + type: string + category: required + description: compatible strings + constraint: "intel,qmsi-uart" + + - reg: + type: array + description: mmio register space + generation: define + category: required + + - interrupts: + type: array + category: required + description: required interrupts + generation: define + + - pinctrl-\d+: + type: array + category: optional + description: pinmux information for RX, TX, CTS, RTS + generation: define + + - clocks: + type: array + category: required + description: Clock gate control information + generation: structures +...