Commit | Line | Data |
---|---|---|
eafaebd9 SR |
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" | |
633f67a5 SR |
10 | "nokia,n950-modem" |
11 | "nokia,n9-modem" | |
eafaebd9 SR |
12 | - hsi-channel-names: Should contain the following strings |
13 | "mcsaab-control" | |
14 | "speech-control" | |
15 | "speech-data" | |
16 | "mcsaab-data" | |
17 | - gpios: Should provide a GPIO handler for each GPIO listed in | |
18 | gpio-names | |
19 | - gpio-names: Should contain the following strings | |
633f67a5 SR |
20 | "cmt_apeslpx" (for n900, n950, n9) |
21 | "cmt_rst_rq" (for n900, n950, n9) | |
22 | "cmt_en" (for n900, n950, n9) | |
23 | "cmt_rst" (for n900) | |
24 | "cmt_bsi" (for n900) | |
eafaebd9 SR |
25 | - interrupts: Should be IRQ handle for modem's reset indication |
26 | ||
27 | Example: | |
28 | ||
29 | &ssi_port { | |
30 | modem: hsi-client { | |
31 | compatible = "nokia,n900-modem"; | |
32 | ||
33 | pinctrl-names = "default"; | |
34 | pinctrl-0 = <&modem_pins>; | |
35 | ||
36 | hsi-channel-ids = <0>, <1>, <2>, <3>; | |
37 | hsi-channel-names = "mcsaab-control", | |
38 | "speech-control", | |
39 | "speech-data", | |
40 | "mcsaab-data"; | |
41 | hsi-speed-kbps = <55000>; | |
42 | hsi-mode = "frame"; | |
43 | hsi-flow = "synchronized"; | |
44 | hsi-arb-mode = "round-robin"; | |
45 | ||
46 | interrupts-extended = <&gpio3 8 IRQ_TYPE_EDGE_FALLING>; /* 72 */ | |
47 | ||
48 | gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>, /* 70 */ | |
49 | <&gpio3 9 GPIO_ACTIVE_HIGH>, /* 73 */ | |
50 | <&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */ | |
51 | <&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */ | |
52 | <&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */ | |
53 | gpio-names = "cmt_apeslpx", | |
54 | "cmt_rst_rq", | |
55 | "cmt_en", | |
56 | "cmt_rst", | |
57 | "cmt_bsi"; | |
58 | }; | |
59 | }; |