| 1 |
// SPDX-License-Identifier: GPL-2.0-only |
| 2 |
/dts-v1/; |
| 3 |
|
| 4 |
#include "motorola-mapphone-common.dtsi" |
| 5 |
|
| 6 |
&keypad { |
| 7 |
keypad,num-rows = <8>; |
| 8 |
keypad,num-columns = <8>; |
| 9 |
linux,keymap = <MATRIX_KEY(5, 0, KEY_VOLUMEUP)>, |
| 10 |
<MATRIX_KEY(3, 0, KEY_VOLUMEDOWN)>; |
| 11 |
}; |
| 12 |
|
| 13 |
/* |
| 14 |
* On tablets, mmc1 regulator is vsimcard instead of vwlan2 in the stock kernel |
| 15 |
* dtb. The regulator may not be wired even if a MMC cage is added though. |
| 16 |
*/ |
| 17 |
&mmc1 { |
| 18 |
vmmc-supply = <&vsimcard>; |
| 19 |
bus-width = <4>; |
| 20 |
cd-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>; /* gpio_176 */ |
| 21 |
}; |