.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2014 Joachim Eastwood <manabian@gmail.com> |
---|
3 | | - * Copyright (C) 2012 Variscite Ltd. - http://www.variscite.com |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify |
---|
6 | | - * it under the terms of the GNU General Public License version 2 as |
---|
7 | | - * published by the Free Software Foundation. |
---|
| 4 | + * Copyright (C) 2012 Variscite Ltd. - https://www.variscite.com |
---|
8 | 5 | */ |
---|
9 | 6 | #include "omap4460.dtsi" |
---|
| 7 | +#include "omap4-mcpdm.dtsi" |
---|
10 | 8 | |
---|
11 | 9 | / { |
---|
12 | 10 | model = "Variscite VAR-SOM-OM44"; |
---|
.. | .. |
---|
71 | 69 | pinctrl-single,pins = < |
---|
72 | 70 | OMAP4_IOPAD(0x19c, PIN_OUTPUT | MUX_MODE3) /* fref_clk2_out.gpio_182 */ |
---|
73 | 71 | OMAP4_IOPAD(0x1a0, PIN_INPUT | MUX_MODE0) /* sys_nirq2.sys_nirq2 */ |
---|
74 | | - >; |
---|
75 | | - }; |
---|
76 | | - |
---|
77 | | - mcpdm_pins: pinmux_mcpdm_pins { |
---|
78 | | - pinctrl-single,pins = < |
---|
79 | | - OMAP4_IOPAD(0x106, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_ul_data.abe_pdm_ul_data */ |
---|
80 | | - OMAP4_IOPAD(0x108, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_dl_data.abe_pdm_dl_data */ |
---|
81 | | - OMAP4_IOPAD(0x10a, PIN_INPUT_PULLUP | MUX_MODE0) /* abe_pdm_frame.abe_pdm_frame */ |
---|
82 | | - OMAP4_IOPAD(0x10c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_lb_clk.abe_pdm_lb_clk */ |
---|
83 | | - OMAP4_IOPAD(0x10e, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_clks.abe_clks */ |
---|
84 | 72 | >; |
---|
85 | 73 | }; |
---|
86 | 74 | |
---|
.. | .. |
---|
249 | 237 | |
---|
250 | 238 | &i2c4 { |
---|
251 | 239 | status = "disabled"; |
---|
252 | | -}; |
---|
253 | | - |
---|
254 | | -&mcpdm { |
---|
255 | | - pinctrl-names = "default"; |
---|
256 | | - pinctrl-0 = <&mcpdm_pins>; |
---|
257 | | - |
---|
258 | | - clocks = <&twl6040>; |
---|
259 | | - clock-names = "pdmclk"; |
---|
260 | | - |
---|
261 | | - status = "okay"; |
---|
262 | 240 | }; |
---|
263 | 241 | |
---|
264 | 242 | &gpmc { |
---|