xref: /freebsd/sys/contrib/device-tree/Bindings/serial/lantiq_asc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotLantiq SoC ASC serial controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible : Should be "lantiq,asc"
5*c66ec88fSEmmanuel Vadot- reg : Address and length of the register set for the device
6*c66ec88fSEmmanuel Vadot- interrupts: the 3 (tx rx err) interrupt numbers. The interrupt specifier
7*c66ec88fSEmmanuel Vadot  depends on the interrupt-parent interrupt controller.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotOptional properties:
10*c66ec88fSEmmanuel Vadot- clocks: Should contain frequency clock and gate clock
11*c66ec88fSEmmanuel Vadot- clock-names: Should be "freq" and "asc"
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotExample:
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadotasc0: serial@16600000 {
16*c66ec88fSEmmanuel Vadot	compatible = "lantiq,asc";
17*c66ec88fSEmmanuel Vadot	reg = <0x16600000 0x100000>;
18*c66ec88fSEmmanuel Vadot	interrupt-parent = <&gic>;
19*c66ec88fSEmmanuel Vadot	interrupts = <GIC_SHARED 103 IRQ_TYPE_LEVEL_HIGH>,
20*c66ec88fSEmmanuel Vadot		<GIC_SHARED 105 IRQ_TYPE_LEVEL_HIGH>,
21*c66ec88fSEmmanuel Vadot		<GIC_SHARED 106 IRQ_TYPE_LEVEL_HIGH>;
22*c66ec88fSEmmanuel Vadot	clocks = <&cgu CLK_SSX4>, <&cgu GCLK_UART>;
23*c66ec88fSEmmanuel Vadot	clock-names = "freq", "asc";
24*c66ec88fSEmmanuel Vadot};
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadotasc1: serial@e100c00 {
27*c66ec88fSEmmanuel Vadot	compatible = "lantiq,asc";
28*c66ec88fSEmmanuel Vadot	reg = <0xE100C00 0x400>;
29*c66ec88fSEmmanuel Vadot	interrupt-parent = <&icu0>;
30*c66ec88fSEmmanuel Vadot	interrupts = <112 113 114>;
31*c66ec88fSEmmanuel Vadot};
32