xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3326-anbernic-rg351m.dts (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2019 Hardkernel Co., Ltd
4 * Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH
5 * Copyright (c) 2022 Maya Matuszczyk <maccraft123mc@gmail.com>
6 */
7
8/dts-v1/;
9#include "rk3326-odroid-go.dtsi"
10
11/ {
12	model = "Anbernic RG351M";
13	compatible = "anbernic,rg351m", "rockchip,rk3326";
14
15	vibrator {
16		compatible = "pwm-vibrator";
17		pwms = <&pwm0 0 1000000 0>;
18		pwm-names = "enable";
19	};
20};
21
22/delete-node/ &builtin_gamepad;
23/delete-node/ &vcc_host; /* conflicts with pwm vibration motor */
24
25&internal_display {
26	compatible = "elida,kd35t133";
27	iovcc-supply = <&vcc_lcd>;
28	vdd-supply = <&vcc_lcd>;
29};
30
31&pwm0 {
32	status = "okay";
33};
34
35/delete-node/ &rk817_charger;
36