1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 2 3 /dts-v1/; 3 /dts-v1/; 4 4 5 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes. 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-powkiddy-rk2023.dtsi" 8 #include "rk3566-powkiddy-rk2023.dtsi" 9 9 10 / { 10 / { 11 model = "Powkiddy RGB30"; 11 model = "Powkiddy RGB30"; 12 compatible = "powkiddy,rgb30", "rockch 12 compatible = "powkiddy,rgb30", "rockchip,rk3566"; 13 }; 13 }; 14 14 15 &cru { 15 &cru { 16 assigned-clocks = <&pmucru CLK_RTC_32K 16 assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>, 17 <&pmucru PLL_PPLL>, 17 <&pmucru PLL_PPLL>, <&cru PLL_VPLL>; 18 assigned-clock-rates = <32768>, <12000 18 assigned-clock-rates = <32768>, <1200000000>, 19 <200000000>, <2 19 <200000000>, <292500000>; 20 }; 20 }; 21 21 22 &dsi0 { 22 &dsi0 { 23 panel: panel@0 { 23 panel: panel@0 { 24 compatible = "powkiddy,rgb30-p 24 compatible = "powkiddy,rgb30-panel"; 25 reg = <0>; 25 reg = <0>; 26 backlight = <&backlight>; 26 backlight = <&backlight>; 27 pinctrl-names = "default"; 27 pinctrl-names = "default"; 28 pinctrl-0 = <&lcd_rst>; 28 pinctrl-0 = <&lcd_rst>; 29 reset-gpios = <&gpio4 RK_PA0 G 29 reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>; 30 vcc-supply = <&vcc3v3_lcd0_n>; 30 vcc-supply = <&vcc3v3_lcd0_n>; 31 iovcc-supply = <&vcc3v3_lcd0_n 31 iovcc-supply = <&vcc3v3_lcd0_n>; 32 32 33 port { 33 port { 34 mipi_in_panel: endpoin 34 mipi_in_panel: endpoint { 35 remote-endpoin 35 remote-endpoint = <&mipi_out_panel>; 36 }; 36 }; 37 }; 37 }; 38 }; 38 }; 39 }; 39 }; 40 40 41 &i2c0 { 41 &i2c0 { 42 vdd_cpu: regulator@1c { 42 vdd_cpu: regulator@1c { 43 compatible = "tcs,tcs4525"; 43 compatible = "tcs,tcs4525"; 44 reg = <0x1c>; 44 reg = <0x1c>; 45 fcs,suspend-voltage-selector = 45 fcs,suspend-voltage-selector = <1>; 46 regulator-always-on; 46 regulator-always-on; 47 regulator-boot-on; 47 regulator-boot-on; 48 regulator-min-microvolt = <712 48 regulator-min-microvolt = <712500>; 49 regulator-max-microvolt = <139 49 regulator-max-microvolt = <1390000>; 50 regulator-name = "vdd_cpu"; 50 regulator-name = "vdd_cpu"; 51 regulator-ramp-delay = <2300>; 51 regulator-ramp-delay = <2300>; 52 vin-supply = <&vcc_sys>; 52 vin-supply = <&vcc_sys>; 53 regulator-state-mem { 53 regulator-state-mem { 54 regulator-off-in-suspe 54 regulator-off-in-suspend; 55 }; 55 }; 56 }; 56 }; 57 }; 57 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.