| /* |
| * omap3-n950.dts - Device Tree file for Nokia N950 |
| * |
| * Written by: Aaro Koskinen <aaro.koskinen@iki.fi> |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| */ |
| |
| /dts-v1/; |
| |
| #include "omap3-n950-n9.dtsi" |
| |
| / { |
| model = "Nokia N950"; |
| compatible = "nokia,omap3-n950", "ti,omap36xx", "ti,omap3"; |
| }; |
| |
| &omap3_pmx_core { |
| spi4_pins: pinmux_spi4_pins { |
| pinctrl-single,pins = < |
| OMAP3_CORE1_IOPAD(0x218c, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_clk */ |
| OMAP3_CORE1_IOPAD(0x2190, PIN_OUTPUT | MUX_MODE1) /* mcspi4_simo */ |
| OMAP3_CORE1_IOPAD(0x2192, PIN_INPUT_PULLDOWN | MUX_MODE1) /* mcspi4_somi */ |
| OMAP3_CORE1_IOPAD(0x2196, PIN_OUTPUT | MUX_MODE1) /* mcspi4_cs0 */ |
| >; |
| }; |
| }; |
| |
| &i2c2 { |
| smia_1: camera@10 { |
| compatible = "nokia,smia"; |
| reg = <0x10>; |
| /* No reset gpio */ |
| vana-supply = <&vaux3>; |
| clocks = <&isp 0>; |
| clock-frequency = <9600000>; |
| nokia,nvm-size = <(16 * 64)>; |
| port { |
| smia_1_1: endpoint { |
| link-frequencies = /bits/ 64 <210000000 333600000 398400000>; |
| clock-lanes = <0>; |
| data-lanes = <1 2>; |
| remote-endpoint = <&csi2a_ep>; |
| }; |
| }; |
| }; |
| }; |
| |
| &isp { |
| vdd-csiphy1-supply = <&vaux2>; |
| vdd-csiphy2-supply = <&vaux2>; |
| ports { |
| port@2 { |
| reg = <2>; |
| csi2a_ep: endpoint { |
| remote-endpoint = <&smia_1_1>; |
| clock-lanes = <2>; |
| data-lanes = <3 1>; |
| crc = <1>; |
| lane-polarities = <1 1 1>; |
| }; |
| }; |
| }; |
| }; |
| |
| &mcspi4 { |
| status = "okay"; |
| pinctrl-names = "default"; |
| pinctrl-0 = <&spi4_pins>; |
| |
| wlcore: wlcore@0 { |
| compatible = "ti,wl1271"; |
| pinctrl-names = "default"; |
| pinctrl-0 = <&wlan_pins>; |
| reg = <0>; |
| spi-max-frequency = <48000000>; |
| clock-xtal; |
| ref-clock-frequency = <38400000>; |
| interrupts-extended = <&gpio2 10 IRQ_TYPE_LEVEL_HIGH>; /* gpio 42 */ |
| vwlan-supply = <&vwlan_fixed>; |
| }; |
| }; |