diff options
author | Adam Ford <aford173@gmail.com> | 2017-11-30 19:23:01 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-12-11 12:43:53 -0500 |
commit | a38867305203ef5a27f0c9ff1e943a0c2fabdbce (patch) | |
tree | dd6305d244bb6289cefba127060b6e98c5de483a | |
parent | 1e5540b61ec8c885a9a1cb0b317dc37caedd8bc9 (diff) |
ARM: dts: Move move WiFi bindings to logicpd-torpedo-37xx-devkit
The newly added OMAP35xx Torpedo does not have a WiFi option, so
this patch moves the WL1283 binding and pin muxing to the
logicpd-torpedo-37xx-devkit since it's only applicable on that SOM
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts | 60 | ||||
-rw-r--r-- | arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 57 |
2 files changed, 60 insertions, 57 deletions
diff --git a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts index b5404f0a80b4..234afd6d60ec 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts +++ b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts | |||
@@ -14,4 +14,64 @@ | |||
14 | / { | 14 | / { |
15 | model = "LogicPD Zoom DM3730 Torpedo + Wireless Development Kit"; | 15 | model = "LogicPD Zoom DM3730 Torpedo + Wireless Development Kit"; |
16 | compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3630", "ti,omap3"; | 16 | compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3630", "ti,omap3"; |
17 | |||
18 | wl12xx_vmmc: wl12xx_vmmc { | ||
19 | compatible = "regulator-fixed"; | ||
20 | regulator-name = "vwl1271"; | ||
21 | regulator-min-microvolt = <1800000>; | ||
22 | regulator-max-microvolt = <1800000>; | ||
23 | gpio = <&gpio5 29 0>; /* gpio157 */ | ||
24 | startup-delay-us = <70000>; | ||
25 | enable-active-high; | ||
26 | vin-supply = <&vmmc2>; | ||
27 | }; | ||
28 | }; | ||
29 | |||
30 | /* | ||
31 | * Only found on the wireless SOM. For the SOM without wireless, the pins for | ||
32 | * MMC3 can be routed with jumpers to the second MMC slot on the devkit and | ||
33 | * gpio157 is not connected. So this should be OK to keep common for now, | ||
34 | * probably device tree overlays is the way to go with the various SOM and | ||
35 | * jumpering combinations for the long run. | ||
36 | */ | ||
37 | &mmc3 { | ||
38 | interrupts-extended = <&intc 94 &omap3_pmx_core2 0x46>; | ||
39 | pinctrl-0 = <&mmc3_pins &mmc3_core2_pins>; | ||
40 | pinctrl-names = "default"; | ||
41 | vmmc-supply = <&wl12xx_vmmc>; | ||
42 | non-removable; | ||
43 | bus-width = <4>; | ||
44 | cap-power-off-card; | ||
45 | #address-cells = <1>; | ||
46 | #size-cells = <0>; | ||
47 | wlcore: wlcore@2 { | ||
48 | compatible = "ti,wl1283"; | ||
49 | reg = <2>; | ||
50 | interrupt-parent = <&gpio5>; | ||
51 | interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; /* gpio 152 */ | ||
52 | ref-clock-frequency = <26000000>; | ||
53 | tcxo-clock-frequency = <26000000>; | ||
54 | }; | ||
55 | }; | ||
56 | |||
57 | &omap3_pmx_core { | ||
58 | mmc3_pins: pinmux_mm3_pins { | ||
59 | pinctrl-single,pins = < | ||
60 | OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat4.sdmmc3_dat0 */ | ||
61 | OMAP3_CORE1_IOPAD(0x2166, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat5.sdmmc3_dat1 */ | ||
62 | OMAP3_CORE1_IOPAD(0x2168, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat2 */ | ||
63 | OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat3 */ | ||
64 | OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLUP | MUX_MODE4) /* mcbsp4_clkx.gpio_152 */ | ||
65 | OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE4) /* mcbsp1_fsr.gpio_157 */ | ||
66 | >; | ||
67 | }; | ||
68 | }; | ||
69 | |||
70 | &omap3_pmx_core2 { | ||
71 | mmc3_core2_pins: pinmux_mmc3_core2_pins { | ||
72 | pinctrl-single,pins = < | ||
73 | OMAP3630_CORE2_IOPAD(0x25d8, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_clk.sdmmc3_clk */ | ||
74 | OMAP3630_CORE2_IOPAD(0x25da, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_ctl.sdmmc3_cmd */ | ||
75 | >; | ||
76 | }; | ||
17 | }; | 77 | }; |
diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi index cf0510910481..b50b796e15c7 100644 --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi | |||
@@ -30,17 +30,6 @@ | |||
30 | linux,default-trigger = "none"; | 30 | linux,default-trigger = "none"; |
31 | }; | 31 | }; |
32 | }; | 32 | }; |
33 | |||
34 | wl12xx_vmmc: wl12xx_vmmc { | ||
35 | compatible = "regulator-fixed"; | ||
36 | regulator-name = "vwl1271"; | ||
37 | regulator-min-microvolt = <1800000>; | ||
38 | regulator-max-microvolt = <1800000>; | ||
39 | gpio = <&gpio5 29 0>; /* gpio157 */ | ||
40 | startup-delay-us = <70000>; | ||
41 | enable-active-high; | ||
42 | vin-supply = <&vmmc2>; | ||
43 | }; | ||
44 | }; | 33 | }; |
45 | 34 | ||
46 | &gpmc { | 35 | &gpmc { |
@@ -104,44 +93,7 @@ | |||
104 | }; | 93 | }; |
105 | }; | 94 | }; |
106 | 95 | ||
107 | /* | ||
108 | * Only found on the wireless SOM. For the SOM without wireless, the pins for | ||
109 | * MMC3 can be routed with jumpers to the second MMC slot on the devkit and | ||
110 | * gpio157 is not connected. So this should be OK to keep common for now, | ||
111 | * probably device tree overlays is the way to go with the various SOM and | ||
112 | * jumpering combinations for the long run. | ||
113 | */ | ||
114 | &mmc3 { | ||
115 | interrupts-extended = <&intc 94 &omap3_pmx_core2 0x46>; | ||
116 | pinctrl-0 = <&mmc3_pins &mmc3_core2_pins>; | ||
117 | pinctrl-names = "default"; | ||
118 | vmmc-supply = <&wl12xx_vmmc>; | ||
119 | non-removable; | ||
120 | bus-width = <4>; | ||
121 | cap-power-off-card; | ||
122 | #address-cells = <1>; | ||
123 | #size-cells = <0>; | ||
124 | wlcore: wlcore@2 { | ||
125 | compatible = "ti,wl1283"; | ||
126 | reg = <2>; | ||
127 | interrupt-parent = <&gpio5>; | ||
128 | interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; /* gpio 152 */ | ||
129 | ref-clock-frequency = <26000000>; | ||
130 | tcxo-clock-frequency = <26000000>; | ||
131 | }; | ||
132 | }; | ||
133 | |||
134 | &omap3_pmx_core { | 96 | &omap3_pmx_core { |
135 | mmc3_pins: pinmux_mm3_pins { | ||
136 | pinctrl-single,pins = < | ||
137 | OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat4.sdmmc3_dat0 */ | ||
138 | OMAP3_CORE1_IOPAD(0x2166, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat5.sdmmc3_dat1 */ | ||
139 | OMAP3_CORE1_IOPAD(0x2168, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat2 */ | ||
140 | OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat3 */ | ||
141 | OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLUP | MUX_MODE4) /* mcbsp4_clkx.gpio_152 */ | ||
142 | OMAP3_CORE1_IOPAD(0x218e, PIN_OUTPUT | MUX_MODE4) /* mcbsp1_fsr.gpio_157 */ | ||
143 | >; | ||
144 | }; | ||
145 | mcbsp2_pins: pinmux_mcbsp2_pins { | 97 | mcbsp2_pins: pinmux_mcbsp2_pins { |
146 | pinctrl-single,pins = < | 98 | pinctrl-single,pins = < |
147 | OMAP3_CORE1_IOPAD(0x213c, PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx */ | 99 | OMAP3_CORE1_IOPAD(0x213c, PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx */ |
@@ -197,15 +149,6 @@ | |||
197 | pinctrl-0 = <&mcspi1_pins>; | 149 | pinctrl-0 = <&mcspi1_pins>; |
198 | }; | 150 | }; |
199 | 151 | ||
200 | &omap3_pmx_core2 { | ||
201 | mmc3_core2_pins: pinmux_mmc3_core2_pins { | ||
202 | pinctrl-single,pins = < | ||
203 | OMAP3630_CORE2_IOPAD(0x25d8, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_clk.sdmmc3_clk */ | ||
204 | OMAP3630_CORE2_IOPAD(0x25da, PIN_INPUT_PULLUP | MUX_MODE2) /* etk_ctl.sdmmc3_cmd */ | ||
205 | >; | ||
206 | }; | ||
207 | }; | ||
208 | |||
209 | #include "twl4030.dtsi" | 152 | #include "twl4030.dtsi" |
210 | #include "twl4030_omap3.dtsi" | 153 | #include "twl4030_omap3.dtsi" |
211 | 154 | ||