xref: /openbmc/linux/arch/arm64/boot/dts/tesla/fsd-evb.dts (revision a1680415)
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2/*
3 * Tesla FSD board device tree source
4 *
5 * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd.
6 *		https://www.samsung.com
7 * Copyright (c) 2017-2021 Tesla, Inc.
8 *		https://www.tesla.com
9 */
10
11/dts-v1/;
12#include "fsd.dtsi"
13#include <dt-bindings/gpio/gpio.h>
14
15/ {
16	model = "Tesla Full Self-Driving (FSD) Evaluation board";
17	compatible = "tesla,fsd-evb", "tesla,fsd";
18
19	aliases {
20		serial0 = &serial_0;
21		serial1 = &serial_1;
22	};
23
24	chosen {
25		stdout-path = &serial_0;
26	};
27
28	memory@80000000 {
29		device_type = "memory";
30		reg = <0x0 0x80000000 0x2 0x00000000>;
31	};
32
33	sound {
34		compatible = "simple-audio-card";
35
36		#address-cells = <1>;
37		#size-cells = <0>;
38
39		simple-audio-card,name = "FSD Audio Card";
40		simple-audio-card,widgets = "Line", "Line Out",
41					    "Line", "Line In";
42		simple-audio-card,routing = "Line Out", "LLOUT",
43					    "Line Out", "RLOUT",
44					    "MIC2L", "Line In",
45					    "MIC2R", "Line In";
46
47		simple-audio-card,dai-link@0 {
48			reg = <0>;
49			format = "i2s";
50			bitclock-master = <&tlv320aic3x>;
51			frame-master = <&tlv320aic3x>;
52
53			cpu-0 {
54				sound-dai = <&i2s_0 0>;
55			};
56			cpu-1 {
57				sound-dai = <&i2s_0 1>;
58			};
59			codec {
60				sound-dai = <&tlv320aic3x>;
61				system-clock-frequency = <33000000>;
62			};
63		};
64	};
65};
66
67&fin_pll {
68	clock-frequency = <24000000>;
69};
70
71&hsi2c_5 {
72	status = "okay";
73
74	tlv320aic3x: codec@18 {
75		compatible = "ti,tlv320aic3104";
76		reg = <0x18>;
77		#sound-dai-cells = <0>;
78		reset-gpios = <&gpg1 6 GPIO_ACTIVE_LOW>;
79	};
80};
81
82&i2s_0 {
83	status = "okay";
84};
85
86&i2s_1 {
87	status = "okay";
88};
89
90&m_can0 {
91	status = "okay";
92};
93
94&m_can1 {
95	status = "okay";
96};
97
98&m_can2 {
99	status = "okay";
100};
101
102&m_can3 {
103	status = "okay";
104};
105
106&serial_0 {
107	status = "okay";
108};
109
110&ufs {
111	status = "okay";
112};
113