Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 1 | // 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> |
| 8 | #include "rk3566-powkiddy-rk2023.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "RK2023"; |
| 12 | compatible = "powkiddy,rk2023", "rockchip,rk3566"; |
| 13 | }; |
| 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>, <115200000>; |
| 20 | }; |
| 21 | |
| 22 | &dsi0 { |
| 23 | panel: panel@0 { |
| 24 | compatible = "powkiddy,rk2023-panel", "newvision,nv3051d"; |
| 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 | vdd-supply = <&vcc3v3_lcd0_n>; |
| 31 | |
| 32 | port { |
| 33 | mipi_in_panel: endpoint { |
| 34 | remote-endpoint = <&mipi_out_panel>; |
| 35 | }; |
| 36 | }; |
| 37 | }; |
| 38 | }; |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame^] | 39 | |
| 40 | &i2c0 { |
| 41 | vdd_cpu: regulator@1c { |
| 42 | compatible = "tcs,tcs4525"; |
| 43 | reg = <0x1c>; |
| 44 | fcs,suspend-voltage-selector = <1>; |
| 45 | regulator-always-on; |
| 46 | regulator-boot-on; |
| 47 | regulator-min-microvolt = <712500>; |
| 48 | regulator-max-microvolt = <1390000>; |
| 49 | regulator-name = "vdd_cpu"; |
| 50 | regulator-ramp-delay = <2300>; |
| 51 | vin-supply = <&vcc_sys>; |
| 52 | regulator-state-mem { |
| 53 | regulator-off-in-suspend; |
| 54 | }; |
| 55 | }; |
| 56 | }; |