1/dts-v1/;
2
3#include <dt-bindings/input/linux-event-codes.h>
4
5#include "tegra186-p3310.dtsi"
6
7/ {
8	model = "NVIDIA Tegra186 P2771-0000 Development Board";
9	compatible = "nvidia,p2771-0000", "nvidia,tegra186";
10
11	/* SDMMC1 (SD/MMC) */
12	sdhci@3400000 {
13		status = "okay";
14
15		vmmc-supply = <&vdd_sd>;
16	};
17
18	gpio-keys {
19		compatible = "gpio-keys";
20
21		power {
22			label = "Power";
23			gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 0)
24					   GPIO_ACTIVE_LOW>;
25			linux,input-type = <EV_KEY>;
26			linux,code = <KEY_POWER>;
27			debounce-interval = <10>;
28			wakeup-source;
29		};
30
31		volume-up {
32			label = "Volume Up";
33			gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 1)
34					   GPIO_ACTIVE_LOW>;
35			linux,input-type = <EV_KEY>;
36			linux,code = <KEY_VOLUMEUP>;
37			debounce-interval = <10>;
38		};
39
40		volume-down {
41			label = "Volume Down";
42			gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 2)
43					   GPIO_ACTIVE_LOW>;
44			linux,input-type = <EV_KEY>;
45			linux,code = <KEY_VOLUMEDOWN>;
46			debounce-interval = <10>;
47		};
48	};
49
50	regulators {
51		vdd_sd: regulator@100 {
52			compatible = "regulator-fixed";
53			reg = <100>;
54
55			regulator-name = "SD_CARD_SW_PWR";
56			regulator-min-microvolt = <3300000>;
57			regulator-max-microvolt = <3300000>;
58
59			gpio = <&gpio TEGRA_MAIN_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
60			enable-active-high;
61
62			vin-supply = <&vdd_3v3_sys>;
63		};
64	};
65};
66