Commit c1ad2206 authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Tony Lindgren

ARM: dts: omap3-n900: Add WL1251 support

Add device tree support for the wireless chip
built into the Nokia N900.
Signed-off-by: default avatarSebastian Reichel <sre@debian.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 61d5924f
...@@ -130,6 +130,15 @@ i2c3_pins: pinmux_i2c3_pins { ...@@ -130,6 +130,15 @@ i2c3_pins: pinmux_i2c3_pins {
>; >;
}; };
mcspi4_pins: pinmux_mcspi4_pins {
pinctrl-single,pins = <
0x15c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_clk */
0x162 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_somi */
0x160 (PIN_OUTPUT | MUX_MODE1) /* mcspi4_simo */
0x166 (PIN_OUTPUT | MUX_MODE1) /* mcspi4_cs0 */
>;
};
mmc1_pins: pinmux_mmc1_pins { mmc1_pins: pinmux_mmc1_pins {
pinctrl-single,pins = < pinctrl-single,pins = <
0x114 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk */ 0x114 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk */
...@@ -173,6 +182,13 @@ dss_sdi_pins: pinmux_dss_sdi_pins { ...@@ -173,6 +182,13 @@ dss_sdi_pins: pinmux_dss_sdi_pins {
0x0da (PIN_OUTPUT | MUX_MODE1) /* dss_data23.sdi_clkn */ 0x0da (PIN_OUTPUT | MUX_MODE1) /* dss_data23.sdi_clkn */
>; >;
}; };
wl1251_pins: pinmux_wl1251 {
pinctrl-single,pins = <
0x0ce (PIN_OUTPUT | MUX_MODE4) /* gpio 87 => wl1251 enable */
0x05a (PIN_INPUT | MUX_MODE4) /* gpio 42 => wl1251 irq */
>;
};
}; };
&i2c1 { &i2c1 {
...@@ -604,6 +620,30 @@ lcd_in: endpoint { ...@@ -604,6 +620,30 @@ lcd_in: endpoint {
}; };
}; };
&mcspi4 {
pinctrl-names = "default";
pinctrl-0 = <&mcspi4_pins>;
wl1251@0 {
pinctrl-names = "default";
pinctrl-0 = <&wl1251_pins>;
vio-supply = <&vio>;
compatible = "ti,wl1251";
reg = <0>;
spi-max-frequency = <48000000>;
spi-cpol;
spi-cpha;
ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */
interrupt-parent = <&gpio2>;
interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */
};
};
&usb_otg_hs { &usb_otg_hs {
interface-type = <0>; interface-type = <0>;
usb-phy = <&usb2_phy>; usb-phy = <&usb2_phy>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment