// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /dts-v1/; #include #include #include #include "rk3566-anbernic-rgxx3.dtsi" / { backlight: backlight { compatible = "pwm-backlight"; power-supply = <&vcc_sys>; pwms = <&pwm4 0 25000 0>; }; }; &cru { assigned-clocks = <&cru PLL_GPLL>, <&pmucru PLL_PPLL>, <&cru PLL_VPLL>; assigned-clock-rates = <1200000000>, <200000000>, <241500000>; }; &gpio_keys_control { button-a { gpios = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>; label = "EAST"; linux,code = ; }; button-left { gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_LOW>; label = "DPAD-LEFT"; linux,code = ; }; button-right { gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>; label = "DPAD-RIGHT"; linux,code = ; }; button-y { gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_LOW>; label = "WEST"; linux,code = ; }; }; &i2c0 { /* This hardware is physically present but unused. */ power-monitor@62 { compatible = "cellwise,cw2015"; reg = <0x62>; status = "disabled"; }; }; &pwm4 { status = "okay"; };