xref: /linux/arch/arm64/boot/dts/qcom/talos-evk.dts (revision fbf5df34a4dbcd09d433dd4f0916bf9b2ddb16de)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4 */
5/dts-v1/;
6
7#include "talos-evk-som.dtsi"
8
9/ {
10	model = "Qualcomm QCS615 IQ 615 EVK";
11	compatible = "qcom,talos-evk", "qcom,qcs615", "qcom,sm6150";
12	chassis-type = "embedded";
13
14	aliases {
15		mmc1 = &sdhc_2;
16	};
17
18	dp0-connector {
19		compatible = "dp-connector";
20		label = "DP0";
21		type = "full-size";
22
23		hpd-gpios = <&tlmm 104 GPIO_ACTIVE_HIGH>;
24
25		port {
26			dp0_connector_in: endpoint {
27				remote-endpoint = <&mdss_dp0_out>;
28			};
29		};
30	};
31
32	hdmi_connector: hdmi-out {
33		compatible = "hdmi-connector";
34		type = "d";
35
36		port {
37			hdmi_con_out: endpoint {
38			remote-endpoint = <&adv7535_out>;
39			};
40		};
41	};
42
43	vreg_v1p8_out: regulator-v1p8-out {
44		compatible = "regulator-fixed";
45		regulator-name = "vreg-v1p8-out";
46		regulator-min-microvolt = <1800000>;
47		regulator-max-microvolt = <1800000>;
48		vin-supply = <&vreg_v5p0_out>;
49		regulator-boot-on;
50		regulator-always-on;
51	};
52
53	vreg_v3p3_out: regulator-v3p3-out {
54		compatible = "regulator-fixed";
55		regulator-name = "vreg-v3p3-out";
56		regulator-min-microvolt = <3300000>;
57		regulator-max-microvolt = <3300000>;
58		vin-supply = <&vreg_v5p0_out>;
59		regulator-boot-on;
60		regulator-always-on;
61	};
62
63	vreg_v5p0_out: regulator-v5p0-out {
64		compatible = "regulator-fixed";
65		regulator-name = "vreg-v5p0-out";
66		regulator-min-microvolt = <5000000>;
67		regulator-max-microvolt = <5000000>;
68		regulator-boot-on;
69		regulator-always-on;
70		/* Powered by system 20V rail (USBC_VBUS_IN) */
71	};
72};
73
74&i2c1 {
75	clock-frequency = <400000>;
76	status = "okay";
77
78	hdmi_bridge: bridge@3d {
79		compatible = "adi,adv7535";
80		reg = <0x3d>;
81		avdd-supply = <&vreg_v1p8_out>;
82		dvdd-supply = <&vreg_v1p8_out>;
83		pvdd-supply = <&vreg_v1p8_out>;
84		a2vdd-supply = <&vreg_v1p8_out>;
85		v3p3-supply = <&vreg_v3p3_out>;
86		interrupts-extended = <&tlmm 26 IRQ_TYPE_LEVEL_LOW>;
87		adi,dsi-lanes = <4>;
88
89		ports {
90			#address-cells = <1>;
91			#size-cells = <0>;
92
93			port@0 {
94				reg = <0>;
95
96				adv7535_in: endpoint {
97					remote-endpoint = <&mdss_dsi0_out>;
98				};
99			};
100
101			port@1 {
102				reg = <1>;
103
104				adv7535_out: endpoint {
105					remote-endpoint = <&hdmi_con_out>;
106				};
107			};
108		};
109	};
110};
111
112&mdss_dsi0_out {
113	remote-endpoint = <&adv7535_in>;
114	data-lanes = <0 1 2 3>;
115};
116
117&pon_pwrkey {
118	status = "okay";
119};
120
121&pon_resin {
122	linux,code = <KEY_VOLUMEDOWN>;
123
124	status = "okay";
125};
126
127&sdhc_2 {
128	pinctrl-0 = <&sdc2_state_on>;
129	pinctrl-1 = <&sdc2_state_off>;
130	pinctrl-names = "default", "sleep";
131
132	bus-width = <4>;
133	cd-gpios = <&tlmm 99 GPIO_ACTIVE_LOW>;
134
135	vmmc-supply = <&vreg_l10a>;
136	vqmmc-supply = <&vreg_s4a>;
137
138	status = "okay";
139};
140