xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/x1p42100-asus-zenbook-a14.dts (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2*833e5d42SEmmanuel Vadot/*
3*833e5d42SEmmanuel Vadot * Copyright (c) 2025 Qualcomm Innovation Center, Inc. All rights reserved.
4*833e5d42SEmmanuel Vadot * Copyright (c) 2025 Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
5*833e5d42SEmmanuel Vadot */
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadot/dts-v1/;
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadot#include "x1p42100.dtsi"
10*833e5d42SEmmanuel Vadot#include "x1-asus-zenbook-a14.dtsi"
11*833e5d42SEmmanuel Vadot
12*833e5d42SEmmanuel Vadot/delete-node/ &pmc8380_6;
13*833e5d42SEmmanuel Vadot/delete-node/ &pmc8380_6_thermal;
14*833e5d42SEmmanuel Vadot
15*833e5d42SEmmanuel Vadot/ {
16*833e5d42SEmmanuel Vadot	model = "ASUS Zenbook A14 (UX3407QA)";
17*833e5d42SEmmanuel Vadot	compatible = "asus,zenbook-a14-ux3407qa", "qcom,x1p42100";
18*833e5d42SEmmanuel Vadot
19*833e5d42SEmmanuel Vadot	wcn6855-pmu {
20*833e5d42SEmmanuel Vadot		compatible = "qcom,wcn6855-pmu";
21*833e5d42SEmmanuel Vadot
22*833e5d42SEmmanuel Vadot		vddaon-supply = <&vreg_wcn_0p95>;
23*833e5d42SEmmanuel Vadot		vddio-supply = <&vreg_wcn_1p9>;
24*833e5d42SEmmanuel Vadot		vddpcie1p3-supply = <&vreg_wcn_1p9>;
25*833e5d42SEmmanuel Vadot		vddpcie1p9-supply = <&vreg_wcn_1p9>;
26*833e5d42SEmmanuel Vadot		vddpmu-supply = <&vreg_wcn_0p95>;
27*833e5d42SEmmanuel Vadot		vddpmucx-supply = <&vreg_wcn_0p95>;
28*833e5d42SEmmanuel Vadot		vddpmumx-supply = <&vreg_wcn_0p95>;
29*833e5d42SEmmanuel Vadot		vddrfa0p95-supply = <&vreg_wcn_0p95>;
30*833e5d42SEmmanuel Vadot		vddrfa1p3-supply = <&vreg_wcn_1p9>;
31*833e5d42SEmmanuel Vadot		vddrfa1p9-supply = <&vreg_wcn_1p9>;
32*833e5d42SEmmanuel Vadot
33*833e5d42SEmmanuel Vadot		bt-enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
34*833e5d42SEmmanuel Vadot		wlan-enable-gpios = <&tlmm 117 GPIO_ACTIVE_HIGH>;
35*833e5d42SEmmanuel Vadot
36*833e5d42SEmmanuel Vadot		pinctrl-0 = <&wcn_bt_en>, <&wcn_wlan_en>;
37*833e5d42SEmmanuel Vadot		pinctrl-names = "default";
38*833e5d42SEmmanuel Vadot
39*833e5d42SEmmanuel Vadot		regulators {
40*833e5d42SEmmanuel Vadot			vreg_pmu_rfa_cmn_0p8: ldo0 {
41*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_cmn_0p8";
42*833e5d42SEmmanuel Vadot			};
43*833e5d42SEmmanuel Vadot
44*833e5d42SEmmanuel Vadot			vreg_pmu_aon_0p8: ldo1 {
45*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_aon_0p8";
46*833e5d42SEmmanuel Vadot			};
47*833e5d42SEmmanuel Vadot
48*833e5d42SEmmanuel Vadot			vreg_pmu_wlcx_0p8: ldo2 {
49*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_wlcx_0p8";
50*833e5d42SEmmanuel Vadot			};
51*833e5d42SEmmanuel Vadot
52*833e5d42SEmmanuel Vadot			vreg_pmu_wlmx_0p8: ldo3 {
53*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_wlmx_0p8";
54*833e5d42SEmmanuel Vadot			};
55*833e5d42SEmmanuel Vadot
56*833e5d42SEmmanuel Vadot			vreg_pmu_btcmx_0p8: ldo4 {
57*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_btcmx_0p8";
58*833e5d42SEmmanuel Vadot			};
59*833e5d42SEmmanuel Vadot
60*833e5d42SEmmanuel Vadot			vreg_pmu_pcie_1p8: ldo5 {
61*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_pcie_1p8";
62*833e5d42SEmmanuel Vadot			};
63*833e5d42SEmmanuel Vadot
64*833e5d42SEmmanuel Vadot			vreg_pmu_pcie_0p9: ldo6 {
65*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_pcie_0p9";
66*833e5d42SEmmanuel Vadot			};
67*833e5d42SEmmanuel Vadot
68*833e5d42SEmmanuel Vadot			vreg_pmu_rfa_0p8: ldo7 {
69*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_0p8";
70*833e5d42SEmmanuel Vadot			};
71*833e5d42SEmmanuel Vadot
72*833e5d42SEmmanuel Vadot			vreg_pmu_rfa_1p2: ldo8 {
73*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_1p2";
74*833e5d42SEmmanuel Vadot			};
75*833e5d42SEmmanuel Vadot
76*833e5d42SEmmanuel Vadot			vreg_pmu_rfa_1p7: ldo9 {
77*833e5d42SEmmanuel Vadot				regulator-name = "vreg_pmu_rfa_1p7";
78*833e5d42SEmmanuel Vadot			};
79*833e5d42SEmmanuel Vadot		};
80*833e5d42SEmmanuel Vadot	};
81*833e5d42SEmmanuel Vadot};
82*833e5d42SEmmanuel Vadot
83*833e5d42SEmmanuel Vadot&gpu {
84*833e5d42SEmmanuel Vadot	status = "okay";
85*833e5d42SEmmanuel Vadot};
86*833e5d42SEmmanuel Vadot
87*833e5d42SEmmanuel Vadot&gpu_zap_shader {
88*833e5d42SEmmanuel Vadot	firmware-name = "qcom/x1p42100/ASUSTeK/zenbook-a14/qcdxkmsucpurwa.mbn";
89*833e5d42SEmmanuel Vadot};
90*833e5d42SEmmanuel Vadot
91*833e5d42SEmmanuel Vadot&pcie4_port0 {
92*833e5d42SEmmanuel Vadot	wifi@0 {
93*833e5d42SEmmanuel Vadot		compatible = "pci17cb,1103";
94*833e5d42SEmmanuel Vadot		reg = <0x10000 0x0 0x0 0x0 0x0>;
95*833e5d42SEmmanuel Vadot
96*833e5d42SEmmanuel Vadot		vddaon-supply = <&vreg_pmu_aon_0p8>;
97*833e5d42SEmmanuel Vadot		vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
98*833e5d42SEmmanuel Vadot		vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
99*833e5d42SEmmanuel Vadot		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
100*833e5d42SEmmanuel Vadot		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
101*833e5d42SEmmanuel Vadot		vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
102*833e5d42SEmmanuel Vadot		vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>;
103*833e5d42SEmmanuel Vadot		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
104*833e5d42SEmmanuel Vadot		vddwlmx-supply = <&vreg_pmu_wlmx_0p8>;
105*833e5d42SEmmanuel Vadot
106*833e5d42SEmmanuel Vadot		qcom,calibration-variant = "UX3407Q";
107*833e5d42SEmmanuel Vadot	};
108*833e5d42SEmmanuel Vadot};
109*833e5d42SEmmanuel Vadot
110*833e5d42SEmmanuel Vadot&remoteproc_adsp {
111*833e5d42SEmmanuel Vadot	firmware-name = "qcom/x1p42100/ASUSTeK/zenbook-a14/qcadsp8380.mbn",
112*833e5d42SEmmanuel Vadot			"qcom/x1p42100/ASUSTeK/zenbook-a14/adsp_dtbs.elf";
113*833e5d42SEmmanuel Vadot
114*833e5d42SEmmanuel Vadot	status = "okay";
115*833e5d42SEmmanuel Vadot};
116*833e5d42SEmmanuel Vadot
117*833e5d42SEmmanuel Vadot&remoteproc_cdsp {
118*833e5d42SEmmanuel Vadot	firmware-name = "qcom/x1p42100/ASUSTeK/zenbook-a14/qccdsp8380.mbn",
119*833e5d42SEmmanuel Vadot			"qcom/x1p42100/ASUSTeK/zenbook-a14/cdsp_dtbs.elf";
120*833e5d42SEmmanuel Vadot
121*833e5d42SEmmanuel Vadot	status = "okay";
122*833e5d42SEmmanuel Vadot};
123*833e5d42SEmmanuel Vadot
124*833e5d42SEmmanuel Vadot&uart14 {
125*833e5d42SEmmanuel Vadot	status = "okay";
126*833e5d42SEmmanuel Vadot
127*833e5d42SEmmanuel Vadot	bluetooth {
128*833e5d42SEmmanuel Vadot		compatible = "qcom,wcn6855-bt";
129*833e5d42SEmmanuel Vadot
130*833e5d42SEmmanuel Vadot		vddaon-supply = <&vreg_pmu_aon_0p8>;
131*833e5d42SEmmanuel Vadot		vddbtcmx-supply = <&vreg_pmu_btcmx_0p8>;
132*833e5d42SEmmanuel Vadot		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
133*833e5d42SEmmanuel Vadot		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
134*833e5d42SEmmanuel Vadot		vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
135*833e5d42SEmmanuel Vadot		vddrfacmn-supply = <&vreg_pmu_rfa_cmn_0p8>;
136*833e5d42SEmmanuel Vadot		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
137*833e5d42SEmmanuel Vadot		vddwlmx-supply = <&vreg_pmu_wlmx_0p8>;
138*833e5d42SEmmanuel Vadot
139*833e5d42SEmmanuel Vadot		max-speed = <3000000>;
140*833e5d42SEmmanuel Vadot	};
141*833e5d42SEmmanuel Vadot};
142