summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ti/omap/motorola-mapphone-mz607-mz617.dtsi
blob: a356b3a2f24e94b8cf416c60f8316b59d0ef4cf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-License-Identifier: GPL-2.0-only
/dts-v1/;

#include "motorola-mapphone-common.dtsi"

&keypad {
	keypad,num-rows = <8>;
	keypad,num-columns = <8>;
	linux,keymap = <MATRIX_KEY(5, 0, KEY_VOLUMEUP)>,
		       <MATRIX_KEY(3, 0, KEY_VOLUMEDOWN)>;
};

/*
 * On tablets, mmc1 regulator is vsimcard instead of vwlan2 in the stock kernel
 * dtb. The regulator may not be wired even if a MMC cage is added though.
 */
&mmc1 {
	vmmc-supply = <&vsimcard>;
	bus-width = <4>;
	cd-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>;	/* gpio_176 */
};