Skip to content

Commit b62b189

Browse files
committed
Merge tag 'v5.14-rockchip-dts64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/dt
Basic support for the new rk3568 soc. * tag 'v5.14-rockchip-dts64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: arm64: dts: rockchip: add basic dts for RK3568 EVB arm64: dts: rockchip: add core dtsi for RK3568 SoC arm64: dts: rockchip: add generic pinconfig settings used by most Rockchip socs Link: https://lore.kernel.org/r/4876354.ZzFAyJQhcr@diego Signed-off-by: Olof Johansson <olof@lixom.net>
2 parents 2995b50 + 01610a2 commit b62b189

6 files changed

Lines changed: 4133 additions & 0 deletions

File tree

Documentation/devicetree/bindings/arm/rockchip.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,11 @@ properties:
600600
- const: zkmagic,a95x-z2
601601
- const: rockchip,rk3318
602602

603+
- description: Rockchip RK3568 Evaluation board
604+
items:
605+
- const: rockchip,rk3568-evb1-v10
606+
- const: rockchip,rk3568
607+
603608
additionalProperties: true
604609

605610
...

arch/arm64/boot/dts/rockchip/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-rockpro64.dtb
5151
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire.dtb
5252
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-sapphire-excavator.dtb
5353
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399pro-rock-pi-n10.dtb
54+
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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+
};

0 commit comments

Comments
 (0)