]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/hsi/nokia-modem.txt
PCI: layerscape: Add support for LS1043a and LS2080a
[karo-tx-linux.git] / Documentation / devicetree / bindings / hsi / nokia-modem.txt
1 Nokia modem client bindings
2
3 The Nokia modem HSI client follows the common HSI client binding
4 and inherits all required properties. The following additional
5 properties are needed by the Nokia modem HSI client:
6
7 Required properties:
8 - compatible:           Should be one of
9       "nokia,n900-modem"
10 - hsi-channel-names:    Should contain the following strings
11       "mcsaab-control"
12       "speech-control"
13       "speech-data"
14       "mcsaab-data"
15 - gpios:                Should provide a GPIO handler for each GPIO listed in
16                         gpio-names
17 - gpio-names:           Should contain the following strings
18       "cmt_apeslpx"
19       "cmt_rst_rq"
20       "cmt_en"
21       "cmt_rst"
22       "cmt_bsi"
23 - interrupts:           Should be IRQ handle for modem's reset indication
24
25 Example:
26
27 &ssi_port {
28         modem: hsi-client {
29                 compatible = "nokia,n900-modem";
30
31                 pinctrl-names = "default";
32                 pinctrl-0 = <&modem_pins>;
33
34                 hsi-channel-ids = <0>, <1>, <2>, <3>;
35                 hsi-channel-names = "mcsaab-control",
36                                     "speech-control",
37                                     "speech-data",
38                                     "mcsaab-data";
39                 hsi-speed-kbps = <55000>;
40                 hsi-mode = "frame";
41                 hsi-flow = "synchronized";
42                 hsi-arb-mode = "round-robin";
43
44                 interrupts-extended = <&gpio3 8 IRQ_TYPE_EDGE_FALLING>; /* 72 */
45
46                 gpios = <&gpio3  6 GPIO_ACTIVE_HIGH>, /* 70 */
47                         <&gpio3  9 GPIO_ACTIVE_HIGH>, /* 73 */
48                         <&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */
49                         <&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */
50                         <&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */
51                 gpio-names = "cmt_apeslpx",
52                              "cmt_rst_rq",
53                              "cmt_en",
54                              "cmt_rst",
55                              "cmt_bsi";
56         };
57 };