Add modem device tree data to Nokia N900's DTS file.

Signed-off-by: Sebastian Reichel <s...@kernel.org>
---
 arch/arm/boot/dts/omap3-n900.dts | 41 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index 5bccd8c..6655790 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -158,6 +158,17 @@
                        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 {
@@ -508,6 +519,36 @@
        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>;
+
+               reg = <0>, <1>, <2>, <3>;
+               reg-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 {
-- 
1.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to