summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
blob: eec3192c063191f8465c30cc272c0bdb73e4523e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// SPDX-License-Identifier: GPL-2.0
/*
 * Samsung ExynosAutov9 SADK board device tree source
 *
 * Copyright (c) 2021 Samsung Electronics Co., Ltd.
 *
 */

/dts-v1/;
#include "exynosautov9.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
	model = "Samsung ExynosAuto v9 SADK board";
	compatible = "samsung,exynosautov9-sadk", "samsung,exynosautov9";

	#address-cells = <2>;
	#size-cells = <2>;

	aliases {
		serial0 = &serial_0;
	};

	chosen {
		stdout-path = &serial_0;
	};

	memory@80000000 {
		device_type = "memory";
		reg = <0x0 0x80000000 0x0 0x77000000>,
		      <0x8 0x80000000 0x1 0x7ba00000>,
		      <0xa 0x00000000 0x2 0x00000000>;
	};

	ufs_0_fixed_vcc_reg: regulator-0 {
		compatible = "regulator-fixed";
		regulator-name = "ufs-vcc";
		gpio = <&gpq0 1 GPIO_ACTIVE_HIGH>;
		regulator-boot-on;
		enable-active-high;
	};

	ufs_1_fixed_vcc_reg: regulator-1 {
		compatible = "regulator-fixed";
		regulator-name = "ufs-vcc";
		gpio = <&gpg2 2 GPIO_ACTIVE_HIGH>;
		regulator-boot-on;
		enable-active-high;
	};
};

&serial_0 {
	pinctrl-0 = <&uart0_bus_dual>;
	status = "okay";
};

&ufs_0_phy {
	status = "okay";
};

&ufs_1_phy {
	status = "okay";
};

&ufs_0 {
	status = "okay";
	vcc-supply = <&ufs_0_fixed_vcc_reg>;
	vcc-fixed-regulator;
};

&ufs_1 {
	status = "okay";
	vcc-supply = <&ufs_1_fixed_vcc_reg>;
	vcc-fixed-regulator;
};

&usi_0 {
	samsung,clkreq-on; /* needed for UART mode */
	status = "okay";
};

&xtcxo {
	clock-frequency = <26000000>;
};