// SPDX-License-Identifier: BSD-3-Clause /* * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ /dts-v1/; #include "glymur.dtsi" #include "glymur-crd.dtsi" #include / { model = "Qualcomm Technologies, Inc. Glymur CRD"; compatible = "qcom,glymur-crd", "qcom,glymur"; pmic-glink { compatible = "qcom,glymur-pmic-glink", "qcom,pmic-glink"; #address-cells = <1>; #size-cells = <0>; connector@0 { compatible = "usb-c-connector"; reg = <0>; power-role = "dual"; data-role = "dual"; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; pmic_glink_hs_in: endpoint { remote-endpoint = <&usb_0_dwc3_hs>; }; }; port@1 { reg = <1>; pmic_glink_ss_in: endpoint { remote-endpoint = <&usb_0_qmpphy_out>; }; }; }; }; connector@1 { compatible = "usb-c-connector"; reg = <1>; power-role = "dual"; data-role = "dual"; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; pmic_glink_hs_in1: endpoint { remote-endpoint = <&usb_1_dwc3_hs>; }; }; port@1 { reg = <1>; pmic_glink_ss_in1: endpoint { remote-endpoint = <&usb_1_qmpphy_out>; }; }; }; }; }; vreg_edp_3p3: regulator-edp-3p3 { compatible = "regulator-fixed"; regulator-name = "VREG_EDP_3P3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>; enable-active-high; pinctrl-0 = <&edp_reg_en>; pinctrl-names = "default"; regulator-boot-on; }; vreg_misc_3p3: regulator-misc-3p3 { compatible = "regulator-fixed"; regulator-name = "VREG_MISC_3P3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&pmh0110_f_e0_gpios 6 GPIO_ACTIVE_HIGH>; enable-active-high; pinctrl-0 = <&misc_3p3_reg_en>; pinctrl-names = "default"; regulator-boot-on; }; }; &i2c0 { clock-frequency = <400000>; status = "okay"; touchpad@2c { compatible = "hid-over-i2c"; reg = <0x2c>; hid-descr-addr = <0x20>; interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; vdd-supply = <&vreg_misc_3p3>; vddl-supply = <&vreg_l15b_e0_1p8>; pinctrl-0 = <&tpad_default>; pinctrl-names = "default"; wakeup-source; }; keyboard@3a { compatible = "hid-over-i2c"; reg = <0x3a>; hid-descr-addr = <0x1>; interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; vdd-supply = <&vreg_misc_3p3>; vddl-supply = <&vreg_l15b_e0_1p8>; pinctrl-0 = <&kybd_default>; pinctrl-names = "default"; wakeup-source; }; }; &i2c8 { clock-frequency = <400000>; status = "okay"; touchscreen@38 { compatible = "hid-over-i2c"; reg = <0x38>; hid-descr-addr = <0x1>; interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>; vdd-supply = <&vreg_misc_3p3>; vddl-supply = <&vreg_l15b_e0_1p8>; pinctrl-0 = <&ts0_default>; pinctrl-names = "default"; }; }; &i2c5 { clock-frequency = <400000>; status = "okay"; ptn3222_0: redriver@43 { compatible = "nxp,ptn3222"; reg = <0x43>; reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; vdd3v3-supply = <&vreg_l8b_e0_1p50>; vdd1v8-supply = <&vreg_l15b_e0_1p8>; #phy-cells = <0>; }; ptn3222_1: redriver@47 { compatible = "nxp,ptn3222"; reg = <0x47>; reset-gpios = <&tlmm 9 GPIO_ACTIVE_LOW>; vdd3v3-supply = <&vreg_l8b_e0_1p50>; vdd1v8-supply = <&vreg_l15b_e0_1p8>; #phy-cells = <0>; }; }; &mdss { status = "okay"; }; &mdss_dp0 { status = "okay"; }; &mdss_dp0_out { link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; }; &mdss_dp1 { status = "okay"; }; &mdss_dp1_out { link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; }; &mdss_dp3 { /delete-property/ #sound-dai-cells; status = "okay"; aux-bus { panel { compatible = "samsung,atna60cl08", "samsung,atna33xc20"; enable-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>; power-supply = <&vreg_edp_3p3>; pinctrl-0 = <&edp_bl_en>; pinctrl-names = "default"; port { edp_panel_in: endpoint { remote-endpoint = <&mdss_dp3_out>; }; }; }; }; }; &mdss_dp3_out { data-lanes = <0 1 2 3>; link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; remote-endpoint = <&edp_panel_in>; }; &mdss_dp3_phy { vdda-phy-supply = <&vreg_l2f_e1_0p83>; vdda-pll-supply = <&vreg_l4f_e1_1p08>; status = "okay"; }; &pmh0110_f_e0_gpios { misc_3p3_reg_en: misc-3p3-reg-en-state { pins = "gpio6"; function = "normal"; bias-disable; input-disable; output-enable; drive-push-pull; power-source = <1>; /* 1.8 V */ qcom,drive-strength = ; }; }; &smb2370_j_e2_eusb2_repeater { vdd18-supply = <&vreg_l15b_e0_1p8>; vdd3-supply = <&vreg_l7b_e0_2p79>; }; &smb2370_k_e2_eusb2_repeater { vdd18-supply = <&vreg_l15b_e0_1p8>; vdd3-supply = <&vreg_l7b_e0_2p79>; }; &tlmm { edp_bl_en: edp-bl-en-state { pins = "gpio18"; function = "gpio"; drive-strength = <16>; bias-disable; }; edp_reg_en: edp-reg-en-state { pins = "gpio70"; function = "gpio"; drive-strength = <16>; bias-disable; }; kybd_default: kybd-default-state { pins = "gpio67"; function = "gpio"; bias-disable; }; tpad_default: tpad-default-state { pins = "gpio3"; function = "gpio"; bias-disable; }; ts0_default: ts0-default-state { int-n-pins { pins = "gpio51"; function = "gpio"; bias-disable; }; reset-n-pins { pins = "gpio48"; function = "gpio"; drive-strength = <16>; bias-disable; }; }; }; &usb_0 { dr_mode = "host"; status = "okay"; }; &usb_0_dwc3_hs { remote-endpoint = <&pmic_glink_hs_in>; }; &usb_0_hsphy { vdd-supply = <&vreg_l3f_e0_0p72>; vdda12-supply = <&vreg_l4h_e0_1p2>; phys = <&smb2370_j_e2_eusb2_repeater>; status = "okay"; }; &usb_0_qmpphy { vdda-phy-supply = <&vreg_l4h_e0_1p2>; vdda-pll-supply = <&vreg_l3f_e0_0p72>; refgen-supply = <&vreg_l2f_e0_0p82>; status = "okay"; }; &usb_0_qmpphy_out { remote-endpoint = <&pmic_glink_ss_in>; }; &usb_1 { dr_mode = "host"; status = "okay"; }; &usb_1_dwc3_hs { remote-endpoint = <&pmic_glink_hs_in1>; }; &usb_1_hsphy { vdd-supply = <&vreg_l3f_e0_0p72>; vdda12-supply = <&vreg_l4h_e0_1p2>; phys = <&smb2370_k_e2_eusb2_repeater>; status = "okay"; }; &usb_1_qmpphy { vdda-phy-supply = <&vreg_l4h_e0_1p2>; vdda-pll-supply = <&vreg_l1h_e0_0p89>; refgen-supply = <&vreg_l2f_e0_0p82>; status = "okay"; }; &usb_1_qmpphy_out { remote-endpoint = <&pmic_glink_ss_in1>; }; &usb_hs { status = "okay"; }; &usb_hs_phy { vdd-supply = <&vreg_l2h_e0_0p72>; vdda12-supply = <&vreg_l4h_e0_1p2>; phys = <&ptn3222_1>; status = "okay"; }; &usb_mp { status = "okay"; }; &usb_mp_hsphy0 { vdd-supply = <&vreg_l2h_e0_0p72>; vdda12-supply = <&vreg_l4h_e0_1p2>; phys = <&ptn3222_0>; status = "okay"; }; &usb_mp_hsphy1 { vdd-supply = <&vreg_l2h_e0_0p72>; vdda12-supply = <&vreg_l4h_e0_1p2>; status = "okay"; }; &usb_mp_qmpphy0 { vdda-phy-supply = <&vreg_l4h_e0_1p2>; vdda-pll-supply = <&vreg_l2h_e0_0p72>; refgen-supply = <&vreg_l4f_e1_1p08>; status = "okay"; }; &usb_mp_qmpphy1 { vdda-phy-supply = <&vreg_l4h_e0_1p2>; vdda-pll-supply = <&vreg_l2h_e0_0p72>; refgen-supply = <&vreg_l4f_e1_1p08>; status = "okay"; };