summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts
blob: c79f7a7b38cb4542fff0930b9fc2fc379549eb28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)

/dts-v1/;
#include "rk3326-anbernic-rg351m.dtsi"

/ {
	model = "Anbernic RG351V";
	compatible = "anbernic,rg351v", "rockchip,rk3326";

	gpio_keys_vol: gpio-keys-vol {
		compatible = "gpio-keys";
		autorepeat;

		button-vol-down {
			gpios = <&gpio2 RK_PA1 GPIO_ACTIVE_LOW>;
			label = "VOLUMEDOWN";
			linux,code = <KEY_VOLUMEDOWN>;
		};

		button-vol-up {
			gpios = <&gpio2 RK_PA0 GPIO_ACTIVE_LOW>;
			label = "VOLUMEUP";
			linux,code = <KEY_VOLUMEUP>;
		};
	};
};

&internal_display {
	compatible = "anbernic,rg351v-panel", "newvision,nv3051d";
	vdd-supply = <&vcc_lcd>;
};

&io_domains {
	vccio1-supply = <&vccio_sd>;
};

&vcc_sd {
	regulator-max-microvolt = <3000000>;
	regulator-min-microvolt = <1800000>;
};

&vccio_sd {
	regulator-max-microvolt = <1800000>;
};