162306a36Sopenharmony_ci* NXP SC16IS7xx advanced Universal Asynchronous Receiver-Transmitter (UART) 262306a36Sopenharmony_ci* i2c as bus 362306a36Sopenharmony_ci 462306a36Sopenharmony_ciRequired properties: 562306a36Sopenharmony_ci- compatible: Should be one of the following: 662306a36Sopenharmony_ci - "nxp,sc16is740" for NXP SC16IS740, 762306a36Sopenharmony_ci - "nxp,sc16is741" for NXP SC16IS741, 862306a36Sopenharmony_ci - "nxp,sc16is750" for NXP SC16IS750, 962306a36Sopenharmony_ci - "nxp,sc16is752" for NXP SC16IS752, 1062306a36Sopenharmony_ci - "nxp,sc16is760" for NXP SC16IS760, 1162306a36Sopenharmony_ci - "nxp,sc16is762" for NXP SC16IS762. 1262306a36Sopenharmony_ci- reg: I2C address of the SC16IS7xx device. 1362306a36Sopenharmony_ci- interrupts: Should contain the UART interrupt 1462306a36Sopenharmony_ci- clocks: Reference to the IC source clock. 1562306a36Sopenharmony_ci OR (when there is no clock provider visible to the platform) 1662306a36Sopenharmony_ci- clock-frequency: The source clock frequency for the IC. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciOptional properties: 1962306a36Sopenharmony_ci- gpio-controller: Marks the device node as a GPIO controller. 2062306a36Sopenharmony_ci- #gpio-cells: Should be two. The first cell is the GPIO number and 2162306a36Sopenharmony_ci the second cell is used to specify the GPIO polarity: 2262306a36Sopenharmony_ci 0 = active high, 2362306a36Sopenharmony_ci 1 = active low. 2462306a36Sopenharmony_ci- irda-mode-ports: An array that lists the indices of the port that 2562306a36Sopenharmony_ci should operate in IrDA mode. 2662306a36Sopenharmony_ci- nxp,modem-control-line-ports: An array that lists the indices of the port that 2762306a36Sopenharmony_ci should have shared GPIO lines configured as 2862306a36Sopenharmony_ci modem control lines. 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ciExample: 3162306a36Sopenharmony_ci sc16is750: sc16is750@51 { 3262306a36Sopenharmony_ci compatible = "nxp,sc16is750"; 3362306a36Sopenharmony_ci reg = <0x51>; 3462306a36Sopenharmony_ci clocks = <&clk20m>; 3562306a36Sopenharmony_ci interrupt-parent = <&gpio3>; 3662306a36Sopenharmony_ci interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 3762306a36Sopenharmony_ci gpio-controller; 3862306a36Sopenharmony_ci #gpio-cells = <2>; 3962306a36Sopenharmony_ci }; 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci sc16is752: sc16is752@53 { 4262306a36Sopenharmony_ci compatible = "nxp,sc16is752"; 4362306a36Sopenharmony_ci reg = <0x53>; 4462306a36Sopenharmony_ci clocks = <&clk20m>; 4562306a36Sopenharmony_ci interrupt-parent = <&gpio3>; 4662306a36Sopenharmony_ci interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 4762306a36Sopenharmony_ci nxp,modem-control-line-ports = <1>; /* Port 1 as modem control lines */ 4862306a36Sopenharmony_ci gpio-controller; /* Port 0 as GPIOs */ 4962306a36Sopenharmony_ci #gpio-cells = <2>; 5062306a36Sopenharmony_ci }; 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ci sc16is752: sc16is752@54 { 5362306a36Sopenharmony_ci compatible = "nxp,sc16is752"; 5462306a36Sopenharmony_ci reg = <0x54>; 5562306a36Sopenharmony_ci clocks = <&clk20m>; 5662306a36Sopenharmony_ci interrupt-parent = <&gpio3>; 5762306a36Sopenharmony_ci interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 5862306a36Sopenharmony_ci nxp,modem-control-line-ports = <0 1>; /* Ports 0 and 1 as modem control lines */ 5962306a36Sopenharmony_ci }; 6062306a36Sopenharmony_ci 6162306a36Sopenharmony_ci* spi as bus 6262306a36Sopenharmony_ci 6362306a36Sopenharmony_ciRequired properties: 6462306a36Sopenharmony_ci- compatible: Should be one of the following: 6562306a36Sopenharmony_ci - "nxp,sc16is740" for NXP SC16IS740, 6662306a36Sopenharmony_ci - "nxp,sc16is741" for NXP SC16IS741, 6762306a36Sopenharmony_ci - "nxp,sc16is750" for NXP SC16IS750, 6862306a36Sopenharmony_ci - "nxp,sc16is752" for NXP SC16IS752, 6962306a36Sopenharmony_ci - "nxp,sc16is760" for NXP SC16IS760, 7062306a36Sopenharmony_ci - "nxp,sc16is762" for NXP SC16IS762. 7162306a36Sopenharmony_ci- reg: SPI chip select number. 7262306a36Sopenharmony_ci- interrupts: Specifies the interrupt source of the parent interrupt 7362306a36Sopenharmony_ci controller. The format of the interrupt specifier depends on the 7462306a36Sopenharmony_ci parent interrupt controller. 7562306a36Sopenharmony_ci- clocks: phandle to the IC source clock. 7662306a36Sopenharmony_ci 7762306a36Sopenharmony_ciOptional properties: 7862306a36Sopenharmony_ci- gpio-controller: Marks the device node as a GPIO controller. 7962306a36Sopenharmony_ci- #gpio-cells: Should be two. The first cell is the GPIO number and 8062306a36Sopenharmony_ci the second cell is used to specify the GPIO polarity: 8162306a36Sopenharmony_ci 0 = active high, 8262306a36Sopenharmony_ci 1 = active low. 8362306a36Sopenharmony_ci- irda-mode-ports: An array that lists the indices of the port that 8462306a36Sopenharmony_ci should operate in IrDA mode. 8562306a36Sopenharmony_ci- nxp,modem-control-line-ports: An array that lists the indices of the port that 8662306a36Sopenharmony_ci should have shared GPIO lines configured as 8762306a36Sopenharmony_ci modem control lines. 8862306a36Sopenharmony_ci 8962306a36Sopenharmony_ciExample: 9062306a36Sopenharmony_ci sc16is750: sc16is750@0 { 9162306a36Sopenharmony_ci compatible = "nxp,sc16is750"; 9262306a36Sopenharmony_ci reg = <0>; 9362306a36Sopenharmony_ci clocks = <&clk20m>; 9462306a36Sopenharmony_ci interrupt-parent = <&gpio3>; 9562306a36Sopenharmony_ci interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 9662306a36Sopenharmony_ci gpio-controller; 9762306a36Sopenharmony_ci #gpio-cells = <2>; 9862306a36Sopenharmony_ci }; 9962306a36Sopenharmony_ci 10062306a36Sopenharmony_ci sc16is752: sc16is752@1 { 10162306a36Sopenharmony_ci compatible = "nxp,sc16is752"; 10262306a36Sopenharmony_ci reg = <1>; 10362306a36Sopenharmony_ci clocks = <&clk20m>; 10462306a36Sopenharmony_ci interrupt-parent = <&gpio3>; 10562306a36Sopenharmony_ci interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 10662306a36Sopenharmony_ci nxp,modem-control-line-ports = <1>; /* Port 1 as modem control lines */ 10762306a36Sopenharmony_ci gpio-controller; /* Port 0 as GPIOs */ 10862306a36Sopenharmony_ci #gpio-cells = <2>; 10962306a36Sopenharmony_ci }; 11062306a36Sopenharmony_ci 11162306a36Sopenharmony_ci sc16is752: sc16is752@2 { 11262306a36Sopenharmony_ci compatible = "nxp,sc16is752"; 11362306a36Sopenharmony_ci reg = <2>; 11462306a36Sopenharmony_ci clocks = <&clk20m>; 11562306a36Sopenharmony_ci interrupt-parent = <&gpio3>; 11662306a36Sopenharmony_ci interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 11762306a36Sopenharmony_ci nxp,modem-control-line-ports = <0 1>; /* Ports 0 and 1 as modem control lines */ 11862306a36Sopenharmony_ci }; 119