xref: /freebsd/sys/contrib/device-tree/Bindings/serial/brcm,bcm6345-uart.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* BCM63xx UART
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible: "brcm,bcm6345-uart"
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot- reg: The base address of the UART register bank.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot- interrupts: A single interrupt specifier.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot- clocks: Clock driving the hardware; used to figure out the baud rate
12*c66ec88fSEmmanuel Vadot  divisor.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotOptional properties:
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot- clock-names: Should be "refclk".
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotExample:
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot	uart0: serial@14e00520 {
22*c66ec88fSEmmanuel Vadot		compatible = "brcm,bcm6345-uart";
23*c66ec88fSEmmanuel Vadot		reg = <0x14e00520 0x18>;
24*c66ec88fSEmmanuel Vadot		interrupt-parent = <&periph_intc>;
25*c66ec88fSEmmanuel Vadot		interrupts = <2>;
26*c66ec88fSEmmanuel Vadot		clocks = <&periph_clk>;
27*c66ec88fSEmmanuel Vadot		clock-names = "refclk";
28*c66ec88fSEmmanuel Vadot	};
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot	clocks {
31*c66ec88fSEmmanuel Vadot		periph_clk: periph_clk@0 {
32*c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
33*c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
34*c66ec88fSEmmanuel Vadot			clock-frequency = <54000000>;
35*c66ec88fSEmmanuel Vadot		};
36*c66ec88fSEmmanuel Vadot	};
37