Joseph Chen | 636ffbd | 2021-06-02 15:58:23 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Copyright (c) 2021 Rockchip Electronics Co., Ltd. |
| 4 | * |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | #include <dt-bindings/gpio/gpio.h> |
| 9 | #include <dt-bindings/pinctrl/rockchip.h> |
| 10 | #include "rk3568.dtsi" |
| 11 | |
| 12 | / { |
| 13 | model = "Rockchip RK3568 EVB1 DDR4 V10 Board"; |
| 14 | compatible = "rockchip,rk3568-evb1-v10", "rockchip,rk3568"; |
| 15 | |
| 16 | chosen: chosen { |
| 17 | stdout-path = "serial2:1500000n8"; |
| 18 | }; |
| 19 | |
| 20 | dc_12v: dc-12v { |
| 21 | compatible = "regulator-fixed"; |
| 22 | regulator-name = "dc_12v"; |
| 23 | regulator-always-on; |
| 24 | regulator-boot-on; |
| 25 | regulator-min-microvolt = <12000000>; |
| 26 | regulator-max-microvolt = <12000000>; |
| 27 | }; |
| 28 | |
| 29 | vcc3v3_sys: vcc3v3-sys { |
| 30 | compatible = "regulator-fixed"; |
| 31 | regulator-name = "vcc3v3_sys"; |
| 32 | regulator-always-on; |
| 33 | regulator-boot-on; |
| 34 | regulator-min-microvolt = <3300000>; |
| 35 | regulator-max-microvolt = <3300000>; |
| 36 | vin-supply = <&dc_12v>; |
| 37 | }; |
| 38 | |
| 39 | vcc5v0_sys: vcc5v0-sys { |
| 40 | compatible = "regulator-fixed"; |
| 41 | regulator-name = "vcc5v0_sys"; |
| 42 | regulator-always-on; |
| 43 | regulator-boot-on; |
| 44 | regulator-min-microvolt = <5000000>; |
| 45 | regulator-max-microvolt = <5000000>; |
| 46 | vin-supply = <&dc_12v>; |
| 47 | }; |
| 48 | |
| 49 | vcc3v3_lcd0_n: vcc3v3-lcd0-n { |
| 50 | compatible = "regulator-fixed"; |
| 51 | regulator-name = "vcc3v3_lcd0_n"; |
| 52 | regulator-boot-on; |
| 53 | |
| 54 | regulator-state-mem { |
| 55 | regulator-off-in-suspend; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | vcc3v3_lcd1_n: vcc3v3-lcd1-n { |
| 60 | compatible = "regulator-fixed"; |
| 61 | regulator-name = "vcc3v3_lcd1_n"; |
| 62 | regulator-boot-on; |
| 63 | |
| 64 | regulator-state-mem { |
| 65 | regulator-off-in-suspend; |
| 66 | }; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | &sdhci { |
| 71 | bus-width = <8>; |
| 72 | max-frequency = <200000000>; |
| 73 | non-removable; |
| 74 | status = "okay"; |
| 75 | }; |
| 76 | |
| 77 | &uart2 { |
| 78 | status = "okay"; |
| 79 | }; |