Back to home page

OSCL-LXR

 
 

    


0001 Nokia modem client bindings
0002 
0003 The Nokia modem HSI client follows the common HSI client binding
0004 and inherits all required properties. The following additional
0005 properties are needed by the Nokia modem HSI client:
0006 
0007 Required properties:
0008 - compatible:           Should be one of
0009       "nokia,n900-modem"
0010       "nokia,n950-modem"
0011       "nokia,n9-modem"
0012 - hsi-channel-names:    Should contain the following strings
0013       "mcsaab-control"
0014       "speech-control"
0015       "speech-data"
0016       "mcsaab-data"
0017 - gpios:                Should provide a GPIO handler for each GPIO listed in
0018                         gpio-names
0019 - gpio-names:           Should contain the following strings
0020       "cmt_apeslpx" (for n900, n950, n9)
0021       "cmt_rst_rq"  (for n900, n950, n9)
0022       "cmt_en"      (for n900, n950, n9)
0023       "cmt_rst"     (for n900)
0024       "cmt_bsi"     (for n900)
0025 - interrupts:           Should be IRQ handle for modem's reset indication
0026 
0027 Example:
0028 
0029 &ssi_port {
0030         modem: hsi-client {
0031                 compatible = "nokia,n900-modem";
0032 
0033                 pinctrl-names = "default";
0034                 pinctrl-0 = <&modem_pins>;
0035 
0036                 hsi-channel-ids = <0>, <1>, <2>, <3>;
0037                 hsi-channel-names = "mcsaab-control",
0038                                     "speech-control",
0039                                     "speech-data",
0040                                     "mcsaab-data";
0041                 hsi-speed-kbps = <55000>;
0042                 hsi-mode = "frame";
0043                 hsi-flow = "synchronized";
0044                 hsi-arb-mode = "round-robin";
0045 
0046                 interrupts-extended = <&gpio3 8 IRQ_TYPE_EDGE_FALLING>; /* 72 */
0047 
0048                 gpios = <&gpio3  6 GPIO_ACTIVE_HIGH>, /* 70 */
0049                         <&gpio3  9 GPIO_ACTIVE_HIGH>, /* 73 */
0050                         <&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */
0051                         <&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */
0052                         <&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */
0053                 gpio-names = "cmt_apeslpx",
0054                              "cmt_rst_rq",
0055                              "cmt_en",
0056                              "cmt_rst",
0057                              "cmt_bsi";
0058         };
0059 };