GNU Linux-libre 6.1.90-gnu
[releases.git] / arch / arm64 / boot / dts / exynos / exynosautov9-sadk.dts
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         ufs_1_fixed_vcc_reg: regulator-1 {
44                 compatible = "regulator-fixed";
45                 regulator-name = "ufs-vcc";
46                 gpio = <&gpg2 2 GPIO_ACTIVE_HIGH>;
47                 regulator-boot-on;
48                 enable-active-high;
49         };
50 };
51
52 &serial_0 {
53         pinctrl-0 = <&uart0_bus_dual>;
54         status = "okay";
55 };
56
57 &ufs_0_phy {
58         status = "okay";
59 };
60
61 &ufs_1_phy {
62         status = "okay";
63 };
64
65 &ufs_0 {
66         status = "okay";
67         vcc-supply = <&ufs_0_fixed_vcc_reg>;
68         vcc-fixed-regulator;
69 };
70
71 &ufs_1 {
72         status = "okay";
73         vcc-supply = <&ufs_1_fixed_vcc_reg>;
74         vcc-fixed-regulator;
75 };
76
77 &usi_0 {
78         samsung,clkreq-on; /* needed for UART mode */
79         status = "okay";
80 };
81
82 &xtcxo {
83         clock-frequency = <26000000>;
84 };