ARM: dts: omap3-n900: Add modem support
authorSebastian Reichel <sre@kernel.org>
Sat, 10 May 2014 16:37:50 +0000 (18:37 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 27 May 2014 18:59:44 +0000 (11:59 -0700)
Add modem device tree data to Nokia N900's DTS file.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Tested-By: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-n900.dts

index fe667f8b82fe201e132b34ff90c8b8fa5edcbc3d..a289910ec362cc54fe43c2fa041530a9648af09e 100644 (file)
                        0x15a (PIN_OUTPUT | MUX_MODE1)          /* ssi1_wake */
                >;
        };
+
+       modem_pins: pinmux_modem {
+               pinctrl-single,pins = <
+                       0x0ac (PIN_OUTPUT | MUX_MODE4)          /* gpio 70 => cmt_apeslpx */
+                       0x0b0 (PIN_INPUT | WAKEUP_EN | MUX_MODE4) /* gpio 72 => ape_rst_rq */
+                       0x0b2 (PIN_OUTPUT | MUX_MODE4)          /* gpio 73 => cmt_rst_rq */
+                       0x0b4 (PIN_OUTPUT | MUX_MODE4)          /* gpio 74 => cmt_en */
+                       0x0b6 (PIN_OUTPUT | MUX_MODE4)          /* gpio 75 => cmt_rst */
+                       0x15e (PIN_OUTPUT | MUX_MODE4)          /* gpio 157 => cmt_bsi */
+               >;
+       };
 };
 
 &i2c1 {
        pinctrl-0 = <&ssi_pins>;
 
        ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */
+
+       modem: hsi-client {
+               compatible = "nokia,n900-modem";
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&modem_pins>;
+
+               hsi-channel-ids = <0>, <1>, <2>, <3>;
+               hsi-channel-names = "mcsaab-control",
+                                   "speech-control",
+                                   "speech-data",
+                                   "mcsaab-data";
+               hsi-speed-kbps = <55000>;
+               hsi-mode = "frame";
+               hsi-flow = "synchronized";
+               hsi-arb-mode = "round-robin";
+
+               interrupts-extended = <&gpio3 8 IRQ_TYPE_EDGE_FALLING>; /* 72 */
+
+               gpios = <&gpio3  6 GPIO_ACTIVE_HIGH>, /* 70 */
+                       <&gpio3  9 GPIO_ACTIVE_HIGH>, /* 73 */
+                       <&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */
+                       <&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */
+                       <&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */
+               gpio-names = "cmt_apeslpx",
+                            "cmt_rst_rq",
+                            "cmt_en",
+                            "cmt_rst",
+                            "cmt_bsi";
+       };
 };
 
 &ssi_port2 {
        status = "disabled";
-};
\ No newline at end of file
+};