xref: /linux/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-h.dts (revision 429508c84d95811dd1300181dfe84743caff9a38)
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2/*
3 * Copyright (C) 2024 Ryan Walklin <ryan@testtoast.com>.
4 * Copyright (C) 2024 Chris Morgan <macroalpha82@gmail.com>.
5 */
6
7#include "sun50i-h700-anbernic-rg35xx-plus.dts"
8
9/ {
10	model = "Anbernic RG35XX H";
11	compatible = "anbernic,rg35xx-h", "allwinner,sun50i-h700";
12};
13
14&gpio_keys_gamepad {
15	button-thumbl {
16		label = "GPIO Thumb Left";
17		gpios = <&pio 4 8 GPIO_ACTIVE_LOW>; /* PE8 */
18		linux,input-type = <EV_KEY>;
19		linux,code = <BTN_THUMBL>;
20	};
21
22	button-thumbr {
23		label = "GPIO Thumb Right";
24		gpios = <&pio 4 9 GPIO_ACTIVE_LOW>; /* PE9 */
25		linux,input-type = <EV_KEY>;
26		linux,code = <BTN_THUMBR>;
27	};
28};
29
30&ehci1 {
31	status = "okay";
32};
33
34&ohci1 {
35	status = "okay";
36};
37