| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | 4 | */ |
|---|
| 8 | 5 | |
|---|
| 9 | 6 | #include "omap443x.dtsi" |
|---|
| 7 | +#include "omap4-mcpdm.dtsi" |
|---|
| 10 | 8 | |
|---|
| 11 | 9 | / { |
|---|
| 12 | 10 | model = "Gumstix Duovero"; |
|---|
| .. | .. |
|---|
| 79 | 77 | pinctrl-single,pins = < |
|---|
| 80 | 78 | OMAP4_IOPAD(0x166, PIN_OUTPUT | MUX_MODE3) /* usbb2_ulpitll_nxt.gpio_160 */ |
|---|
| 81 | 79 | OMAP4_IOPAD(0x1a0, PIN_INPUT | MUX_MODE0) /* sys_nirq2.sys_nirq2 */ |
|---|
| 82 | | - >; |
|---|
| 83 | | - }; |
|---|
| 84 | | - |
|---|
| 85 | | - mcpdm_pins: pinmux_mcpdm_pins { |
|---|
| 86 | | - pinctrl-single,pins = < |
|---|
| 87 | | - OMAP4_IOPAD(0x106, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_ul_data.abe_pdm_ul_data */ |
|---|
| 88 | | - OMAP4_IOPAD(0x108, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_dl_data.abe_pdm_dl_data */ |
|---|
| 89 | | - OMAP4_IOPAD(0x10a, PIN_INPUT_PULLUP | MUX_MODE0) /* abe_pdm_frame.abe_pdm_frame */ |
|---|
| 90 | | - OMAP4_IOPAD(0x10c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_lb_clk.abe_pdm_lb_clk */ |
|---|
| 91 | | - OMAP4_IOPAD(0x10e, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_clks.abe_clks */ |
|---|
| 92 | 80 | >; |
|---|
| 93 | 81 | }; |
|---|
| 94 | 82 | |
|---|
| .. | .. |
|---|
| 207 | 195 | &mcbsp1 { |
|---|
| 208 | 196 | pinctrl-names = "default"; |
|---|
| 209 | 197 | pinctrl-0 = <&mcbsp1_pins>; |
|---|
| 210 | | - status = "okay"; |
|---|
| 211 | | -}; |
|---|
| 212 | | - |
|---|
| 213 | | -&mcpdm { |
|---|
| 214 | | - pinctrl-names = "default"; |
|---|
| 215 | | - pinctrl-0 = <&mcpdm_pins>; |
|---|
| 216 | | - |
|---|
| 217 | | - clocks = <&twl6040>; |
|---|
| 218 | | - clock-names = "pdmclk"; |
|---|
| 219 | | - |
|---|
| 220 | 198 | status = "okay"; |
|---|
| 221 | 199 | }; |
|---|
| 222 | 200 | |
|---|