| // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| /* |
| * Copyright (c) 2019 Hardkernel Co., Ltd |
| * Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH |
| * Copyright (c) 2022 Maya Matuszczyk <maccraft123mc@gmail.com> |
| */ |
| |
| /dts-v1/; |
| #include "rk3326-odroid-go.dtsi" |
| |
| / { |
| model = "Anbernic RG351M"; |
| compatible = "anbernic,rg351m", "rockchip,rk3326"; |
| |
| vibrator { |
| compatible = "pwm-vibrator"; |
| pwms = <&pwm0 0 1000000 0>; |
| pwm-names = "enable"; |
| }; |
| }; |
| |
| /delete-node/ &builtin_gamepad; |
| /delete-node/ &vcc_host; /* conflicts with pwm vibration motor */ |
| |
| &internal_display { |
| compatible = "elida,kd35t133"; |
| }; |
| |
| &pwm0 { |
| status = "okay"; |
| }; |
| |
| /delete-node/ &rk817_charger; |