1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include "rk3566-anbernic-rgxx3.dtsi"
12 compatible = "anbernic,rg353p", "rockchip,rk3566";
21 backlight: backlight {
22 compatible = "pwm-backlight";
23 power-supply = <&vcc_sys>;
24 pwms = <&pwm4 0 25000 0>;
30 gpios = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>;
32 linux,code = <BTN_EAST>;
36 gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_LOW>;
38 linux,code = <BTN_DPAD_LEFT>;
42 gpios = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>;
44 linux,code = <BTN_TR>;
48 gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>;
50 linux,code = <BTN_TR2>;
54 gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>;
56 linux,code = <BTN_DPAD_RIGHT>;
60 gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_LOW>;
62 linux,code = <BTN_WEST>;
67 /* This hardware is physically present but unused. */
69 compatible = "cellwise,cw2015";
76 pintctrl-names = "default";
77 pinctrl-0 = <&i2c2m1_xfer>;
86 pinctrl-0 = <&emmc_bus8>, <&emmc_clk>, <&emmc_cmd>, <&emmc_datastrobe>, <&emmc_rstnout>;
87 pinctrl-names = "default";
91 vmmc-supply = <&vcc_3v3>;
92 vqmmc-supply = <&vcc_1v8>;