sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / Documentation / devicetree / bindings / soc / qcom / qcom,gsbi.txt
blob2f5ede39bea2d1d3cffacbcbe0ed103a7d2c708a
1 QCOM GSBI (General Serial Bus Interface) Driver
3 The GSBI controller is modeled as a node with zero or more child nodes, each
4 representing a serial sub-node device that is mux'd as part of the GSBI
5 configuration settings.  The mode setting will govern the input/output mode of
6 the 4 GSBI IOs.
8 Required properties:
9 - compatible:   Should contain "qcom,gsbi-v1.0.0"
10 - cell-index:   Should contain the GSBI index
11 - reg: Address range for GSBI registers
12 - clocks: required clock
13 - clock-names: must contain "iface" entry
14 - qcom,mode : indicates MUX value for configuration of the serial interface.
15   Please reference dt-bindings/soc/qcom,gsbi.h for valid mux values.
17 Optional properties:
18 - qcom,crci : indicates CRCI MUX value for QUP CRCI ports.  Please reference
19   dt-bindings/soc/qcom,gsbi.h for valid CRCI mux values.
20 - syscon-tcsr: indicates phandle of TCSR syscon node.  Required if child uses
21   dma.
23 Required properties if child node exists:
24 - #address-cells: Must be 1
25 - #size-cells: Must be 1
26 - ranges: Must be present
28 Properties for children:
30 A GSBI controller node can contain 0 or more child nodes representing serial
31 devices.  These serial devices can be a QCOM UART, I2C controller, spi
32 controller, or some combination of aforementioned devices.
34 See the following for child node definitions:
35 Documentation/devicetree/bindings/i2c/qcom,i2c-qup.txt
36 Documentation/devicetree/bindings/spi/qcom,spi-qup.txt
37 Documentation/devicetree/bindings/serial/qcom,msm-uartdm.txt
39 Example for APQ8064:
41 #include <dt-bindings/soc/qcom,gsbi.h>
43         gsbi4@16300000 {
44                 compatible = "qcom,gsbi-v1.0.0";
45                 cell-index = <4>;
46                 reg = <0x16300000 0x100>;
47                 clocks = <&gcc GSBI4_H_CLK>;
48                 clock-names = "iface";
49                 #address-cells = <1>;
50                 #size-cells = <1>;
51                 ranges;
52                 qcom,mode = <GSBI_PROT_I2C_UART>;
53                 qcom,crci = <GSBI_CRCI_QUP>;
55                 syscon-tcsr = <&tcsr>;
57                 /* child nodes go under here */
59                 i2c_qup4: i2c@16380000 {
60                         compatible = "qcom,i2c-qup-v1.1.1";
61                         reg = <0x16380000 0x1000>;
62                         interrupts = <0 153 0>;
64                         clocks = <&gcc GSBI4_QUP_CLK>, <&gcc GSBI4_H_CLK>;
65                         clock-names = "core", "iface";
67                         clock-frequency = <200000>;
69                         #address-cells = <1>;
70                         #size-cells = <0>;
72                 };
74                 uart4:  serial@16340000 {
75                         compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
76                         reg = <0x16340000 0x1000>,
77                                 <0x16300000 0x1000>;
78                         interrupts = <0 152 0x0>;
79                         clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>;
80                         clock-names = "core", "iface";
81                         status = "ok";
82                 };
83         };
85         tcsr: syscon@1a400000 {
86                 compatible = "qcom,apq8064-tcsr", "syscon";
87                 reg = <0x1a400000 0x100>;
88         };