blob: 0ac64f043b807fdada61a431d6e37599b04ef434 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3/dts-v1/;
4
5#include <dt-bindings/gpio/gpio.h>
6#include <dt-bindings/input/linux-event-codes.h>
7#include <dt-bindings/pinctrl/rockchip.h>
Tom Rini93743d22024-04-01 09:08:13 -04008#include "rk3566-powkiddy-rk2023.dtsi"
Tom Rini53633a82024-02-29 12:33:36 -05009
10/ {
11 model = "RGB30";
12 compatible = "powkiddy,rgb30", "rockchip,rk3566";
Tom Rini53633a82024-02-29 12:33:36 -050013};
14
15&cru {
16 assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
17 <&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
18 assigned-clock-rates = <32768>, <1200000000>,
19 <200000000>, <292500000>;
20};
21
Tom Rini93743d22024-04-01 09:08:13 -040022&dsi0 {
23 panel: panel@0 {
24 compatible = "powkiddy,rgb30-panel";
25 reg = <0>;
26 backlight = <&backlight>;
27 pinctrl-names = "default";
28 pinctrl-0 = <&lcd_rst>;
29 reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;
30 vcc-supply = <&vcc3v3_lcd0_n>;
31 iovcc-supply = <&vcc3v3_lcd0_n>;
Tom Rini53633a82024-02-29 12:33:36 -050032
Tom Rini93743d22024-04-01 09:08:13 -040033 port {
34 mipi_in_panel: endpoint {
35 remote-endpoint = <&mipi_out_panel>;
36 };
Tom Rini53633a82024-02-29 12:33:36 -050037 };
38 };
Tom Rini53633a82024-02-29 12:33:36 -050039};