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