xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/brcm,bcm2835-aux-clock.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBroadcom BCM2835 auxiliary peripheral support
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis binding uses the common clock binding:
4*4882a593Smuzhiyun    Documentation/devicetree/bindings/clock/clock-bindings.txt
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThe auxiliary peripherals (UART, SPI1, and SPI2) have a small register
7*4882a593Smuzhiyunarea controlling clock gating to the peripherals, and providing an IRQ
8*4882a593Smuzhiyunstatus register.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunRequired properties:
11*4882a593Smuzhiyun- compatible:	Should be "brcm,bcm2835-aux"
12*4882a593Smuzhiyun- #clock-cells:	Should be <1>. The permitted clock-specifier values can be
13*4882a593Smuzhiyun		  found in include/dt-bindings/clock/bcm2835-aux.h
14*4882a593Smuzhiyun- reg:		Specifies base physical address and size of the registers
15*4882a593Smuzhiyun- clocks:	The parent clock phandle
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunExample:
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	clocks: cprman@7e101000 {
20*4882a593Smuzhiyun		compatible = "brcm,bcm2835-cprman";
21*4882a593Smuzhiyun		#clock-cells = <1>;
22*4882a593Smuzhiyun		reg = <0x7e101000 0x2000>;
23*4882a593Smuzhiyun		clocks = <&clk_osc>;
24*4882a593Smuzhiyun	};
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun	aux: aux@7e215004 {
27*4882a593Smuzhiyun		compatible = "brcm,bcm2835-aux";
28*4882a593Smuzhiyun		#clock-cells = <1>;
29*4882a593Smuzhiyun		reg = <0x7e215000 0x8>;
30*4882a593Smuzhiyun		clocks = <&clocks BCM2835_CLOCK_VPU>;
31*4882a593Smuzhiyun	};
32