118b1db6aSAlim Akhtar// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 218b1db6aSAlim Akhtar/* 318b1db6aSAlim Akhtar * Tesla FSD board device tree source 418b1db6aSAlim Akhtar * 518b1db6aSAlim Akhtar * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd. 618b1db6aSAlim Akhtar * https://www.samsung.com 718b1db6aSAlim Akhtar * Copyright (c) 2017-2021 Tesla, Inc. 818b1db6aSAlim Akhtar * https://www.tesla.com 918b1db6aSAlim Akhtar */ 1018b1db6aSAlim Akhtar 1118b1db6aSAlim Akhtar/dts-v1/; 1218b1db6aSAlim Akhtar#include "fsd.dtsi" 13be8599d0SPadmanabhan Rajanbabu#include <dt-bindings/gpio/gpio.h> 1418b1db6aSAlim Akhtar 1518b1db6aSAlim Akhtar/ { 1618b1db6aSAlim Akhtar model = "Tesla Full Self-Driving (FSD) Evaluation board"; 1718b1db6aSAlim Akhtar compatible = "tesla,fsd-evb", "tesla,fsd"; 1818b1db6aSAlim Akhtar 1918b1db6aSAlim Akhtar aliases { 2018b1db6aSAlim Akhtar serial0 = &serial_0; 2118b1db6aSAlim Akhtar serial1 = &serial_1; 2218b1db6aSAlim Akhtar }; 2318b1db6aSAlim Akhtar 2418b1db6aSAlim Akhtar chosen { 2518b1db6aSAlim Akhtar stdout-path = &serial_0; 2618b1db6aSAlim Akhtar }; 2718b1db6aSAlim Akhtar 2818b1db6aSAlim Akhtar memory@80000000 { 2918b1db6aSAlim Akhtar device_type = "memory"; 3018b1db6aSAlim Akhtar reg = <0x0 0x80000000 0x2 0x00000000>; 3118b1db6aSAlim Akhtar }; 32*56a14f01SPadmanabhan Rajanbabu 33*56a14f01SPadmanabhan Rajanbabu sound { 34*56a14f01SPadmanabhan Rajanbabu compatible = "simple-audio-card"; 35*56a14f01SPadmanabhan Rajanbabu 36*56a14f01SPadmanabhan Rajanbabu #address-cells = <1>; 37*56a14f01SPadmanabhan Rajanbabu #size-cells = <0>; 38*56a14f01SPadmanabhan Rajanbabu 39*56a14f01SPadmanabhan Rajanbabu simple-audio-card,name = "FSD Audio Card"; 40*56a14f01SPadmanabhan Rajanbabu simple-audio-card,widgets = "Line", "Line Out", 41*56a14f01SPadmanabhan Rajanbabu "Line", "Line In"; 42*56a14f01SPadmanabhan Rajanbabu simple-audio-card,routing = "Line Out", "LLOUT", 43*56a14f01SPadmanabhan Rajanbabu "Line Out", "RLOUT", 44*56a14f01SPadmanabhan Rajanbabu "MIC2L", "Line In", 45*56a14f01SPadmanabhan Rajanbabu "MIC2R", "Line In"; 46*56a14f01SPadmanabhan Rajanbabu 47*56a14f01SPadmanabhan Rajanbabu simple-audio-card,dai-link@0 { 48*56a14f01SPadmanabhan Rajanbabu reg = <0>; 49*56a14f01SPadmanabhan Rajanbabu format = "i2s"; 50*56a14f01SPadmanabhan Rajanbabu bitclock-master = <&tlv320aic3x>; 51*56a14f01SPadmanabhan Rajanbabu frame-master = <&tlv320aic3x>; 52*56a14f01SPadmanabhan Rajanbabu 53*56a14f01SPadmanabhan Rajanbabu cpu-0 { 54*56a14f01SPadmanabhan Rajanbabu sound-dai = <&i2s_0 0>; 55*56a14f01SPadmanabhan Rajanbabu }; 56*56a14f01SPadmanabhan Rajanbabu cpu-1 { 57*56a14f01SPadmanabhan Rajanbabu sound-dai = <&i2s_0 1>; 58*56a14f01SPadmanabhan Rajanbabu }; 59*56a14f01SPadmanabhan Rajanbabu codec { 60*56a14f01SPadmanabhan Rajanbabu sound-dai = <&tlv320aic3x>; 61*56a14f01SPadmanabhan Rajanbabu system-clock-frequency = <33000000>; 62*56a14f01SPadmanabhan Rajanbabu }; 63*56a14f01SPadmanabhan Rajanbabu }; 64*56a14f01SPadmanabhan Rajanbabu }; 6518b1db6aSAlim Akhtar}; 6618b1db6aSAlim Akhtar 6718b1db6aSAlim Akhtar&fin_pll { 6818b1db6aSAlim Akhtar clock-frequency = <24000000>; 6918b1db6aSAlim Akhtar}; 7018b1db6aSAlim Akhtar 71be8599d0SPadmanabhan Rajanbabu&hsi2c_5 { 72be8599d0SPadmanabhan Rajanbabu status = "okay"; 73be8599d0SPadmanabhan Rajanbabu 74be8599d0SPadmanabhan Rajanbabu tlv320aic3x: codec@18 { 75be8599d0SPadmanabhan Rajanbabu compatible = "ti,tlv320aic3104"; 76be8599d0SPadmanabhan Rajanbabu reg = <0x18>; 77be8599d0SPadmanabhan Rajanbabu #sound-dai-cells = <0>; 78be8599d0SPadmanabhan Rajanbabu reset-gpios = <&gpg1 6 GPIO_ACTIVE_LOW>; 79be8599d0SPadmanabhan Rajanbabu }; 80be8599d0SPadmanabhan Rajanbabu}; 81be8599d0SPadmanabhan Rajanbabu 827f62af80SPadmanabhan Rajanbabu&i2s_0 { 837f62af80SPadmanabhan Rajanbabu status = "okay"; 847f62af80SPadmanabhan Rajanbabu}; 857f62af80SPadmanabhan Rajanbabu 867f62af80SPadmanabhan Rajanbabu&i2s_1 { 877f62af80SPadmanabhan Rajanbabu status = "okay"; 887f62af80SPadmanabhan Rajanbabu}; 897f62af80SPadmanabhan Rajanbabu 903bcb0c7aSVivek Yadav&m_can0 { 913bcb0c7aSVivek Yadav status = "okay"; 923bcb0c7aSVivek Yadav}; 933bcb0c7aSVivek Yadav 943bcb0c7aSVivek Yadav&m_can1 { 953bcb0c7aSVivek Yadav status = "okay"; 963bcb0c7aSVivek Yadav}; 973bcb0c7aSVivek Yadav 983bcb0c7aSVivek Yadav&m_can2 { 993bcb0c7aSVivek Yadav status = "okay"; 1003bcb0c7aSVivek Yadav}; 1013bcb0c7aSVivek Yadav 1023bcb0c7aSVivek Yadav&m_can3 { 1033bcb0c7aSVivek Yadav status = "okay"; 1043bcb0c7aSVivek Yadav}; 1053bcb0c7aSVivek Yadav 10618b1db6aSAlim Akhtar&serial_0 { 10718b1db6aSAlim Akhtar status = "okay"; 10818b1db6aSAlim Akhtar}; 109c75f5c9eSAlim Akhtar 110c75f5c9eSAlim Akhtar&ufs { 111c75f5c9eSAlim Akhtar status = "okay"; 112c75f5c9eSAlim Akhtar}; 113