xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3566-powkiddy-rk2023.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1*8d13bc63SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*8d13bc63SEmmanuel Vadot
3*8d13bc63SEmmanuel Vadot/dts-v1/;
4*8d13bc63SEmmanuel Vadot
5*8d13bc63SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
6*8d13bc63SEmmanuel Vadot#include <dt-bindings/input/linux-event-codes.h>
7*8d13bc63SEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
8*8d13bc63SEmmanuel Vadot#include "rk3566-powkiddy-rk2023.dtsi"
9*8d13bc63SEmmanuel Vadot
10*8d13bc63SEmmanuel Vadot/ {
11*8d13bc63SEmmanuel Vadot	model = "RK2023";
12*8d13bc63SEmmanuel Vadot	compatible = "powkiddy,rk2023", "rockchip,rk3566";
13*8d13bc63SEmmanuel Vadot};
14*8d13bc63SEmmanuel Vadot
15*8d13bc63SEmmanuel Vadot&cru {
16*8d13bc63SEmmanuel Vadot	assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
17*8d13bc63SEmmanuel Vadot			  <&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
18*8d13bc63SEmmanuel Vadot	assigned-clock-rates = <32768>, <1200000000>,
19*8d13bc63SEmmanuel Vadot			  <200000000>, <115200000>;
20*8d13bc63SEmmanuel Vadot};
21*8d13bc63SEmmanuel Vadot
22*8d13bc63SEmmanuel Vadot&dsi0 {
23*8d13bc63SEmmanuel Vadot	panel: panel@0 {
24*8d13bc63SEmmanuel Vadot		compatible = "powkiddy,rk2023-panel", "newvision,nv3051d";
25*8d13bc63SEmmanuel Vadot		reg = <0>;
26*8d13bc63SEmmanuel Vadot		backlight = <&backlight>;
27*8d13bc63SEmmanuel Vadot		pinctrl-names = "default";
28*8d13bc63SEmmanuel Vadot		pinctrl-0 = <&lcd_rst>;
29*8d13bc63SEmmanuel Vadot		reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;
30*8d13bc63SEmmanuel Vadot		vdd-supply = <&vcc3v3_lcd0_n>;
31*8d13bc63SEmmanuel Vadot
32*8d13bc63SEmmanuel Vadot		port {
33*8d13bc63SEmmanuel Vadot			mipi_in_panel: endpoint {
34*8d13bc63SEmmanuel Vadot				remote-endpoint = <&mipi_out_panel>;
35*8d13bc63SEmmanuel Vadot			};
36*8d13bc63SEmmanuel Vadot		};
37*8d13bc63SEmmanuel Vadot	};
38*8d13bc63SEmmanuel Vadot};
39