summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/talos-evk.dts
blob: af100e22beeec7951a1b8170b13e84fa2969b06f (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
// SPDX-License-Identifier: BSD-3-Clause
/*
 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
 */
/dts-v1/;

#include "talos-evk-som.dtsi"

/ {
	model = "Qualcomm QCS615 IQ 615 EVK";
	compatible = "qcom,talos-evk", "qcom,qcs615", "qcom,sm6150";
	chassis-type = "embedded";

	aliases {
		mmc1 = &sdhc_2;
	};

	dp0-connector {
		compatible = "dp-connector";
		label = "DP0";
		type = "full-size";

		hpd-gpios = <&tlmm 104 GPIO_ACTIVE_HIGH>;

		port {
			dp0_connector_in: endpoint {
				remote-endpoint = <&mdss_dp0_out>;
			};
		};
	};

	hdmi_connector: hdmi-out {
		compatible = "hdmi-connector";
		type = "d";

		port {
			hdmi_con_out: endpoint {
			remote-endpoint = <&adv7535_out>;
			};
		};
	};

	vreg_v1p8_out: regulator-v1p8-out {
		compatible = "regulator-fixed";
		regulator-name = "vreg-v1p8-out";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		vin-supply = <&vreg_v5p0_out>;
		regulator-boot-on;
		regulator-always-on;
	};

	vreg_v3p3_out: regulator-v3p3-out {
		compatible = "regulator-fixed";
		regulator-name = "vreg-v3p3-out";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		vin-supply = <&vreg_v5p0_out>;
		regulator-boot-on;
		regulator-always-on;
	};

	vreg_v5p0_out: regulator-v5p0-out {
		compatible = "regulator-fixed";
		regulator-name = "vreg-v5p0-out";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-boot-on;
		regulator-always-on;
		/* Powered by system 20V rail (USBC_VBUS_IN) */
	};
};

&i2c1 {
	clock-frequency = <400000>;
	status = "okay";

	hdmi_bridge: bridge@3d {
		compatible = "adi,adv7535";
		reg = <0x3d>;
		avdd-supply = <&vreg_v1p8_out>;
		dvdd-supply = <&vreg_v1p8_out>;
		pvdd-supply = <&vreg_v1p8_out>;
		a2vdd-supply = <&vreg_v1p8_out>;
		v3p3-supply = <&vreg_v3p3_out>;
		interrupts-extended = <&tlmm 26 IRQ_TYPE_LEVEL_LOW>;
		adi,dsi-lanes = <4>;

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;

				adv7535_in: endpoint {
					remote-endpoint = <&mdss_dsi0_out>;
				};
			};

			port@1 {
				reg = <1>;

				adv7535_out: endpoint {
					remote-endpoint = <&hdmi_con_out>;
				};
			};
		};
	};
};

&mdss_dsi0_out {
	remote-endpoint = <&adv7535_in>;
	data-lanes = <0 1 2 3>;
};

&pon_pwrkey {
	status = "okay";
};

&pon_resin {
	linux,code = <KEY_VOLUMEDOWN>;

	status = "okay";
};

&sdhc_2 {
	pinctrl-0 = <&sdc2_state_on>;
	pinctrl-1 = <&sdc2_state_off>;
	pinctrl-names = "default", "sleep";

	bus-width = <4>;
	cd-gpios = <&tlmm 99 GPIO_ACTIVE_LOW>;

	vmmc-supply = <&vreg_l10a>;
	vqmmc-supply = <&vreg_s4a>;

	status = "okay";
};