Lines Matching +full:rpmsg +full:- +full:audio +full:- +full:channel

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>;
301 remote-endpoint = <&dsc0_in>;
308 #address-cells = <1>;
309 #size-cells = <0>;
314 remote-endpoint = <&merge0_out>;
321 remote-endpoint = <&edp_in>;
331 #address-cells = <1>;
332 #size-cells = <0>;
335 #address-cells = <1>;
336 #size-cells = <0>;
341 remote-endpoint = <&merge5_out>;
346 #address-cells = <1>;
347 #size-cells = <0>;
352 remote-endpoint = <&dptx_in>;
360 #address-cells = <1>;
361 #size-cells = <0>;
366 remote-endpoint = <&dither0_out>;
373 remote-endpoint = <&merge0_in>;
382 pinctrl-names = "default";
383 pinctrl-0 = <&edptx_pins_default>;
386 #address-cells = <1>;
387 #size-cells = <0>;
392 remote-endpoint = <&dp_intf0_out>;
399 data-lanes = <0 1 2 3>;
400 remote-endpoint = <&panel_in>;
405 aux-bus {
407 compatible = "edp-panel";
408 power-supply = <&pp3300_disp_x>;
412 remote-endpoint = <&edp_out>;
421 #address-cells = <1>;
422 #size-cells = <0>;
425 #address-cells = <1>;
426 #size-cells = <0>;
431 remote-endpoint = <&vdosys1_ep_ext>;
436 #address-cells = <1>;
437 #size-cells = <0>;
442 remote-endpoint = <&merge5_in>;
451 pinctrl-names = "default";
452 pinctrl-0 = <&disp_pwm0_pin_default>;
458 #sound-dai-cells = <0>;
459 pinctrl-names = "default";
460 pinctrl-0 = <&dptx_pin>;
463 #address-cells = <1>;
464 #size-cells = <0>;
467 #address-cells = <1>;
468 #size-cells = <0>;
473 remote-endpoint = <&dp_intf1_out>;
480 data-lanes = <0 1 2 3>;
487 mediatek,broken-save-restore-fw;
492 mali-supply = <&mt6315_7_vbuck1>;
498 clock-frequency = <400000>;
499 pinctrl-names = "default";
500 pinctrl-0 = <&i2c0_pins>;
506 clock-frequency = <400000>;
507 i2c-scl-internal-delay-ns = <12500>;
508 pinctrl-names = "default";
509 pinctrl-0 = <&i2c1_pins>;
514 interrupts-extended = <&pio 6 IRQ_TYPE_LEVEL_LOW>;
515 pinctrl-names = "default";
516 pinctrl-0 = <&trackpad_pins>;
517 vcc-supply = <&pp3300_s3>;
518 wakeup-source;
525 clock-frequency = <400000>;
526 pinctrl-names = "default";
527 pinctrl-0 = <&i2c2_pins>;
532 interrupts-extended = <&pio 89 IRQ_TYPE_EDGE_BOTH>;
533 #sound-dai-cells = <1>;
534 realtek,jd-src = <1>;
536 AVDD-supply = <&mt6359_vio18_ldo_reg>;
537 MICVDD-supply = <&pp3300_z2>;
538 VBAT-supply = <&pp3300_z5>;
545 clock-frequency = <400000>;
546 pinctrl-names = "default";
547 pinctrl-0 = <&i2c3_pins>;
552 interrupts-extended = <&pio 88 IRQ_TYPE_EDGE_FALLING>;
553 pinctrl-names = "default";
554 pinctrl-0 = <&cr50_int>;
561 clock-frequency = <400000>;
562 pinctrl-names = "default";
563 pinctrl-0 = <&i2c4_pins>;
566 compatible = "hid-over-i2c";
568 hid-descr-addr = <0x0001>;
569 interrupts-extended = <&pio 92 IRQ_TYPE_LEVEL_LOW>;
570 pinctrl-names = "default";
571 pinctrl-0 = <&touchscreen_pins>;
572 post-power-on-delay-ms = <10>;
573 vdd-supply = <&pp3300_s3>;
581 clock-frequency = <400000>;
582 pinctrl-names = "default";
583 pinctrl-0 = <&i2c5_pins>;
589 clock-frequency = <400000>;
590 pinctrl-names = "default";
591 pinctrl-0 = <&i2c7_pins>;
594 #interrupt-cells = <2>;
597 interrupt-controller;
598 interrupts-extended = <&pio 130 IRQ_TYPE_EDGE_FALLING>;
599 interrupt-names = "IRQB";
600 pinctrl-names = "default";
601 pinctrl-0 = <&subpmic_default>;
602 wakeup-source;
608 #address-cells = <1>;
609 #size-cells = <0>;
614 remote-endpoint = <&dsc0_out>;
621 remote-endpoint = <&dp_intf0_in>;
629 #address-cells = <1>;
630 #size-cells = <0>;
633 #address-cells = <1>;
634 #size-cells = <0>;
639 remote-endpoint = <&ethdr0_out>;
644 #address-cells = <1>;
645 #size-cells = <0>;
650 remote-endpoint = <&dp_intf1_in>;
657 domain-supply = <&mt6315_7_vbuck1>;
661 domain-supply = <&mt6359_vsram_others_ldo_reg>;
667 bus-width = <8>;
668 cap-mmc-highspeed;
669 cap-mmc-hw-reset;
670 hs400-ds-delay = <0x14c11>;
671 max-frequency = <200000000>;
672 mmc-hs200-1_8v;
673 mmc-hs400-1_8v;
674 no-sdio;
675 no-sd;
676 non-removable;
677 pinctrl-names = "default", "state_uhs";
678 pinctrl-0 = <&mmc0_pins_default>;
679 pinctrl-1 = <&mmc0_pins_uhs>;
680 vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
681 vqmmc-supply = <&mt6359_vufs_ldo_reg>;
687 bus-width = <4>;
688 cap-sd-highspeed;
689 cd-gpios = <&pio 54 GPIO_ACTIVE_LOW>;
690 max-frequency = <200000000>;
691 no-mmc;
692 no-sdio;
693 pinctrl-names = "default", "state_uhs";
694 pinctrl-0 = <&mmc1_pins_default>, <&mmc1_pins_detect>;
695 pinctrl-1 = <&mmc1_pins_default>;
696 sd-uhs-sdr50;
697 sd-uhs-sdr104;
698 vmmc-supply = <&mt_pmic_vmch_ldo_reg>;
699 vqmmc-supply = <&mt_pmic_vmc_ldo_reg>;
703 mediatek,dmic-mode = <1>; /* one-wire */
704 mediatek,mic-type-0 = <2>; /* DMIC */
707 /* for CPU-L */
709 regulator-always-on;
714 regulator-always-on;
718 regulator-always-on;
719 regulator-min-microvolt = <550000>;
720 regulator-max-microvolt = <550000>;
725 regulator-always-on;
729 regulator-always-on;
734 regulator-min-microvolt = <750000>;
735 regulator-max-microvolt = <750000>;
739 regulator-always-on;
745 pinctrl-names = "default";
746 pinctrl-0 = <&nor_pins_default>;
749 compatible = "jedec,spi-nor";
751 spi-max-frequency = <52000000>;
752 spi-rx-bus-width = <2>;
753 spi-tx-bus-width = <2>;
758 remote-endpoint = <&vdosys0_ep_main>;
764 pinctrl-names = "default";
765 pinctrl-0 = <&pcie1_pins_default>;
769 mediatek,rsel-resistance-in-si-unit;
770 pinctrl-names = "default";
771 pinctrl-0 = <&pio_default>;
774 gpio-line-names =
924 aud_pins_default: audio-default-pins {
925 pins-cmd-dat {
945 pins-hp-jack-int-odl {
947 input-enable;
948 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
952 cr50_int: cr50-irq-default-pins {
953 pins-gsc-ap-int-odl {
955 input-enable;
959 cros_ec_int: cros-ec-irq-default-pins {
960 pins-ec-ap-int-odl {
962 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
963 input-enable;
967 edptx_pins_default: edptx-default-pins {
968 pins-cmd-dat {
970 bias-pull-up;
974 disp_pwm0_pin_default: disp-pwm0-default-pins {
975 pins-disp-pwm {
981 dptx_pin: dptx-default-pins {
982 pins-cmd-dat {
984 bias-pull-up;
988 i2c0_pins: i2c0-default-pins {
989 pins-bus {
992 bias-disable;
993 drive-strength-microamp = <1000>;
997 i2c1_pins: i2c1-default-pins {
998 pins-bus {
1001 bias-pull-up = <1000>;
1002 drive-strength-microamp = <1000>;
1006 i2c2_pins: i2c2-default-pins {
1007 pins-bus {
1010 bias-disable;
1011 drive-strength-microamp = <1000>;
1015 i2c3_pins: i2c3-default-pins {
1016 pins-bus {
1019 bias-pull-up = <1000>;
1020 drive-strength-microamp = <1000>;
1024 i2c4_pins: i2c4-default-pins {
1025 pins-bus {
1028 bias-pull-up = <1000>;
1029 drive-strength = <4>;
1033 i2c5_pins: i2c5-default-pins {
1034 pins-bus {
1037 bias-disable;
1038 drive-strength-microamp = <1000>;
1042 i2c7_pins: i2c7-default-pins {
1043 pins-bus {
1046 bias-disable;
1050 mmc0_pins_default: mmc0-default-pins {
1051 pins-cmd-dat {
1061 input-enable;
1062 drive-strength = <6>;
1063 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1066 pins-clk {
1068 drive-strength = <6>;
1069 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
1072 pins-rst {
1074 drive-strength = <6>;
1075 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1079 mmc0_pins_uhs: mmc0-uhs-pins {
1080 pins-cmd-dat {
1090 input-enable;
1091 drive-strength = <8>;
1092 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1095 pins-clk {
1097 drive-strength = <8>;
1098 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
1101 pins-ds {
1103 drive-strength = <8>;
1104 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
1107 pins-rst {
1109 drive-strength = <8>;
1110 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1114 mmc1_pins_detect: mmc1-detect-pins {
1115 pins-insert {
1117 bias-pull-up;
1121 mmc1_pins_default: mmc1-default-pins {
1122 pins-cmd-dat {
1128 input-enable;
1129 drive-strength = <8>;
1130 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1133 pins-clk {
1135 drive-strength = <8>;
1136 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
1140 nor_pins_default: nor-default-pins {
1141 pins-ck-io {
1145 drive-strength = <6>;
1146 bias-pull-down;
1149 pins-cs {
1151 drive-strength = <6>;
1152 bias-pull-up;
1156 pcie0_pins_default: pcie0-default-pins {
1157 pins-bus {
1161 bias-pull-up;
1165 pcie1_pins_default: pcie1-default-pins {
1166 pins-bus {
1170 bias-pull-up;
1174 panel_fixed_pins: panel-pwr-default-pins {
1175 pins-vreg-en {
1180 pio_default: pio-default-pins {
1181 pins-wifi-enable {
1183 output-high;
1184 drive-strength = <14>;
1187 pins-low-power-pd {
1199 input-enable;
1200 bias-pull-down;
1203 pins-low-power-pupd {
1219 input-enable;
1220 bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
1224 rt1019p_pins_default: rt1019p-default-pins {
1225 pins-amp-sdb {
1227 output-low;
1231 scp_pins: scp-default-pins {
1232 pins-vreq {
1234 bias-disable;
1235 input-enable;
1239 spi0_pins: spi0-default-pins {
1240 pins-cs-mosi-clk {
1244 bias-disable;
1247 pins-miso {
1249 bias-pull-down;
1253 subpmic_default: subpmic-default-pins {
1254 subpmic_pin_irq: pins-subpmic-int-n {
1256 input-enable;
1257 bias-pull-up;
1261 trackpad_pins: trackpad-default-pins {
1262 pins-int-n {
1264 input-enable;
1265 bias-pull-up;
1269 touchscreen_pins: touchscreen-default-pins {
1270 pins-int-n {
1272 input-enable;
1273 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
1275 pins-rst {
1277 output-high;
1279 pins-report-sw {
1281 output-low;
1287 interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
1293 firmware-name = "mediatek/mt8195/scp.img";
1294 memory-region = <&scp_mem>;
1295 pinctrl-names = "default";
1296 pinctrl-0 = <&scp_pins>;
1298 cros-ec-rpmsg {
1299 compatible = "google,cros-ec-rpmsg";
1300 mediatek,rpmsg-name = "cros-ec-rpmsg";
1308 mediatek,dai-link =
1312 pinctrl-names = "default";
1313 pinctrl-0 = <&aud_pins_default>;
1315 audio-routing =
1321 mm-dai-link {
1322 link-name = "ETDM1_IN_BE";
1323 mediatek,clk-provider = "cpu";
1326 hs-playback-dai-link {
1327 link-name = "ETDM1_OUT_BE";
1328 mediatek,clk-provider = "cpu";
1330 sound-dai = <&audio_codec 0>;
1334 hs-capture-dai-link {
1335 link-name = "ETDM2_IN_BE";
1336 mediatek,clk-provider = "cpu";
1338 sound-dai = <&audio_codec 0>;
1342 spk-playback-dai-link {
1343 link-name = "ETDM2_OUT_BE";
1344 mediatek,clk-provider = "cpu";
1346 sound-dai = <&spk_amplifier>;
1350 displayport-dai-link {
1351 link-name = "DPTX_BE";
1353 sound-dai = <&dp_tx>;
1361 pinctrl-names = "default";
1362 pinctrl-0 = <&spi0_pins>;
1363 mediatek,pad-select = <0>;
1366 #address-cells = <1>;
1367 #size-cells = <0>;
1369 compatible = "google,cros-ec-spi";
1371 interrupts-extended = <&pio 4 IRQ_TYPE_LEVEL_LOW>;
1372 pinctrl-names = "default";
1373 pinctrl-0 = <&cros_ec_int>;
1374 spi-max-frequency = <3000000>;
1375 wakeup-source;
1377 i2c_tunnel: i2c-tunnel {
1378 compatible = "google,cros-ec-i2c-tunnel";
1379 google,remote-bus = <0>;
1380 #address-cells = <1>;
1381 #size-cells = <0>;
1385 compatible = "google,cros-ec-regulator";
1387 regulator-name = "mt_pmic_vmc_ldo";
1388 regulator-min-microvolt = <1200000>;
1389 regulator-max-microvolt = <3600000>;
1393 compatible = "google,cros-ec-regulator";
1395 regulator-name = "mt_pmic_vmch_ldo";
1396 regulator-min-microvolt = <2700000>;
1397 regulator-max-microvolt = <3600000>;
1401 compatible = "google,cros-ec-typec";
1402 #address-cells = <1>;
1403 #size-cells = <0>;
1406 compatible = "usb-c-connector";
1408 power-role = "dual";
1409 data-role = "host";
1410 try-power-role = "source";
1414 compatible = "usb-c-connector";
1416 power-role = "dual";
1417 data-role = "host";
1418 try-power-role = "source";
1425 #address-cells = <2>;
1426 #size-cells = <0>;
1429 compatible = "mediatek,mt6315-regulator";
1434 regulator-name = "Vbcpu";
1435 regulator-min-microvolt = <400000>;
1436 regulator-max-microvolt = <1193750>;
1437 regulator-enable-ramp-delay = <256>;
1438 regulator-ramp-delay = <6250>;
1439 regulator-allowed-modes = <0 1 2>;
1440 regulator-always-on;
1446 compatible = "mediatek,mt6315-regulator";
1451 regulator-name = "Vgpu";
1452 regulator-min-microvolt = <400000>;
1453 regulator-max-microvolt = <1193750>;
1454 regulator-enable-ramp-delay = <256>;
1455 regulator-ramp-delay = <6250>;
1456 regulator-allowed-modes = <0 1 2>;
1463 soc-area-thermal {
1464 polling-delay = <1000>;
1465 polling-delay-passive = <250>;
1466 thermal-sensors = <&tboard_thermistor1>;
1469 trip-crit {
1477 pmic-area-thermal {
1478 polling-delay = <1000>;
1479 polling-delay-passive = <0>;
1480 thermal-sensors = <&tboard_thermistor2>;
1483 trip-crit {
1514 #address-cells = <1>;
1515 #size-cells = <0>;
1519 remote-endpoint = <&ovl0_in>;
1525 * For the USB Type-C ports the role and alternate modes switching is
1530 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1536 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1542 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1548 #address-cells = <1>;
1549 #size-cells = <0>;
1553 remote-endpoint = <&ethdr0_in>;
1561 rx-fifo-depth = <3072>;
1562 vbus-supply = <&usb_vbus>;
1569 rx-fifo-depth = <3072>;
1570 vusb33-supply = <&mt6359_vusb_ldo_reg>;
1571 vbus-supply = <&usb_vbus>;
1572 mediatek,u3p-dis-msk = <1>;
1577 vbus-supply = <&usb_vbus>;
1584 usb2-lpm-disable;
1585 vbus-supply = <&usb_vbus>;
1588 #include <arm/cros-ec-keyboard.dtsi>
1589 #include <arm/cros-ec-sbs.dtsi>
1592 function-row-physmap = <