Lines Matching +full:displayport +full:- +full:dai +full:- +full:link

1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/spmi/spmi.h>
25 backlight_lcd0: backlight-lcd0 {
26 compatible = "pwm-backlight";
27 brightness-levels = <0 1023>;
28 default-brightness-level = <576>;
29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>;
30 num-interpolated-steps = <1023>;
32 power-supply = <&ppvar_sys>;
36 stdout-path = "serial0:115200n8";
39 dmic-codec {
40 compatible = "dmic-codec";
41 num-channels = <2>;
42 wakeup-delay-ms = <50>;
50 pp3300_disp_x: regulator-pp3300-disp-x {
51 compatible = "regulator-fixed";
52 regulator-name = "pp3300_disp_x";
53 regulator-min-microvolt = <3300000>;
54 regulator-max-microvolt = <3300000>;
55 regulator-enable-ramp-delay = <2500>;
56 enable-active-high;
58 pinctrl-names = "default";
59 pinctrl-0 = <&panel_fixed_pins>;
60 vin-supply = <&pp3300_z2>;
64 pp3300_z5: regulator-pp3300-ldo-z5 {
65 compatible = "regulator-fixed";
66 regulator-name = "pp3300_ldo_z5";
67 regulator-always-on;
68 regulator-boot-on;
69 regulator-min-microvolt = <3300000>;
70 regulator-max-microvolt = <3300000>;
71 vin-supply = <&ppvar_sys>;
75 pp3300_s3: regulator-pp3300-s3 {
76 compatible = "regulator-fixed";
77 regulator-name = "pp3300_s3";
79 regulator-always-on;
80 regulator-boot-on;
81 regulator-min-microvolt = <3300000>;
82 regulator-max-microvolt = <3300000>;
83 vin-supply = <&pp3300_z2>;
87 pp3300_z2: regulator-pp3300-z2 {
88 compatible = "regulator-fixed";
89 regulator-name = "pp3300_z2";
91 regulator-always-on;
92 regulator-boot-on;
93 regulator-min-microvolt = <3300000>;
94 regulator-max-microvolt = <3300000>;
95 vin-supply = <&ppvar_sys>;
99 pp4200_z2: regulator-pp4200-z2 {
100 compatible = "regulator-fixed";
101 regulator-name = "pp4200_z2";
103 regulator-always-on;
104 regulator-boot-on;
105 regulator-min-microvolt = <4200000>;
106 regulator-max-microvolt = <4200000>;
107 vin-supply = <&ppvar_sys>;
111 pp5000_s5: regulator-pp5000-s5 {
112 compatible = "regulator-fixed";
113 regulator-name = "pp5000_s5";
115 regulator-always-on;
116 regulator-boot-on;
117 regulator-min-microvolt = <5000000>;
118 regulator-max-microvolt = <5000000>;
119 vin-supply = <&ppvar_sys>;
122 /* system wide semi-regulated power rail from battery or USB */
123 ppvar_sys: regulator-ppvar-sys {
124 compatible = "regulator-fixed";
125 regulator-name = "ppvar_sys";
126 regulator-always-on;
127 regulator-boot-on;
131 tboard_thermistor1: thermal-sensor-t1 {
132 compatible = "generic-adc-thermal";
133 #thermal-sensor-cells = <0>;
134 io-channels = <&auxadc 0>;
135 io-channel-names = "sensor-channel";
136 temperature-lookup-table = < (-10000) 1553
137 (-5000) 1485
166 tboard_thermistor2: thermal-sensor-t2 {
167 compatible = "generic-adc-thermal";
168 #thermal-sensor-cells = <0>;
169 io-channels = <&auxadc 1>;
170 io-channel-names = "sensor-channel";
171 temperature-lookup-table = < (-10000) 1553
172 (-5000) 1485
201 usb_vbus: regulator-5v0-usb-vbus {
202 compatible = "regulator-fixed";
203 regulator-name = "usb-vbus";
204 regulator-min-microvolt = <5000000>;
205 regulator-max-microvolt = <5000000>;
206 enable-active-high;
207 regulator-always-on;
210 reserved_memory: reserved-memory {
211 #address-cells = <2>;
212 #size-cells = <2>;
216 compatible = "shared-dma-pool";
218 no-map;
222 compatible = "shared-dma-pool";
224 no-map;
228 compatible = "shared-dma-pool";
230 no-map;
234 compatible = "shared-dma-pool";
236 no-map;
243 #sound-dai-cells = <0>;
244 pinctrl-names = "default";
245 pinctrl-0 = <&rt1019p_pins_default>;
246 sdb-gpios = <&pio 100 GPIO_ACTIVE_HIGH>;
253 memory-region = <&adsp_device_mem>, <&adsp_mem>;
259 mediatek,etdm-in2-cowork-source = <2>;
260 mediatek,etdm-out2-cowork-source = <0>;
261 memory-region = <&afe_mem>;
269 cpu-supply = <&mt6359_vcore_buck_reg>;
273 cpu-supply = <&mt6359_vcore_buck_reg>;
277 cpu-supply = <&mt6359_vcore_buck_reg>;
281 cpu-supply = <&mt6359_vcore_buck_reg>;
285 cpu-supply = <&mt6315_6_vbuck1>;
289 cpu-supply = <&mt6315_6_vbuck1>;
293 cpu-supply = <&mt6315_6_vbuck1>;
297 cpu-supply = <&mt6315_6_vbuck1>;
305 remote-endpoint = <&edp_in>;
315 remote-endpoint = <&dptx_in>;
323 pinctrl-names = "default";
324 pinctrl-0 = <&edptx_pins_default>;
327 #address-cells = <1>;
328 #size-cells = <0>;
333 remote-endpoint = <&dp_intf0_out>;
340 data-lanes = <0 1 2 3>;
341 remote-endpoint = <&panel_in>;
346 aux-bus {
348 compatible = "edp-panel";
349 power-supply = <&pp3300_disp_x>;
353 remote-endpoint = <&edp_out>;
363 pinctrl-names = "default";
364 pinctrl-0 = <&disp_pwm0_pin_default>;
370 #sound-dai-cells = <0>;
371 pinctrl-names = "default";
372 pinctrl-0 = <&dptx_pin>;
375 #address-cells = <1>;
376 #size-cells = <0>;
381 remote-endpoint = <&dp_intf1_out>;
388 data-lanes = <0 1 2 3>;
395 mediatek,broken-save-restore-fw;
400 mali-supply = <&mt6315_7_vbuck1>;
406 clock-frequency = <400000>;
407 pinctrl-names = "default";
408 pinctrl-0 = <&i2c0_pins>;
414 clock-frequency = <400000>;
415 i2c-scl-internal-delay-ns = <12500>;
416 pinctrl-names = "default";
417 pinctrl-0 = <&i2c1_pins>;
422 interrupts-extended = <&pio 6 IRQ_TYPE_LEVEL_LOW>;
423 pinctrl-names = "default";
424 pinctrl-0 = <&trackpad_pins>;
425 vcc-supply = <&pp3300_s3>;
426 wakeup-source;
433 clock-frequency = <400000>;
434 pinctrl-names = "default";
435 pinctrl-0 = <&i2c2_pins>;
440 interrupts-extended = <&pio 89 IRQ_TYPE_EDGE_BOTH>;
441 #sound-dai-cells = <0>;
442 realtek,jd-src = <1>;
444 AVDD-supply = <&mt6359_vio18_ldo_reg>;
445 MICVDD-supply = <&pp3300_z2>;
446 VBAT-supply = <&pp3300_z5>;
453 clock-frequency = <400000>;
454 pinctrl-names = "default";
455 pinctrl-0 = <&i2c3_pins>;
460 interrupts-extended = <&pio 88 IRQ_TYPE_EDGE_FALLING>;
461 pinctrl-names = "default";
462 pinctrl-0 = <&cr50_int>;
469 clock-frequency = <400000>;
470 pinctrl-names = "default";
471 pinctrl-0 = <&i2c4_pins>;
474 compatible = "hid-over-i2c";
476 hid-descr-addr = <0x0001>;
477 interrupts-extended = <&pio 92 IRQ_TYPE_LEVEL_LOW>;
478 pinctrl-names = "default";
479 pinctrl-0 = <&touchscreen_pins>;
480 post-power-on-delay-ms = <10>;
481 vdd-supply = <&pp3300_s3>;
489 clock-frequency = <400000>;
490 pinctrl-names = "default";
491 pinctrl-0 = <&i2c5_pins>;
497 clock-frequency = <400000>;
498 pinctrl-names = "default";
499 pinctrl-0 = <&i2c7_pins>;
502 #interrupt-cells = <2>;
505 interrupt-controller;
506 interrupts-extended = <&pio 130 IRQ_TYPE_EDGE_FALLING>;
507 interrupt-names = "IRQB";
508 pinctrl-names = "default";
509 pinctrl-0 = <&subpmic_default>;
510 wakeup-source;
515 domain-supply = <&mt6315_7_vbuck1>;
519 domain-supply = <&mt6359_vsram_others_ldo_reg>;
525 bus-width = <8>;
526 cap-mmc-highspeed;
527 cap-mmc-hw-reset;
528 hs400-ds-delay = <0x14c11>;
529 max-frequency = <200000000>;
530 mmc-hs200-1_8v;
531 mmc-hs400-1_8v;
532 no-sdio;
533 no-sd;
534 non-removable;
535 pinctrl-names = "default", "state_uhs";
536 pinctrl-0 = <&mmc0_pins_default>;
537 pinctrl-1 = <&mmc0_pins_uhs>;
538 vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
539 vqmmc-supply = <&mt6359_vufs_ldo_reg>;
545 bus-width = <4>;
546 cap-sd-highspeed;
547 cd-gpios = <&pio 54 GPIO_ACTIVE_LOW>;
548 max-frequency = <200000000>;
549 no-mmc;
550 no-sdio;
551 pinctrl-names = "default", "state_uhs";
552 pinctrl-0 = <&mmc1_pins_default>, <&mmc1_pins_detect>;
553 pinctrl-1 = <&mmc1_pins_default>;
554 sd-uhs-sdr50;
555 sd-uhs-sdr104;
556 vmmc-supply = <&mt_pmic_vmch_ldo_reg>;
557 vqmmc-supply = <&mt_pmic_vmc_ldo_reg>;
561 mediatek,dmic-mode = <1>; /* one-wire */
562 mediatek,mic-type-0 = <2>; /* DMIC */
565 /* for CPU-L */
567 regulator-always-on;
572 regulator-always-on;
576 regulator-always-on;
577 regulator-min-microvolt = <550000>;
578 regulator-max-microvolt = <550000>;
583 regulator-always-on;
587 regulator-always-on;
592 regulator-min-microvolt = <750000>;
593 regulator-max-microvolt = <750000>;
597 regulator-always-on;
603 pinctrl-names = "default";
604 pinctrl-0 = <&nor_pins_default>;
607 compatible = "jedec,spi-nor";
609 spi-max-frequency = <52000000>;
610 spi-rx-bus-width = <2>;
611 spi-tx-bus-width = <2>;
618 pinctrl-names = "default";
619 pinctrl-0 = <&pcie1_pins_default>;
623 mediatek,rsel-resistance-in-si-unit;
624 pinctrl-names = "default";
625 pinctrl-0 = <&pio_default>;
628 gpio-line-names =
778 aud_pins_default: audio-default-pins {
779 pins-cmd-dat {
799 pins-hp-jack-int-odl {
801 input-enable;
802 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
806 cr50_int: cr50-irq-default-pins {
807 pins-gsc-ap-int-odl {
809 input-enable;
813 cros_ec_int: cros-ec-irq-default-pins {
814 pins-ec-ap-int-odl {
816 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
817 input-enable;
821 edptx_pins_default: edptx-default-pins {
822 pins-cmd-dat {
824 bias-pull-up;
828 disp_pwm0_pin_default: disp-pwm0-default-pins {
829 pins-disp-pwm {
835 dptx_pin: dptx-default-pins {
836 pins-cmd-dat {
838 bias-pull-up;
842 i2c0_pins: i2c0-default-pins {
843 pins-bus {
846 bias-disable;
847 drive-strength-microamp = <1000>;
851 i2c1_pins: i2c1-default-pins {
852 pins-bus {
855 bias-pull-up = <1000>;
856 drive-strength-microamp = <1000>;
860 i2c2_pins: i2c2-default-pins {
861 pins-bus {
864 bias-disable;
865 drive-strength-microamp = <1000>;
869 i2c3_pins: i2c3-default-pins {
870 pins-bus {
873 bias-pull-up = <1000>;
874 drive-strength-microamp = <1000>;
878 i2c4_pins: i2c4-default-pins {
879 pins-bus {
882 bias-pull-up = <1000>;
883 drive-strength = <4>;
887 i2c5_pins: i2c5-default-pins {
888 pins-bus {
891 bias-disable;
892 drive-strength-microamp = <1000>;
896 i2c7_pins: i2c7-default-pins {
897 pins-bus {
900 bias-disable;
904 mmc0_pins_default: mmc0-default-pins {
905 pins-cmd-dat {
915 input-enable;
916 drive-strength = <6>;
917 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
920 pins-clk {
922 drive-strength = <6>;
923 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
926 pins-rst {
928 drive-strength = <6>;
929 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
933 mmc0_pins_uhs: mmc0-uhs-pins {
934 pins-cmd-dat {
944 input-enable;
945 drive-strength = <8>;
946 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
949 pins-clk {
951 drive-strength = <8>;
952 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
955 pins-ds {
957 drive-strength = <8>;
958 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
961 pins-rst {
963 drive-strength = <8>;
964 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
968 mmc1_pins_detect: mmc1-detect-pins {
969 pins-insert {
971 bias-pull-up;
975 mmc1_pins_default: mmc1-default-pins {
976 pins-cmd-dat {
982 input-enable;
983 drive-strength = <8>;
984 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
987 pins-clk {
989 drive-strength = <8>;
990 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
994 nor_pins_default: nor-default-pins {
995 pins-ck-io {
999 drive-strength = <6>;
1000 bias-pull-down;
1003 pins-cs {
1005 drive-strength = <6>;
1006 bias-pull-up;
1010 pcie0_pins_default: pcie0-default-pins {
1011 pins-bus {
1015 bias-pull-up;
1019 pcie1_pins_default: pcie1-default-pins {
1020 pins-bus {
1024 bias-pull-up;
1028 panel_fixed_pins: panel-pwr-default-pins {
1029 pins-vreg-en {
1034 pio_default: pio-default-pins {
1035 pins-wifi-enable {
1037 output-high;
1038 drive-strength = <14>;
1041 pins-low-power-pd {
1053 input-enable;
1054 bias-pull-down;
1057 pins-low-power-pupd {
1073 input-enable;
1074 bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
1078 rt1019p_pins_default: rt1019p-default-pins {
1079 pins-amp-sdb {
1081 output-low;
1085 scp_pins: scp-default-pins {
1086 pins-vreq {
1088 bias-disable;
1089 input-enable;
1093 spi0_pins: spi0-default-pins {
1094 pins-cs-mosi-clk {
1098 bias-disable;
1101 pins-miso {
1103 bias-pull-down;
1107 subpmic_default: subpmic-default-pins {
1108 subpmic_pin_irq: pins-subpmic-int-n {
1110 input-enable;
1111 bias-pull-up;
1115 trackpad_pins: trackpad-default-pins {
1116 pins-int-n {
1118 input-enable;
1119 bias-pull-up;
1123 touchscreen_pins: touchscreen-default-pins {
1124 pins-int-n {
1126 input-enable;
1127 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1129 pins-rst {
1131 output-high;
1133 pins-report-sw {
1135 output-low;
1141 interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
1147 firmware-name = "mediatek/mt8195/scp.img";
1148 memory-region = <&scp_mem>;
1149 pinctrl-names = "default";
1150 pinctrl-0 = <&scp_pins>;
1152 cros-ec-rpmsg {
1153 compatible = "google,cros-ec-rpmsg";
1154 mediatek,rpmsg-name = "cros-ec-rpmsg";
1162 mediatek,dai-link =
1166 pinctrl-names = "default";
1167 pinctrl-0 = <&aud_pins_default>;
1169 audio-routing =
1175 mm-dai-link {
1176 link-name = "ETDM1_IN_BE";
1177 mediatek,clk-provider = "cpu";
1180 hs-playback-dai-link {
1181 link-name = "ETDM1_OUT_BE";
1182 mediatek,clk-provider = "cpu";
1184 sound-dai = <&audio_codec>;
1188 hs-capture-dai-link {
1189 link-name = "ETDM2_IN_BE";
1190 mediatek,clk-provider = "cpu";
1192 sound-dai = <&audio_codec>;
1196 spk-playback-dai-link {
1197 link-name = "ETDM2_OUT_BE";
1198 mediatek,clk-provider = "cpu";
1200 sound-dai = <&spk_amplifier>;
1204 displayport-dai-link {
1205 link-name = "DPTX_BE";
1207 sound-dai = <&dp_tx>;
1215 pinctrl-names = "default";
1216 pinctrl-0 = <&spi0_pins>;
1217 mediatek,pad-select = <0>;
1220 #address-cells = <1>;
1221 #size-cells = <0>;
1223 compatible = "google,cros-ec-spi";
1225 interrupts-extended = <&pio 4 IRQ_TYPE_LEVEL_LOW>;
1226 pinctrl-names = "default";
1227 pinctrl-0 = <&cros_ec_int>;
1228 spi-max-frequency = <3000000>;
1229 wakeup-source;
1231 i2c_tunnel: i2c-tunnel {
1232 compatible = "google,cros-ec-i2c-tunnel";
1233 google,remote-bus = <0>;
1234 #address-cells = <1>;
1235 #size-cells = <0>;
1239 compatible = "google,cros-ec-regulator";
1241 regulator-name = "mt_pmic_vmc_ldo";
1242 regulator-min-microvolt = <1200000>;
1243 regulator-max-microvolt = <3600000>;
1247 compatible = "google,cros-ec-regulator";
1249 regulator-name = "mt_pmic_vmch_ldo";
1250 regulator-min-microvolt = <2700000>;
1251 regulator-max-microvolt = <3600000>;
1255 compatible = "google,cros-ec-typec";
1256 #address-cells = <1>;
1257 #size-cells = <0>;
1260 compatible = "usb-c-connector";
1262 power-role = "dual";
1263 data-role = "host";
1264 try-power-role = "source";
1268 compatible = "usb-c-connector";
1270 power-role = "dual";
1271 data-role = "host";
1272 try-power-role = "source";
1279 #address-cells = <2>;
1280 #size-cells = <0>;
1283 compatible = "mediatek,mt6315-regulator";
1288 regulator-compatible = "vbuck1";
1289 regulator-name = "Vbcpu";
1290 regulator-min-microvolt = <400000>;
1291 regulator-max-microvolt = <1193750>;
1292 regulator-enable-ramp-delay = <256>;
1293 regulator-ramp-delay = <6250>;
1294 regulator-allowed-modes = <0 1 2>;
1295 regulator-always-on;
1301 compatible = "mediatek,mt6315-regulator";
1306 regulator-compatible = "vbuck1";
1307 regulator-name = "Vgpu";
1308 regulator-min-microvolt = <400000>;
1309 regulator-max-microvolt = <1193750>;
1310 regulator-enable-ramp-delay = <256>;
1311 regulator-ramp-delay = <6250>;
1312 regulator-allowed-modes = <0 1 2>;
1319 soc-area-thermal {
1320 polling-delay = <1000>;
1321 polling-delay-passive = <250>;
1322 thermal-sensors = <&tboard_thermistor1>;
1325 trip-crit {
1333 pmic-area-thermal {
1334 polling-delay = <1000>;
1335 polling-delay-passive = <0>;
1336 thermal-sensors = <&tboard_thermistor2>;
1339 trip-crit {
1369 * For the USB Type-C ports the role and alternate modes switching is
1374 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1380 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1386 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1393 rx-fifo-depth = <3072>;
1394 vbus-supply = <&usb_vbus>;
1401 rx-fifo-depth = <3072>;
1402 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1403 vbus-supply = <&usb_vbus>;
1404 mediatek,u3p-dis-msk = <1>;
1409 vbus-supply = <&usb_vbus>;
1416 usb2-lpm-disable;
1417 vbus-supply = <&usb_vbus>;
1420 #include <arm/cros-ec-keyboard.dtsi>
1421 #include <arm/cros-ec-sbs.dtsi>
1424 function-row-physmap = <