xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3566-powkiddy-rgb30.dts (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
184943d6fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
284943d6fSEmmanuel Vadot
384943d6fSEmmanuel Vadot/dts-v1/;
484943d6fSEmmanuel Vadot
584943d6fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
684943d6fSEmmanuel Vadot#include <dt-bindings/input/linux-event-codes.h>
784943d6fSEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
8*8d13bc63SEmmanuel Vadot#include "rk3566-powkiddy-rk2023.dtsi"
984943d6fSEmmanuel Vadot
1084943d6fSEmmanuel Vadot/ {
1184943d6fSEmmanuel Vadot	model = "RGB30";
1284943d6fSEmmanuel Vadot	compatible = "powkiddy,rgb30", "rockchip,rk3566";
1384943d6fSEmmanuel Vadot};
1484943d6fSEmmanuel Vadot
1584943d6fSEmmanuel Vadot&cru {
1684943d6fSEmmanuel Vadot	assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
1784943d6fSEmmanuel Vadot			  <&pmucru PLL_PPLL>, <&cru PLL_VPLL>;
1884943d6fSEmmanuel Vadot	assigned-clock-rates = <32768>, <1200000000>,
1984943d6fSEmmanuel Vadot			       <200000000>, <292500000>;
2084943d6fSEmmanuel Vadot};
2184943d6fSEmmanuel Vadot
22*8d13bc63SEmmanuel Vadot&dsi0 {
23*8d13bc63SEmmanuel Vadot	panel: panel@0 {
2484943d6fSEmmanuel Vadot		compatible = "powkiddy,rgb30-panel";
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>;
3084943d6fSEmmanuel Vadot		vcc-supply = <&vcc3v3_lcd0_n>;
3184943d6fSEmmanuel Vadot		iovcc-supply = <&vcc3v3_lcd0_n>;
3284943d6fSEmmanuel Vadot
33*8d13bc63SEmmanuel Vadot		port {
34*8d13bc63SEmmanuel Vadot			mipi_in_panel: endpoint {
35*8d13bc63SEmmanuel Vadot				remote-endpoint = <&mipi_out_panel>;
3684943d6fSEmmanuel Vadot			};
3784943d6fSEmmanuel Vadot		};
3884943d6fSEmmanuel Vadot	};
39*8d13bc63SEmmanuel Vadot};
40