xref: /freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/serial.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Serial
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotCurrently defined compatibles:
4*c66ec88fSEmmanuel Vadot- fsl,cpm1-smc-uart
5*c66ec88fSEmmanuel Vadot- fsl,cpm2-smc-uart
6*c66ec88fSEmmanuel Vadot- fsl,cpm1-scc-uart
7*c66ec88fSEmmanuel Vadot- fsl,cpm2-scc-uart
8*c66ec88fSEmmanuel Vadot- fsl,qe-uart
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotModem control lines connected to GPIO controllers are listed in the gpios
11*c66ec88fSEmmanuel Vadotproperty as described in booting-without-of.txt, section IX.1 in the following
12*c66ec88fSEmmanuel Vadotorder:
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotCTS, RTS, DCD, DSR, DTR, and RI.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotThe gpios property is optional and can be left out when control lines are
17*c66ec88fSEmmanuel Vadotnot used.
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotExample:
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	serial@11a00 {
22*c66ec88fSEmmanuel Vadot		device_type = "serial";
23*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8272-scc-uart",
24*c66ec88fSEmmanuel Vadot			     "fsl,cpm2-scc-uart";
25*c66ec88fSEmmanuel Vadot		reg = <11a00 20 8000 100>;
26*c66ec88fSEmmanuel Vadot		interrupts = <28 8>;
27*c66ec88fSEmmanuel Vadot		interrupt-parent = <&PIC>;
28*c66ec88fSEmmanuel Vadot		fsl,cpm-brg = <1>;
29*c66ec88fSEmmanuel Vadot		fsl,cpm-command = <00800000>;
30*c66ec88fSEmmanuel Vadot		gpios = <&gpio_c 15 0
31*c66ec88fSEmmanuel Vadot			 &gpio_d 29 0>;
32*c66ec88fSEmmanuel Vadot	};
33