xref: /linux/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351v.dts (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3/dts-v1/;
4#include "rk3326-anbernic-rg351m.dtsi"
5
6/ {
7	model = "Anbernic RG351V";
8	compatible = "anbernic,rg351v", "rockchip,rk3326";
9
10	gpio_keys_vol: gpio-keys-vol {
11		compatible = "gpio-keys";
12		autorepeat;
13
14		button-vol-down {
15			gpios = <&gpio2 RK_PA1 GPIO_ACTIVE_LOW>;
16			label = "VOLUMEDOWN";
17			linux,code = <KEY_VOLUMEDOWN>;
18		};
19
20		button-vol-up {
21			gpios = <&gpio2 RK_PA0 GPIO_ACTIVE_LOW>;
22			label = "VOLUMEUP";
23			linux,code = <KEY_VOLUMEUP>;
24		};
25	};
26};
27
28&internal_display {
29	compatible = "anbernic,rg351v-panel", "newvision,nv3051d";
30	vdd-supply = <&vcc_lcd>;
31};
32
33&io_domains {
34	vccio1-supply = <&vccio_sd>;
35};
36
37&vcc_sd {
38	regulator-max-microvolt = <3000000>;
39	regulator-min-microvolt = <1800000>;
40};
41
42&vccio_sd {
43	regulator-max-microvolt = <1800000>;
44};
45