Skip to content

Commit 2b663ae

Browse files
cometzerokrzk
authored andcommitted
arm64: dts: exynos: add minimal support for exynosautov9 sadk board
SADK(Samsung Automotive Development Kit) is the development kit to evaluate Exynos Auto v9 SoC. It has 16GB LPDDR4 DRAM and two 256GB Samsung UFS. This patch enables only serial console and ufs0 device. Signed-off-by: Chanho Park <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 31bbac5 commit 2b663ae

File tree

3 files changed

+64
-1
lines changed

3 files changed

+64
-1
lines changed

Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,12 @@ properties:
199199
- samsung,exynos7-espresso # Samsung Exynos7 Espresso
200200
- const: samsung,exynos7
201201

202+
- description: Exynos Auto v9 based boards
203+
items:
204+
- enum:
205+
- samsung,exynosautov9-sadk # Samsung Exynos Auto v9 SADK
206+
- const: samsung,exynosautov9
207+
202208
required:
203209
- compatible
204210

arch/arm64/boot/dts/exynos/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
dtb-$(CONFIG_ARCH_EXYNOS) += \
33
exynos5433-tm2.dtb \
44
exynos5433-tm2e.dtb \
5-
exynos7-espresso.dtb
5+
exynos7-espresso.dtb \
6+
exynosautov9-sadk.dtb
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* Samsung ExynosAutov9 SADK board device tree source
4+
*
5+
* Copyright (c) 2021 Samsung Electronics Co., Ltd.
6+
*
7+
*/
8+
9+
/dts-v1/;
10+
#include "exynosautov9.dtsi"
11+
#include <dt-bindings/gpio/gpio.h>
12+
13+
/ {
14+
model = "Samsung ExynosAuto v9 SADK board";
15+
compatible = "samsung,exynosautov9-sadk", "samsung,exynosautov9";
16+
17+
#address-cells = <2>;
18+
#size-cells = <2>;
19+
20+
aliases {
21+
serial0 = &serial_0;
22+
};
23+
24+
chosen {
25+
stdout-path = &serial_0;
26+
};
27+
28+
memory@80000000 {
29+
device_type = "memory";
30+
reg = <0x0 0x80000000 0x0 0x77000000>,
31+
<0x8 0x80000000 0x1 0x7ba00000>,
32+
<0xa 0x00000000 0x2 0x00000000>;
33+
};
34+
35+
ufs_0_fixed_vcc_reg: regulator-0 {
36+
compatible = "regulator-fixed";
37+
regulator-name = "ufs-vcc";
38+
gpio = <&gpq0 1 GPIO_ACTIVE_HIGH>;
39+
regulator-boot-on;
40+
enable-active-high;
41+
};
42+
};
43+
44+
&serial_0 {
45+
status = "okay";
46+
};
47+
48+
&ufs_0_phy {
49+
status = "okay";
50+
};
51+
52+
&ufs_0 {
53+
status = "okay";
54+
vcc-supply = <&ufs_0_fixed_vcc_reg>;
55+
vcc-fixed-regulator;
56+
};

0 commit comments

Comments
 (0)