mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
Qualcomm ARM64 DTS updates for 6.2
This introduces support for SM4250, SM6115, SM6375 and SDM670 platforms and Sony Xperia 10 IV, Google Pixel 3a, OnePlus 3, OnePlus 3T, Google Pazquel and OnePlus Nord N100. A wide variety of updates to align with DeviceTree bindings across many/most platforms is introduced, and incorrectly styled comments are adjusted across the tree. Apps RSC is added to the cluster-idle power-domain across SM8150, SM8250, SM8350 and SM8450, to ensure sleep and wake votes are flushed as the last core is being powered down. Remoteproc firmware patches are aligned with agreed upon structure used in linux-firmware across Inforce 6560, Lenovo Miix 630, various Sony Xperia devices and Samsung Galaxy Book2 (although these are not available in linux-firmware today). On IPQ8074 CPU clocks are added, thermal zones are introduced and vqmmc supply is specified for the HK01 board. Alcatel OneTouch Idol 3 gains LED nodes and Samsung Galaxy A3U gained vibrator support. The application subsystem's IOMMU and the display subsystem is enabled for MSM8953. A new CPU frequency table is introduced for MSM8996Pro, to properly describe it separate of MSM8996. The GPU opp-table is extended as well. On SC7180 USB is marked as a wakeup source, USB gains required-opps to ensure that the core voltage rail is voted for as needed. The description of the fingerprint sensor in Trogdor is corrected. On SC7280 Wake-on-WLAN is introduced, and PHY parameters for the SNPS USB PHY is defined across SC7280. The memory map across Google Herobrine is adjusted, to regain unused memory on the WiFi SKUs. A LTE SKU of the Evoker board is introduced and the bard gains touchscreen. NVME support is disabled on Villager boards, as it's not used. PCIe support is introduced on SC8280XP, with NVMe, SDX55 (5G) and WiFi enabled on the Lenovo Thinkpad X13s and Compute Reference Device. ADCs and thermal zones are intrduced for the same. Lenovo Thinkpad X13s gains LID switch support. Fairphone FP3 gains touchscreen support. Support for Xiaomi Poco F1 variant with EBBG panel. The round-robin ADC is enabled across DB845c, OnePlus devices and Pocophone F1 devices. The displayport controller on SDM845 is introduced. SM6350 gains SDHCI support and on Sony Xperia 10 III sd-card, touchscreen and GPI DMA is enabled. Fairphone FP4 got SD-card support. UFS PHY register ranges are corrected across SM8150, SM8250, SM8350 and SM8450. Sony Xperia 1 II got NFC support and Sony Xperia 5 III got PMIC regulators defined and USB definition corrected, to enable USB3. The SDHCI controller is described for SM8450 and microSD support is enabled for the HDK and QRD devices. SM8450 also gains camera CCI interface and display clock controller. -----BEGIN PGP SIGNATURE----- iQJJBAABCAAzFiEEBd4DzF816k8JZtUlCx85Pw2ZrcUFAmN/QfsVHGFuZGVyc3Nv bkBrZXJuZWwub3JnAAoJEAsfOT8Nma3FR8wP/3ynHPC8Kq/exZfb2n5M6gS3+3YZ BxwCcjcwMCMBwFZUZ4LPYDctd+TL8rJ0htnK9Foq61i8FJl2cUqvU/OKtfD3W9gO wTzZC1bZJItZCreb4T7Kj2t3hBhO5dkG+UgbovfOgk9tJXvgNbio66ZGJqKDtU92 ubIAJxFERACERT9g6gtAdBa2BEofG/zI2ei8HqkKP/7u51XXtRNzVCYXyHM8TydL M03U6snZNJkkj+UM8Wzrg9mxkheAOSyo0nLK58Lje2I4CjV5WToCZUICqm7z7l36 GoBnDXaRacmb0gIco9sGMo5K7jNqQ/6U1JVJRAb+NNM16fp0mKOboZ8SLKI9oT6g 9UXiylzzz0buvNzzTu7HF8JRNQvxBnLKC+nE/ekWQm6uhsmJ9DkrMBnxn5fyZ1iL 5uFXcaVDagVQCdHOfYntQzKEGsoPwg0KQJbjoM+T3tkQX5NcWVP+06uYLWqRxgk5 jTn98JXK+2w4yYdhCKr8U71mBoWwoYwOZiEnZlL+P+52gZUoWDgA65BGnoqYk2cW 2KsfB+EM3ggye6a4X/gVVuCR8bYO5+YIUyoBWLRKd51xw0Mr99KUc+ugTmCKGZpW 31p/NhgdvfOK9qLRhEVH9zDT24Jqo1tRF2NgtJrFufMcYbdNbB8BA22aDLoTbE0m Kru1n0WaaU4vBIbm =0+lj -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmOHYjwACgkQmmx57+YA GNn21Q/7B5vrpo21COOlybRqhhAJYKo1kouED1EW4Fh1qQ0PejkDEU9CZYuvTNyw l0sFewhdpV9cEhSDm6nuk+wcs15r3tBp9fWWWBMbLLi+MohO0rY3Wi7ZIZDbK9N8 B1UqkCASqLRYbny6kT0JztlhdEAHlEJ2Bc63pHhVYdj74xyLm+ByIgGV0o0fWhNM dUtJwz+W+uYMg/5OFj/UMLBvXFdDzz/LmYKS8UYP0sxmhOUJd1yTqxyqCxECWe6z OgGeB+2bQ297OyWdQjZk6tucZcjpP0y6qtL1PQaDtfqMVXsaDKNqa+C1eTvTEQWT tzOuWq4I5z7+vEe3JlKwHFmeblvD5FhNqUzyJabxXbTpe7m7sLbyeJdYaXXd6lmk 0hBAJdSNNqAoIMMXUWwDxzaTDzKq648fteP0VZIC2B24iSRz6tt2FhLi6X1Lh0Tj LDHsbHvQIY3cFmYqIbgRt+lMxyy+pZWRuZFhMeIrNE1T4OQn2X3l5DlGAjUw2i51 KXWUHeUSWWE39FyV/V72BDIPM/kGrESdJACko989ZinKdvKSyyz9Tl4qKsYUWAFH XZf3BvvsP20WKLvF79n500RBOh0J2uhTGTv6zphXXj5nRvv6NFiS1C+MWwaVnO4L HABmamTgb/rkP36J7nOD3iBQxuYG4i/hDLG66Zibhf9gqUDAWV4= =c209 -----END PGP SIGNATURE----- Merge tag 'qcom-arm64-for-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/dt Qualcomm ARM64 DTS updates for 6.2 This introduces support for SM4250, SM6115, SM6375 and SDM670 platforms and Sony Xperia 10 IV, Google Pixel 3a, OnePlus 3, OnePlus 3T, Google Pazquel and OnePlus Nord N100. A wide variety of updates to align with DeviceTree bindings across many/most platforms is introduced, and incorrectly styled comments are adjusted across the tree. Apps RSC is added to the cluster-idle power-domain across SM8150, SM8250, SM8350 and SM8450, to ensure sleep and wake votes are flushed as the last core is being powered down. Remoteproc firmware patches are aligned with agreed upon structure used in linux-firmware across Inforce 6560, Lenovo Miix 630, various Sony Xperia devices and Samsung Galaxy Book2 (although these are not available in linux-firmware today). On IPQ8074 CPU clocks are added, thermal zones are introduced and vqmmc supply is specified for the HK01 board. Alcatel OneTouch Idol 3 gains LED nodes and Samsung Galaxy A3U gained vibrator support. The application subsystem's IOMMU and the display subsystem is enabled for MSM8953. A new CPU frequency table is introduced for MSM8996Pro, to properly describe it separate of MSM8996. The GPU opp-table is extended as well. On SC7180 USB is marked as a wakeup source, USB gains required-opps to ensure that the core voltage rail is voted for as needed. The description of the fingerprint sensor in Trogdor is corrected. On SC7280 Wake-on-WLAN is introduced, and PHY parameters for the SNPS USB PHY is defined across SC7280. The memory map across Google Herobrine is adjusted, to regain unused memory on the WiFi SKUs. A LTE SKU of the Evoker board is introduced and the bard gains touchscreen. NVME support is disabled on Villager boards, as it's not used. PCIe support is introduced on SC8280XP, with NVMe, SDX55 (5G) and WiFi enabled on the Lenovo Thinkpad X13s and Compute Reference Device. ADCs and thermal zones are intrduced for the same. Lenovo Thinkpad X13s gains LID switch support. Fairphone FP3 gains touchscreen support. Support for Xiaomi Poco F1 variant with EBBG panel. The round-robin ADC is enabled across DB845c, OnePlus devices and Pocophone F1 devices. The displayport controller on SDM845 is introduced. SM6350 gains SDHCI support and on Sony Xperia 10 III sd-card, touchscreen and GPI DMA is enabled. Fairphone FP4 got SD-card support. UFS PHY register ranges are corrected across SM8150, SM8250, SM8350 and SM8450. Sony Xperia 1 II got NFC support and Sony Xperia 5 III got PMIC regulators defined and USB definition corrected, to enable USB3. The SDHCI controller is described for SM8450 and microSD support is enabled for the HDK and QRD devices. SM8450 also gains camera CCI interface and display clock controller. * tag 'qcom-arm64-for-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (261 commits) arm64: dts: qcom: sdm845-polaris: Don't duplicate DMA assignment arm64: dts: qcom: sm8350-sagami: Wire up USB regulators and fix USB3 arm64: dts: qcom: sm8350-sagami: Add most RPMh regulators arm64: dts: qcom: sc7280: Make herobrine-audio-rt5682 mic dtsi's match more arm64: dts: qcom: trim addresses to 8 digits arm64: dts: msm8998: unify PCIe clock order withMSM8996 arm64: dts: msm8998: add MSM8998 specific compatible arm64: dts: qcom: sc8280xp-x13s: enable WiFi controller arm64: dts: qcom: sc8280xp-x13s: enable modem arm64: dts: qcom: sc8280xp-x13s: enable NVMe SSD arm64: dts: qcom: sc8280xp-crd: enable WiFi controller arm64: dts: qcom: sc8280xp-crd: enable SDX55 modem arm64: dts: qcom: sc8280xp-crd: enable NVMe SSD arm64: dts: qcom: sc8280xp-crd: rename backlight and misc regulators arm64: dts: qcom: sa8295p-adp: enable PCIe arm64: dts: qcom: sc8280xp/sa8540p: add PCIe2-4 nodes arm64: dts: qcom: add sdm670 and pixel 3a device trees arm64: dts: qcom: sc7280: Add Google Herobrine WIFI SKU dts fragment arm64: dts: qcom: sc7280: Mark all Qualcomm reference boards as LTE arm64: dts: qcom: sm7225-fairphone-fp4: Enable SD card ... Link: https://lore.kernel.org/r/20221124100650.1982448-1-andersson@kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
bcbc468528
175 changed files with 12591 additions and 3772 deletions
|
@ -183,6 +183,7 @@ properties:
|
|||
- qcom,kryo485
|
||||
- qcom,kryo560
|
||||
- qcom,kryo570
|
||||
- qcom,kryo660
|
||||
- qcom,kryo685
|
||||
- qcom,kryo780
|
||||
- qcom,scorpion
|
||||
|
|
66
Documentation/devicetree/bindings/arm/qcom-soc.yaml
Normal file
66
Documentation/devicetree/bindings/arm/qcom-soc.yaml
Normal file
|
@ -0,0 +1,66 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/arm/qcom-soc.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Qualcomm SoC compatibles naming convention
|
||||
|
||||
maintainers:
|
||||
- Bjorn Andersson <andersson@kernel.org>
|
||||
|
||||
description: |
|
||||
Guidelines for new compatibles for SoC blocks/components.
|
||||
When adding new compatibles in new bindings, use the format::
|
||||
qcom,SoC-IP
|
||||
|
||||
For example::
|
||||
qcom,sdm845-llcc-bwmon
|
||||
|
||||
When adding new compatibles to existing bindings, use the format in the
|
||||
existing binding, even if it contradicts the above.
|
||||
|
||||
select:
|
||||
properties:
|
||||
compatible:
|
||||
pattern: "^qcom,.*(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$"
|
||||
required:
|
||||
- compatible
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
oneOf:
|
||||
# Preferred naming style for compatibles of SoC components:
|
||||
- pattern: "^qcom,(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+-.*$"
|
||||
- pattern: "^qcom,(sa|sc)8[0-9]+[a-z][a-z]?-.*$"
|
||||
|
||||
# Legacy namings - variations of existing patterns/compatibles are OK,
|
||||
# but do not add completely new entries to these:
|
||||
- pattern: "^qcom,[ak]pss-wdt-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$"
|
||||
- pattern: "^qcom,gcc-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$"
|
||||
- pattern: "^qcom,mmcc-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$"
|
||||
- pattern: "^qcom,pcie-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$"
|
||||
- pattern: "^qcom,rpm-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$"
|
||||
- pattern: "^qcom,scm-(apq|ipq|mdm|msm|qcm|qcs|sa|sc|sdm|sdx|sm)[0-9]+.*$"
|
||||
- enum:
|
||||
- qcom,dsi-ctrl-6g-qcm2290
|
||||
- qcom,gpucc-sdm630
|
||||
- qcom,gpucc-sdm660
|
||||
- qcom,lcc-apq8064
|
||||
- qcom,lcc-ipq8064
|
||||
- qcom,lcc-mdm9615
|
||||
- qcom,lcc-msm8960
|
||||
- qcom,lpass-cpu-apq8016
|
||||
- qcom,usb-ss-ipq4019-phy
|
||||
- qcom,usb-hs-ipq4019-phy
|
||||
- qcom,vqmmc-ipq4019-regulator
|
||||
|
||||
# Legacy compatibles with wild-cards - list cannot grow with new bindings:
|
||||
- enum:
|
||||
- qcom,ipq806x-gmac
|
||||
- qcom,ipq806x-nand
|
||||
- qcom,ipq806x-sata-phy
|
||||
- qcom,ipq806x-usb-phy-ss
|
||||
- qcom,ipq806x-usb-phy-hs
|
||||
|
||||
additionalProperties: true
|
|
@ -54,6 +54,8 @@ description: |
|
|||
sdm845
|
||||
sdx55
|
||||
sdx65
|
||||
sm4250
|
||||
sm6115
|
||||
sm6125
|
||||
sm6350
|
||||
sm7225
|
||||
|
@ -221,13 +223,20 @@ properties:
|
|||
|
||||
- items:
|
||||
- enum:
|
||||
- oneplus,oneplus3
|
||||
- oneplus,oneplus3t
|
||||
- qcom,msm8996-mtp
|
||||
- sony,dora-row
|
||||
- sony,kagura-row
|
||||
- sony,keyaki-row
|
||||
- xiaomi,gemini
|
||||
- const: qcom,msm8996
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- xiaomi,natrium
|
||||
- xiaomi,scorpio
|
||||
- const: qcom,msm8996pro
|
||||
- const: qcom,msm8996
|
||||
|
||||
- items:
|
||||
|
@ -463,6 +472,17 @@ properties:
|
|||
- const: google,pazquel-sku2
|
||||
- const: qcom,sc7180
|
||||
|
||||
- description: Google Pazquel360 with LTE (newest rev)
|
||||
items:
|
||||
- const: google,pazquel-sku22
|
||||
- const: google,pazquel-sku20
|
||||
- const: qcom,sc7180
|
||||
|
||||
- description: Google Pazquel360 with WiFi (newest rev)
|
||||
items:
|
||||
- const: google,pazquel-sku21
|
||||
- const: qcom,sc7180
|
||||
|
||||
- description: Sharp Dynabook Chromebook C1 (rev1)
|
||||
items:
|
||||
- const: google,pompom-rev1
|
||||
|
@ -674,6 +694,9 @@ properties:
|
|||
|
||||
- items:
|
||||
- enum:
|
||||
- google,cheza
|
||||
- google,cheza-rev1
|
||||
- google,cheza-rev2
|
||||
- lenovo,yoga-c630
|
||||
- lg,judyln
|
||||
- lg,judyp
|
||||
|
@ -681,15 +704,22 @@ properties:
|
|||
- oneplus,fajita
|
||||
- qcom,sdm845-mtp
|
||||
- shift,axolotl
|
||||
- samsung,starqltechn
|
||||
- samsung,w737
|
||||
- sony,akari-row
|
||||
- sony,akatsuki-row
|
||||
- sony,apollo-row
|
||||
- thundercomm,db845c
|
||||
- xiaomi,beryllium
|
||||
- xiaomi,beryllium-ebbg
|
||||
- xiaomi,polaris
|
||||
- const: qcom,sdm845
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- oneplus,billie2
|
||||
- const: qcom,sm4250
|
||||
|
||||
- items:
|
||||
- enum:
|
||||
- sony,pdx201
|
||||
|
|
|
@ -33,6 +33,7 @@ properties:
|
|||
compatible:
|
||||
items:
|
||||
- enum:
|
||||
- qcom,pm6125
|
||||
- qcom,pm6150
|
||||
- qcom,pm6150l
|
||||
- qcom,pm6350
|
||||
|
|
|
@ -222,8 +222,8 @@ examples:
|
|||
qcom,hw-settle-time = <200>;
|
||||
};
|
||||
|
||||
conn-therm@47 {
|
||||
reg = <PM8350_ADC7_AMUX_THM4_100K_PU>;
|
||||
conn-therm@147 {
|
||||
reg = <PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
};
|
||||
|
@ -247,7 +247,7 @@ examples:
|
|||
|
||||
conn-therm@1 {
|
||||
reg = <1>;
|
||||
io-channels = <&pmk8350_vadc PM8350_ADC7_AMUX_THM4_100K_PU>;
|
||||
io-channels = <&pmk8350_vadc PM8350_ADC7_AMUX_THM4_100K_PU(1)>;
|
||||
qcom,avg-samples = <2>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time-us = <200>;
|
||||
|
|
|
@ -2623,7 +2623,7 @@ W: http://www.armlinux.org.uk/
|
|||
ARM/QUALCOMM SUPPORT
|
||||
M: Andy Gross <agross@kernel.org>
|
||||
M: Bjorn Andersson <andersson@kernel.org>
|
||||
R: Konrad Dybcio <konrad.dybcio@somainline.org>
|
||||
R: Konrad Dybcio <konrad.dybcio@linaro.org>
|
||||
L: linux-arm-msm@vger.kernel.org
|
||||
S: Maintained
|
||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git
|
||||
|
|
|
@ -33,12 +33,14 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8994-sony-xperia-kitakami-satsuki.dtb
|
|||
dtb-$(CONFIG_ARCH_QCOM) += msm8994-sony-xperia-kitakami-sumire.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8994-sony-xperia-kitakami-suzuran.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8996-oneplus3.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8996-oneplus3t.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8996-sony-xperia-tone-dora.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8996-sony-xperia-tone-kagura.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8996-sony-xperia-tone-keyaki.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8996-xiaomi-gemini.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8996-xiaomi-natrium.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8996-xiaomi-scorpio.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8996pro-xiaomi-natrium.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8996pro-xiaomi-scorpio.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8998-asus-novago-tp370ql.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8998-fxtec-pro1.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += msm8998-hp-envy-x2.dtb
|
||||
|
@ -87,6 +89,8 @@ dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pazquel-lte-parade.dtb
|
|||
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pazquel-lte-ti.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pazquel-parade.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pazquel-ti.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pazquel360-lte.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pazquel360-wifi.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pompom-r1.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pompom-r1-lte.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-pompom-r2.dtb
|
||||
|
@ -104,7 +108,8 @@ dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-wormdingler-rev1-boe-rt5682s.dtb
|
|||
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-r1.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7180-trogdor-r1-lte.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-crd.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-evoker-r0.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-evoker.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-evoker-lte.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-herobrine-r1.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-villager-r0.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-villager-r1.dtb
|
||||
|
@ -122,6 +127,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-voyager.dtb
|
|||
dtb-$(CONFIG_ARCH_QCOM) += sdm632-fairphone-fp3.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm636-sony-xperia-ganges-mermaid.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm660-xiaomi-lavender.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm670-google-sargo.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r1.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r2.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r3.dtb
|
||||
|
@ -131,16 +137,20 @@ dtb-$(CONFIG_ARCH_QCOM) += sdm845-lg-judyp.dtb
|
|||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-mtp.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-oneplus-enchilada.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-oneplus-fajita.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-samsung-starqltechn.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-sony-xperia-tama-akari.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-sony-xperia-tama-akatsuki.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-sony-xperia-tama-apollo.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-beryllium.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-beryllium-ebbg.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-beryllium-tianma.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-xiaomi-polaris.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm845-shift-axolotl.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm850-lenovo-yoga-c630.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sdm850-samsung-w737.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sm4250-oneplus-billie2.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sm6350-sony-xperia-lena-pdx213.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sm6375-sony-xperia-murray-pdx225.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sm7225-fairphone-fp4.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sm8150-hdk.dtb
|
||||
dtb-$(CONFIG_ARCH_QCOM) += sm8150-microsoft-surface-duo.dtb
|
||||
|
|
|
@ -718,14 +718,14 @@ &msmgpio {
|
|||
"USR_LED_2_CTRL", /* GPIO 120 */
|
||||
"SB_HS_ID";
|
||||
|
||||
msmgpio_leds: msmgpio-leds {
|
||||
msmgpio_leds: msmgpio-leds-state {
|
||||
pins = "gpio21", "gpio120";
|
||||
function = "gpio";
|
||||
|
||||
output-low;
|
||||
};
|
||||
|
||||
usb_id_default: usb-id-default {
|
||||
usb_id_default: usb-id-default-state {
|
||||
pins = "gpio121";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -734,7 +734,7 @@ usb_id_default: usb-id-default {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
adv7533_int_active: adv533-int-active {
|
||||
adv7533_int_active: adv533-int-active-state {
|
||||
pins = "gpio31";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -742,7 +742,7 @@ adv7533_int_active: adv533-int-active {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
adv7533_int_suspend: adv7533-int-suspend {
|
||||
adv7533_int_suspend: adv7533-int-suspend-state {
|
||||
pins = "gpio31";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -750,7 +750,7 @@ adv7533_int_suspend: adv7533-int-suspend {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
adv7533_switch_active: adv7533-switch-active {
|
||||
adv7533_switch_active: adv7533-switch-active-state {
|
||||
pins = "gpio32";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -758,7 +758,7 @@ adv7533_switch_active: adv7533-switch-active {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
adv7533_switch_suspend: adv7533-switch-suspend {
|
||||
adv7533_switch_suspend: adv7533-switch-suspend-state {
|
||||
pins = "gpio32";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -766,7 +766,7 @@ adv7533_switch_suspend: adv7533-switch-suspend {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
msm_key_volp_n_default: msm-key-volp-n-default {
|
||||
msm_key_volp_n_default: msm-key-volp-n-default-state {
|
||||
pins = "gpio107";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -839,7 +839,7 @@ ls_exp_gpio_f: pm8916-mpp4-state {
|
|||
function = "digital";
|
||||
|
||||
output-low;
|
||||
power-source = <PM8916_MPP_L5>; // 1.8V
|
||||
power-source = <PM8916_MPP_L5>; /* 1.8V */
|
||||
};
|
||||
|
||||
pm8916_mpps_leds: pm8916-mpps-state {
|
||||
|
|
|
@ -422,84 +422,48 @@ &tlmm {
|
|||
"NC", /* GPIO_148 */
|
||||
"NC"; /* GPIO_149 */
|
||||
|
||||
sdc2_cd_on: sdc2_cd_on {
|
||||
mux {
|
||||
sdc2_cd_on: sdc2-cd-on-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio38";
|
||||
bias-pull-up; /* pull up */
|
||||
drive-strength = <16>; /* 16 MA */
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_cd_off: sdc2_cd_off {
|
||||
mux {
|
||||
sdc2_cd_off: sdc2-cd-off-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio38";
|
||||
bias-pull-up; /* pull up */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
};
|
||||
|
||||
hdmi_hpd_active: hdmi_hpd_active {
|
||||
mux {
|
||||
hdmi_hpd_active: hdmi-hpd-active-state {
|
||||
pins = "gpio34";
|
||||
function = "hdmi_hot";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio34";
|
||||
bias-pull-down;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
};
|
||||
|
||||
hdmi_hpd_suspend: hdmi_hpd_suspend {
|
||||
mux {
|
||||
hdmi_hpd_suspend: hdmi-hpd-suspend-state {
|
||||
pins = "gpio34";
|
||||
function = "hdmi_hot";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio34";
|
||||
bias-pull-down;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
hdmi_ddc_active: hdmi_ddc_active {
|
||||
mux {
|
||||
hdmi_ddc_active: hdmi-ddc-active-state {
|
||||
pins = "gpio32", "gpio33";
|
||||
function = "hdmi_ddc";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio32", "gpio33";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
hdmi_ddc_suspend: hdmi_ddc_suspend {
|
||||
mux {
|
||||
hdmi_ddc_suspend: hdmi-ddc-suspend-state {
|
||||
pins = "gpio32", "gpio33";
|
||||
function = "hdmi_ddc";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio32", "gpio33";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
status = "okay";
|
||||
|
@ -560,7 +524,7 @@ pinconf {
|
|||
pins = "gpio5";
|
||||
function = PMIC_GPIO_FUNC_NORMAL;
|
||||
output-low;
|
||||
power-source = <2>; // PM8994_GPIO_S4, 1.8V
|
||||
power-source = <PM8994_GPIO_S4>; /* 1.8V */
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -569,7 +533,7 @@ pinconf {
|
|||
pins = "gpio19";
|
||||
function = PMIC_GPIO_FUNC_NORMAL;
|
||||
output-low;
|
||||
power-source = <PM8994_GPIO_S4>; // 1.8V
|
||||
power-source = <PM8994_GPIO_S4>; /* 1.8V */
|
||||
qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
@ -580,7 +544,7 @@ pinconf {
|
|||
pins = "gpio8";
|
||||
function = PMIC_GPIO_FUNC_NORMAL;
|
||||
output-low;
|
||||
power-source = <PM8994_GPIO_S4>; // 1.8V
|
||||
power-source = <PM8994_GPIO_S4>; /* 1.8V */
|
||||
qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
@ -590,7 +554,7 @@ audio_mclk: clk-div1-state {
|
|||
pinconf {
|
||||
pins = "gpio15";
|
||||
function = "func1";
|
||||
power-source = <PM8994_GPIO_S4>; // 1.8V
|
||||
power-source = <PM8994_GPIO_S4>; /* 1.8V */
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -602,7 +566,7 @@ pinconf {
|
|||
drive-push-pull;
|
||||
bias-pull-up;
|
||||
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
||||
power-source = <PM8994_GPIO_S4>; // 1.8V
|
||||
power-source = <PM8994_GPIO_S4>; /* 1.8V */
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -623,7 +587,7 @@ pinconf {
|
|||
input-enable;
|
||||
bias-pull-down;
|
||||
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
||||
power-source = <PM8994_GPIO_S4>; // 1.8V
|
||||
power-source = <PM8994_GPIO_S4>; /* 1.8V */
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -679,7 +643,7 @@ pinconf {
|
|||
input-enable;
|
||||
bias-pull-down;
|
||||
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
||||
power-source = <PM8994_GPIO_S4>; // 1.8V
|
||||
power-source = <PM8994_GPIO_S4>; /* 1.8V */
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -751,7 +715,7 @@ vdd_gfx: s2@1700 {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8994-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8994-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -963,7 +927,7 @@ vreg_lvs2a_1p8: lvs2 {
|
|||
};
|
||||
};
|
||||
|
||||
pmi8994-regulators {
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pmi8994-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
|
|
@ -104,27 +104,8 @@ &mdss {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
sdc2_pins_default: sdc2-pins-default {
|
||||
clk {
|
||||
pins = "sdc2_clk";
|
||||
bias-disable;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
|
||||
cmd {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
data {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
cd {
|
||||
&sdc2_state_on {
|
||||
cd-pins {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -133,36 +114,17 @@ cd {
|
|||
};
|
||||
};
|
||||
|
||||
sdc2_pins_sleep: sdc2-pins-sleep {
|
||||
clk {
|
||||
pins = "sdc2_clk";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
cmd {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
data {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
cd {
|
||||
&sdc2_state_off {
|
||||
cd-pins {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8994-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8994-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -372,10 +334,6 @@ &sdhc2 {
|
|||
|
||||
vmmc-supply = <&vreg_l21a_2p95>;
|
||||
vqmmc-supply = <&vreg_l13a_2p95>;
|
||||
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&sdc2_pins_default>;
|
||||
pinctrl-1 = <&sdc2_pins_sleep>;
|
||||
};
|
||||
|
||||
&ufshc {
|
||||
|
|
|
@ -19,7 +19,6 @@ aliases {
|
|||
|
||||
chosen {
|
||||
stdout-path = "serial0:115200n8";
|
||||
bootargs-append = " swiotlb=1";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -37,6 +36,8 @@ &blsp1_i2c3 {
|
|||
|
||||
&blsp1_spi1 {
|
||||
cs-select = <0>;
|
||||
pinctrl-0 = <&spi_0_pins>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
|
@ -49,13 +50,13 @@ flash@0 {
|
|||
};
|
||||
|
||||
&tlmm {
|
||||
i2c_1_pins: i2c-1-pins {
|
||||
i2c_1_pins: i2c-1-state {
|
||||
pins = "gpio42", "gpio43";
|
||||
function = "blsp2_i2c";
|
||||
drive-strength = <8>;
|
||||
};
|
||||
|
||||
spi_0_pins: spi-0-pins {
|
||||
spi_0_pins: spi-0-state {
|
||||
pins = "gpio38", "gpio39", "gpio40", "gpio41";
|
||||
function = "blsp0_spi";
|
||||
drive-strength = <8>;
|
||||
|
@ -80,9 +81,9 @@ nand@0 {
|
|||
};
|
||||
|
||||
&qusb_phy_1 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb2 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -218,14 +218,14 @@ tlmm: pinctrl@1000000 {
|
|||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
serial_3_pins: serial3-pinmux {
|
||||
serial_3_pins: serial3-state {
|
||||
pins = "gpio44", "gpio45";
|
||||
function = "blsp2_uart";
|
||||
drive-strength = <8>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
qpic_pins: qpic-pins {
|
||||
qpic_pins: qpic-state {
|
||||
pins = "gpio1", "gpio3", "gpio4",
|
||||
"gpio5", "gpio6", "gpio7",
|
||||
"gpio8", "gpio10", "gpio11",
|
||||
|
@ -348,7 +348,7 @@ qpic_bam: dma-controller@7984000 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
qpic_nand: nand@79b0000 {
|
||||
qpic_nand: nand-controller@79b0000 {
|
||||
compatible = "qcom,ipq6018-nand";
|
||||
reg = <0x0 0x079b0000 0x0 0x10000>;
|
||||
#address-cells = <1>;
|
||||
|
@ -511,14 +511,6 @@ a53pll: clock@b116000 {
|
|||
clock-names = "xo";
|
||||
};
|
||||
|
||||
timer {
|
||||
compatible = "arm,armv8-timer";
|
||||
interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
||||
<GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
||||
<GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
||||
<GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
|
||||
};
|
||||
|
||||
timer@b120000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
@ -770,6 +762,14 @@ dwc_0: usb@8a00000 {
|
|||
};
|
||||
};
|
||||
|
||||
timer {
|
||||
compatible = "arm,armv8-timer";
|
||||
interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
||||
<GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
||||
<GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
||||
<GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
|
||||
};
|
||||
|
||||
wcss: wcss-smp2p {
|
||||
compatible = "qcom,smp2p";
|
||||
qcom,smem = <435>, <428>;
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/dts-v1/;
|
||||
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
||||
/*
|
||||
* Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
#include "ipq8074.dtsi"
|
||||
#include "pmp8074.dtsi"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
model = "Qualcomm Technologies, Inc. IPQ8074-HK01";
|
||||
|
@ -51,12 +54,12 @@ &blsp1_uart5 {
|
|||
|
||||
&pcie0 {
|
||||
status = "okay";
|
||||
perst-gpios = <&tlmm 61 0x1>;
|
||||
perst-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&pcie1 {
|
||||
status = "okay";
|
||||
perst-gpios = <&tlmm 58 0x1>;
|
||||
perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&pcie_phy0 {
|
||||
|
@ -84,6 +87,7 @@ nand@0 {
|
|||
|
||||
&sdhc_1 {
|
||||
status = "okay";
|
||||
vqmmc-supply = <&l11>;
|
||||
};
|
||||
|
||||
&qusb_phy_0 {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/* Copyright (c) 2020 The Linux Foundation. All rights reserved.
|
||||
/*
|
||||
* Copyright (c) 2020 The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
/dts-v1/;
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/dts-v1/;
|
||||
/* Copyright (c) 2020 The Linux Foundation. All rights reserved.
|
||||
/*
|
||||
* Copyright (c) 2020 The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
#include "ipq8074-hk10.dtsi"
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
/dts-v1/;
|
||||
|
||||
#include "ipq8074.dtsi"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
|
@ -22,7 +23,7 @@ memory {
|
|||
};
|
||||
|
||||
&blsp1_spi1 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
#address-cells = <1>;
|
||||
|
@ -34,33 +35,33 @@ flash@0 {
|
|||
};
|
||||
|
||||
&blsp1_uart5 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
status = "ok";
|
||||
perst-gpios = <&tlmm 58 0x1>;
|
||||
status = "okay";
|
||||
perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&pcie1 {
|
||||
status = "ok";
|
||||
perst-gpios = <&tlmm 61 0x1>;
|
||||
status = "okay";
|
||||
perst-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&pcie_phy0 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie_phy1 {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&qpic_bam {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&qpic_nand {
|
||||
status = "ok";
|
||||
status = "okay";
|
||||
|
||||
nand@0 {
|
||||
reg = <0>;
|
||||
|
|
|
@ -273,6 +273,16 @@ prng: rng@e3000 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
tsens: thermal-sensor@4a9000 {
|
||||
compatible = "qcom,ipq8074-tsens";
|
||||
reg = <0x4a9000 0x1000>, /* TM */
|
||||
<0x4a8000 0x1000>; /* SROT */
|
||||
interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "combined";
|
||||
#qcom,sensors = <16>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
};
|
||||
|
||||
cryptobam: dma-controller@704000 {
|
||||
compatible = "qcom,bam-v1.7.0";
|
||||
reg = <0x00704000 0x20000>;
|
||||
|
@ -307,35 +317,35 @@ tlmm: pinctrl@1000000 {
|
|||
interrupt-controller;
|
||||
#interrupt-cells = <0x2>;
|
||||
|
||||
serial_4_pins: serial4-pinmux {
|
||||
serial_4_pins: serial4-state {
|
||||
pins = "gpio23", "gpio24";
|
||||
function = "blsp4_uart1";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_0_pins: i2c-0-pinmux {
|
||||
i2c_0_pins: i2c-0-state {
|
||||
pins = "gpio42", "gpio43";
|
||||
function = "blsp1_i2c";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
spi_0_pins: spi-0-pins {
|
||||
spi_0_pins: spi-0-state {
|
||||
pins = "gpio38", "gpio39", "gpio40", "gpio41";
|
||||
function = "blsp0_spi";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
hsuart_pins: hsuart-pins {
|
||||
hsuart_pins: hsuart-state {
|
||||
pins = "gpio46", "gpio47", "gpio48", "gpio49";
|
||||
function = "blsp2_uart";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
qpic_pins: qpic-pins {
|
||||
qpic_pins: qpic-state {
|
||||
pins = "gpio1", "gpio3", "gpio4",
|
||||
"gpio5", "gpio6", "gpio7",
|
||||
"gpio8", "gpio10", "gpio11",
|
||||
|
@ -350,9 +360,11 @@ qpic_pins: qpic-pins {
|
|||
gcc: gcc@1800000 {
|
||||
compatible = "qcom,gcc-ipq8074";
|
||||
reg = <0x01800000 0x80000>;
|
||||
#clock-cells = <0x1>;
|
||||
clocks = <&xo>, <&sleep_clk>;
|
||||
clock-names = "xo", "sleep_clk";
|
||||
#clock-cells = <1>;
|
||||
#power-domain-cells = <1>;
|
||||
#reset-cells = <0x1>;
|
||||
#reset-cells = <1>;
|
||||
};
|
||||
|
||||
tcsr_mutex: hwlock@1905000 {
|
||||
|
@ -668,12 +680,22 @@ watchdog: watchdog@b017000 {
|
|||
|
||||
apcs_glb: mailbox@b111000 {
|
||||
compatible = "qcom,ipq8074-apcs-apps-global";
|
||||
reg = <0x0b111000 0x6000>;
|
||||
reg = <0x0b111000 0x1000>;
|
||||
clocks = <&a53pll>, <&xo>;
|
||||
clock-names = "pll", "xo";
|
||||
|
||||
#clock-cells = <1>;
|
||||
#mbox-cells = <1>;
|
||||
};
|
||||
|
||||
a53pll: clock@b116000 {
|
||||
compatible = "qcom,ipq8074-a53pll";
|
||||
reg = <0x0b116000 0x40>;
|
||||
#clock-cells = <0>;
|
||||
clocks = <&xo>;
|
||||
clock-names = "xo";
|
||||
};
|
||||
|
||||
timer@b120000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
@ -865,4 +887,90 @@ timer {
|
|||
<GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
||||
<GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
|
||||
};
|
||||
|
||||
thermal-zones {
|
||||
nss-top-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 4>;
|
||||
};
|
||||
|
||||
nss0-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 5>;
|
||||
};
|
||||
|
||||
nss1-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 6>;
|
||||
};
|
||||
|
||||
wcss-phya0-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 7>;
|
||||
};
|
||||
|
||||
wcss-phya1-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 8>;
|
||||
};
|
||||
|
||||
cpu0_thermal: cpu0-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 9>;
|
||||
};
|
||||
|
||||
cpu1_thermal: cpu1-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 10>;
|
||||
};
|
||||
|
||||
cpu2_thermal: cpu2-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 11>;
|
||||
};
|
||||
|
||||
cpu3_thermal: cpu3-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 12>;
|
||||
};
|
||||
|
||||
cluster_thermal: cluster-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 13>;
|
||||
};
|
||||
|
||||
wcss-phyb0-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 14>;
|
||||
};
|
||||
|
||||
wcss-phyb1-thermal {
|
||||
polling-delay-passive = <250>;
|
||||
polling-delay = <1000>;
|
||||
|
||||
thermal-sensors = <&tsens 15>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "msm8916-pm8916.dtsi"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
|
||||
/ {
|
||||
model = "Alcatel OneTouch Idol 3 (4.7)";
|
||||
|
@ -34,6 +35,19 @@ button-volume-up {
|
|||
};
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&gpio_leds_default>;
|
||||
|
||||
led-0 {
|
||||
gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "torch";
|
||||
function = LED_FUNCTION_TORCH;
|
||||
};
|
||||
};
|
||||
|
||||
usb_id: usb-id {
|
||||
compatible = "linux,extcon-usb-gpio";
|
||||
id-gpio = <&msmgpio 69 GPIO_ACTIVE_HIGH>;
|
||||
|
@ -116,6 +130,27 @@ gyroscope@68 {
|
|||
};
|
||||
};
|
||||
|
||||
&blsp_i2c6 {
|
||||
status = "okay";
|
||||
|
||||
led-controller@68 {
|
||||
compatible = "si-en,sn3190";
|
||||
reg = <0x68>;
|
||||
shutdown-gpios = <&msmgpio 89 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_enable_default &led_shutdown_default>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
led@1 {
|
||||
reg = <1>;
|
||||
led-max-microamp = <5000>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
color = <LED_COLOR_ID_WHITE>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pm8916_resin {
|
||||
status = "okay";
|
||||
linux,code = <KEY_VOLUMEDOWN>;
|
||||
|
@ -260,7 +295,7 @@ l18 {
|
|||
};
|
||||
|
||||
&msmgpio {
|
||||
accel_int_default: accel-int-default {
|
||||
accel_int_default: accel-int-default-state {
|
||||
pins = "gpio31";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -268,7 +303,7 @@ accel_int_default: accel-int-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
gpio_keys_default: gpio-keys-default {
|
||||
gpio_keys_default: gpio-keys-default-state {
|
||||
pins = "gpio107";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -276,7 +311,15 @@ gpio_keys_default: gpio-keys-default {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
gyro_int_default: gyro-int-default {
|
||||
gpio_leds_default: gpio-leds-default-state {
|
||||
pins = "gpio32";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
gyro_int_default: gyro-int-default-state {
|
||||
pins = "gpio97", "gpio98";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -284,7 +327,30 @@ gyro_int_default: gyro-int-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
mag_reset_default: mag-reset-default {
|
||||
/*
|
||||
* The OEM wired an additional GPIO to be asserted so that
|
||||
* the si-en,sn3190 LED IC works. Since this GPIO is not
|
||||
* part of the IC datasheet nor supported by the driver,
|
||||
* force it asserted here.
|
||||
*/
|
||||
led_enable_default: led-enable-default-state {
|
||||
pins = "gpio102";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
output-high;
|
||||
};
|
||||
|
||||
led_shutdown_default: led-shutdown-default-state {
|
||||
pins = "gpio89";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
mag_reset_default: mag-reset-default-state {
|
||||
pins = "gpio8";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -292,7 +358,7 @@ mag_reset_default: mag-reset-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
proximity_int_default: proximity-int-default {
|
||||
proximity_int_default: proximity-int-default-state {
|
||||
pins = "gpio12";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -300,7 +366,7 @@ proximity_int_default: proximity-int-default {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
ts_int_reset_default: ts-int-reset-default {
|
||||
ts_int_reset_default: ts-int-reset-default-state {
|
||||
pins = "gpio13", "gpio100";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -308,7 +374,7 @@ ts_int_reset_default: ts-int-reset-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
usb_id_default: usb-id-default {
|
||||
usb_id_default: usb-id-default-state {
|
||||
pins = "gpio69";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -263,7 +263,7 @@ l18 {
|
|||
};
|
||||
|
||||
&msmgpio {
|
||||
gpio_keys_default: gpio-keys-default {
|
||||
gpio_keys_default: gpio-keys-default-state {
|
||||
pins = "gpio107", "gpio117";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -271,7 +271,7 @@ gpio_keys_default: gpio-keys-default {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
imu_default: imu-default {
|
||||
imu_default: imu-default-state {
|
||||
pins = "gpio36";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -279,7 +279,7 @@ imu_default: imu-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
mag_reset_default: mag-reset-default {
|
||||
mag_reset_default: mag-reset-default-state {
|
||||
pins = "gpio112";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -287,7 +287,7 @@ mag_reset_default: mag-reset-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
sd_vmmc_en_default: sd-vmmc-en-default {
|
||||
sd_vmmc_en_default: sd-vmmc-en-default-state {
|
||||
pins = "gpio87";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -295,14 +295,16 @@ sd_vmmc_en_default: sd-vmmc-en-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
touchscreen_default: touchscreen-default {
|
||||
touchscreen_default: touchscreen-default-state {
|
||||
touch-pins {
|
||||
pins = "gpio13";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
reset {
|
||||
reset-pins {
|
||||
pins = "gpio12";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -311,7 +313,7 @@ reset {
|
|||
};
|
||||
};
|
||||
|
||||
usb_id_default: usb-id-default {
|
||||
usb_id_default: usb-id-default-state {
|
||||
pins = "gpio110";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
// Copyright (C) 2021 Stephan Gerhold
|
||||
/*
|
||||
* Copyright (C) 2021 Stephan Gerhold
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
|
@ -414,7 +416,7 @@ l18 {
|
|||
};
|
||||
|
||||
&msmgpio {
|
||||
accel_irq_default: accel-irq-default {
|
||||
accel_irq_default: accel-irq-default-state {
|
||||
pins = "gpio115";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -422,7 +424,7 @@ accel_irq_default: accel-irq-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
gpio_keys_default: gpio-keys-default {
|
||||
gpio_keys_default: gpio-keys-default-state {
|
||||
pins = "gpio107";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -430,7 +432,7 @@ gpio_keys_default: gpio-keys-default {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
gpio_leds_default: gpio-leds-default {
|
||||
gpio_leds_default: gpio-leds-default-state {
|
||||
pins = "gpio8", "gpio9", "gpio10";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -438,7 +440,7 @@ gpio_leds_default: gpio-leds-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
nfc_default: nfc-default {
|
||||
nfc_default: nfc-default-state {
|
||||
pins = "gpio2", "gpio20", "gpio21";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -446,7 +448,7 @@ nfc_default: nfc-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
mag_reset_default: mag-reset-default {
|
||||
mag_reset_default: mag-reset-default-state {
|
||||
pins = "gpio36";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -454,7 +456,7 @@ mag_reset_default: mag-reset-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
prox_irq_default: prox-irq-default {
|
||||
prox_irq_default: prox-irq-default-state {
|
||||
pins = "gpio113";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -462,7 +464,7 @@ prox_irq_default: prox-irq-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
reg_lcd_en_default: reg-lcd-en-default {
|
||||
reg_lcd_en_default: reg-lcd-en-default-state {
|
||||
pins = "gpio32", "gpio97";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -470,7 +472,7 @@ reg_lcd_en_default: reg-lcd-en-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
sdhc2_cd_default: sdhc2-cd-default {
|
||||
sdhc2_cd_default: sdhc2-cd-default-state {
|
||||
pins = "gpio56";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -478,7 +480,7 @@ sdhc2_cd_default: sdhc2-cd-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
ts_irq_default: ts-irq-default {
|
||||
ts_irq_default: ts-irq-default-state {
|
||||
pins = "gpio13";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -486,7 +488,7 @@ ts_irq_default: ts-irq-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
usb_id_default: usb-id-default {
|
||||
usb_id_default: usb-id-default-state {
|
||||
pins = "gpio117";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ chosen {
|
|||
};
|
||||
|
||||
reserved-memory {
|
||||
// wcnss.mdt is not relocatable, so it must be loaded at 0x8b600000
|
||||
/* wcnss.mdt is not relocatable, so it must be loaded at 0x8b600000 */
|
||||
/delete-node/ wcnss@89300000;
|
||||
|
||||
wcnss_mem: wcnss@8b600000 {
|
||||
|
@ -204,12 +204,12 @@ rmi4@20 {
|
|||
|
||||
rmi4-f01@1 {
|
||||
reg = <0x1>;
|
||||
syna,nosleep-mode = <1>; // Allow sleeping
|
||||
syna,nosleep-mode = <1>; /* Allow sleeping */
|
||||
};
|
||||
|
||||
rmi4-f12@12 {
|
||||
reg = <0x12>;
|
||||
syna,sensor-type = <1>; // Touchscreen
|
||||
syna,sensor-type = <1>; /* Touchscreen */
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -367,7 +367,7 @@ l18 {
|
|||
};
|
||||
|
||||
&msmgpio {
|
||||
accel_int_default: accel-int-default {
|
||||
accel_int_default: accel-int-default-state {
|
||||
pins = "gpio116";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -375,7 +375,7 @@ accel_int_default: accel-int-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
camera_flash_default: camera-flash-default {
|
||||
camera_flash_default: camera-flash-default-state {
|
||||
pins = "gpio31", "gpio32";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -383,7 +383,7 @@ camera_flash_default: camera-flash-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
ctp_pwr_en_default: ctp-pwr-en-default {
|
||||
ctp_pwr_en_default: ctp-pwr-en-default-state {
|
||||
pins = "gpio17";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -391,7 +391,7 @@ ctp_pwr_en_default: ctp-pwr-en-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
gpio_keys_default: gpio-keys-default {
|
||||
gpio_keys_default: gpio-keys-default-state {
|
||||
pins = "gpio107";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -399,7 +399,7 @@ gpio_keys_default: gpio-keys-default {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
gyro_int_default: gyro-int-default {
|
||||
gyro_int_default: gyro-int-default-state {
|
||||
pins = "gpio22", "gpio23";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -407,7 +407,7 @@ gyro_int_default: gyro-int-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
light_int_default: light-int-default {
|
||||
light_int_default: light-int-default-state {
|
||||
pins = "gpio115";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -415,7 +415,7 @@ light_int_default: light-int-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
magn_int_default: magn-int-default {
|
||||
magn_int_default: magn-int-default-state {
|
||||
pins = "gpio113";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -423,7 +423,7 @@ magn_int_default: magn-int-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tp_int_default: tp-int-default {
|
||||
tp_int_default: tp-int-default-state {
|
||||
pins = "gpio13";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -234,7 +234,7 @@ l18 {
|
|||
};
|
||||
|
||||
&msmgpio {
|
||||
button_backlight_default: button-backlight-default {
|
||||
button_backlight_default: button-backlight-default-state {
|
||||
pins = "gpio17";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -242,7 +242,7 @@ button_backlight_default: button-backlight-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
gpio_keys_default: gpio-keys-default {
|
||||
gpio_keys_default: gpio-keys-default-state {
|
||||
pins = "gpio107";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -250,7 +250,7 @@ gpio_keys_default: gpio-keys-default {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
mag_reset_default: mag-reset-default {
|
||||
mag_reset_default: mag-reset-default-state {
|
||||
pins = "gpio111";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -258,7 +258,7 @@ mag_reset_default: mag-reset-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
usb_id_default: usb-id-default {
|
||||
usb_id_default: usb-id-default-state {
|
||||
pins = "gpio110";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
&msmgpio {
|
||||
|
||||
blsp1_uart1_default: blsp1-uart1-default {
|
||||
// TX, RX, CTS_N, RTS_N
|
||||
blsp1_uart1_default: blsp1-uart1-default-state {
|
||||
/* TX, RX, CTS_N, RTS_N */
|
||||
pins = "gpio0", "gpio1", "gpio2", "gpio3";
|
||||
function = "blsp_uart1";
|
||||
|
||||
|
@ -14,7 +14,7 @@ blsp1_uart1_default: blsp1-uart1-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_uart1_sleep: blsp1-uart1-sleep {
|
||||
blsp1_uart1_sleep: blsp1-uart1-sleep-state {
|
||||
pins = "gpio0", "gpio1", "gpio2", "gpio3";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -22,7 +22,7 @@ blsp1_uart1_sleep: blsp1-uart1-sleep {
|
|||
bias-pull-down;
|
||||
};
|
||||
|
||||
blsp1_uart2_default: blsp1-uart2-default {
|
||||
blsp1_uart2_default: blsp1-uart2-default-state {
|
||||
pins = "gpio4", "gpio5";
|
||||
function = "blsp_uart2";
|
||||
|
||||
|
@ -30,7 +30,7 @@ blsp1_uart2_default: blsp1-uart2-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_uart2_sleep: blsp1-uart2-sleep {
|
||||
blsp1_uart2_sleep: blsp1-uart2-sleep-state {
|
||||
pins = "gpio4", "gpio5";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -38,14 +38,15 @@ blsp1_uart2_sleep: blsp1-uart2-sleep {
|
|||
bias-pull-down;
|
||||
};
|
||||
|
||||
spi1_default: spi1-default {
|
||||
spi1_default: spi1-default-state {
|
||||
spi-pins {
|
||||
pins = "gpio0", "gpio1", "gpio3";
|
||||
function = "blsp_spi1";
|
||||
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
|
||||
cs {
|
||||
};
|
||||
cs-pins {
|
||||
pins = "gpio2";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -55,7 +56,7 @@ cs {
|
|||
};
|
||||
};
|
||||
|
||||
spi1_sleep: spi1-sleep {
|
||||
spi1_sleep: spi1-sleep-state {
|
||||
pins = "gpio0", "gpio1", "gpio2", "gpio3";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -63,14 +64,15 @@ spi1_sleep: spi1-sleep {
|
|||
bias-pull-down;
|
||||
};
|
||||
|
||||
spi2_default: spi2-default {
|
||||
spi2_default: spi2-default-state {
|
||||
spi-pins {
|
||||
pins = "gpio4", "gpio5", "gpio7";
|
||||
function = "blsp_spi2";
|
||||
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
|
||||
cs {
|
||||
};
|
||||
cs-pins {
|
||||
pins = "gpio6";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -80,7 +82,7 @@ cs {
|
|||
};
|
||||
};
|
||||
|
||||
spi2_sleep: spi2-sleep {
|
||||
spi2_sleep: spi2-sleep-state {
|
||||
pins = "gpio4", "gpio5", "gpio6", "gpio7";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -88,14 +90,15 @@ spi2_sleep: spi2-sleep {
|
|||
bias-pull-down;
|
||||
};
|
||||
|
||||
spi3_default: spi3-default {
|
||||
spi3_default: spi3-default-state {
|
||||
spi-pins {
|
||||
pins = "gpio8", "gpio9", "gpio11";
|
||||
function = "blsp_spi3";
|
||||
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
|
||||
cs {
|
||||
};
|
||||
cs-pins {
|
||||
pins = "gpio10";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -105,7 +108,7 @@ cs {
|
|||
};
|
||||
};
|
||||
|
||||
spi3_sleep: spi3-sleep {
|
||||
spi3_sleep: spi3-sleep-state {
|
||||
pins = "gpio8", "gpio9", "gpio10", "gpio11";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -113,14 +116,15 @@ spi3_sleep: spi3-sleep {
|
|||
bias-pull-down;
|
||||
};
|
||||
|
||||
spi4_default: spi4-default {
|
||||
spi4_default: spi4-default-state {
|
||||
spi-pins {
|
||||
pins = "gpio12", "gpio13", "gpio15";
|
||||
function = "blsp_spi4";
|
||||
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
|
||||
cs {
|
||||
};
|
||||
cs-pins {
|
||||
pins = "gpio14";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -130,7 +134,7 @@ cs {
|
|||
};
|
||||
};
|
||||
|
||||
spi4_sleep: spi4-sleep {
|
||||
spi4_sleep: spi4-sleep-state {
|
||||
pins = "gpio12", "gpio13", "gpio14", "gpio15";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -138,14 +142,15 @@ spi4_sleep: spi4-sleep {
|
|||
bias-pull-down;
|
||||
};
|
||||
|
||||
spi5_default: spi5-default {
|
||||
spi5_default: spi5-default-state {
|
||||
spi-pins {
|
||||
pins = "gpio16", "gpio17", "gpio19";
|
||||
function = "blsp_spi5";
|
||||
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
|
||||
cs {
|
||||
};
|
||||
cs-pins {
|
||||
pins = "gpio18";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -155,7 +160,7 @@ cs {
|
|||
};
|
||||
};
|
||||
|
||||
spi5_sleep: spi5-sleep {
|
||||
spi5_sleep: spi5-sleep-state {
|
||||
pins = "gpio16", "gpio17", "gpio18", "gpio19";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -163,14 +168,15 @@ spi5_sleep: spi5-sleep {
|
|||
bias-pull-down;
|
||||
};
|
||||
|
||||
spi6_default: spi6-default {
|
||||
spi6_default: spi6-default-state {
|
||||
spi-pins {
|
||||
pins = "gpio20", "gpio21", "gpio23";
|
||||
function = "blsp_spi6";
|
||||
|
||||
drive-strength = <12>;
|
||||
bias-disable;
|
||||
|
||||
cs {
|
||||
};
|
||||
cs-pins {
|
||||
pins = "gpio22";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -180,7 +186,7 @@ cs {
|
|||
};
|
||||
};
|
||||
|
||||
spi6_sleep: spi6-sleep {
|
||||
spi6_sleep: spi6-sleep-state {
|
||||
pins = "gpio20", "gpio21", "gpio22", "gpio23";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -188,7 +194,7 @@ spi6_sleep: spi6-sleep {
|
|||
bias-pull-down;
|
||||
};
|
||||
|
||||
i2c1_default: i2c1-default {
|
||||
i2c1_default: i2c1-default-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
function = "blsp_i2c1";
|
||||
|
||||
|
@ -196,7 +202,7 @@ i2c1_default: i2c1-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
i2c1_sleep: i2c1-sleep {
|
||||
i2c1_sleep: i2c1-sleep-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -204,7 +210,7 @@ i2c1_sleep: i2c1-sleep {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
i2c2_default: i2c2-default {
|
||||
i2c2_default: i2c2-default-state {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "blsp_i2c2";
|
||||
|
||||
|
@ -212,7 +218,7 @@ i2c2_default: i2c2-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
i2c2_sleep: i2c2-sleep {
|
||||
i2c2_sleep: i2c2-sleep-state {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -220,7 +226,7 @@ i2c2_sleep: i2c2-sleep {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
i2c3_default: i2c3-default {
|
||||
i2c3_default: i2c3-default-state {
|
||||
pins = "gpio10", "gpio11";
|
||||
function = "blsp_i2c3";
|
||||
|
||||
|
@ -228,7 +234,7 @@ i2c3_default: i2c3-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
i2c3_sleep: i2c3-sleep {
|
||||
i2c3_sleep: i2c3-sleep-state {
|
||||
pins = "gpio10", "gpio11";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -236,7 +242,7 @@ i2c3_sleep: i2c3-sleep {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
i2c4_default: i2c4-default {
|
||||
i2c4_default: i2c4-default-state {
|
||||
pins = "gpio14", "gpio15";
|
||||
function = "blsp_i2c4";
|
||||
|
||||
|
@ -244,7 +250,7 @@ i2c4_default: i2c4-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
i2c4_sleep: i2c4-sleep {
|
||||
i2c4_sleep: i2c4-sleep-state {
|
||||
pins = "gpio14", "gpio15";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -252,7 +258,7 @@ i2c4_sleep: i2c4-sleep {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
i2c5_default: i2c5-default {
|
||||
i2c5_default: i2c5-default-state {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "blsp_i2c5";
|
||||
|
||||
|
@ -260,7 +266,7 @@ i2c5_default: i2c5-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
i2c5_sleep: i2c5-sleep {
|
||||
i2c5_sleep: i2c5-sleep-state {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -268,7 +274,7 @@ i2c5_sleep: i2c5-sleep {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
i2c6_default: i2c6-default {
|
||||
i2c6_default: i2c6-default-state {
|
||||
pins = "gpio22", "gpio23";
|
||||
function = "blsp_i2c6";
|
||||
|
||||
|
@ -276,7 +282,7 @@ i2c6_default: i2c6-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
i2c6_sleep: i2c6-sleep {
|
||||
i2c6_sleep: i2c6-sleep-state {
|
||||
pins = "gpio22", "gpio23";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -284,14 +290,14 @@ i2c6_sleep: i2c6-sleep {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
pmx-sdc1-clk {
|
||||
sdc1_clk_on: clk-on {
|
||||
pmx-sdc1-clk-state {
|
||||
sdc1_clk_on: clk-on-pins {
|
||||
pins = "sdc1_clk";
|
||||
|
||||
bias-disable;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
sdc1_clk_off: clk-off {
|
||||
sdc1_clk_off: clk-off-pins {
|
||||
pins = "sdc1_clk";
|
||||
|
||||
bias-disable;
|
||||
|
@ -299,14 +305,14 @@ sdc1_clk_off: clk-off {
|
|||
};
|
||||
};
|
||||
|
||||
pmx-sdc1-cmd {
|
||||
sdc1_cmd_on: cmd-on {
|
||||
pmx-sdc1-cmd-state {
|
||||
sdc1_cmd_on: cmd-on-pins {
|
||||
pins = "sdc1_cmd";
|
||||
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
sdc1_cmd_off: cmd-off {
|
||||
sdc1_cmd_off: cmd-off-pins {
|
||||
pins = "sdc1_cmd";
|
||||
|
||||
bias-pull-up;
|
||||
|
@ -314,14 +320,14 @@ sdc1_cmd_off: cmd-off {
|
|||
};
|
||||
};
|
||||
|
||||
pmx-sdc1-data {
|
||||
sdc1_data_on: data-on {
|
||||
pmx-sdc1-data-state {
|
||||
sdc1_data_on: data-on-pins {
|
||||
pins = "sdc1_data";
|
||||
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
sdc1_data_off: data-off {
|
||||
sdc1_data_off: data-off-pins {
|
||||
pins = "sdc1_data";
|
||||
|
||||
bias-pull-up;
|
||||
|
@ -329,14 +335,14 @@ sdc1_data_off: data-off {
|
|||
};
|
||||
};
|
||||
|
||||
pmx-sdc2-clk {
|
||||
sdc2_clk_on: clk-on {
|
||||
pmx-sdc2-clk-state {
|
||||
sdc2_clk_on: clk-on-pins {
|
||||
pins = "sdc2_clk";
|
||||
|
||||
bias-disable;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
sdc2_clk_off: clk-off {
|
||||
sdc2_clk_off: clk-off-pins {
|
||||
pins = "sdc2_clk";
|
||||
|
||||
bias-disable;
|
||||
|
@ -344,14 +350,14 @@ sdc2_clk_off: clk-off {
|
|||
};
|
||||
};
|
||||
|
||||
pmx-sdc2-cmd {
|
||||
sdc2_cmd_on: cmd-on {
|
||||
pmx-sdc2-cmd-state {
|
||||
sdc2_cmd_on: cmd-on-pins {
|
||||
pins = "sdc2_cmd";
|
||||
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
sdc2_cmd_off: cmd-off {
|
||||
sdc2_cmd_off: cmd-off-pins {
|
||||
pins = "sdc2_cmd";
|
||||
|
||||
bias-pull-up;
|
||||
|
@ -359,14 +365,14 @@ sdc2_cmd_off: cmd-off {
|
|||
};
|
||||
};
|
||||
|
||||
pmx-sdc2-data {
|
||||
sdc2_data_on: data-on {
|
||||
pmx-sdc2-data-state {
|
||||
sdc2_data_on: data-on-pins {
|
||||
pins = "sdc2_data";
|
||||
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
sdc2_data_off: data-off {
|
||||
sdc2_data_off: data-off-pins {
|
||||
pins = "sdc2_data";
|
||||
|
||||
bias-pull-up;
|
||||
|
@ -374,15 +380,15 @@ sdc2_data_off: data-off {
|
|||
};
|
||||
};
|
||||
|
||||
pmx-sdc2-cd-pin {
|
||||
sdc2_cd_on: cd-on {
|
||||
pmx-sdc2-cd-pin-state {
|
||||
sdc2_cd_on: cd-on-pins {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
sdc2_cd_off: cd-off {
|
||||
sdc2_cd_off: cd-off-pins {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -391,8 +397,8 @@ sdc2_cd_off: cd-off {
|
|||
};
|
||||
};
|
||||
|
||||
cdc-pdm-lines {
|
||||
cdc_pdm_lines_act: pdm-lines-on {
|
||||
cdc-pdm-lines-state {
|
||||
cdc_pdm_lines_act: pdm-lines-on-pins {
|
||||
pins = "gpio63", "gpio64", "gpio65", "gpio66",
|
||||
"gpio67", "gpio68";
|
||||
function = "cdc_pdm0";
|
||||
|
@ -400,7 +406,7 @@ cdc_pdm_lines_act: pdm-lines-on {
|
|||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
cdc_pdm_lines_sus: pdm-lines-off {
|
||||
cdc_pdm_lines_sus: pdm-lines-off-pins {
|
||||
pins = "gpio63", "gpio64", "gpio65", "gpio66",
|
||||
"gpio67", "gpio68";
|
||||
function = "cdc_pdm0";
|
||||
|
@ -410,15 +416,15 @@ cdc_pdm_lines_sus: pdm-lines-off {
|
|||
};
|
||||
};
|
||||
|
||||
ext-pri-tlmm-lines {
|
||||
ext_pri_tlmm_lines_act: ext-pa-on {
|
||||
ext-pri-tlmm-lines-state {
|
||||
ext_pri_tlmm_lines_act: ext-pa-on-pins {
|
||||
pins = "gpio113", "gpio114", "gpio115", "gpio116";
|
||||
function = "pri_mi2s";
|
||||
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
ext_pri_tlmm_lines_sus: ext-pa-off {
|
||||
ext_pri_tlmm_lines_sus: ext-pa-off-pins {
|
||||
pins = "gpio113", "gpio114", "gpio115", "gpio116";
|
||||
function = "pri_mi2s";
|
||||
|
||||
|
@ -427,15 +433,15 @@ ext_pri_tlmm_lines_sus: ext-pa-off {
|
|||
};
|
||||
};
|
||||
|
||||
ext-pri-ws-line {
|
||||
ext_pri_ws_act: ext-pa-on {
|
||||
ext-pri-ws-line-state {
|
||||
ext_pri_ws_act: ext-pa-on-pins {
|
||||
pins = "gpio110";
|
||||
function = "pri_mi2s_ws";
|
||||
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
ext_pri_ws_sus: ext-pa-off {
|
||||
ext_pri_ws_sus: ext-pa-off-pins {
|
||||
pins = "gpio110";
|
||||
function = "pri_mi2s_ws";
|
||||
|
||||
|
@ -444,15 +450,15 @@ ext_pri_ws_sus: ext-pa-off {
|
|||
};
|
||||
};
|
||||
|
||||
ext-mclk-tlmm-lines {
|
||||
ext_mclk_tlmm_lines_act: mclk-lines-on {
|
||||
ext-mclk-tlmm-lines-state {
|
||||
ext_mclk_tlmm_lines_act: mclk-lines-on-pins {
|
||||
pins = "gpio116";
|
||||
function = "pri_mi2s";
|
||||
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
ext_mclk_tlmm_lines_sus: mclk-lines-off {
|
||||
ext_mclk_tlmm_lines_sus: mclk-lines-off-pins {
|
||||
pins = "gpio116";
|
||||
function = "pri_mi2s";
|
||||
|
||||
|
@ -462,15 +468,15 @@ ext_mclk_tlmm_lines_sus: mclk-lines-off {
|
|||
};
|
||||
|
||||
/* secondary Mi2S */
|
||||
ext-sec-tlmm-lines {
|
||||
ext_sec_tlmm_lines_act: tlmm-lines-on {
|
||||
ext-sec-tlmm-lines-state {
|
||||
ext_sec_tlmm_lines_act: tlmm-lines-on-pins {
|
||||
pins = "gpio112", "gpio117", "gpio118", "gpio119";
|
||||
function = "sec_mi2s";
|
||||
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
ext_sec_tlmm_lines_sus: tlmm-lines-off {
|
||||
ext_sec_tlmm_lines_sus: tlmm-lines-off-pins {
|
||||
pins = "gpio112", "gpio117", "gpio118", "gpio119";
|
||||
function = "sec_mi2s";
|
||||
|
||||
|
@ -479,30 +485,29 @@ ext_sec_tlmm_lines_sus: tlmm-lines-off {
|
|||
};
|
||||
};
|
||||
|
||||
cdc-dmic-lines {
|
||||
cdc_dmic_lines_act: dmic-lines-on {
|
||||
clk {
|
||||
cdc_dmic_lines_act: cdc-dmic-lines-on-state {
|
||||
clk-pins {
|
||||
pins = "gpio0";
|
||||
function = "dmic0_clk";
|
||||
|
||||
drive-strength = <8>;
|
||||
};
|
||||
data {
|
||||
data-pins {
|
||||
pins = "gpio1";
|
||||
function = "dmic0_data";
|
||||
|
||||
drive-strength = <8>;
|
||||
};
|
||||
};
|
||||
cdc_dmic_lines_sus: dmic-lines-off {
|
||||
clk {
|
||||
cdc_dmic_lines_sus: cdc-dmic-lines-off-state {
|
||||
clk-pins {
|
||||
pins = "gpio0";
|
||||
function = "dmic0_clk";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
data {
|
||||
data-pins {
|
||||
pins = "gpio1";
|
||||
function = "dmic0_data";
|
||||
|
||||
|
@ -510,9 +515,8 @@ data {
|
|||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wcnss_pin_a: wcnss-active {
|
||||
wcnss_pin_a: wcnss-active-state {
|
||||
pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
|
||||
function = "wcss_wlan";
|
||||
|
||||
|
@ -520,7 +524,7 @@ wcnss_pin_a: wcnss-active {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
cci0_default: cci0-default {
|
||||
cci0_default: cci0-default-state {
|
||||
pins = "gpio29", "gpio30";
|
||||
function = "cci_i2c";
|
||||
|
||||
|
@ -528,22 +532,22 @@ cci0_default: cci0-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
camera_front_default: camera-front-default {
|
||||
pwdn {
|
||||
camera_front_default: camera-front-default-state {
|
||||
pwdn-pins {
|
||||
pins = "gpio33";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
rst {
|
||||
rst-pins {
|
||||
pins = "gpio28";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
mclk1 {
|
||||
mclk1-pins {
|
||||
pins = "gpio27";
|
||||
function = "cam_mclk1";
|
||||
|
||||
|
@ -552,22 +556,22 @@ mclk1 {
|
|||
};
|
||||
};
|
||||
|
||||
camera_rear_default: camera-rear-default {
|
||||
pwdn {
|
||||
camera_rear_default: camera-rear-default-state {
|
||||
pwdn-pins {
|
||||
pins = "gpio34";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
rst {
|
||||
rst-pins {
|
||||
pins = "gpio35";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
mclk0 {
|
||||
mclk0-pins {
|
||||
pins = "gpio26";
|
||||
function = "cam_mclk0";
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ &usb_hs_phy {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
smd_rpm_regulators: pm8916-regulators {
|
||||
smd_rpm_regulators: regulators {
|
||||
compatible = "qcom,rpm-pm8916-regulators";
|
||||
|
||||
/* pm8916_s1 is managed by rpmpd (MSM8916_VDDCX) */
|
||||
|
|
|
@ -23,6 +23,17 @@ tz-apps@85500000 {
|
|||
};
|
||||
};
|
||||
|
||||
clk_pwm: pwm {
|
||||
compatible = "clk-pwm";
|
||||
#pwm-cells = <2>;
|
||||
|
||||
clocks = <&gcc GCC_GP2_CLK>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&motor_pwm_default>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
|
@ -61,6 +72,24 @@ event-hall-sensor {
|
|||
};
|
||||
};
|
||||
|
||||
/*
|
||||
* NOTE: A5 connects GPIO 76 to a reglator powering the motor
|
||||
* driver IC but A3 connects the same signal to an ENABLE pin of
|
||||
* the driver.
|
||||
*/
|
||||
reg_motor_vdd: regulator-motor-vdd {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "motor_vdd";
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
|
||||
gpio = <&msmgpio 76 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&motor_en_default>;
|
||||
};
|
||||
|
||||
reg_vdd_tsp_a: regulator-vdd-tsp-a {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vdd_tsp_a";
|
||||
|
@ -144,7 +173,7 @@ nfc@27 {
|
|||
interrupt-parent = <&msmgpio>;
|
||||
interrupts = <21 IRQ_TYPE_EDGE_RISING>;
|
||||
|
||||
en-gpios = <&msmgpio 20 GPIO_ACTIVE_HIGH>;
|
||||
en-gpios = <&msmgpio 20 GPIO_ACTIVE_LOW>;
|
||||
wake-gpios = <&msmgpio 49 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
clocks = <&rpmcc RPM_SMD_BB_CLK2_PIN>;
|
||||
|
@ -153,6 +182,16 @@ nfc@27 {
|
|||
pinctrl-0 = <&nfc_default &nfc_clk_req>;
|
||||
};
|
||||
};
|
||||
|
||||
vibrator: vibrator {
|
||||
compatible = "pwm-vibrator";
|
||||
|
||||
pwms = <&clk_pwm 0 100000>;
|
||||
pwm-names = "enable";
|
||||
|
||||
vcc-supply = <®_motor_vdd>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
&blsp_i2c2 {
|
||||
|
@ -348,7 +387,7 @@ l18 {
|
|||
};
|
||||
|
||||
&msmgpio {
|
||||
accel_int_default: accel-int-default {
|
||||
accel_int_default: accel-int-default-state {
|
||||
pins = "gpio115";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -356,7 +395,7 @@ accel_int_default: accel-int-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
fg_alert_default: fg-alert-default {
|
||||
fg_alert_default: fg-alert-default-state {
|
||||
pins = "gpio121";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -364,7 +403,7 @@ fg_alert_default: fg-alert-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
gpio_keys_default: gpio-keys-default {
|
||||
gpio_keys_default: gpio-keys-default-state {
|
||||
pins = "gpio107", "gpio109";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -372,7 +411,7 @@ gpio_keys_default: gpio-keys-default {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
gpio_hall_sensor_default: gpio-hall-sensor-default {
|
||||
gpio_hall_sensor_default: gpio-hall-sensor-default-state {
|
||||
pins = "gpio52";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -380,24 +419,35 @@ gpio_hall_sensor_default: gpio-hall-sensor-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
mdss {
|
||||
mdss_default: mdss-default {
|
||||
mdss_default: mdss-default-state {
|
||||
pins = "gpio25";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
mdss_sleep: mdss-sleep {
|
||||
mdss_sleep: mdss-sleep-state {
|
||||
pins = "gpio25";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
motor_en_default: motor-en-default-stae {
|
||||
pins = "gpio76";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
muic_i2c_default: muic-i2c-default {
|
||||
motor_pwm_default: motor-pwm-default-state {
|
||||
pins = "gpio50";
|
||||
function = "gcc_gp2_clk_a";
|
||||
};
|
||||
|
||||
muic_i2c_default: muic-i2c-default-state {
|
||||
pins = "gpio105", "gpio106";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -405,7 +455,7 @@ muic_i2c_default: muic-i2c-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
muic_int_default: muic-int-default {
|
||||
muic_int_default: muic-int-default-state {
|
||||
pins = "gpio12";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -413,14 +463,16 @@ muic_int_default: muic-int-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
nfc_default: nfc-default {
|
||||
nfc_default: nfc-default-state {
|
||||
nfc-pins {
|
||||
pins = "gpio20", "gpio49";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
irq {
|
||||
irq-pins {
|
||||
pins = "gpio21";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -429,7 +481,7 @@ irq {
|
|||
};
|
||||
};
|
||||
|
||||
nfc_i2c_default: nfc-i2c-default {
|
||||
nfc_i2c_default: nfc-i2c-default-state {
|
||||
pins = "gpio0", "gpio1";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -437,7 +489,7 @@ nfc_i2c_default: nfc-i2c-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tkey_default: tkey-default {
|
||||
tkey_default: tkey-default-state {
|
||||
pins = "gpio98";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -445,7 +497,7 @@ tkey_default: tkey-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tkey_i2c_default: tkey-i2c-default {
|
||||
tkey_i2c_default: tkey-i2c-default-state {
|
||||
pins = "gpio16", "gpio17";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -453,7 +505,7 @@ tkey_i2c_default: tkey-i2c-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tsp_en_default: tsp-en-default {
|
||||
tsp_en_default: tsp-en-default-state {
|
||||
pins = "gpio73";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -461,7 +513,7 @@ tsp_en_default: tsp-en-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
ts_int_default: ts-int-default {
|
||||
ts_int_default: ts-int-default-state {
|
||||
pins = "gpio13";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -81,6 +81,10 @@ touchscreen@20 {
|
|||
};
|
||||
};
|
||||
|
||||
&clk_pwm {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dsi0 {
|
||||
panel@0 {
|
||||
reg = <0>;
|
||||
|
@ -104,8 +108,12 @@ &dsi0_out {
|
|||
remote-endpoint = <&panel_in>;
|
||||
};
|
||||
|
||||
&vibrator {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&msmgpio {
|
||||
panel_vdd3_default: panel-vdd3-default {
|
||||
panel_vdd3_default: panel-vdd3-default-state {
|
||||
pins = "gpio9";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -113,7 +121,7 @@ panel_vdd3_default: panel-vdd3-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tkey_en_default: tkey-en-default {
|
||||
tkey_en_default: tkey-en-default-state {
|
||||
pins = "gpio86";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -121,7 +129,7 @@ tkey_en_default: tkey-en-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tkey_led_en_default: tkey-led-en-default {
|
||||
tkey_led_en_default: tkey-led-en-default-state {
|
||||
pins = "gpio60";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -50,6 +50,10 @@ touchscreen@48 {
|
|||
};
|
||||
};
|
||||
|
||||
&clk_pwm {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pronto {
|
||||
iris {
|
||||
compatible = "qcom,wcn3660b";
|
||||
|
@ -61,8 +65,12 @@ &touchkey {
|
|||
vdd-supply = <®_touch_key>;
|
||||
};
|
||||
|
||||
&vibrator {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&msmgpio {
|
||||
tkey_en_default: tkey-en-default {
|
||||
tkey_en_default: tkey-en-default-state {
|
||||
pins = "gpio97";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -26,19 +26,6 @@ muic: extcon@14 {
|
|||
};
|
||||
};
|
||||
|
||||
reg_motor_vdd: regulator-motor-vdd {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "motor_vdd";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
|
||||
gpio = <&msmgpio 76 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&motor_en_default>;
|
||||
};
|
||||
|
||||
reg_touch_key: regulator-touch-key {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "touch_key";
|
||||
|
@ -61,21 +48,18 @@ &blsp_i2c2 {
|
|||
/delete-node/ magnetometer@12;
|
||||
};
|
||||
|
||||
®_motor_vdd {
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
&touchkey {
|
||||
vcc-supply = <®_touch_key>;
|
||||
vdd-supply = <®_touch_key>;
|
||||
};
|
||||
|
||||
&msmgpio {
|
||||
motor_en_default: motor-en-default {
|
||||
pins = "gpio76";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
tkey_en_default: tkey-en-default {
|
||||
tkey_en_default: tkey-en-default-state {
|
||||
pins = "gpio97";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ ®_touch_key {
|
|||
};
|
||||
|
||||
&msmgpio {
|
||||
gpio_leds_default: gpio-led-default {
|
||||
gpio_leds_default: gpio-led-default-state {
|
||||
pins = "gpio60";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -199,7 +199,7 @@ l18 {
|
|||
};
|
||||
|
||||
&msmgpio {
|
||||
gpio_keys_default: gpio-keys-default {
|
||||
gpio_keys_default: gpio-keys-default-state {
|
||||
pins = "gpio107", "gpio109";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
// Copyright (C) 2019 Stephan Gerhold
|
||||
/*
|
||||
* Copyright (C) 2019 Stephan Gerhold
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
|
@ -422,7 +424,7 @@ l18 {
|
|||
};
|
||||
|
||||
&msmgpio {
|
||||
fg_alert_default: fg-alert-default {
|
||||
fg_alert_default: fg-alert-default-state {
|
||||
pins = "gpio121";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -430,7 +432,7 @@ fg_alert_default: fg-alert-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
gpio_keys_default: gpio-keys-default {
|
||||
gpio_keys_default: gpio-keys-default-state {
|
||||
pins = "gpio107", "gpio109";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -438,7 +440,7 @@ gpio_keys_default: gpio-keys-default {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
gpio_hall_sensor_default: gpio-hall-sensor-default {
|
||||
gpio_hall_sensor_default: gpio-hall-sensor-default-state {
|
||||
pins = "gpio52";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -446,7 +448,7 @@ gpio_hall_sensor_default: gpio-hall-sensor-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
imu_irq_default: imu-irq-default {
|
||||
imu_irq_default: imu-irq-default-state {
|
||||
pins = "gpio115";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -454,7 +456,7 @@ imu_irq_default: imu-irq-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
muic_i2c_default: muic-i2c-default {
|
||||
muic_i2c_default: muic-i2c-default-state {
|
||||
pins = "gpio105", "gpio106";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -462,7 +464,7 @@ muic_i2c_default: muic-i2c-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
muic_irq_default: muic-irq-default {
|
||||
muic_irq_default: muic-irq-default-state {
|
||||
pins = "gpio12";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -470,14 +472,15 @@ muic_irq_default: muic-irq-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
nfc_default: nfc-default {
|
||||
nfc_default: nfc-default-state {
|
||||
nfc-pins {
|
||||
pins = "gpio20", "gpio49";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
|
||||
irq {
|
||||
};
|
||||
irq-pins {
|
||||
pins = "gpio21";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -486,7 +489,7 @@ irq {
|
|||
};
|
||||
};
|
||||
|
||||
nfc_i2c_default: nfc-i2c-default {
|
||||
nfc_i2c_default: nfc-i2c-default-state {
|
||||
pins = "gpio0", "gpio1";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -494,7 +497,7 @@ nfc_i2c_default: nfc-i2c-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tkey_default: tkey-default {
|
||||
tkey_default: tkey-default-state {
|
||||
pins = "gpio98";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -502,7 +505,7 @@ tkey_default: tkey-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tkey_en_default: tkey-en-default {
|
||||
tkey_en_default: tkey-en-default-state {
|
||||
pins = "gpio86";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -510,7 +513,7 @@ tkey_en_default: tkey-en-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tkey_i2c_default: tkey-i2c-default {
|
||||
tkey_i2c_default: tkey-i2c-default-state {
|
||||
pins = "gpio16", "gpio17";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -518,7 +521,7 @@ tkey_i2c_default: tkey-i2c-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tkey_led_en_default: tkey-led-en-default {
|
||||
tkey_led_en_default: tkey-led-en-default-state {
|
||||
pins = "gpio60";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -526,7 +529,7 @@ tkey_led_en_default: tkey-led-en-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tsp_en_default: tsp-en-default {
|
||||
tsp_en_default: tsp-en-default-state {
|
||||
pins = "gpio73";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -534,7 +537,7 @@ tsp_en_default: tsp-en-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
tsp_irq_default: tsp-irq-default {
|
||||
tsp_irq_default: tsp-irq-default-state {
|
||||
pins = "gpio13";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
// Copyright (C) 2020 Stephan Gerhold
|
||||
/*
|
||||
* Copyright (C) 2020 Stephan Gerhold
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
|
@ -272,7 +274,7 @@ l18 {
|
|||
};
|
||||
|
||||
&msmgpio {
|
||||
gpio_keys_default: gpio-keys-default {
|
||||
gpio_keys_default: gpio-keys-default-state {
|
||||
pins = "gpio107";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -280,7 +282,7 @@ gpio_keys_default: gpio-keys-default {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
imu_default: imu-default {
|
||||
imu_default: imu-default-state {
|
||||
pins = "gpio115";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -288,14 +290,15 @@ imu_default: imu-default {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
touchscreen_default: touchscreen-default {
|
||||
touchscreen_default: touchscreen-default-state {
|
||||
touchscreen-pins {
|
||||
pins = "gpio13";
|
||||
function = "gpio";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
|
||||
reset {
|
||||
};
|
||||
reset-pins {
|
||||
pins = "gpio12";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -304,7 +307,7 @@ reset {
|
|||
};
|
||||
};
|
||||
|
||||
usb_id_default: usb-id-default {
|
||||
usb_id_default: usb-id-default-state {
|
||||
pins = "gpio110";
|
||||
function = "gpio";
|
||||
|
||||
|
|
|
@ -1046,7 +1046,6 @@ dsi0: dsi@1a98000 {
|
|||
"pixel",
|
||||
"core";
|
||||
phys = <&dsi_phy0>;
|
||||
phy-names = "dsi-phy";
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
@ -1070,7 +1069,7 @@ dsi0_out: endpoint {
|
|||
};
|
||||
};
|
||||
|
||||
dsi_phy0: dsi-phy@1a98300 {
|
||||
dsi_phy0: phy@1a98300 {
|
||||
compatible = "qcom,dsi-phy-28nm-lp";
|
||||
reg = <0x01a98300 0xd4>,
|
||||
<0x01a98500 0x280>,
|
||||
|
@ -1264,21 +1263,21 @@ apps_iommu: iommu@1ef0000 {
|
|||
clock-names = "iface", "bus";
|
||||
qcom,iommu-secure-id = <17>;
|
||||
|
||||
// vfe:
|
||||
/* VFE */
|
||||
iommu-ctx@3000 {
|
||||
compatible = "qcom,msm-iommu-v1-sec";
|
||||
reg = <0x3000 0x1000>;
|
||||
interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
// mdp_0:
|
||||
/* MDP_0 */
|
||||
iommu-ctx@4000 {
|
||||
compatible = "qcom,msm-iommu-v1-ns";
|
||||
reg = <0x4000 0x1000>;
|
||||
interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
// venus_ns:
|
||||
/* VENUS_NS */
|
||||
iommu-ctx@5000 {
|
||||
compatible = "qcom,msm-iommu-v1-sec";
|
||||
reg = <0x5000 0x1000>;
|
||||
|
@ -1297,14 +1296,14 @@ gpu_iommu: iommu@1f08000 {
|
|||
clock-names = "iface", "bus";
|
||||
qcom,iommu-secure-id = <18>;
|
||||
|
||||
// gfx3d_user:
|
||||
/* GFX3D_USER */
|
||||
iommu-ctx@1000 {
|
||||
compatible = "qcom,msm-iommu-v1-ns";
|
||||
reg = <0x1000 0x1000>;
|
||||
interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
// gfx3d_priv:
|
||||
/* GFX3D_PRIV */
|
||||
iommu-ctx@2000 {
|
||||
compatible = "qcom,msm-iommu-v1-ns";
|
||||
reg = <0x2000 0x1000>;
|
||||
|
@ -1345,7 +1344,7 @@ bam_dmux_dma: dma-controller@4044000 {
|
|||
};
|
||||
|
||||
mpss: remoteproc@4080000 {
|
||||
compatible = "qcom,msm8916-mss-pil", "qcom,q6v5-pil";
|
||||
compatible = "qcom,msm8916-mss-pil";
|
||||
reg = <0x04080000 0x100>,
|
||||
<0x04020000 0x040>;
|
||||
|
||||
|
@ -1438,7 +1437,7 @@ sound: sound@7702000 {
|
|||
|
||||
lpass: audio-controller@7708000 {
|
||||
status = "disabled";
|
||||
compatible = "qcom,lpass-cpu-apq8016";
|
||||
compatible = "qcom,apq8016-lpass-cpu";
|
||||
|
||||
/*
|
||||
* Note: Unlike the name would suggest, the SEC_I2S_CLK
|
||||
|
|
|
@ -460,229 +460,229 @@ tlmm: pinctrl@1000000 {
|
|||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
uart_console_active: uart-console-active-pins {
|
||||
uart_console_active: uart-console-active-state {
|
||||
pins = "gpio4", "gpio5";
|
||||
function = "blsp_uart2";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
uart_console_sleep: uart-console-sleep-pins {
|
||||
uart_console_sleep: uart-console-sleep-state {
|
||||
pins = "gpio4", "gpio5";
|
||||
function = "blsp_uart2";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
sdc1_clk_on: sdc1-clk-on-pins {
|
||||
sdc1_clk_on: sdc1-clk-on-state {
|
||||
pins = "sdc1_clk";
|
||||
bias-disable;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
|
||||
sdc1_clk_off: sdc1-clk-off-pins {
|
||||
sdc1_clk_off: sdc1-clk-off-state {
|
||||
pins = "sdc1_clk";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
sdc1_cmd_on: sdc1-cmd-on-pins {
|
||||
sdc1_cmd_on: sdc1-cmd-on-state {
|
||||
pins = "sdc1_cmd";
|
||||
bias-disable;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
sdc1_cmd_off: sdc1-cmd-off-pins {
|
||||
sdc1_cmd_off: sdc1-cmd-off-state {
|
||||
pins = "sdc1_cmd";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
sdc1_data_on: sdc1-data-on-pins {
|
||||
sdc1_data_on: sdc1-data-on-state {
|
||||
pins = "sdc1_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
sdc1_data_off: sdc1-data-off-pins {
|
||||
sdc1_data_off: sdc1-data-off-state {
|
||||
pins = "sdc1_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
sdc1_rclk_on: sdc1-rclk-on-pins {
|
||||
sdc1_rclk_on: sdc1-rclk-on-state {
|
||||
pins = "sdc1_rclk";
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
sdc1_rclk_off: sdc1-rclk-off-pins {
|
||||
sdc1_rclk_off: sdc1-rclk-off-state {
|
||||
pins = "sdc1_rclk";
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
sdc2_clk_on: sdc2-clk-on-pins {
|
||||
sdc2_clk_on: sdc2-clk-on-state {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
sdc2_clk_off: sdc2-clk-off-pins {
|
||||
sdc2_clk_off: sdc2-clk-off-state {
|
||||
pins = "sdc2_clk";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
sdc2_cmd_on: sdc2-cmd-on-pins {
|
||||
sdc2_cmd_on: sdc2-cmd-on-state {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
sdc2_cmd_off: sdc2-cmd-off-pins {
|
||||
sdc2_cmd_off: sdc2-cmd-off-state {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
sdc2_data_on: sdc2-data-on-pins {
|
||||
sdc2_data_on: sdc2-data-on-state {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
sdc2_data_off: sdc2-data-off-pins {
|
||||
sdc2_data_off: sdc2-data-off-state {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
sdc2_cd_on: cd-on-pins {
|
||||
sdc2_cd_on: cd-on-state {
|
||||
pins = "gpio133";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
sdc2_cd_off: cd-off-pins {
|
||||
sdc2_cd_off: cd-off-state {
|
||||
pins = "gpio133";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
gpio_key_default: gpio-key-default-pins {
|
||||
gpio_key_default: gpio-key-default-state {
|
||||
pins = "gpio85";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
i2c_1_default: i2c-1-default-pins {
|
||||
i2c_1_default: i2c-1-default-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
function = "blsp_i2c1";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_1_sleep: i2c-1-sleep-pins {
|
||||
i2c_1_sleep: i2c-1-sleep-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_2_default: i2c-2-default-pins {
|
||||
i2c_2_default: i2c-2-default-state {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "blsp_i2c2";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_2_sleep: i2c-2-sleep-pins {
|
||||
i2c_2_sleep: i2c-2-sleep-state {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_3_default: i2c-3-default-pins {
|
||||
i2c_3_default: i2c-3-default-state {
|
||||
pins = "gpio10", "gpio11";
|
||||
function = "blsp_i2c3";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_3_sleep: i2c-3-sleep-pins {
|
||||
i2c_3_sleep: i2c-3-sleep-state {
|
||||
pins = "gpio10", "gpio11";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_4_default: i2c-4-default-pins {
|
||||
i2c_4_default: i2c-4-default-state {
|
||||
pins = "gpio14", "gpio15";
|
||||
function = "blsp_i2c4";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_4_sleep: i2c-4-sleep-pins {
|
||||
i2c_4_sleep: i2c-4-sleep-state {
|
||||
pins = "gpio14", "gpio15";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_5_default: i2c-5-default-pins {
|
||||
i2c_5_default: i2c-5-default-state {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "blsp_i2c5";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_5_sleep: i2c-5-sleep-pins {
|
||||
i2c_5_sleep: i2c-5-sleep-state {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_6_default: i2c-6-default-pins {
|
||||
i2c_6_default: i2c-6-default-state {
|
||||
pins = "gpio22", "gpio23";
|
||||
function = "blsp_i2c6";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_6_sleep: i2c-6-sleep-pins {
|
||||
i2c_6_sleep: i2c-6-sleep-state {
|
||||
pins = "gpio22", "gpio23";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_7_default: i2c-7-default-pins {
|
||||
i2c_7_default: i2c-7-default-state {
|
||||
pins = "gpio135", "gpio136";
|
||||
function = "blsp_i2c7";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_7_sleep: i2c-7-sleep-pins {
|
||||
i2c_7_sleep: i2c-7-sleep-state {
|
||||
pins = "gpio135", "gpio136";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_8_default: i2c-8-default-pins {
|
||||
i2c_8_default: i2c-8-default-state {
|
||||
pins = "gpio98", "gpio99";
|
||||
function = "blsp_i2c8";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c_8_sleep: i2c-8-sleep-pins {
|
||||
i2c_8_sleep: i2c-8-sleep-state {
|
||||
pins = "gpio98", "gpio99";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
@ -726,6 +726,250 @@ tcsr_phy_clk_scheme_sel: syscon@193f044 {
|
|||
reg = <0x193f044 0x4>;
|
||||
};
|
||||
|
||||
mdss: mdss@1a00000 {
|
||||
compatible = "qcom,mdss";
|
||||
|
||||
reg = <0x1a00000 0x1000>,
|
||||
<0x1ab0000 0x1040>;
|
||||
reg-names = "mdss_phys",
|
||||
"vbif_phys";
|
||||
|
||||
power-domains = <&gcc MDSS_GDSC>;
|
||||
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <1>;
|
||||
|
||||
clocks = <&gcc GCC_MDSS_AHB_CLK>,
|
||||
<&gcc GCC_MDSS_AXI_CLK>,
|
||||
<&gcc GCC_MDSS_VSYNC_CLK>,
|
||||
<&gcc GCC_MDSS_MDP_CLK>;
|
||||
clock-names = "iface",
|
||||
"bus",
|
||||
"vsync",
|
||||
"core";
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
ranges;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
mdp: mdp@1a01000 {
|
||||
compatible = "qcom,msm8953-mdp5", "qcom,mdp5";
|
||||
reg = <0x1a01000 0x89000>;
|
||||
reg-names = "mdp_phys";
|
||||
|
||||
interrupt-parent = <&mdss>;
|
||||
interrupts = <0>;
|
||||
|
||||
power-domains = <&gcc MDSS_GDSC>;
|
||||
|
||||
clocks = <&gcc GCC_MDSS_AHB_CLK>,
|
||||
<&gcc GCC_MDSS_AXI_CLK>,
|
||||
<&gcc GCC_MDSS_MDP_CLK>,
|
||||
<&gcc GCC_MDSS_VSYNC_CLK>;
|
||||
clock-names = "iface",
|
||||
"bus",
|
||||
"core",
|
||||
"vsync";
|
||||
|
||||
iommus = <&apps_iommu 0x15>;
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
mdp5_intf1_out: endpoint {
|
||||
remote-endpoint = <&dsi0_in>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
mdp5_intf2_out: endpoint {
|
||||
remote-endpoint = <&dsi1_in>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
dsi0: dsi@1a94000 {
|
||||
compatible = "qcom,mdss-dsi-ctrl";
|
||||
reg = <0x1a94000 0x400>;
|
||||
reg-names = "dsi_ctrl";
|
||||
|
||||
interrupt-parent = <&mdss>;
|
||||
interrupts = <4>;
|
||||
|
||||
assigned-clocks = <&gcc BYTE0_CLK_SRC>,
|
||||
<&gcc PCLK0_CLK_SRC>;
|
||||
assigned-clock-parents = <&dsi0_phy 0>,
|
||||
<&dsi0_phy 1>;
|
||||
|
||||
clocks = <&gcc GCC_MDSS_MDP_CLK>,
|
||||
<&gcc GCC_MDSS_AHB_CLK>,
|
||||
<&gcc GCC_MDSS_AXI_CLK>,
|
||||
<&gcc GCC_MDSS_BYTE0_CLK>,
|
||||
<&gcc GCC_MDSS_PCLK0_CLK>,
|
||||
<&gcc GCC_MDSS_ESC0_CLK>;
|
||||
clock-names = "mdp_core",
|
||||
"iface",
|
||||
"bus",
|
||||
"byte",
|
||||
"pixel",
|
||||
"core";
|
||||
|
||||
phys = <&dsi0_phy>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
dsi0_in: endpoint {
|
||||
remote-endpoint = <&mdp5_intf1_out>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
dsi0_out: endpoint {
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
dsi0_phy: phy@1a94400 {
|
||||
compatible = "qcom,dsi-phy-14nm-8953";
|
||||
reg = <0x1a94400 0x100>,
|
||||
<0x1a94500 0x300>,
|
||||
<0x1a94800 0x188>;
|
||||
reg-names = "dsi_phy",
|
||||
"dsi_phy_lane",
|
||||
"dsi_pll";
|
||||
|
||||
#clock-cells = <1>;
|
||||
#phy-cells = <0>;
|
||||
|
||||
clocks = <&gcc GCC_MDSS_AHB_CLK>, <&xo_board>;
|
||||
clock-names = "iface", "ref";
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
dsi1: dsi@1a96000 {
|
||||
compatible = "qcom,mdss-dsi-ctrl";
|
||||
reg = <0x1a96000 0x400>;
|
||||
reg-names = "dsi_ctrl";
|
||||
|
||||
interrupt-parent = <&mdss>;
|
||||
interrupts = <5>;
|
||||
|
||||
assigned-clocks = <&gcc BYTE1_CLK_SRC>,
|
||||
<&gcc PCLK1_CLK_SRC>;
|
||||
assigned-clock-parents = <&dsi1_phy 0>,
|
||||
<&dsi1_phy 1>;
|
||||
|
||||
clocks = <&gcc GCC_MDSS_MDP_CLK>,
|
||||
<&gcc GCC_MDSS_AHB_CLK>,
|
||||
<&gcc GCC_MDSS_AXI_CLK>,
|
||||
<&gcc GCC_MDSS_BYTE1_CLK>,
|
||||
<&gcc GCC_MDSS_PCLK1_CLK>,
|
||||
<&gcc GCC_MDSS_ESC1_CLK>;
|
||||
clock-names = "mdp_core",
|
||||
"iface",
|
||||
"bus",
|
||||
"byte",
|
||||
"pixel",
|
||||
"core";
|
||||
|
||||
phys = <&dsi1_phy>;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
dsi1_in: endpoint {
|
||||
remote-endpoint = <&mdp5_intf2_out>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
dsi1_out: endpoint {
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
dsi1_phy: phy@1a96400 {
|
||||
compatible = "qcom,dsi-phy-14nm-8953";
|
||||
reg = <0x1a96400 0x100>,
|
||||
<0x1a96500 0x300>,
|
||||
<0x1a96800 0x188>;
|
||||
reg-names = "dsi_phy",
|
||||
"dsi_phy_lane",
|
||||
"dsi_pll";
|
||||
|
||||
#clock-cells = <1>;
|
||||
#phy-cells = <0>;
|
||||
|
||||
clocks = <&gcc GCC_MDSS_AHB_CLK>, <&xo_board>;
|
||||
clock-names = "iface", "ref";
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
apps_iommu: iommu@1e00000 {
|
||||
compatible = "qcom,msm8953-iommu", "qcom,msm-iommu-v1";
|
||||
ranges = <0 0x1e20000 0x20000>;
|
||||
|
||||
clocks = <&gcc GCC_SMMU_CFG_CLK>,
|
||||
<&gcc GCC_APSS_TCU_ASYNC_CLK>;
|
||||
clock-names = "iface", "bus";
|
||||
|
||||
qcom,iommu-secure-id = <17>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#iommu-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
/* VFE */
|
||||
iommu-ctx@14000 {
|
||||
compatible = "qcom,msm-iommu-v1-ns";
|
||||
reg = <0x14000 0x1000>;
|
||||
interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
/* MDP_0 */
|
||||
iommu-ctx@15000 {
|
||||
compatible = "qcom,msm-iommu-v1-ns";
|
||||
reg = <0x15000 0x1000>;
|
||||
interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
/* VENUS_NS */
|
||||
iommu-ctx@16000 {
|
||||
compatible = "qcom,msm-iommu-v1-ns";
|
||||
reg = <0x16000 0x1000>;
|
||||
interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
spmi_bus: spmi@200f000 {
|
||||
compatible = "qcom,spmi-pmic-arb";
|
||||
reg = <0x200f000 0x1000>,
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/* Copyright (c) Jean Thomas <virgule@jeanthomas.me>
|
||||
/*
|
||||
* Copyright (c) Jean Thomas <virgule@jeanthomas.me>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/* Copyright (c) Jean Thomas <virgule@jeanthomas.me>
|
||||
/*
|
||||
* Copyright (c) Jean Thomas <virgule@jeanthomas.me>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/* Copyright (c) 2015, LGE Inc. All rights reserved.
|
||||
/*
|
||||
* Copyright (c) 2015, LGE Inc. All rights reserved.
|
||||
* Copyright (c) 2016, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021, Petr Vorel <petr.vorel@gmail.com>
|
||||
*/
|
||||
|
@ -58,7 +59,7 @@ &blsp1_uart2 {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8994_regulators: pm8994-regulators {
|
||||
pm8994_regulators: regulators-0 {
|
||||
compatible = "qcom,rpm-pm8994-regulators";
|
||||
|
||||
vdd_l1-supply = <&pm8994_s1>;
|
||||
|
@ -236,9 +237,11 @@ pm8994_l25: l25 {
|
|||
};
|
||||
|
||||
pm8994_l26: l26 {
|
||||
/* TODO: value from downstream
|
||||
regulator-min-microvolt = <987500>;
|
||||
fails to apply */
|
||||
/*
|
||||
* TODO: value from downstream
|
||||
* regulator-min-microvolt = <987500>;
|
||||
* fails to apply
|
||||
*/
|
||||
};
|
||||
|
||||
pm8994_l27: l27 {
|
||||
|
@ -252,18 +255,18 @@ pm8994_l28: l28 {
|
|||
};
|
||||
|
||||
pm8994_l29: l29 {
|
||||
/* TODO: Unsupported voltage range.
|
||||
regulator-min-microvolt = <2800000>;
|
||||
regulator-max-microvolt = <2800000>;
|
||||
qcom,init-voltage = <2800000>;
|
||||
/*
|
||||
* TODO: Unsupported voltage range.
|
||||
* regulator-min-microvolt = <2800000>;
|
||||
* regulator-max-microvolt = <2800000>;
|
||||
*/
|
||||
};
|
||||
|
||||
pm8994_l30: l30 {
|
||||
/* TODO: get this verified
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,init-voltage = <1800000>;
|
||||
/*
|
||||
* TODO: get this verified
|
||||
* regulator-min-microvolt = <1800000>;
|
||||
* regulator-max-microvolt = <1800000>;
|
||||
*/
|
||||
};
|
||||
|
||||
|
@ -273,15 +276,15 @@ pm8994_l31: l31 {
|
|||
};
|
||||
|
||||
pm8994_l32: l32 {
|
||||
/* TODO: get this verified
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
qcom,init-voltage = <1800000>;
|
||||
/*
|
||||
* TODO: get this verified
|
||||
* regulator-min-microvolt = <1800000>;
|
||||
* regulator-max-microvolt = <1800000>;
|
||||
*/
|
||||
};
|
||||
};
|
||||
|
||||
pmi8994_regulators: pmi8994-regulators {
|
||||
pmi8994_regulators: regulators-1 {
|
||||
compatible = "qcom,rpm-pmi8994-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
|
|
@ -153,7 +153,7 @@ VDD_APC1: s11 {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8994-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8994-regulators";
|
||||
|
||||
vdd_l1-supply = <&pm8994_s7>;
|
||||
|
@ -363,7 +363,7 @@ pm8994_l32: l32 {
|
|||
pm8994_lvs2: lvs2 {};
|
||||
};
|
||||
|
||||
pmi8994_regulators: pmi8994-regulators {
|
||||
pmi8994_regulators: regulators-1 {
|
||||
compatible = "qcom,rpm-pmi8994-regulators";
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
vdd_bst_byp-supply = <&vph_pwr>;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
|
||||
/*
|
||||
* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include "msm8994.dtsi"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/* Copyright (c) 2015, Huawei Inc. All rights reserved.
|
||||
/*
|
||||
* Copyright (c) 2015, Huawei Inc. All rights reserved.
|
||||
* Copyright (c) 2016, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2022, Petr Vorel <petr.vorel@gmail.com>
|
||||
*/
|
||||
|
|
|
@ -551,7 +551,7 @@ vdd_gfx: s2@1700 {
|
|||
|
||||
&rpm_requests {
|
||||
/* These values were taken from the original firmware ACPI tables */
|
||||
pm8994_regulators: pm8994-regulators {
|
||||
pm8994_regulators: regulators-0 {
|
||||
compatible = "qcom,rpm-pm8994-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -835,7 +835,7 @@ vreg_l32a_1p8: l32 {
|
|||
vreg_lvs2a_1p8: lvs2 { };
|
||||
};
|
||||
|
||||
pmi8994_regulators: pmi8994-regulators {
|
||||
pmi8994_regulators: regulators-1 {
|
||||
compatible = "qcom,rpm-pmi8994-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -881,28 +881,28 @@ &sdhc2 {
|
|||
};
|
||||
|
||||
&tlmm {
|
||||
grip_default: grip-default {
|
||||
grip_default: grip-default-state {
|
||||
pins = "gpio39";
|
||||
function = "gpio";
|
||||
drive-strength = <6>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
grip_sleep: grip-sleep {
|
||||
grip_sleep: grip-sleep-state {
|
||||
pins = "gpio39";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
hall_front_default: hall-front-default {
|
||||
hall_front_default: hall-front-default-state {
|
||||
pins = "gpio42";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
hall_back_default: hall-back-default {
|
||||
hall_back_default: hall-back-default-state {
|
||||
pins = "gpio75";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
|
|
@ -186,7 +186,7 @@ vdd_gfx: s2@1700 {
|
|||
|
||||
&rpm_requests {
|
||||
/* PMI8994 should probe first, because pmi8994_bby supplies some of PM8994's regulators */
|
||||
pmi8994_regulators: pmi8994-regulators {
|
||||
pmi8994_regulators: regulators-0 {
|
||||
compatible = "qcom,rpm-pmi8994-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -205,7 +205,7 @@ pmi8994_bby: boost-bypass {
|
|||
};
|
||||
};
|
||||
|
||||
pm8994_regulators: pm8994-regulators {
|
||||
pm8994_regulators: regulators-1 {
|
||||
compatible = "qcom,rpm-pm8994-regulators";
|
||||
|
||||
vdd_s3-supply = <&vph_pwr>;
|
||||
|
@ -477,15 +477,17 @@ &sdhc2 {
|
|||
};
|
||||
|
||||
&tlmm {
|
||||
ts_int_active: ts-int-active {
|
||||
ts_int_active: ts-int-active-state {
|
||||
pins = "gpio42";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
input-enable;
|
||||
};
|
||||
|
||||
ts_reset_active: ts-reset-active {
|
||||
ts_reset_active: ts-reset-active-state {
|
||||
pins = "gpio109";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
output-low;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
|
||||
/*
|
||||
* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
|
@ -773,254 +774,256 @@ tlmm: pinctrl@fd510000 {
|
|||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
blsp1_uart2_default: blsp1-uart2-default {
|
||||
function = "blsp_uart2";
|
||||
blsp1_uart2_default: blsp1-uart2-default-state {
|
||||
pins = "gpio4", "gpio5";
|
||||
function = "blsp_uart2";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_uart2_sleep: blsp1-uart2-sleep {
|
||||
function = "gpio";
|
||||
blsp1_uart2_sleep: blsp1-uart2-sleep-state {
|
||||
pins = "gpio4", "gpio5";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
blsp2_uart2_default: blsp2-uart2-default {
|
||||
blsp2_uart2_default: blsp2-uart2-default-state {
|
||||
pins = "gpio45", "gpio46", "gpio47", "gpio48";
|
||||
function = "blsp_uart8";
|
||||
pins = "gpio45", "gpio46",
|
||||
"gpio47", "gpio48";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_uart2_sleep: blsp2-uart2-sleep {
|
||||
blsp2_uart2_sleep: blsp2-uart2-sleep-state {
|
||||
pins = "gpio45", "gpio46", "gpio47", "gpio48";
|
||||
function = "gpio";
|
||||
pins = "gpio45", "gpio46",
|
||||
"gpio47", "gpio48";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c1_default: i2c1-default {
|
||||
i2c1_default: i2c1-default-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
function = "blsp_i2c1";
|
||||
pins = "gpio2", "gpio3";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c1_sleep: i2c1-sleep {
|
||||
i2c1_sleep: i2c1-sleep-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
function = "gpio";
|
||||
pins = "gpio2", "gpio3";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c2_default: i2c2-default {
|
||||
i2c2_default: i2c2-default-state {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "blsp_i2c2";
|
||||
pins = "gpio6", "gpio7";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c2_sleep: i2c2-sleep {
|
||||
i2c2_sleep: i2c2-sleep-state {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "gpio";
|
||||
pins = "gpio6", "gpio7";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c4_default: i2c4-default {
|
||||
i2c4_default: i2c4-default-state {
|
||||
pins = "gpio19", "gpio20";
|
||||
function = "blsp_i2c4";
|
||||
pins = "gpio19", "gpio20";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c4_sleep: i2c4-sleep {
|
||||
function = "gpio";
|
||||
i2c4_sleep: i2c4-sleep-state {
|
||||
pins = "gpio19", "gpio20";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
input-enable;
|
||||
};
|
||||
|
||||
i2c5_default: i2c5-default {
|
||||
i2c5_default: i2c5-default-state {
|
||||
pins = "gpio23", "gpio24";
|
||||
function = "blsp_i2c5";
|
||||
pins = "gpio23", "gpio24";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c5_sleep: i2c5-sleep {
|
||||
i2c5_sleep: i2c5-sleep-state {
|
||||
pins = "gpio23", "gpio24";
|
||||
function = "gpio";
|
||||
pins = "gpio23", "gpio24";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c6_default: i2c6-default {
|
||||
i2c6_default: i2c6-default-state {
|
||||
pins = "gpio28", "gpio27";
|
||||
function = "blsp_i2c6";
|
||||
pins = "gpio28", "gpio27";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c6_sleep: i2c6-sleep {
|
||||
i2c6_sleep: i2c6-sleep-state {
|
||||
pins = "gpio28", "gpio27";
|
||||
function = "gpio";
|
||||
pins = "gpio28", "gpio27";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c7_default: i2c7-default {
|
||||
i2c7_default: i2c7-default-state {
|
||||
pins = "gpio44", "gpio43";
|
||||
function = "blsp_i2c7";
|
||||
pins = "gpio44", "gpio43";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c7_sleep: i2c7-sleep {
|
||||
i2c7_sleep: i2c7-sleep-state {
|
||||
pins = "gpio44", "gpio43";
|
||||
function = "gpio";
|
||||
pins = "gpio44", "gpio43";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_spi10_default: blsp2-spi10-default {
|
||||
default {
|
||||
blsp2_spi10_default: blsp2-spi10-default-state {
|
||||
default-pins {
|
||||
pins = "gpio53", "gpio54", "gpio55";
|
||||
function = "blsp_spi10";
|
||||
pins = "gpio53", "gpio54", "gpio55";
|
||||
drive-strength = <10>;
|
||||
bias-pull-down;
|
||||
};
|
||||
cs {
|
||||
|
||||
cs-pins {
|
||||
pins = "gpio67";
|
||||
function = "gpio";
|
||||
pins = "gpio55";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
blsp2_spi10_sleep: blsp2-spi10-sleep {
|
||||
blsp2_spi10_sleep: blsp2-spi10-sleep-state {
|
||||
pins = "gpio53", "gpio54", "gpio55";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c11_default: i2c11-default {
|
||||
i2c11_default: i2c11-default-state {
|
||||
pins = "gpio83", "gpio84";
|
||||
function = "blsp_i2c11";
|
||||
pins = "gpio83", "gpio84";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
i2c11_sleep: i2c11-sleep {
|
||||
i2c11_sleep: i2c11-sleep-state {
|
||||
pins = "gpio83", "gpio84";
|
||||
function = "gpio";
|
||||
pins = "gpio83", "gpio84";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_spi1_default: blsp1-spi1-default {
|
||||
default {
|
||||
function = "blsp_spi1";
|
||||
blsp1_spi1_default: blsp1-spi1-default-state {
|
||||
default-pins {
|
||||
pins = "gpio0", "gpio1", "gpio3";
|
||||
function = "blsp_spi1";
|
||||
drive-strength = <10>;
|
||||
bias-pull-down;
|
||||
};
|
||||
cs {
|
||||
function = "gpio";
|
||||
|
||||
cs-pins {
|
||||
pins = "gpio8";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
blsp1_spi1_sleep: blsp1-spi1-sleep {
|
||||
blsp1_spi1_sleep: blsp1-spi1-sleep-state {
|
||||
pins = "gpio0", "gpio1", "gpio3";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
sdc1_clk_on: clk-on {
|
||||
sdc1_clk_on: clk-on-state {
|
||||
pins = "sdc1_clk";
|
||||
bias-disable;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
|
||||
sdc1_clk_off: clk-off {
|
||||
sdc1_clk_off: clk-off-state {
|
||||
pins = "sdc1_clk";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
sdc1_cmd_on: cmd-on {
|
||||
sdc1_cmd_on: cmd-on-state {
|
||||
pins = "sdc1_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <8>;
|
||||
};
|
||||
|
||||
sdc1_cmd_off: cmd-off {
|
||||
sdc1_cmd_off: cmd-off-state {
|
||||
pins = "sdc1_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
sdc1_data_on: data-on {
|
||||
sdc1_data_on: data-on-state {
|
||||
pins = "sdc1_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <8>;
|
||||
};
|
||||
|
||||
sdc1_data_off: data-off {
|
||||
sdc1_data_off: data-off-state {
|
||||
pins = "sdc1_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
sdc1_rclk_on: rclk-on {
|
||||
sdc1_rclk_on: rclk-on-state {
|
||||
pins = "sdc1_rclk";
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
sdc1_rclk_off: rclk-off {
|
||||
sdc1_rclk_off: rclk-off-state {
|
||||
pins = "sdc1_rclk";
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
sdc2_clk_on: sdc2-clk-on {
|
||||
sdc2_clk_on: sdc2-clk-on-state {
|
||||
pins = "sdc2_clk";
|
||||
bias-disable;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
sdc2_clk_off: sdc2-clk-off {
|
||||
sdc2_clk_off: sdc2-clk-off-state {
|
||||
pins = "sdc2_clk";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
sdc2_cmd_on: sdc2-cmd-on {
|
||||
sdc2_cmd_on: sdc2-cmd-on-state {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
sdc2_cmd_off: sdc2-cmd-off {
|
||||
sdc2_cmd_off: sdc2-cmd-off-state {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
sdc2_data_on: sdc2-data-on {
|
||||
sdc2_data_on: sdc2-data-on-state {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
sdc2_data_off: sdc2-data-off {
|
||||
sdc2_data_off: sdc2-data-off-state {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
|
|
787
arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi
Normal file
787
arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi
Normal file
|
@ -0,0 +1,787 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2022, Harry Austen <hpausten@protonmail.com>
|
||||
*/
|
||||
|
||||
#include "msm8996.dtsi"
|
||||
#include "pm8994.dtsi"
|
||||
#include "pmi8994.dtsi"
|
||||
#include "pmi8996.dtsi"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
||||
#include <dt-bindings/sound/qcom,q6afe.h>
|
||||
#include <dt-bindings/sound/qcom,q6asm.h>
|
||||
#include <dt-bindings/sound/qcom,wcd9335.h>
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
serial0 = &blsp1_uart2;
|
||||
serial1 = &blsp2_uart2;
|
||||
};
|
||||
|
||||
battery: battery {
|
||||
compatible = "simple-battery";
|
||||
|
||||
constant-charge-current-max-microamp = <3000000>;
|
||||
voltage-min-design-microvolt = <3400000>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial1:115200n8";
|
||||
};
|
||||
|
||||
clocks {
|
||||
div1_mclk: div1-clk {
|
||||
compatible = "gpio-gate-clock";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&audio_mclk>;
|
||||
#clock-cells = <0>;
|
||||
clocks = <&rpmcc RPM_SMD_DIV_CLK1>;
|
||||
enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
divclk4: div4-clk {
|
||||
compatible = "fixed-clock";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&divclk4_pin_a>;
|
||||
#clock-cells = <0>;
|
||||
clock-frequency = <32768>;
|
||||
clock-output-names = "divclk4";
|
||||
};
|
||||
};
|
||||
|
||||
reserved-memory {
|
||||
ramoops@ac000000 {
|
||||
compatible = "ramoops";
|
||||
reg = <0 0xac000000 0 0x200000>;
|
||||
record-size = <0x20000>;
|
||||
console-size = <0x100000>;
|
||||
pmsg-size = <0x80000>;
|
||||
};
|
||||
};
|
||||
|
||||
vph_pwr: vph-pwr-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vph_pwr";
|
||||
regulator-min-microvolt = <3700000>;
|
||||
regulator-max-microvolt = <3700000>;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
wlan_en: wlan-en-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wlan_en_gpios>;
|
||||
regulator-name = "wlan-en-regulator";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
|
||||
gpio = <&pm8994_gpios 8 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
/* WLAN card specific delay */
|
||||
startup-delay-us = <70000>;
|
||||
enable-active-high;
|
||||
};
|
||||
};
|
||||
|
||||
&adsp_pil {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&blsp1_i2c3 {
|
||||
status = "okay";
|
||||
|
||||
tfa9890_amp: audio-codec@36 {
|
||||
compatible = "nxp,tfa9890";
|
||||
reg = <0x36>;
|
||||
#sound-dai-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_i2c6 {
|
||||
status = "okay";
|
||||
|
||||
bq27541: fuel-gauge@55 {
|
||||
compatible = "ti,bq27541";
|
||||
reg = <0x55>;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_uart2 {
|
||||
label = "BT-UART";
|
||||
uart-has-rtscts;
|
||||
status = "okay";
|
||||
|
||||
bluetooth {
|
||||
compatible = "qcom,qca6174-bt";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bt_en_gpios>;
|
||||
enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
|
||||
clocks = <&divclk4>;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp2_i2c1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&blsp2_i2c6 {
|
||||
status = "okay";
|
||||
|
||||
synaptics_rmi4_i2c: touchscreen@20 {
|
||||
compatible = "syna,rmi4-i2c";
|
||||
reg = <0x20>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&touch_default>;
|
||||
pinctrl-1 = <&touch_suspend>;
|
||||
vdd-supply = <&vreg_l22a_3p0>;
|
||||
vio-supply = <&vreg_s4a_1p8>;
|
||||
syna,reset-delay-ms = <200>;
|
||||
syna,startup-delay-ms = <200>;
|
||||
|
||||
rmi4-f01@1 {
|
||||
reg = <0x1>;
|
||||
syna,nosleep-mode = <1>;
|
||||
};
|
||||
|
||||
rmi4-f12@12 {
|
||||
reg = <0x12>;
|
||||
syna,sensor-type = <1>;
|
||||
touchscreen-x-mm = <68>;
|
||||
touchscreen-y-mm = <122>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&blsp2_uart2 {
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&blsp2_uart2_2pins_default>;
|
||||
pinctrl-1 = <&blsp2_uart2_2pins_sleep>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&camss {
|
||||
vdda-supply = <&vreg_l2a_1p25>;
|
||||
};
|
||||
|
||||
&dsi0 {
|
||||
vdda-supply = <&vreg_l2a_1p25>;
|
||||
vcca-supply = <&vreg_l22a_3p0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dsi0_out {
|
||||
data-lanes = <0 1 2 3>;
|
||||
};
|
||||
|
||||
&dsi0_phy {
|
||||
vdda-supply = <&vreg_l2a_1p25>;
|
||||
vcca-supply = <&vreg_l28a_0p925>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpu {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&hsusb_phy1 {
|
||||
vdd-supply = <&vreg_l28a_0p925>;
|
||||
vdda-pll-supply = <&vreg_l12a_1p8>;
|
||||
vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&hsusb_phy2 {
|
||||
vdd-supply = <&vreg_l28a_0p925>;
|
||||
vdda-pll-supply = <&vreg_l12a_1p8>;
|
||||
vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mdp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mdss {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mmcc {
|
||||
vdd-gfx-supply = <&vdd_gfx>;
|
||||
};
|
||||
|
||||
&mss_pil {
|
||||
pll-supply = <&vreg_l12a_1p8>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
|
||||
vddpe-3v3-supply = <&wlan_en>;
|
||||
vdda-supply = <&vreg_l28a_0p925>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie_phy {
|
||||
vdda-phy-supply = <&vreg_l28a_0p925>;
|
||||
vdda-pll-supply = <&vreg_l12a_1p8>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pm8994_gpios {
|
||||
bt_en_gpios: bt-en-gpios-state {
|
||||
pins = "gpio19";
|
||||
function = PMIC_GPIO_FUNC_NORMAL;
|
||||
output-low;
|
||||
power-source = <PM8994_GPIO_S4>;
|
||||
qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
wlan_en_gpios: wlan-en-gpios-state {
|
||||
pins = "gpio8";
|
||||
function = PMIC_GPIO_FUNC_NORMAL;
|
||||
output-low;
|
||||
power-source = <PM8994_GPIO_S4>;
|
||||
qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
audio_mclk: divclk1-state {
|
||||
pins = "gpio15";
|
||||
function = PMIC_GPIO_FUNC_FUNC1;
|
||||
power-source = <PM8994_GPIO_S4>;
|
||||
};
|
||||
|
||||
divclk4_pin_a: divclk4-state {
|
||||
pins = "gpio18";
|
||||
function = PMIC_GPIO_FUNC_FUNC2;
|
||||
bias-disable;
|
||||
power-source = <PM8994_GPIO_S4>;
|
||||
};
|
||||
};
|
||||
|
||||
&pm8994_spmi_regulators {
|
||||
qcom,saw-reg = <&saw3>;
|
||||
|
||||
s9 {
|
||||
qcom,saw-slave;
|
||||
};
|
||||
|
||||
s10 {
|
||||
qcom,saw-slave;
|
||||
};
|
||||
|
||||
s11 {
|
||||
qcom,saw-leader;
|
||||
regulator-min-microvolt = <1140000>;
|
||||
regulator-max-microvolt = <1140000>;
|
||||
regulator-max-step-microvolt = <150000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
};
|
||||
|
||||
&pmi8994_spmi_regulators {
|
||||
vdd_gfx: s2 {
|
||||
regulator-name = "vdd-gfx";
|
||||
regulator-min-microvolt = <980000>;
|
||||
regulator-max-microvolt = <1230000>;
|
||||
};
|
||||
};
|
||||
|
||||
&q6asmdai {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
dai@0 {
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
dai@1 {
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
dai@2 {
|
||||
reg = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
&rpm_requests {
|
||||
regulators {
|
||||
compatible = "qcom,rpm-pm8994-regulators";
|
||||
|
||||
vreg_s3a_1p3: s3 {
|
||||
regulator-name = "vreg_s3a_1p3";
|
||||
regulator-min-microvolt = <1300000>;
|
||||
regulator-max-microvolt = <1300000>;
|
||||
};
|
||||
|
||||
vreg_s4a_1p8: s4 {
|
||||
regulator-name = "vreg_s4a_1p8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
vreg_s5a_2p15: s5 {
|
||||
regulator-name = "vreg_s5a_2p15";
|
||||
regulator-min-microvolt = <2150000>;
|
||||
regulator-max-microvolt = <2150000>;
|
||||
};
|
||||
|
||||
vreg_s7a_0p8: s7 {
|
||||
regulator-name = "vreg_s7a_0p8";
|
||||
regulator-min-microvolt = <800000>;
|
||||
regulator-max-microvolt = <800000>;
|
||||
};
|
||||
|
||||
vreg_l1a_1p0: l1 {
|
||||
regulator-name = "vreg_l1a_1p0";
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1000000>;
|
||||
};
|
||||
|
||||
vreg_l2a_1p25: l2 {
|
||||
regulator-name = "vreg_l2a_1p25";
|
||||
regulator-min-microvolt = <1250000>;
|
||||
regulator-max-microvolt = <1250000>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_l3a_1p1: l3 {
|
||||
regulator-name = "vreg_l3a_1p1";
|
||||
regulator-min-microvolt = <1100000>;
|
||||
regulator-max-microvolt = <1100000>;
|
||||
};
|
||||
|
||||
vreg_l4a_1p225: l4 {
|
||||
regulator-name = "vreg_l4a_1p225";
|
||||
regulator-min-microvolt = <1225000>;
|
||||
regulator-max-microvolt = <1225000>;
|
||||
};
|
||||
|
||||
vreg_l6a_1p2: l6 {
|
||||
regulator-name = "vreg_l6a_1p2";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
vreg_l7a_1p8: l7 {
|
||||
regulator-name = "vreg_l7a_1p8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
vreg_l9a_1p8: l9 {
|
||||
regulator-name = "vreg_l9a_1p8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
vreg_l10a_1p8: l10 {
|
||||
regulator-name = "vreg_l10a_1p8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
vreg_l11a_1p15: l11 {
|
||||
regulator-name = "vreg_l11a_1p15";
|
||||
regulator-min-microvolt = <1150000>;
|
||||
regulator-max-microvolt = <1150000>;
|
||||
};
|
||||
|
||||
vreg_l12a_1p8: l12 {
|
||||
regulator-name = "vreg_l12a_1p8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_l13a_2p95: l13 {
|
||||
regulator-name = "vreg_l13a_2p95";
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
};
|
||||
|
||||
vreg_l16a_2p7: l16 {
|
||||
regulator-name = "vreg_l16a_2p7";
|
||||
regulator-min-microvolt = <2700000>;
|
||||
regulator-max-microvolt = <2700000>;
|
||||
};
|
||||
|
||||
vreg_l17a_2p6: l17 {
|
||||
regulator-name = "vreg_l17a_2p6";
|
||||
regulator-min-microvolt = <2600000>;
|
||||
regulator-max-microvolt = <2600000>;
|
||||
};
|
||||
|
||||
vreg_l18a_3p3: l18 {
|
||||
regulator-name = "vreg_l18a_3p3";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
vreg_l19a_3p0: l19 {
|
||||
regulator-name = "vreg_l19a_3p0";
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
};
|
||||
|
||||
vreg_l20a_2p95: l20 {
|
||||
regulator-name = "vreg_l20a_2p95";
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_l21a_2p95: l21 {
|
||||
regulator-name = "vreg_l21a_2p95";
|
||||
regulator-min-microvolt = <2950000>;
|
||||
regulator-max-microvolt = <2950000>;
|
||||
regulator-allow-set-load;
|
||||
regulator-system-load = <200000>;
|
||||
};
|
||||
|
||||
vreg_l22a_3p0: l22 {
|
||||
regulator-name = "vreg_l22a_3p0";
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
vreg_l23a_2p8: l23 {
|
||||
regulator-name = "vreg_l23a_2p8";
|
||||
regulator-min-microvolt = <2800000>;
|
||||
regulator-max-microvolt = <2800000>;
|
||||
};
|
||||
|
||||
vreg_l24a_3p075: l24 {
|
||||
regulator-name = "vreg_l24a_3p075";
|
||||
regulator-min-microvolt = <3075000>;
|
||||
regulator-max-microvolt = <3075000>;
|
||||
};
|
||||
|
||||
vreg_l25a_1p2: l25 {
|
||||
regulator-name = "vreg_l25a_1p2";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
regulator-allow-set-load;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
vreg_l27a_1p2: l27 {
|
||||
regulator-name = "vreg_l27a_1p2";
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
vreg_l28a_0p925: l28 {
|
||||
regulator-name = "vreg_l28a_0p925";
|
||||
regulator-min-microvolt = <925000>;
|
||||
regulator-max-microvolt = <925000>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_l29a_2p8: l29 {
|
||||
regulator-name = "vreg_l29a_2p8";
|
||||
regulator-min-microvolt = <2800000>;
|
||||
regulator-max-microvolt = <2800000>;
|
||||
};
|
||||
|
||||
vreg_l30a_1p8: l30 {
|
||||
regulator-name = "vreg_l30a_1p8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
vreg_l32a_1p8: l32 {
|
||||
regulator-name = "vreg_l32a_1p8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&slpi_pil {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&sound {
|
||||
compatible = "qcom,apq8096-sndcard";
|
||||
model = "OnePlus3";
|
||||
audio-routing = "RX_BIAS", "MCLK",
|
||||
"AMIC2", "MIC BIAS2",
|
||||
"MIC BIAS2", "Headset Mic",
|
||||
"AMIC4", "MIC BIAS1",
|
||||
"MIC BIAS1", "Primary Mic",
|
||||
"AMIC5", "MIC BIAS3",
|
||||
"MIC BIAS3", "Noise Mic";
|
||||
|
||||
mm1-dai-link {
|
||||
link-name = "MultiMedia1";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
|
||||
};
|
||||
};
|
||||
|
||||
mm2-dai-link {
|
||||
link-name = "MultiMedia2";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
|
||||
};
|
||||
};
|
||||
|
||||
mm3-dai-link {
|
||||
link-name = "MultiMedia3";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
|
||||
};
|
||||
};
|
||||
|
||||
mm4-dai-link {
|
||||
link-name = "MultiMedia4";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>;
|
||||
};
|
||||
};
|
||||
|
||||
mm5-dai-link {
|
||||
link-name = "MultiMedia5";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA5>;
|
||||
};
|
||||
};
|
||||
|
||||
mm6-dai-link {
|
||||
link-name = "MultiMedia6";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA6>;
|
||||
};
|
||||
};
|
||||
|
||||
mm7-dai-link {
|
||||
link-name = "MultiMedia7";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA7>;
|
||||
};
|
||||
};
|
||||
|
||||
mm8-dai-link {
|
||||
link-name = "MultiMedia8";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA8>;
|
||||
};
|
||||
};
|
||||
|
||||
mm9-dai-link {
|
||||
link-name = "MultiMedia9";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA9>;
|
||||
};
|
||||
};
|
||||
|
||||
mm10-dai-link {
|
||||
link-name = "MultiMedia10";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA10>;
|
||||
};
|
||||
};
|
||||
|
||||
mm11-dai-link {
|
||||
link-name = "MultiMedia11";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA11>;
|
||||
};
|
||||
};
|
||||
|
||||
mm12-dai-link {
|
||||
link-name = "MultiMedia12";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA12>;
|
||||
};
|
||||
};
|
||||
|
||||
mm13-dai-link {
|
||||
link-name = "MultiMedia13";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA13>;
|
||||
};
|
||||
};
|
||||
|
||||
mm14-dai-link {
|
||||
link-name = "MultiMedia14";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA14>;
|
||||
};
|
||||
};
|
||||
|
||||
mm15-dai-link {
|
||||
link-name = "MultiMedia15";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA15>;
|
||||
};
|
||||
};
|
||||
|
||||
mm16-dai-link {
|
||||
link-name = "MultiMedia16";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA16>;
|
||||
};
|
||||
};
|
||||
|
||||
slim-dai-link {
|
||||
link-name = "SLIM Playback";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6afedai SLIMBUS_6_RX>;
|
||||
};
|
||||
|
||||
platform {
|
||||
sound-dai = <&q6routing>;
|
||||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&wcd9335 AIF4_PB>;
|
||||
};
|
||||
};
|
||||
|
||||
slimcap-dai-link {
|
||||
link-name = "SLIM Capture";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6afedai SLIMBUS_0_TX>;
|
||||
};
|
||||
|
||||
platform {
|
||||
sound-dai = <&q6routing>;
|
||||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&wcd9335 AIF1_CAP>;
|
||||
};
|
||||
};
|
||||
|
||||
speaker-dai-link {
|
||||
link-name = "Speaker";
|
||||
|
||||
cpu {
|
||||
sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
|
||||
};
|
||||
|
||||
codec {
|
||||
sound-dai = <&tfa9890_amp>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
gpio-reserved-ranges = <81 4>;
|
||||
|
||||
mdss_dsi_active: mdss-dsi-active-state {
|
||||
pins = "gpio8";
|
||||
function = "gpio";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
mdss_dsi_suspend: mdss-dsi-suspend-state {
|
||||
pins = "gpio8";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
mdss_te_active: mdss-te-active-state {
|
||||
pins = "gpio10";
|
||||
function = "mdp_vsync";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
mdss_te_suspend: mdss-te-suspend-state {
|
||||
pins = "gpio10";
|
||||
function = "mdp_vsync";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
touch_default: touch-default-state {
|
||||
pins = "gpio89", "gpio125", "gpio49";
|
||||
function = "gpio";
|
||||
drive-strength = <16>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
touch_suspend: touch-suspend-state {
|
||||
pins = "gpio89", "gpio125", "gpio49";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&ufsphy {
|
||||
vdda-phy-supply = <&vreg_l28a_0p925>;
|
||||
vdda-pll-supply = <&vreg_l12a_1p8>;
|
||||
vddp-ref-clk-supply = <&vreg_l25a_1p2>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ufshc {
|
||||
vcc-supply = <&vreg_l20a_2p95>;
|
||||
vccq-supply = <&vreg_l25a_1p2>;
|
||||
vccq2-supply = <&vreg_s4a_1p8>;
|
||||
|
||||
vcc-max-microamp = <600000>;
|
||||
vccq-max-microamp = <450000>;
|
||||
vccq2-max-microamp = <450000>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usb3_dwc3 {
|
||||
phys = <&hsusb_phy1>;
|
||||
phy-names = "usb2-phy";
|
||||
|
||||
maximum-speed = "high-speed";
|
||||
};
|
||||
|
||||
&venus {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wcd9335 {
|
||||
clock-names = "mclk", "slimbus";
|
||||
clocks = <&div1_mclk>,
|
||||
<&rpmcc RPM_SMD_BB_CLK1>;
|
||||
|
||||
vdd-buck-supply = <&vreg_s4a_1p8>;
|
||||
vdd-buck-sido-supply = <&vreg_s4a_1p8>;
|
||||
vdd-tx-supply = <&vreg_s4a_1p8>;
|
||||
vdd-rx-supply = <&vreg_s4a_1p8>;
|
||||
vdd-io-supply = <&vreg_s4a_1p8>;
|
||||
};
|
44
arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts
Normal file
44
arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts
Normal file
|
@ -0,0 +1,44 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2022, Harry Austen <hpausten@protonmail.com>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "msm8996-oneplus-common.dtsi"
|
||||
|
||||
/ {
|
||||
model = "OnePlus 3";
|
||||
compatible = "oneplus,oneplus3", "qcom,msm8996";
|
||||
chassis-type = "handset";
|
||||
qcom,board-id = <8 0 15801 15>, <8 0 15801 16>;
|
||||
qcom,msm-id = <246 0x30001>;
|
||||
};
|
||||
|
||||
&adsp_pil {
|
||||
firmware-name = "qcom/msm8996/oneplus3/adsp.mbn";
|
||||
};
|
||||
|
||||
&battery {
|
||||
charge-full-design-microamp-hours = <3000000>;
|
||||
voltage-max-design-microvolt = <4350000>;
|
||||
};
|
||||
|
||||
&gpu {
|
||||
zap-shader {
|
||||
firmware-name = "qcom/msm8996/oneplus3/a530_zap.mbn";
|
||||
};
|
||||
};
|
||||
|
||||
&mss_pil {
|
||||
firmware-name = "qcom/msm8996/oneplus3/mba.mbn",
|
||||
"qcom/msm8996/oneplus3/modem.mbn";
|
||||
};
|
||||
|
||||
&slpi_pil {
|
||||
firmware-name = "qcom/msm8996/oneplus3/slpi.mbn";
|
||||
};
|
||||
|
||||
&venus {
|
||||
firmware-name = "qcom/msm8996/oneplus3/venus.mbn";
|
||||
};
|
45
arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts
Normal file
45
arch/arm64/boot/dts/qcom/msm8996-oneplus3t.dts
Normal file
|
@ -0,0 +1,45 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2022, Harry Austen <hpausten@protonmail.com>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "msm8996-oneplus-common.dtsi"
|
||||
|
||||
/ {
|
||||
model = "OnePlus 3T";
|
||||
compatible = "oneplus,oneplus3t", "qcom,msm8996";
|
||||
chassis-type = "handset";
|
||||
qcom,board-id = <8 0 15811 26>,
|
||||
<8 0 15811 27>,
|
||||
<8 0 15811 28>;
|
||||
};
|
||||
|
||||
&adsp_pil {
|
||||
firmware-name = "qcom/msm8996/oneplus3t/adsp.mbn";
|
||||
};
|
||||
|
||||
&battery {
|
||||
charge-full-design-microamp-hours = <3400000>;
|
||||
voltage-max-design-microvolt = <4400000>;
|
||||
};
|
||||
|
||||
&gpu {
|
||||
zap-shader {
|
||||
firmware-name = "qcom/msm8996/oneplus3t/a530_zap.mbn";
|
||||
};
|
||||
};
|
||||
|
||||
&mss_pil {
|
||||
firmware-name = "qcom/msm8996/oneplus3t/mba.mbn",
|
||||
"qcom/msm8996/oneplus3t/modem.mbn";
|
||||
};
|
||||
|
||||
&slpi_pil {
|
||||
firmware-name = "qcom/msm8996/oneplus3t/slpi.mbn";
|
||||
};
|
||||
|
||||
&venus {
|
||||
firmware-name = "qcom/msm8996/oneplus3t/venus.mbn";
|
||||
};
|
|
@ -629,7 +629,7 @@ &pmi8994_wled {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8994-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8994-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -847,28 +847,28 @@ &tlmm {
|
|||
pinctrl-0 = <&sw_service_gpio>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
disp_reset_n_gpio: disp-reset-n {
|
||||
disp_reset_n_gpio: disp-reset-n-state {
|
||||
pins = "gpio8";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
mdp_vsync_p_gpio: mdp-vsync-p {
|
||||
mdp_vsync_p_gpio: mdp-vsync-p-state {
|
||||
pins = "gpio10";
|
||||
function = "mdp_vsync";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
sw_service_gpio: sw-service-gpio {
|
||||
sw_service_gpio: sw-service-gpio-state {
|
||||
pins = "gpio16";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
usb_detect: usb-detect {
|
||||
usb_detect: usb-detect-state {
|
||||
pins = "gpio25";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
@ -876,7 +876,7 @@ usb_detect: usb-detect {
|
|||
output-high;
|
||||
};
|
||||
|
||||
uim_detect_en: uim-detect-en {
|
||||
uim_detect_en: uim-detect-en-state {
|
||||
pins = "gpio29";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
@ -884,14 +884,14 @@ uim_detect_en: uim-detect-en {
|
|||
output-high;
|
||||
};
|
||||
|
||||
tray_det_pin: tray-det {
|
||||
tray_det_pin: tray-det-state {
|
||||
pins = "gpio40";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
tp_vddio_en: tp-vddio-en {
|
||||
tp_vddio_en: tp-vddio-en-state {
|
||||
pins = "gpio50";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
@ -899,7 +899,7 @@ tp_vddio_en: tp-vddio-en {
|
|||
output-high;
|
||||
};
|
||||
|
||||
lcd_vddio_en: lcd-vddio-en {
|
||||
lcd_vddio_en: lcd-vddio-en-state {
|
||||
pins = "gpio51";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
@ -907,15 +907,14 @@ lcd_vddio_en: lcd-vddio-en {
|
|||
output-low;
|
||||
};
|
||||
|
||||
wl_host_wake: wl-host-wake {
|
||||
wl_host_wake: wl-host-wake-state {
|
||||
pins = "gpio79";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
input-high;
|
||||
};
|
||||
|
||||
wl_reg_on: wl-reg-on {
|
||||
wl_reg_on: wl-reg-on-state {
|
||||
pins = "gpio84";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
@ -923,20 +922,20 @@ wl_reg_on: wl-reg-on {
|
|||
output-low;
|
||||
};
|
||||
|
||||
ts_reset_n: ts-rst-n {
|
||||
ts_reset_n: ts-rst-n-state {
|
||||
pins = "gpio89";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
touch_int_n: touch-int-n {
|
||||
touch_int_n: touch-int-n-state {
|
||||
pins = "gpio125";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
touch_int_sleep: touch-int-sleep {
|
||||
touch_int_sleep: touch-int-sleep-state {
|
||||
pins = "gpio125";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
* Copyright (c) 2020, Yassine Oudjana <y.oudjana@protonmail.com>
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "msm8996.dtsi"
|
||||
#include "pm8994.dtsi"
|
||||
#include "pmi8994.dtsi"
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
@ -413,7 +410,7 @@ &wcd9335 {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8994-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8994-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -598,7 +595,7 @@ vreg_lvs2a_1p8: lvs2 {
|
|||
};
|
||||
};
|
||||
|
||||
pmi8994-regulators {
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pmi8994-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -694,35 +691,35 @@ divclk4_pin_a: divclk4-state {
|
|||
};
|
||||
|
||||
&tlmm {
|
||||
mdss_dsi_default: mdss_dsi_default {
|
||||
mdss_dsi_default: mdss-dsi-default-state {
|
||||
pins = "gpio8";
|
||||
function = "gpio";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
mdss_dsi_sleep: mdss_dsi_sleep {
|
||||
mdss_dsi_sleep: mdss-dsi-sleep-state {
|
||||
pins = "gpio8";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
mdss_te_default: mdss_te_default {
|
||||
mdss_te_default: mdss-te-default-state {
|
||||
pins = "gpio10";
|
||||
function = "mdp_vsync";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
mdss_te_sleep: mdss_te_sleep {
|
||||
mdss_te_sleep: mdss-te-sleep-state {
|
||||
pins = "gpio10";
|
||||
function = "mdp_vsync";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
nfc_default: nfc_default {
|
||||
nfc_default: nfc-default-state {
|
||||
pins = "gpio12", "gpio21";
|
||||
function = "gpio";
|
||||
drive-strength = <16>;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
/dts-v1/;
|
||||
|
||||
#include "msm8996.dtsi"
|
||||
#include "msm8996-xiaomi-common.dtsi"
|
||||
#include <dt-bindings/sound/qcom,q6afe.h>
|
||||
#include <dt-bindings/sound/qcom,q6asm.h>
|
||||
|
@ -219,7 +220,7 @@ &venus {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8994-regulators {
|
||||
regulators-0 {
|
||||
vreg_l17a_2p8: l17 {
|
||||
regulator-name = "vreg_l17a_2p8";
|
||||
regulator-min-microvolt = <2500000>;
|
||||
|
@ -445,28 +446,28 @@ &tlmm {
|
|||
"RFFE1_DATA", /* GPIO_148 */
|
||||
"RFFE1_CLK"; /* GPIO_149 */
|
||||
|
||||
touchscreen_default: touchscreen_default {
|
||||
touchscreen_default: touchscreen-default-state {
|
||||
pins = "gpio89", "gpio125";
|
||||
function = "gpio";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
touchscreen_sleep: touchscreen_sleep {
|
||||
touchscreen_sleep: touchscreen-sleep-state {
|
||||
pins = "gpio89", "gpio125";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
vibrator_default: vibrator_default {
|
||||
vibrator_default: vibrator-default-state {
|
||||
pins = "gpio93";
|
||||
function = "gpio";
|
||||
drive-strength = <8>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
vibrator_sleep: vibrator_sleep {
|
||||
vibrator_sleep: vibrator-sleep-state {
|
||||
pins = "gpio93";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -5,6 +5,7 @@
|
|||
|
||||
/dts-v1/;
|
||||
|
||||
#include "msm8996pro.dtsi"
|
||||
#include "msm8996-xiaomi-common.dtsi"
|
||||
#include "pmi8996.dtsi"
|
||||
#include <dt-bindings/sound/qcom,q6afe.h>
|
||||
|
@ -12,7 +13,7 @@
|
|||
|
||||
/ {
|
||||
model = "Xiaomi Mi 5s Plus";
|
||||
compatible = "xiaomi,natrium", "qcom,msm8996";
|
||||
compatible = "xiaomi,natrium", "qcom,msm8996pro", "qcom,msm8996";
|
||||
chassis-type = "handset";
|
||||
qcom,msm-id = <305 0x10000>;
|
||||
qcom,board-id = <47 0>;
|
||||
|
@ -164,7 +165,7 @@ &venus {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8994-regulators {
|
||||
regulators-0 {
|
||||
vreg_l3a_0p875: l3 {
|
||||
regulator-name = "vreg_l3a_0p875";
|
||||
regulator-min-microvolt = <850000>;
|
||||
|
@ -398,14 +399,14 @@ &tlmm {
|
|||
"RFFE1_DATA", /* GPIO_148 */
|
||||
"RFFE1_CLK"; /* GPIO_149 */
|
||||
|
||||
touchscreen_default: touchscreen-default {
|
||||
touchscreen_default: touchscreen-default-state {
|
||||
pins = "gpio89", "gpio125";
|
||||
function = "gpio";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
touchscreen_sleep: touchscreen-sleep {
|
||||
touchscreen_sleep: touchscreen-sleep-state {
|
||||
pins = "gpio89", "gpio125";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
/dts-v1/;
|
||||
|
||||
#include "msm8996pro.dtsi"
|
||||
#include "msm8996-xiaomi-common.dtsi"
|
||||
#include "pmi8996.dtsi"
|
||||
#include <dt-bindings/sound/qcom,q6afe.h>
|
||||
|
@ -13,7 +14,7 @@
|
|||
|
||||
/ {
|
||||
model = "Xiaomi Mi Note 2";
|
||||
compatible = "xiaomi,scorpio", "qcom,msm8996";
|
||||
compatible = "xiaomi,scorpio", "qcom,msm8996pro", "qcom,msm8996";
|
||||
chassis-type = "handset";
|
||||
qcom,msm-id = <305 0x10000>;
|
||||
qcom,board-id = <34 0>;
|
||||
|
@ -216,7 +217,7 @@ &venus {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8994-regulators {
|
||||
regulators-0 {
|
||||
vreg_l3a_0p875: l3 {
|
||||
regulator-name = "vreg_l3a_0p875";
|
||||
regulator-min-microvolt = <850000>;
|
||||
|
@ -468,28 +469,28 @@ &tlmm {
|
|||
"RFFE1_DATA", /* GPIO_148 */
|
||||
"RFFE1_CLK"; /* GPIO_149 */
|
||||
|
||||
touchkey_default: touchkey_default {
|
||||
touchkey_default: touchkey-default-state {
|
||||
pins = "gpio77";
|
||||
function = "gpio";
|
||||
drive-strength = <16>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
touchkey_sleep: touchkey_sleep {
|
||||
touchkey_sleep: touchkey-sleep-state {
|
||||
pins = "gpio77";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
touchscreen_default: touchscreen_default {
|
||||
touchscreen_default: touchscreen-default-state {
|
||||
pins = "gpio75", "gpio125";
|
||||
function = "gpio";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
touchscreen_sleep: touchscreen_sleep {
|
||||
touchscreen_sleep: touchscreen-sleep-state {
|
||||
pins = "gpio75", "gpio125";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
291
arch/arm64/boot/dts/qcom/msm8996pro.dtsi
Normal file
291
arch/arm64/boot/dts/qcom/msm8996pro.dtsi
Normal file
|
@ -0,0 +1,291 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
/*
|
||||
* Copyright (c) 2022, Linaro Limited
|
||||
*/
|
||||
|
||||
#include "msm8996.dtsi"
|
||||
|
||||
/ {
|
||||
/delete-node/ opp-table-cluster0;
|
||||
/delete-node/ opp-table-cluster1;
|
||||
|
||||
/*
|
||||
* On MSM8996 Pro the cpufreq driver shifts speed bins into the high
|
||||
* nibble of supported hw, so speed bin 0 becomes 0x10, speed bin 1
|
||||
* becomes 0x20, speed 2 becomes 0x40.
|
||||
*/
|
||||
|
||||
cluster0_opp: opp-table-cluster0 {
|
||||
compatible = "operating-points-v2-kryo-cpu";
|
||||
nvmem-cells = <&speedbin_efuse>;
|
||||
opp-shared;
|
||||
|
||||
opp-307200000 {
|
||||
opp-hz = /bits/ 64 <307200000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-384000000 {
|
||||
opp-hz = /bits/ 64 <384000000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-460800000 {
|
||||
opp-hz = /bits/ 64 <460800000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-537600000 {
|
||||
opp-hz = /bits/ 64 <537600000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-614400000 {
|
||||
opp-hz = /bits/ 64 <614400000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-691200000 {
|
||||
opp-hz = /bits/ 64 <691200000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-768000000 {
|
||||
opp-hz = /bits/ 64 <768000000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-844800000 {
|
||||
opp-hz = /bits/ 64 <844800000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-902400000 {
|
||||
opp-hz = /bits/ 64 <902400000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-979200000 {
|
||||
opp-hz = /bits/ 64 <979200000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1056000000 {
|
||||
opp-hz = /bits/ 64 <1056000000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1132800000 {
|
||||
opp-hz = /bits/ 64 <1132800000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1209600000 {
|
||||
opp-hz = /bits/ 64 <1209600000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1286400000 {
|
||||
opp-hz = /bits/ 64 <1286400000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1363200000 {
|
||||
opp-hz = /bits/ 64 <1363200000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1440000000 {
|
||||
opp-hz = /bits/ 64 <1440000000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1516800000 {
|
||||
opp-hz = /bits/ 64 <1516800000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1593600000 {
|
||||
opp-hz = /bits/ 64 <1593600000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1996800000 {
|
||||
opp-hz = /bits/ 64 <1996800000>;
|
||||
opp-supported-hw = <0x20>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-2188800000 {
|
||||
opp-hz = /bits/ 64 <2188800000>;
|
||||
opp-supported-hw = <0x10>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
};
|
||||
|
||||
cluster1_opp: opp-table-cluster1 {
|
||||
compatible = "operating-points-v2-kryo-cpu";
|
||||
nvmem-cells = <&speedbin_efuse>;
|
||||
opp-shared;
|
||||
|
||||
opp-307200000 {
|
||||
opp-hz = /bits/ 64 <307200000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-384000000 {
|
||||
opp-hz = /bits/ 64 <384000000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-460800000 {
|
||||
opp-hz = /bits/ 64 <460800000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-537600000 {
|
||||
opp-hz = /bits/ 64 <537600000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-614400000 {
|
||||
opp-hz = /bits/ 64 <614400000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-691200000 {
|
||||
opp-hz = /bits/ 64 <691200000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-748800000 {
|
||||
opp-hz = /bits/ 64 <748800000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-825600000 {
|
||||
opp-hz = /bits/ 64 <825600000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-902400000 {
|
||||
opp-hz = /bits/ 64 <902400000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-979200000 {
|
||||
opp-hz = /bits/ 64 <979200000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1056000000 {
|
||||
opp-hz = /bits/ 64 <1056000000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1132800000 {
|
||||
opp-hz = /bits/ 64 <1132800000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1209600000 {
|
||||
opp-hz = /bits/ 64 <1209600000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1286400000 {
|
||||
opp-hz = /bits/ 64 <1286400000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1363200000 {
|
||||
opp-hz = /bits/ 64 <1363200000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1440000000 {
|
||||
opp-hz = /bits/ 64 <1440000000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1516800000 {
|
||||
opp-hz = /bits/ 64 <1516800000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1593600000 {
|
||||
opp-hz = /bits/ 64 <1593600000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1670400000 {
|
||||
opp-hz = /bits/ 64 <1670400000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1747200000 {
|
||||
opp-hz = /bits/ 64 <1747200000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1824000000 {
|
||||
opp-hz = /bits/ 64 <1824000000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1900800000 {
|
||||
opp-hz = /bits/ 64 <1900800000>;
|
||||
opp-supported-hw = <0x70>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-1977600000 {
|
||||
opp-hz = /bits/ 64 <1977600000>;
|
||||
opp-supported-hw = <0x30>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-2054400000 {
|
||||
opp-hz = /bits/ 64 <2054400000>;
|
||||
opp-supported-hw = <0x30>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-2150400000 {
|
||||
opp-hz = /bits/ 64 <2150400000>;
|
||||
opp-supported-hw = <0x30>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-2246400000 {
|
||||
opp-hz = /bits/ 64 <2246400000>;
|
||||
opp-supported-hw = <0x10>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
opp-2342400000 {
|
||||
opp-hz = /bits/ 64 <2342400000>;
|
||||
opp-supported-hw = <0x10>;
|
||||
clock-latency-ns = <200000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpu_opp_table {
|
||||
/*
|
||||
* Unlike CPU opp tables, the GPU driver does not shift speed bins.
|
||||
*
|
||||
* 652.8 Mhz is available on speed bin 0 only.
|
||||
* 624 Mhz and 560 Mhz are available on speed bins 0 and 1.
|
||||
* All the rest are available on all bins of the hardware (like on
|
||||
* plain 8996).
|
||||
*/
|
||||
|
||||
opp-652800000 {
|
||||
opp-hz = /bits/ 64 <652800000>;
|
||||
opp-supported-hw = <0x01>;
|
||||
};
|
||||
opp-624000000 {
|
||||
opp-hz = /bits/ 64 <624000000>;
|
||||
opp-supported-hw = <0x03>;
|
||||
};
|
||||
opp-560000000 {
|
||||
opp-hz = /bits/ 64 <560000000>;
|
||||
opp-supported-hw = <0x03>;
|
||||
};
|
||||
/* The rest is inherited from msm8996 */
|
||||
};
|
|
@ -35,7 +35,7 @@ bluetooth {
|
|||
};
|
||||
|
||||
&blsp1_uart3_on {
|
||||
rx {
|
||||
rx-pins {
|
||||
/delete-property/ bias-disable;
|
||||
/*
|
||||
* Configure a pull-up on 45 (RX). This is needed to
|
||||
|
@ -46,7 +46,7 @@ rx {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
cts {
|
||||
cts-pins {
|
||||
/delete-property/ bias-disable;
|
||||
/*
|
||||
* Configure a pull-down on 47 (CTS) to match the pull
|
||||
|
@ -137,7 +137,7 @@ &qusb2phy {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8998-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8998-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -357,8 +357,9 @@ &sdhc2 {
|
|||
&tlmm {
|
||||
gpio-reserved-ranges = <0 4>, <81 4>;
|
||||
|
||||
touchpad: touchpad-pin {
|
||||
touchpad: touchpad-pin-state {
|
||||
pins = "gpio123";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -216,7 +216,7 @@ bluetooth {
|
|||
};
|
||||
|
||||
&blsp1_uart3_on {
|
||||
rx {
|
||||
rx-pins {
|
||||
/delete-property/ bias-disable;
|
||||
/*
|
||||
* Configure a pull-up on 45 (RX). This is needed to
|
||||
|
@ -227,7 +227,7 @@ rx {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
cts {
|
||||
cts-pins {
|
||||
/delete-property/ bias-disable;
|
||||
/*
|
||||
* Configure a pull-down on 47 (CTS) to match the pull
|
||||
|
@ -310,15 +310,11 @@ &funnel3 {
|
|||
};
|
||||
|
||||
&funnel4 {
|
||||
// FIXME: Figure out why clock late_initcall crashes the board with
|
||||
// this enabled.
|
||||
// status = "okay";
|
||||
/* FIXME: Figure out why clock late_initcall crashes the board with this enabled. */
|
||||
};
|
||||
|
||||
&funnel5 {
|
||||
// FIXME: Figure out why clock late_initcall crashes the board with
|
||||
// this enabled.
|
||||
// status = "okay";
|
||||
/* FIXME: Figure out why clock late_initcall crashes the board with this enabled. */
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
|
@ -390,7 +386,7 @@ &replicator1 {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8998-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8998-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -588,7 +584,7 @@ vreg_lvs2a_1p8: lvs2 {
|
|||
|
||||
};
|
||||
|
||||
pmi8998-regulators {
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pmi8998-regulators";
|
||||
|
||||
vdd_bob-supply = <&vph_pwr>;
|
||||
|
@ -615,14 +611,14 @@ &remoteproc_slpi {
|
|||
&tlmm {
|
||||
gpio-reserved-ranges = <0 4>;
|
||||
|
||||
mdp_vsync_n: mdp-vsync-n {
|
||||
mdp_vsync_n: mdp-vsync-n-state {
|
||||
pins = "gpio10";
|
||||
function = "mdp_vsync_a";
|
||||
bias-pull-down;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
gpio_kb_pins_extra: gpio-kb-pins-extra {
|
||||
gpio_kb_pins_extra: gpio-kb-pins-extra-state {
|
||||
pins = "gpio21", "gpio32", "gpio33", "gpio114",
|
||||
"gpio128", "gpio129";
|
||||
function = "gpio";
|
||||
|
@ -630,21 +626,21 @@ gpio_kb_pins_extra: gpio-kb-pins-extra {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
ts_vio_default: ts-vio-def {
|
||||
ts_vio_default: ts-vio-def-state {
|
||||
pins = "gpio81";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
ts_rst_n: ts-rst-n {
|
||||
ts_rst_n: ts-rst-n-state {
|
||||
pins = "gpio89";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
drive-strength = <8>;
|
||||
};
|
||||
|
||||
hall_sensor1_default: hall-sensor1-def {
|
||||
hall_sensor1_default: hall-sensor1-def-state {
|
||||
pins = "gpio124";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
|
@ -652,7 +648,7 @@ hall_sensor1_default: hall-sensor1-def {
|
|||
input-enable;
|
||||
};
|
||||
|
||||
ts_int_n: ts-int-n {
|
||||
ts_int_n: ts-int-n-state {
|
||||
pins = "gpio125";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
|
|
|
@ -28,8 +28,8 @@ keyboard@3a {
|
|||
};
|
||||
|
||||
&remoteproc_mss {
|
||||
firmware-name = "qcom/LENOVO/81F1/qcdsp1v28998.mbn",
|
||||
"qcom/LENOVO/81F1/qcdsp28998.mbn";
|
||||
firmware-name = "qcom/msm8998/LENOVO/81F1/qcdsp1v28998.mbn",
|
||||
"qcom/msm8998/LENOVO/81F1/qcdsp28998.mbn";
|
||||
};
|
||||
|
||||
&sdhc2 {
|
||||
|
|
|
@ -46,7 +46,7 @@ bluetooth {
|
|||
};
|
||||
|
||||
&blsp1_uart3_on {
|
||||
rx {
|
||||
rx-pins {
|
||||
/delete-property/ bias-disable;
|
||||
/*
|
||||
* Configure a pull-up on 45 (RX). This is needed to
|
||||
|
@ -57,7 +57,7 @@ rx {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
cts {
|
||||
cts-pins {
|
||||
/delete-property/ bias-disable;
|
||||
/*
|
||||
* Configure a pull-down on 47 (CTS) to match the pull
|
||||
|
@ -124,15 +124,11 @@ &funnel3 {
|
|||
};
|
||||
|
||||
&funnel4 {
|
||||
// FIXME: Figure out why clock late_initcall crashes the board with
|
||||
// this enabled.
|
||||
// status = "okay";
|
||||
/* FIXME: Figure out why clock late_initcall crashes the board with this enabled. */
|
||||
};
|
||||
|
||||
&funnel5 {
|
||||
// FIXME: Figure out why clock late_initcall crashes the board with
|
||||
// this enabled.
|
||||
// status = "okay";
|
||||
/* FIXME: Figure out why clock late_initcall crashes the board with this enabled. */
|
||||
};
|
||||
|
||||
&pcie0 {
|
||||
|
@ -168,7 +164,7 @@ &replicator1 {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8998-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8998-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -366,7 +362,7 @@ vreg_lvs2a_1p8: lvs2 {
|
|||
|
||||
};
|
||||
|
||||
pmi8998-regulators {
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pmi8998-regulators";
|
||||
|
||||
vdd_bob-supply = <&vph_pwr>;
|
||||
|
|
|
@ -33,11 +33,9 @@ button-backlight {
|
|||
|
||||
&pmi8998_gpio {
|
||||
button_backlight_default: button-backlight-state {
|
||||
pinconf {
|
||||
pins = "gpio5";
|
||||
function = "normal";
|
||||
function = "gpio";
|
||||
bias-pull-down;
|
||||
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -233,7 +233,7 @@ bluetooth {
|
|||
};
|
||||
|
||||
&blsp1_uart3_on {
|
||||
rx {
|
||||
rx-pins {
|
||||
/delete-property/ bias-disable;
|
||||
/*
|
||||
* Configure a pull-up on 46 (RX). This is needed to
|
||||
|
@ -244,7 +244,7 @@ rx {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
cts {
|
||||
cts-pins {
|
||||
/delete-property/ bias-disable;
|
||||
/*
|
||||
* Configure a pull-down on 47 (CTS) to match the pull
|
||||
|
@ -279,6 +279,10 @@ vol_keys_default: vol-keys-state {
|
|||
};
|
||||
};
|
||||
|
||||
&pmi8998_rradc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&qusb2phy {
|
||||
status = "okay";
|
||||
|
||||
|
@ -288,7 +292,7 @@ &qusb2phy {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8998-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8998-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -477,7 +481,7 @@ vreg_l28_3p0: l28 {
|
|||
vreg_lvs2a_1p8: lvs2 { };
|
||||
};
|
||||
|
||||
pmi8998-regulators {
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pmi8998-regulators";
|
||||
|
||||
vdd_bob-supply = <&vph_pwr>;
|
||||
|
@ -492,7 +496,7 @@ vreg_bob: bob {
|
|||
&tlmm {
|
||||
gpio-reserved-ranges = <0 4>, <81 4>;
|
||||
|
||||
hall_sensor_default: hall-sensor-default {
|
||||
hall_sensor_default: hall-sensor-default-state {
|
||||
pins = "gpio124";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
@ -500,28 +504,28 @@ hall_sensor_default: hall-sensor-default {
|
|||
input-enable;
|
||||
};
|
||||
|
||||
ts_int_active: ts-int-active {
|
||||
ts_int_active: ts-int-active-state {
|
||||
pins = "gpio125";
|
||||
function = "gpio";
|
||||
drive-strength = <8>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
ts_reset_active: ts-reset-active {
|
||||
ts_reset_active: ts-reset-active-state {
|
||||
pins = "gpio89";
|
||||
function = "gpio";
|
||||
drive-strength = <8>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
nfc_int_active: nfc-int-active {
|
||||
nfc_int_active: nfc-int-active-state {
|
||||
pins = "gpio92";
|
||||
function = "gpio";
|
||||
drive-strength = <6>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
nfc_enable_active: nfc-enable-active {
|
||||
nfc_enable_active: nfc-enable-active-state {
|
||||
pins = "gpio12", "gpio116";
|
||||
function = "gpio";
|
||||
drive-strength = <6>;
|
||||
|
|
|
@ -375,7 +375,7 @@ &qusb2phy {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pm8998-regulators {
|
||||
regulators-0 {
|
||||
compatible = "qcom,rpm-pm8998-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -410,135 +410,166 @@ vreg_s3a_1p35: s3 {
|
|||
regulator-min-microvolt = <1352000>;
|
||||
regulator-max-microvolt = <1352000>;
|
||||
};
|
||||
|
||||
vreg_s4a_1p8: s4 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-system-load = <100000>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_s5a_2p04: s5 {
|
||||
regulator-min-microvolt = <1904000>;
|
||||
regulator-max-microvolt = <2032000>;
|
||||
};
|
||||
|
||||
vreg_s7a_1p025: s7 {
|
||||
regulator-min-microvolt = <900000>;
|
||||
regulator-max-microvolt = <1028000>;
|
||||
};
|
||||
|
||||
vreg_l1a_0p875: l1 {
|
||||
regulator-min-microvolt = <880000>;
|
||||
regulator-max-microvolt = <880000>;
|
||||
regulator-system-load = <73400>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_l2a_1p2: l2 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
regulator-system-load = <12560>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_l3a_1p0: l3 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1000000>;
|
||||
};
|
||||
|
||||
vreg_l5a_0p8: l5 {
|
||||
regulator-min-microvolt = <800000>;
|
||||
regulator-max-microvolt = <800000>;
|
||||
};
|
||||
|
||||
vreg_l6a_1p8: l6 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
vreg_l7a_1p8: l7 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
vreg_l8a_1p2: l8 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
};
|
||||
|
||||
vreg_l9a_1p8: l9 {
|
||||
regulator-min-microvolt = <1808000>;
|
||||
regulator-max-microvolt = <2960000>;
|
||||
};
|
||||
|
||||
vreg_l10a_1p8: l10 {
|
||||
regulator-min-microvolt = <1808000>;
|
||||
regulator-max-microvolt = <2960000>;
|
||||
};
|
||||
|
||||
vreg_l11a_1p0: l11 {
|
||||
regulator-min-microvolt = <1000000>;
|
||||
regulator-max-microvolt = <1000000>;
|
||||
};
|
||||
|
||||
vreg_l12a_1p8: l12 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
vreg_l13a_2p95: l13 {
|
||||
regulator-min-microvolt = <1808000>;
|
||||
regulator-max-microvolt = <2960000>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_l14a_1p85: l14 {
|
||||
regulator-min-microvolt = <1848000>;
|
||||
regulator-max-microvolt = <1856000>;
|
||||
regulator-system-load = <32000>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_l15a_1p8: l15 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
vreg_l16a_2p7: l16 {
|
||||
regulator-min-microvolt = <2704000>;
|
||||
regulator-max-microvolt = <2704000>;
|
||||
};
|
||||
|
||||
vreg_l17a_1p3: l17 {
|
||||
regulator-min-microvolt = <1304000>;
|
||||
regulator-max-microvolt = <1304000>;
|
||||
};
|
||||
|
||||
vreg_l18a_2p85: l18 { };
|
||||
|
||||
vreg_l19a_2p7: l19 {
|
||||
regulator-min-microvolt = <2696000>;
|
||||
regulator-max-microvolt = <2704000>;
|
||||
};
|
||||
|
||||
vreg_l20a_2p95: l20 {
|
||||
regulator-min-microvolt = <2960000>;
|
||||
regulator-max-microvolt = <2960000>;
|
||||
regulator-system-load = <10000>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_l21a_2p95: l21 {
|
||||
regulator-min-microvolt = <2960000>;
|
||||
regulator-max-microvolt = <2960000>;
|
||||
regulator-system-load = <800000>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_l22a_2p85: l22 { };
|
||||
|
||||
vreg_l23a_3p3: l23 {
|
||||
regulator-min-microvolt = <3312000>;
|
||||
regulator-max-microvolt = <3312000>;
|
||||
};
|
||||
|
||||
vreg_l24a_3p075: l24 {
|
||||
regulator-min-microvolt = <3088000>;
|
||||
regulator-max-microvolt = <3088000>;
|
||||
};
|
||||
|
||||
vreg_l25a_3p3: l25 {
|
||||
regulator-min-microvolt = <3104000>;
|
||||
regulator-max-microvolt = <3312000>;
|
||||
};
|
||||
|
||||
vreg_l26a_1p2: l26 {
|
||||
regulator-min-microvolt = <1200000>;
|
||||
regulator-max-microvolt = <1200000>;
|
||||
regulator-allow-set-load;
|
||||
};
|
||||
|
||||
vreg_l28_3p0: l28 {
|
||||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
};
|
||||
|
||||
vreg_lvs1a_1p8: lvs1 { };
|
||||
|
||||
vreg_lvs2a_1p8: lvs2 { };
|
||||
};
|
||||
|
||||
pmi8998-regulators {
|
||||
regulators-1 {
|
||||
compatible = "qcom,rpm-pmi8998-regulators";
|
||||
|
||||
vdd_bob-supply = <&vph_pwr>;
|
||||
|
@ -565,14 +596,14 @@ &sdhc2 {
|
|||
&tlmm {
|
||||
gpio-reserved-ranges = <0 4>, <81 4>;
|
||||
|
||||
mdp_vsync_n: mdp-vsync-n {
|
||||
mdp_vsync_n: mdp-vsync-n-state {
|
||||
pins = "gpio10";
|
||||
function = "mdp_vsync_a";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
nfc_ven: nfc-ven {
|
||||
nfc_ven: nfc-ven-state {
|
||||
pins = "gpio12";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
|
@ -580,42 +611,42 @@ nfc_ven: nfc-ven {
|
|||
output-low;
|
||||
};
|
||||
|
||||
msm_mclk0_default: msm-mclk0-active {
|
||||
msm_mclk0_default: msm-mclk0-active-state {
|
||||
pins = "gpio13";
|
||||
function = "cam_mclk";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
msm_mclk1_default: msm-mclk1-active {
|
||||
msm_mclk1_default: msm-mclk1-active-state {
|
||||
pins = "gpio14";
|
||||
function = "cam_mclk";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cci0_default: cci0-default {
|
||||
cci0_default: cci0-default-state {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "cci_i2c";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
cci1_default: cci1-default {
|
||||
cci1_default: cci1-default-state {
|
||||
pins = "gpio19", "gpio20";
|
||||
function = "cci_i2c";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
cam0_vdig_default: cam0-vdig-default {
|
||||
cam0_vdig_default: cam0-vdig-default-state {
|
||||
pins = "gpio21";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
tof_int: tof-int {
|
||||
tof_int: tof-int-state {
|
||||
pins = "gpio22";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
|
@ -623,28 +654,28 @@ tof_int: tof-int {
|
|||
input-enable;
|
||||
};
|
||||
|
||||
cam1_vdig_default: cam1-vdig-default {
|
||||
cam1_vdig_default: cam1-vdig-default-state {
|
||||
pins = "gpio25";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
usb_extcon_active: usb-extcon-active {
|
||||
usb_extcon_active: usb-extcon-active-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
|
||||
tof_reset: tof-reset {
|
||||
tof_reset: tof-reset-state {
|
||||
pins = "gpio27";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
hall_sensor0_default: acc-cover-open {
|
||||
hall_sensor0_default: acc-cover-open-state {
|
||||
pins = "gpio124";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
|
@ -652,14 +683,14 @@ hall_sensor0_default: acc-cover-open {
|
|||
input-enable;
|
||||
};
|
||||
|
||||
ts_int_n: ts-int-n {
|
||||
ts_int_n: ts-int-n-state {
|
||||
pins = "gpio125";
|
||||
function = "gpio";
|
||||
drive-strength = <8>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
usb_vbus_active: usb-vbus-active {
|
||||
usb_vbus_active: usb-vbus-active-state {
|
||||
pins = "gpio128";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
|
@ -667,7 +698,7 @@ usb_vbus_active: usb-vbus-active {
|
|||
output-low;
|
||||
};
|
||||
|
||||
ts_vddio_en: ts-vddio-en-default {
|
||||
ts_vddio_en: ts-vddio-en-default-state {
|
||||
pins = "gpio133";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
|
|
|
@ -900,7 +900,7 @@ anoc2_smmu: iommu@16c0000 {
|
|||
};
|
||||
|
||||
pcie0: pci@1c00000 {
|
||||
compatible = "qcom,pcie-msm8996";
|
||||
compatible = "qcom,pcie-msm8998", "qcom,pcie-msm8996";
|
||||
reg = <0x01c00000 0x2000>,
|
||||
<0x1b000000 0xf1d>,
|
||||
<0x1b000f20 0xa8>,
|
||||
|
@ -929,11 +929,11 @@ pcie0: pci@1c00000 {
|
|||
<0 0 0 4 &intc 0 0 139 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
||||
clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
|
||||
<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
|
||||
<&gcc GCC_PCIE_0_SLV_AXI_CLK>,
|
||||
<&gcc GCC_PCIE_0_AUX_CLK>,
|
||||
<&gcc GCC_PCIE_0_CFG_AHB_CLK>,
|
||||
<&gcc GCC_PCIE_0_AUX_CLK>;
|
||||
clock-names = "pipe", "bus_master", "bus_slave", "cfg", "aux";
|
||||
<&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
|
||||
<&gcc GCC_PCIE_0_SLV_AXI_CLK>;
|
||||
clock-names = "pipe", "aux", "cfg", "bus_master", "bus_slave";
|
||||
|
||||
power-domains = <&gcc PCIE_0_GDSC>;
|
||||
iommu-map = <0x100 &anoc1_smmu 0x1480 1>;
|
||||
|
@ -1056,81 +1056,82 @@ tlmm: pinctrl@3400000 {
|
|||
compatible = "qcom,msm8998-pinctrl";
|
||||
reg = <0x03400000 0xc00000>;
|
||||
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
|
||||
gpio-ranges = <&tlmm 0 0 150>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
sdc2_on: sdc2-on {
|
||||
clk {
|
||||
sdc2_on: sdc2-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <16>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc2_cmd";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
data {
|
||||
data-pins {
|
||||
pins = "sdc2_data";
|
||||
drive-strength = <10>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_off: sdc2-off {
|
||||
clk {
|
||||
sdc2_off: sdc2-off-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc2_cmd";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
data {
|
||||
data-pins {
|
||||
pins = "sdc2_data";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_cd: sdc2-cd {
|
||||
sdc2_cd: sdc2-cd-state {
|
||||
pins = "gpio95";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
blsp1_uart3_on: blsp1-uart3-on {
|
||||
tx {
|
||||
blsp1_uart3_on: blsp1-uart3-on-state {
|
||||
tx-pins {
|
||||
pins = "gpio45";
|
||||
function = "blsp_uart3_a";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
rx {
|
||||
rx-pins {
|
||||
pins = "gpio46";
|
||||
function = "blsp_uart3_a";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cts {
|
||||
cts-pins {
|
||||
pins = "gpio47";
|
||||
function = "blsp_uart3_a";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
rfr {
|
||||
rfr-pins {
|
||||
pins = "gpio48";
|
||||
function = "blsp_uart3_a";
|
||||
drive-strength = <2>;
|
||||
|
@ -1138,168 +1139,168 @@ rfr {
|
|||
};
|
||||
};
|
||||
|
||||
blsp1_i2c1_default: blsp1-i2c1-default {
|
||||
blsp1_i2c1_default: blsp1-i2c1-default-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
function = "blsp_i2c1";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c1_sleep: blsp1-i2c1-sleep {
|
||||
blsp1_i2c1_sleep: blsp1-i2c1-sleep-state-state {
|
||||
pins = "gpio2", "gpio3";
|
||||
function = "blsp_i2c1";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp1_i2c2_default: blsp1-i2c2-default {
|
||||
blsp1_i2c2_default: blsp1-i2c2-default-state {
|
||||
pins = "gpio32", "gpio33";
|
||||
function = "blsp_i2c2";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c2_sleep: blsp1-i2c2-sleep {
|
||||
blsp1_i2c2_sleep: blsp1-i2c2-sleep-state-state {
|
||||
pins = "gpio32", "gpio33";
|
||||
function = "blsp_i2c2";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp1_i2c3_default: blsp1-i2c3-default {
|
||||
blsp1_i2c3_default: blsp1-i2c3-default-state {
|
||||
pins = "gpio47", "gpio48";
|
||||
function = "blsp_i2c3";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c3_sleep: blsp1-i2c3-sleep {
|
||||
blsp1_i2c3_sleep: blsp1-i2c3-sleep-state {
|
||||
pins = "gpio47", "gpio48";
|
||||
function = "blsp_i2c3";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp1_i2c4_default: blsp1-i2c4-default {
|
||||
blsp1_i2c4_default: blsp1-i2c4-default-state {
|
||||
pins = "gpio10", "gpio11";
|
||||
function = "blsp_i2c4";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c4_sleep: blsp1-i2c4-sleep {
|
||||
blsp1_i2c4_sleep: blsp1-i2c4-sleep-state {
|
||||
pins = "gpio10", "gpio11";
|
||||
function = "blsp_i2c4";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp1_i2c5_default: blsp1-i2c5-default {
|
||||
blsp1_i2c5_default: blsp1-i2c5-default-state {
|
||||
pins = "gpio87", "gpio88";
|
||||
function = "blsp_i2c5";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c5_sleep: blsp1-i2c5-sleep {
|
||||
blsp1_i2c5_sleep: blsp1-i2c5-sleep-state {
|
||||
pins = "gpio87", "gpio88";
|
||||
function = "blsp_i2c5";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp1_i2c6_default: blsp1-i2c6-default {
|
||||
blsp1_i2c6_default: blsp1-i2c6-default-state {
|
||||
pins = "gpio43", "gpio44";
|
||||
function = "blsp_i2c6";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp1_i2c6_sleep: blsp1-i2c6-sleep {
|
||||
blsp1_i2c6_sleep: blsp1-i2c6-sleep-state {
|
||||
pins = "gpio43", "gpio44";
|
||||
function = "blsp_i2c6";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
/* 6 interfaces per QUP, BLSP2 indexes are numbered (n)+6 */
|
||||
blsp2_i2c1_default: blsp2-i2c1-default {
|
||||
blsp2_i2c1_default: blsp2-i2c1-default-state {
|
||||
pins = "gpio55", "gpio56";
|
||||
function = "blsp_i2c7";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_i2c1_sleep: blsp2-i2c1-sleep {
|
||||
blsp2_i2c1_sleep: blsp2-i2c1-sleep-state {
|
||||
pins = "gpio55", "gpio56";
|
||||
function = "blsp_i2c7";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp2_i2c2_default: blsp2-i2c2-default {
|
||||
blsp2_i2c2_default: blsp2-i2c2-default-state {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "blsp_i2c8";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_i2c2_sleep: blsp2-i2c2-sleep {
|
||||
blsp2_i2c2_sleep: blsp2-i2c2-sleep-state {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "blsp_i2c8";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp2_i2c3_default: blsp2-i2c3-default {
|
||||
blsp2_i2c3_default: blsp2-i2c3-default-state {
|
||||
pins = "gpio51", "gpio52";
|
||||
function = "blsp_i2c9";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_i2c3_sleep: blsp2-i2c3-sleep {
|
||||
blsp2_i2c3_sleep: blsp2-i2c3-sleep-state {
|
||||
pins = "gpio51", "gpio52";
|
||||
function = "blsp_i2c9";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp2_i2c4_default: blsp2-i2c4-default {
|
||||
blsp2_i2c4_default: blsp2-i2c4-default-state {
|
||||
pins = "gpio67", "gpio68";
|
||||
function = "blsp_i2c10";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_i2c4_sleep: blsp2-i2c4-sleep {
|
||||
blsp2_i2c4_sleep: blsp2-i2c4-sleep-state {
|
||||
pins = "gpio67", "gpio68";
|
||||
function = "blsp_i2c10";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp2_i2c5_default: blsp2-i2c5-default {
|
||||
blsp2_i2c5_default: blsp2-i2c5-default-state {
|
||||
pins = "gpio60", "gpio61";
|
||||
function = "blsp_i2c11";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_i2c5_sleep: blsp2-i2c5-sleep {
|
||||
blsp2_i2c5_sleep: blsp2-i2c5-sleep-state {
|
||||
pins = "gpio60", "gpio61";
|
||||
function = "blsp_i2c11";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
blsp2_i2c6_default: blsp2-i2c6-default {
|
||||
blsp2_i2c6_default: blsp2-i2c6-default-state {
|
||||
pins = "gpio83", "gpio84";
|
||||
function = "blsp_i2c12";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
blsp2_i2c6_sleep: blsp2-i2c6-sleep {
|
||||
blsp2_i2c6_sleep: blsp2-i2c6-sleep-state {
|
||||
pins = "gpio83", "gpio84";
|
||||
function = "blsp_i2c12";
|
||||
drive-strength = <2>;
|
||||
|
|
154
arch/arm64/boot/dts/qcom/pm6125.dtsi
Normal file
154
arch/arm64/boot/dts/qcom/pm6125.dtsi
Normal file
|
@ -0,0 +1,154 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#include <dt-bindings/iio/qcom,spmi-vadc.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/input/linux-event-codes.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
|
||||
/ {
|
||||
thermal-zones {
|
||||
pm6125-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm6125_temp>;
|
||||
|
||||
trips {
|
||||
trip0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
trip1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <0>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip2 {
|
||||
temperature = <145000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spmi_bus {
|
||||
pmic@0 {
|
||||
compatible = "qcom,pm6125", "qcom,spmi-pmic";
|
||||
reg = <0x0 SPMI_USID>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pm6125_pon: pon@800 {
|
||||
compatible = "qcom,pm8998-pon";
|
||||
reg = <0x800>;
|
||||
mode-bootloader = <0x2>;
|
||||
mode-recovery = <0x1>;
|
||||
|
||||
pon_pwrkey: pwrkey {
|
||||
compatible = "qcom,pm8941-pwrkey";
|
||||
interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>;
|
||||
debounce = <15625>;
|
||||
linux,code = <KEY_POWER>;
|
||||
bias-pull-up;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pon_resin: resin {
|
||||
compatible = "qcom,pm8941-resin";
|
||||
interrupts = <0x0 0x8 0x1 IRQ_TYPE_EDGE_BOTH>;
|
||||
debounce = <15625>;
|
||||
bias-pull-up;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
pm6125_temp: temp-alarm@2400 {
|
||||
compatible = "qcom,spmi-temp-alarm";
|
||||
reg = <0x2400>;
|
||||
interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
|
||||
io-channels = <&pm6125_adc ADC5_DIE_TEMP>;
|
||||
io-channel-names = "thermal";
|
||||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
|
||||
pm6125_adc: adc@3100 {
|
||||
compatible = "qcom,spmi-adc5";
|
||||
reg = <0x3100>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
|
||||
#io-channel-cells = <1>;
|
||||
|
||||
ref-gnd@0 {
|
||||
reg = <ADC5_REF_GND>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
vref-1p25@1 {
|
||||
reg = <ADC5_1P25VREF>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
die-temp@6 {
|
||||
reg = <ADC5_DIE_TEMP>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
vph-pwr@83 {
|
||||
reg = <ADC5_VPH_PWR>;
|
||||
qcom,pre-scaling = <1 3>;
|
||||
};
|
||||
|
||||
vcoin@85 {
|
||||
reg = <ADC5_VCOIN>;
|
||||
qcom,pre-scaling = <1 3>;
|
||||
};
|
||||
|
||||
xo-therm@4c {
|
||||
reg = <ADC5_XO_THERM_100K_PU>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,ratiometric;
|
||||
};
|
||||
};
|
||||
|
||||
pm6125_adc_tm: adc-tm@3500 {
|
||||
compatible = "qcom,spmi-adc-tm5";
|
||||
reg = <0x3500>;
|
||||
interrupts = <0x0 0x35 0x0 IRQ_TYPE_EDGE_RISING>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pm6125_rtc: rtc@6000 {
|
||||
compatible = "qcom,pm8941-rtc";
|
||||
reg = <0x6000>, <0x6100>;
|
||||
reg-names = "rtc", "alarm";
|
||||
interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pm6125_gpio: gpio@c000 {
|
||||
compatible = "qcom,pm6125-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
gpio-ranges = <&pm6125_gpio 0 0 9>;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
pmic@1 {
|
||||
compatible = "qcom,pm6125", "qcom,spmi-pmic";
|
||||
reg = <0x1 SPMI_USID>;
|
||||
};
|
||||
};
|
|
@ -1,5 +1,7 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
/*
|
||||
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <dt-bindings/iio/qcom,spmi-vadc.h>
|
||||
#include <dt-bindings/input/linux-event-codes.h>
|
||||
|
@ -86,7 +88,7 @@ pm6150_adc_tm: adc-tm@3500 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
pm6150_gpio: gpios@c000 {
|
||||
pm6150_gpio: gpio@c000 {
|
||||
compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
|
|
|
@ -1,10 +1,43 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
/*
|
||||
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <dt-bindings/iio/qcom,spmi-vadc.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
|
||||
/ {
|
||||
thermal-zones {
|
||||
pm6150l-thermal {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm6150l_temp>;
|
||||
|
||||
trips {
|
||||
trip0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
trip1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <0>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip2 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spmi_bus {
|
||||
pm6150l_lsid4: pmic@4 {
|
||||
compatible = "qcom,pm6150l", "qcom,spmi-pmic";
|
||||
|
@ -12,6 +45,13 @@ pm6150l_lsid4: pmic@4 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pm6150l_temp: temp-alarm@2400 {
|
||||
compatible = "qcom,spmi-temp-alarm";
|
||||
reg = <0x2400>;
|
||||
interrupts = <0x4 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
|
||||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
|
||||
pm6150l_adc: adc@3100 {
|
||||
compatible = "qcom,spmi-adc5";
|
||||
reg = <0x3100>;
|
||||
|
@ -55,7 +95,7 @@ pm6150l_adc_tm: adc-tm@3500 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
pm6150l_gpio: gpios@c000 {
|
||||
pm6150l_gpio: gpio@c000 {
|
||||
compatible = "qcom,pm6150l-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
|
|
|
@ -3,8 +3,40 @@
|
|||
* Copyright (c) 2021, Luca Weiss <luca@z3ntu.xyz>
|
||||
*/
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
|
||||
/ {
|
||||
thermal-zones {
|
||||
pm6350-thermal {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
|
||||
thermal-sensors = <&pm6350_temp>;
|
||||
|
||||
trips {
|
||||
trip0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
trip1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <0>;
|
||||
type = "hot";
|
||||
};
|
||||
|
||||
trip2 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&spmi_bus {
|
||||
pmic@0 {
|
||||
compatible = "qcom,pm6350", "qcom,spmi-pmic";
|
||||
|
@ -35,7 +67,14 @@ pm6350_resin: resin {
|
|||
};
|
||||
};
|
||||
|
||||
pm6350_gpios: gpios@c000 {
|
||||
pm6350_temp: temp-alarm@2400 {
|
||||
compatible = "qcom,spmi-temp-alarm";
|
||||
reg = <0x2400>;
|
||||
interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
|
||||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
|
||||
pm6350_gpios: gpio@c000 {
|
||||
compatible = "qcom,pm6350-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
|
|
|
@ -163,14 +163,14 @@ vadc_vph_pwr: vph_pwr@83 {
|
|||
qcom,pre-scaling = <1 3>;
|
||||
};
|
||||
|
||||
vcoin: vcoin@83 {
|
||||
vcoin: vcoin@85 {
|
||||
reg = <ADC5_VCOIN>;
|
||||
qcom,decimation = <1024>;
|
||||
qcom,pre-scaling = <1 3>;
|
||||
};
|
||||
};
|
||||
|
||||
pm660_gpios: gpios@c000 {
|
||||
pm660_gpios: gpio@c000 {
|
||||
compatible = "qcom,pm660-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
|
|
|
@ -48,7 +48,7 @@ pm660l_temp: temp-alarm@2400 {
|
|||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
|
||||
pm660l_gpios: gpios@c000 {
|
||||
pm660l_gpios: gpio@c000 {
|
||||
compatible = "qcom,pm660l-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
// Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
||||
/*
|
||||
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
|
@ -18,7 +20,7 @@ pm7325_temp_alarm: temp-alarm@a00 {
|
|||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
|
||||
pm7325_gpios: gpios@8800 {
|
||||
pm7325_gpios: gpio@8800 {
|
||||
compatible = "qcom,pm7325-gpio", "qcom,spmi-gpio";
|
||||
reg = <0x8800>;
|
||||
gpio-controller;
|
||||
|
|
|
@ -11,7 +11,7 @@ pm8005_lsid0: pmic@4 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pm8005_gpio: gpios@c000 {
|
||||
pm8005_gpio: gpio@c000 {
|
||||
compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
|
|
|
@ -53,7 +53,7 @@ pon@800 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
pm8150b_vbus: dcdc@1100 {
|
||||
pm8150b_vbus: usb-vbus-regulator@1100 {
|
||||
compatible = "qcom,pm8150b-vbus-reg";
|
||||
status = "disabled";
|
||||
reg = <0x1100>;
|
||||
|
|
|
@ -107,7 +107,7 @@ pm8916_mpps: mpps@a000 {
|
|||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
pm8916_gpios: gpios@c000 {
|
||||
pm8916_gpios: gpio@c000 {
|
||||
compatible = "qcom,pm8916-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
|
|
|
@ -108,7 +108,7 @@ adc-chan@f {
|
|||
};
|
||||
};
|
||||
|
||||
pm8994_gpios: gpios@c000 {
|
||||
pm8994_gpios: gpio@c000 {
|
||||
compatible = "qcom,pm8994-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
|
|
|
@ -63,7 +63,7 @@ pm8998_temp: temp-alarm@2400 {
|
|||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
|
||||
pm8998_coincell: coincell@2800 {
|
||||
pm8998_coincell: charger@2800 {
|
||||
compatible = "qcom,pm8941-coincell";
|
||||
reg = <0x2800>;
|
||||
|
||||
|
@ -101,7 +101,7 @@ rtc@6000 {
|
|||
interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
|
||||
};
|
||||
|
||||
pm8998_gpio: gpios@c000 {
|
||||
pm8998_gpio: gpio@c000 {
|
||||
compatible = "qcom,pm8998-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
|
|
|
@ -10,7 +10,7 @@ pmic@2 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pmi8994_gpios: gpios@c000 {
|
||||
pmi8994_gpios: gpio@c000 {
|
||||
compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
|
|
|
@ -9,7 +9,7 @@ pmi8998_lsid0: pmic@2 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pmi8998_gpio: gpios@c000 {
|
||||
pmi8998_gpio: gpio@c000 {
|
||||
compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
|
@ -18,6 +18,14 @@ pmi8998_gpio: gpios@c000 {
|
|||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
pmi8998_rradc: adc@4500 {
|
||||
compatible = "qcom,pmi8998-rradc";
|
||||
reg = <0x4500>;
|
||||
#io-channel-cells = <1>;
|
||||
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
pmi8998_lsid1: pmic@3 {
|
||||
|
|
125
arch/arm64/boot/dts/qcom/pmp8074.dtsi
Normal file
125
arch/arm64/boot/dts/qcom/pmp8074.dtsi
Normal file
|
@ -0,0 +1,125 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
|
||||
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
#include <dt-bindings/iio/qcom,spmi-vadc.h>
|
||||
|
||||
&spmi_bus {
|
||||
pmic@0 {
|
||||
compatible = "qcom,pmp8074", "qcom,spmi-pmic";
|
||||
reg = <0x0 SPMI_USID>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pmp8074_adc: adc@3100 {
|
||||
compatible = "qcom,spmi-adc-rev2";
|
||||
reg = <0x3100>;
|
||||
interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
#io-channel-cells = <1>;
|
||||
|
||||
ref-gnd@0 {
|
||||
reg = <ADC5_REF_GND>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
vref-1p25@1 {
|
||||
reg = <ADC5_1P25VREF>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
vref-vadc@2 {
|
||||
reg = <ADC5_VREF_VADC>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pmic_die: die-temp@6 {
|
||||
reg = <ADC5_DIE_TEMP>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
xo_therm: xo-temp@76 {
|
||||
reg = <ADC5_XO_THERM_100K_PU>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pa_therm1: thermistor1@77 {
|
||||
reg = <ADC5_AMUX_THM1_100K_PU>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pa_therm2: thermistor2@78 {
|
||||
reg = <ADC5_AMUX_THM2_100K_PU>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
pa_therm3: thermistor3@79 {
|
||||
reg = <ADC5_AMUX_THM3_100K_PU>;
|
||||
qcom,ratiometric;
|
||||
qcom,hw-settle-time = <200>;
|
||||
qcom,pre-scaling = <1 1>;
|
||||
};
|
||||
|
||||
vph-pwr@131 {
|
||||
reg = <ADC5_VPH_PWR>;
|
||||
qcom,pre-scaling = <1 3>;
|
||||
};
|
||||
};
|
||||
|
||||
pmp8074_rtc: rtc@6000 {
|
||||
compatible = "qcom,pm8941-rtc";
|
||||
reg = <0x6000>;
|
||||
reg-names = "rtc", "alarm";
|
||||
interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
|
||||
allow-set-time;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pmp8074_gpios: gpio@c000 {
|
||||
compatible = "qcom,pmp8074-gpio", "qcom,spmi-gpio";
|
||||
reg = <0xc000>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-ranges = <&pmp8074_gpios 0 0 12>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
pmic@1 {
|
||||
compatible = "qcom,pmp8074", "qcom,spmi-pmic";
|
||||
reg = <0x1 SPMI_USID>;
|
||||
|
||||
regulators {
|
||||
compatible = "qcom,pmp8074-regulators";
|
||||
|
||||
s3: s3 {
|
||||
regulator-name = "vdd_s3";
|
||||
regulator-min-microvolt = <592000>;
|
||||
regulator-max-microvolt = <1064000>;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
s4: s4 {
|
||||
regulator-name = "vdd_s4";
|
||||
regulator-min-microvolt = <712000>;
|
||||
regulator-max-microvolt = <992000>;
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
l11: l11 {
|
||||
regulator-name = "l11";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
|
@ -1,5 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
// Copyright (c) 2018, Linaro Limited
|
||||
/*
|
||||
* Copyright (c) 2018, Linaro Limited
|
||||
*/
|
||||
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
#include <dt-bindings/input/linux-event-codes.h>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
// Copyright (c) 2018, Linaro Limited
|
||||
/*
|
||||
* Copyright (c) 2018, Linaro Limited
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
// Copyright (c) 2018, Linaro Limited
|
||||
/*
|
||||
* Copyright (c) 2018, Linaro Limited
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
|
@ -37,54 +39,54 @@ phy1: phy@4 {
|
|||
};
|
||||
|
||||
&tlmm {
|
||||
ethernet_defaults: ethernet-defaults {
|
||||
int {
|
||||
ethernet_defaults: ethernet-defaults-state {
|
||||
int-pins {
|
||||
pins = "gpio61";
|
||||
function = "rgmii_int";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
mdc {
|
||||
mdc-pins {
|
||||
pins = "gpio76";
|
||||
function = "rgmii_mdc";
|
||||
bias-pull-up;
|
||||
};
|
||||
mdio {
|
||||
mdio-pins {
|
||||
pins = "gpio75";
|
||||
function = "rgmii_mdio";
|
||||
bias-pull-up;
|
||||
};
|
||||
tx {
|
||||
tx-pins {
|
||||
pins = "gpio67", "gpio66", "gpio65", "gpio64";
|
||||
function = "rgmii_tx";
|
||||
bias-pull-up;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
rx {
|
||||
rx-pins {
|
||||
pins = "gpio73", "gpio72", "gpio71", "gpio70";
|
||||
function = "rgmii_rx";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
tx-ctl {
|
||||
tx-ctl-pins {
|
||||
pins = "gpio68";
|
||||
function = "rgmii_ctl";
|
||||
bias-pull-up;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
rx-ctl {
|
||||
rx-ctl-pins {
|
||||
pins = "gpio74";
|
||||
function = "rgmii_ctl";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
tx-ck {
|
||||
tx-ck-pins {
|
||||
pins = "gpio63";
|
||||
function = "rgmii_ck";
|
||||
bias-pull-up;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
rx-ck {
|
||||
rx-ck-pins {
|
||||
pins = "gpio69";
|
||||
function = "rgmii_ck";
|
||||
bias-disable;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
// Copyright (c) 2018, Linaro Limited
|
||||
/*
|
||||
* Copyright (c) 2018, Linaro Limited
|
||||
*/
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include "qcs404.dtsi"
|
||||
|
@ -125,7 +127,7 @@ &remoteproc_wcss {
|
|||
};
|
||||
|
||||
&rpm_requests {
|
||||
pms405-regulators {
|
||||
regulators {
|
||||
compatible = "qcom,rpm-pms405-regulators";
|
||||
|
||||
vdd_s1-supply = <&vph_pwr>;
|
||||
|
@ -229,7 +231,7 @@ &sdcc1 {
|
|||
};
|
||||
|
||||
&tlmm {
|
||||
perst_state: perst {
|
||||
perst_state: perst-state {
|
||||
pins = "gpio43";
|
||||
function = "gpio";
|
||||
|
||||
|
@ -238,70 +240,65 @@ perst_state: perst {
|
|||
output-low;
|
||||
};
|
||||
|
||||
sdc1_on: sdc1-on {
|
||||
clk {
|
||||
sdc1_on: sdc1-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
bias-disable;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
|
||||
cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc1_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
data {
|
||||
data-pins {
|
||||
pins = "sdc1_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
rclk {
|
||||
rclk-pins {
|
||||
pins = "sdc1_rclk";
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
|
||||
sdc1_off: sdc1-off {
|
||||
clk {
|
||||
sdc1_off: sdc1-off-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc1_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
data {
|
||||
data-pins {
|
||||
pins = "sdc1_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
rclk {
|
||||
rclk-pins {
|
||||
pins = "sdc1_rclk";
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
|
||||
usb3_id_pin: usb3-id-pin {
|
||||
pinmux {
|
||||
usb3_id_pin: usb3-id-state {
|
||||
pins = "gpio116";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio116";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pms405_gpios {
|
||||
usb_vbus_boost_pin: usb-vbus-boost-state {
|
||||
|
@ -366,31 +363,28 @@ &wifi {
|
|||
/* PINCTRL - additions to nodes defined in qcs404.dtsi */
|
||||
|
||||
&blsp1_uart2_default {
|
||||
rx {
|
||||
rx-pins {
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
tx {
|
||||
tx-pins {
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&blsp1_uart3_default {
|
||||
cts {
|
||||
pins = "gpio84";
|
||||
cts-pins {
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
rts-tx {
|
||||
pins = "gpio85", "gpio82";
|
||||
rts-tx-pins {
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
rx {
|
||||
pins = "gpio83";
|
||||
rx-pins {
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
// Copyright (c) 2018, Linaro Limited
|
||||
/*
|
||||
* Copyright (c) 2018, Linaro Limited
|
||||
*/
|
||||
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/clock/qcom,gcc-qcs404.h>
|
||||
|
@ -593,118 +595,130 @@ tlmm: pinctrl@1000000 {
|
|||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
blsp1_i2c0_default: blsp1-i2c0-default {
|
||||
blsp1_i2c0_default: blsp1-i2c0-default-state {
|
||||
pins = "gpio32", "gpio33";
|
||||
function = "blsp_i2c0";
|
||||
};
|
||||
|
||||
blsp1_i2c1_default: blsp1-i2c1-default {
|
||||
blsp1_i2c1_default: blsp1-i2c1-default-state {
|
||||
pins = "gpio24", "gpio25";
|
||||
function = "blsp_i2c1";
|
||||
};
|
||||
|
||||
blsp1_i2c2_default: blsp1-i2c2-default {
|
||||
sda {
|
||||
blsp1_i2c2_default: blsp1-i2c2-default-state {
|
||||
sda-pins {
|
||||
pins = "gpio19";
|
||||
function = "blsp_i2c_sda_a2";
|
||||
};
|
||||
|
||||
scl {
|
||||
scl-pins {
|
||||
pins = "gpio20";
|
||||
function = "blsp_i2c_scl_a2";
|
||||
};
|
||||
};
|
||||
|
||||
blsp1_i2c3_default: blsp1-i2c3-default {
|
||||
blsp1_i2c3_default: blsp1-i2c3-default-state {
|
||||
pins = "gpio84", "gpio85";
|
||||
function = "blsp_i2c3";
|
||||
};
|
||||
|
||||
blsp1_i2c4_default: blsp1-i2c4-default {
|
||||
blsp1_i2c4_default: blsp1-i2c4-default-state {
|
||||
pins = "gpio117", "gpio118";
|
||||
function = "blsp_i2c4";
|
||||
};
|
||||
|
||||
blsp1_uart0_default: blsp1-uart0-default {
|
||||
blsp1_uart0_default: blsp1-uart0-default-state {
|
||||
pins = "gpio30", "gpio31", "gpio32", "gpio33";
|
||||
function = "blsp_uart0";
|
||||
};
|
||||
|
||||
blsp1_uart1_default: blsp1-uart1-default {
|
||||
blsp1_uart1_default: blsp1-uart1-default-state {
|
||||
pins = "gpio22", "gpio23";
|
||||
function = "blsp_uart1";
|
||||
};
|
||||
|
||||
blsp1_uart2_default: blsp1-uart2-default {
|
||||
rx {
|
||||
blsp1_uart2_default: blsp1-uart2-default-state {
|
||||
rx-pins {
|
||||
pins = "gpio18";
|
||||
function = "blsp_uart_rx_a2";
|
||||
};
|
||||
|
||||
tx {
|
||||
tx-pins {
|
||||
pins = "gpio17";
|
||||
function = "blsp_uart_tx_a2";
|
||||
};
|
||||
};
|
||||
|
||||
blsp1_uart3_default: blsp1-uart3-default {
|
||||
pins = "gpio82", "gpio83", "gpio84", "gpio85";
|
||||
blsp1_uart3_default: blsp1-uart3-default-state {
|
||||
cts-pins {
|
||||
pins = "gpio84";
|
||||
function = "blsp_uart3";
|
||||
};
|
||||
|
||||
blsp2_i2c0_default: blsp2-i2c0-default {
|
||||
rts-tx-pins {
|
||||
pins = "gpio85", "gpio82";
|
||||
function = "blsp_uart3";
|
||||
};
|
||||
|
||||
rx-pins {
|
||||
pins = "gpio83";
|
||||
function = "blsp_uart3";
|
||||
};
|
||||
};
|
||||
|
||||
blsp2_i2c0_default: blsp2-i2c0-default-state {
|
||||
pins = "gpio28", "gpio29";
|
||||
function = "blsp_i2c5";
|
||||
};
|
||||
|
||||
blsp1_spi0_default: blsp1-spi0-default {
|
||||
blsp1_spi0_default: blsp1-spi0-default-state {
|
||||
pins = "gpio30", "gpio31", "gpio32", "gpio33";
|
||||
function = "blsp_spi0";
|
||||
};
|
||||
|
||||
blsp1_spi1_default: blsp1-spi1-default {
|
||||
mosi {
|
||||
blsp1_spi1_default: blsp1-spi1-default-state {
|
||||
mosi-pins {
|
||||
pins = "gpio22";
|
||||
function = "blsp_spi_mosi_a1";
|
||||
};
|
||||
|
||||
miso {
|
||||
miso-pins {
|
||||
pins = "gpio23";
|
||||
function = "blsp_spi_miso_a1";
|
||||
};
|
||||
|
||||
cs_n {
|
||||
cs-n-pins {
|
||||
pins = "gpio24";
|
||||
function = "blsp_spi_cs_n_a1";
|
||||
};
|
||||
|
||||
clk {
|
||||
clk-pins {
|
||||
pins = "gpio25";
|
||||
function = "blsp_spi_clk_a1";
|
||||
};
|
||||
};
|
||||
|
||||
blsp1_spi2_default: blsp1-spi2-default {
|
||||
blsp1_spi2_default: blsp1-spi2-default-state {
|
||||
pins = "gpio17", "gpio18", "gpio19", "gpio20";
|
||||
function = "blsp_spi2";
|
||||
};
|
||||
|
||||
blsp1_spi3_default: blsp1-spi3-default {
|
||||
blsp1_spi3_default: blsp1-spi3-default-state {
|
||||
pins = "gpio82", "gpio83", "gpio84", "gpio85";
|
||||
function = "blsp_spi3";
|
||||
};
|
||||
|
||||
blsp1_spi4_default: blsp1-spi4-default {
|
||||
blsp1_spi4_default: blsp1-spi4-default-state {
|
||||
pins = "gpio37", "gpio38", "gpio117", "gpio118";
|
||||
function = "blsp_spi4";
|
||||
};
|
||||
|
||||
blsp2_spi0_default: blsp2-spi0-default {
|
||||
blsp2_spi0_default: blsp2-spi0-default-state {
|
||||
pins = "gpio26", "gpio27", "gpio28", "gpio29";
|
||||
function = "blsp_spi5";
|
||||
};
|
||||
|
||||
blsp2_uart0_default: blsp2-uart0-default {
|
||||
blsp2_uart0_default: blsp2-uart0-default-state {
|
||||
pins = "gpio26", "gpio27", "gpio28", "gpio29";
|
||||
function = "blsp_uart5";
|
||||
};
|
||||
|
|
|
@ -867,7 +867,7 @@ &qupv3_id_2 {
|
|||
};
|
||||
|
||||
&q6afedai {
|
||||
qi2s@16 {
|
||||
dai@16 {
|
||||
reg = <PRIMARY_MI2S_RX>;
|
||||
qcom,sd-lines = <0 1 2 3>;
|
||||
};
|
||||
|
@ -875,7 +875,7 @@ qi2s@16 {
|
|||
|
||||
/* TERT I2S Uses 1 I2S SD Lines for audio on LT9611 HDMI Bridge */
|
||||
&q6afedai {
|
||||
qi2s@20 {
|
||||
dai@20 {
|
||||
reg = <TERTIARY_MI2S_RX>;
|
||||
qcom,sd-lines = <0>;
|
||||
};
|
||||
|
@ -1007,7 +1007,7 @@ can@0 {
|
|||
};
|
||||
|
||||
&swr0 {
|
||||
left_spkr: wsa8810-left{
|
||||
left_spkr: speaker@0,3 {
|
||||
compatible = "sdw10217211000";
|
||||
reg = <0 3>;
|
||||
powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_HIGH>;
|
||||
|
@ -1016,7 +1016,7 @@ left_spkr: wsa8810-left{
|
|||
#sound-dai-cells = <0>;
|
||||
};
|
||||
|
||||
right_spkr: wsa8810-right{
|
||||
right_spkr: speaker@0,4 {
|
||||
compatible = "sdw10217211000";
|
||||
reg = <0 4>;
|
||||
powerdown-gpios = <&tlmm 130 GPIO_ACTIVE_HIGH>;
|
||||
|
@ -1210,33 +1210,33 @@ &tlmm {
|
|||
"HST_WLAN_UART_TX",
|
||||
"HST_WLAN_UART_RX";
|
||||
|
||||
lt9611_irq_pin: lt9611-irq {
|
||||
lt9611_irq_pin: lt9611-irq-state {
|
||||
pins = "gpio63";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
sdc2_default_state: sdc2-default {
|
||||
clk {
|
||||
sdc2_default_state: sdc2-default-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
bias-disable;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
|
||||
cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
data {
|
||||
data-pins {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_card_det_n: sd-card-det-n {
|
||||
sdc2_card_det_n: sd-card-det-n-state {
|
||||
pins = "gpio77";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
|
|
|
@ -477,26 +477,26 @@ &pcie1_phy {
|
|||
&tlmm {
|
||||
gpio-reserved-ranges = <0 4>;
|
||||
|
||||
sdc2_on: sdc2_on {
|
||||
clk {
|
||||
sdc2_on: sdc2-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
bias-disable; /* No pull */
|
||||
drive-strength = <16>; /* 16 MA */
|
||||
};
|
||||
|
||||
cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up; /* pull up */
|
||||
drive-strength = <16>; /* 16 MA */
|
||||
};
|
||||
|
||||
data {
|
||||
data-pins {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up; /* pull up */
|
||||
drive-strength = <16>; /* 16 MA */
|
||||
};
|
||||
|
||||
sd-cd {
|
||||
sd-cd-pins {
|
||||
pins = "gpio96";
|
||||
function = "gpio";
|
||||
bias-pull-up; /* pull up */
|
||||
|
@ -504,26 +504,26 @@ sd-cd {
|
|||
};
|
||||
};
|
||||
|
||||
sdc2_off: sdc2_off {
|
||||
clk {
|
||||
sdc2_off: sdc2-off-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
bias-disable; /* No pull */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
|
||||
cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up; /* pull up */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
|
||||
data {
|
||||
data-pins {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up; /* pull up */
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
};
|
||||
|
||||
sd-cd {
|
||||
sd-cd-pins {
|
||||
pins = "gpio96";
|
||||
function = "gpio";
|
||||
bias-pull-up; /* pull up */
|
||||
|
@ -531,66 +531,62 @@ sd-cd {
|
|||
};
|
||||
};
|
||||
|
||||
usb2phy_ac_en1_default: usb2phy_ac_en1_default {
|
||||
mux {
|
||||
usb2phy_ac_en1_default: usb2phy-ac-en1-default-state {
|
||||
pins = "gpio113";
|
||||
function = "usb2phy_ac";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
usb2phy_ac_en2_default: usb2phy_ac_en2_default {
|
||||
mux {
|
||||
usb2phy_ac_en2_default: usb2phy-ac-en2-default-state {
|
||||
pins = "gpio123";
|
||||
function = "usb2phy_ac";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
ethernet_defaults: ethernet-defaults {
|
||||
mdc {
|
||||
ethernet_defaults: ethernet-defaults-state {
|
||||
mdc-pins {
|
||||
pins = "gpio7";
|
||||
function = "rgmii";
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
mdio {
|
||||
mdio-pins {
|
||||
pins = "gpio59";
|
||||
function = "rgmii";
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
rgmii-rx {
|
||||
rgmii-rx-pins {
|
||||
pins = "gpio117", "gpio118", "gpio119", "gpio120", "gpio115", "gpio116";
|
||||
function = "rgmii";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
rgmii-tx {
|
||||
rgmii-tx-pins {
|
||||
pins = "gpio122", "gpio4", "gpio5", "gpio6", "gpio114", "gpio121";
|
||||
function = "rgmii";
|
||||
bias-pull-up;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
|
||||
phy-intr {
|
||||
phy-intr-pins {
|
||||
pins = "gpio124";
|
||||
function = "emac_phy";
|
||||
bias-disable;
|
||||
drive-strength = <8>;
|
||||
};
|
||||
|
||||
pps {
|
||||
pps-pins {
|
||||
pins = "gpio81";
|
||||
function = "emac_pps";
|
||||
bias-disable;
|
||||
drive-strength = <8>;
|
||||
};
|
||||
|
||||
phy-reset {
|
||||
phy-reset-pins {
|
||||
pins = "gpio79";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
|
|
|
@ -57,6 +57,13 @@ vreg_l13a: ldo13 {
|
|||
regulator-max-microvolt = <3072000>;
|
||||
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
|
||||
};
|
||||
|
||||
vreg_l11a: ldo11 {
|
||||
regulator-name = "vreg_l11a";
|
||||
regulator-min-microvolt = <880000>;
|
||||
regulator-max-microvolt = <880000>;
|
||||
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
|
||||
};
|
||||
};
|
||||
|
||||
pmm8540-c-regulators {
|
||||
|
@ -151,6 +158,76 @@ vreg_l8g: ldo8 {
|
|||
};
|
||||
};
|
||||
|
||||
&pcie2a {
|
||||
perst-gpios = <&tlmm 143 GPIO_ACTIVE_LOW>;
|
||||
wake-gpios = <&tlmm 145 GPIO_ACTIVE_LOW>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pcie2a_default>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie2a_phy {
|
||||
vdda-phy-supply = <&vreg_l11a>;
|
||||
vdda-pll-supply = <&vreg_l3a>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie3a {
|
||||
num-lanes = <2>;
|
||||
|
||||
perst-gpios = <&tlmm 151 GPIO_ACTIVE_LOW>;
|
||||
wake-gpios = <&tlmm 56 GPIO_ACTIVE_LOW>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pcie3a_default>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie3a_phy {
|
||||
vdda-phy-supply = <&vreg_l11a>;
|
||||
vdda-pll-supply = <&vreg_l3a>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie3b {
|
||||
perst-gpios = <&tlmm 153 GPIO_ACTIVE_LOW>;
|
||||
wake-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pcie3b_default>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie3b_phy {
|
||||
vdda-phy-supply = <&vreg_l11a>;
|
||||
vdda-pll-supply = <&vreg_l3a>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie4 {
|
||||
perst-gpios = <&tlmm 141 GPIO_ACTIVE_LOW>;
|
||||
wake-gpios = <&tlmm 139 GPIO_ACTIVE_LOW>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pcie4_default>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&pcie4_phy {
|
||||
vdda-phy-supply = <&vreg_l11a>;
|
||||
vdda-pll-supply = <&vreg_l3a>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&qup2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -380,3 +457,97 @@ &xo_board_clk {
|
|||
};
|
||||
|
||||
/* PINCTRL */
|
||||
|
||||
&tlmm {
|
||||
pcie2a_default: pcie2a-default-state {
|
||||
clkreq-n-pins {
|
||||
pins = "gpio142";
|
||||
function = "pcie2a_clkreq";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
perst-n-pins {
|
||||
pins = "gpio143";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
wake-n-pins {
|
||||
pins = "gpio145";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
pcie3a_default: pcie3a-default-state {
|
||||
clkreq-n-pins {
|
||||
pins = "gpio150";
|
||||
function = "pcie3a_clkreq";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
perst-n-pins {
|
||||
pins = "gpio151";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
wake-n-pins {
|
||||
pins = "gpio56";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
pcie3b_default: pcie3b-default-state {
|
||||
clkreq-n-pins {
|
||||
pins = "gpio152";
|
||||
function = "pcie3b_clkreq";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
perst-n-pins {
|
||||
pins = "gpio153";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
wake-n-pins {
|
||||
pins = "gpio130";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
pcie4_default: pcie4-default-state {
|
||||
clkreq-n-pins {
|
||||
pins = "gpio140";
|
||||
function = "pcie4_clkreq";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
perst-n-pins {
|
||||
pins = "gpio141";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
wake-n-pins {
|
||||
pins = "gpio139";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -128,6 +128,65 @@ opp-2592000000 {
|
|||
};
|
||||
};
|
||||
|
||||
&pcie2a {
|
||||
compatible = "qcom,pcie-sa8540p";
|
||||
|
||||
linux,pci-domain = <0>;
|
||||
|
||||
interrupts = <GIC_SPI 440 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "msi";
|
||||
};
|
||||
|
||||
&pcie2b {
|
||||
compatible = "qcom,pcie-sa8540p";
|
||||
|
||||
linux,pci-domain = <1>;
|
||||
|
||||
interrupts = <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "msi";
|
||||
};
|
||||
|
||||
&pcie3a {
|
||||
compatible = "qcom,pcie-sa8540p";
|
||||
reg = <0x0 0x01c10000 0x0 0x3000>,
|
||||
<0x0 0x40000000 0x0 0xf1d>,
|
||||
<0x0 0x40000f20 0x0 0xa8>,
|
||||
<0x0 0x40001000 0x0 0x1000>,
|
||||
<0x0 0x40100000 0x0 0x100000>;
|
||||
reg-names = "parf", "dbi", "elbi", "atu", "config";
|
||||
|
||||
ranges = <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>,
|
||||
<0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1d00000>;
|
||||
|
||||
linux,pci-domain = <2>;
|
||||
|
||||
interrupts = <GIC_SPI 567 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "msi";
|
||||
|
||||
interrupt-map = <0 0 0 1 &intc 0 0 GIC_SPI 541 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<0 0 0 2 &intc 0 0 GIC_SPI 542 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<0 0 0 3 &intc 0 0 GIC_SPI 543 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<0 0 0 4 &intc 0 0 GIC_SPI 544 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
&pcie3b {
|
||||
compatible = "qcom,pcie-sa8540p";
|
||||
|
||||
linux,pci-domain = <3>;
|
||||
|
||||
interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "msi";
|
||||
};
|
||||
|
||||
&pcie4 {
|
||||
compatible = "qcom,pcie-sa8540p";
|
||||
|
||||
linux,pci-domain = <4>;
|
||||
|
||||
interrupts = <GIC_SPI 518 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "msi";
|
||||
};
|
||||
|
||||
&rpmhpd {
|
||||
compatible = "qcom,sa8540p-rpmhpd";
|
||||
};
|
||||
|
|
|
@ -481,160 +481,129 @@ pinconf {
|
|||
};
|
||||
|
||||
&qspi_clk {
|
||||
pinconf {
|
||||
pins = "gpio63";
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&qspi_cs0 {
|
||||
pinconf {
|
||||
pins = "gpio68";
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&qspi_data01 {
|
||||
pinconf {
|
||||
pins = "gpio64", "gpio65";
|
||||
|
||||
/* High-Z when no transfers; nice to park the lines */
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
&qup_i2c2_default {
|
||||
pinconf {
|
||||
pins = "gpio15", "gpio16";
|
||||
drive-strength = <2>;
|
||||
|
||||
/* Has external pullup */
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&qup_i2c4_default {
|
||||
pinconf {
|
||||
pins = "gpio115", "gpio116";
|
||||
drive-strength = <2>;
|
||||
|
||||
/* Has external pullup */
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&qup_i2c7_default {
|
||||
pinconf {
|
||||
pins = "gpio6", "gpio7";
|
||||
drive-strength = <2>;
|
||||
|
||||
/* Has external pullup */
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&qup_i2c9_default {
|
||||
pinconf {
|
||||
pins = "gpio46", "gpio47";
|
||||
drive-strength = <2>;
|
||||
|
||||
/* Has external pullup */
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&qup_uart3_default {
|
||||
pinconf-cts {
|
||||
&qup_uart3_cts {
|
||||
/*
|
||||
* Configure a pull-down on CTS to match the pull of
|
||||
* the Bluetooth module.
|
||||
*/
|
||||
pins = "gpio38";
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
pinconf-rts {
|
||||
&qup_uart3_rts {
|
||||
/* We'll drive RTS, so no pull */
|
||||
pins = "gpio39";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
pinconf-tx {
|
||||
&qup_uart3_tx {
|
||||
/* We'll drive TX, so no pull */
|
||||
pins = "gpio40";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
pinconf-rx {
|
||||
&qup_uart3_rx {
|
||||
/*
|
||||
* Configure a pull-up on RX. This is needed to avoid
|
||||
* garbage data when the TX pin of the Bluetooth module is
|
||||
* in tri-state (module powered off or not driving the
|
||||
* signal yet).
|
||||
*/
|
||||
pins = "gpio41";
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
&qup_uart8_default {
|
||||
pinconf-tx {
|
||||
pins = "gpio44";
|
||||
&qup_uart8_tx {
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
pinconf-rx {
|
||||
pins = "gpio45";
|
||||
&qup_uart8_rx {
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
&qup_spi0_default {
|
||||
pinconf {
|
||||
pins = "gpio34", "gpio35", "gpio36", "gpio37";
|
||||
&qup_spi0_spi {
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&qup_spi6_default {
|
||||
pinconf {
|
||||
pins = "gpio59", "gpio60", "gpio61", "gpio62";
|
||||
&qup_spi0_cs {
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&qup_spi10_default {
|
||||
pinconf {
|
||||
pins = "gpio86", "gpio87", "gpio88", "gpio89";
|
||||
&qup_spi6_spi {
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
&qup_spi6_cs {
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
&qup_spi10_spi {
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
&qup_spi10_cs {
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
qup_uart3_sleep: qup-uart3-sleep {
|
||||
pinmux {
|
||||
pins = "gpio38", "gpio39",
|
||||
"gpio40", "gpio41";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf-cts {
|
||||
qup_uart3_sleep: qup-uart3-sleep-state {
|
||||
cts-pins {
|
||||
/*
|
||||
* Configure a pull-down on CTS to match the pull of
|
||||
* the Bluetooth module.
|
||||
*/
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
pinconf-rts {
|
||||
rts-pins {
|
||||
/*
|
||||
* Configure pull-down on RTS. As RTS is active low
|
||||
* signal, pull it low to indicate the BT SoC that it
|
||||
|
@ -642,126 +611,131 @@ pinconf-rts {
|
|||
* pulling RX low (by sending wakeup bytes).
|
||||
*/
|
||||
pins = "gpio39";
|
||||
function = "gpio";
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
pinconf-tx {
|
||||
tx-pins {
|
||||
/*
|
||||
* Configure pull-up on TX when it isn't actively driven
|
||||
* to prevent BT SoC from receiving garbage during sleep.
|
||||
*/
|
||||
pins = "gpio40";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pinconf-rx {
|
||||
rx-pins {
|
||||
/*
|
||||
* Configure a pull-up on RX. This is needed to avoid
|
||||
* garbage data when the TX pin of the Bluetooth module
|
||||
* is floating which may cause spurious wakeups.
|
||||
*/
|
||||
pins = "gpio41";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
sdc1_on: sdc1-on {
|
||||
pinconf-clk {
|
||||
sdc1_on: sdc1-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
bias-disable;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
|
||||
pinconf-cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc1_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
pinconf-data {
|
||||
data-pins {
|
||||
pins = "sdc1_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
pinconf-rclk {
|
||||
rclk-pins {
|
||||
pins = "sdc1_rclk";
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
|
||||
sdc1_off: sdc1-off {
|
||||
pinconf-clk {
|
||||
sdc1_off: sdc1-off-state {
|
||||
clk-pins {
|
||||
pins = "sdc1_clk";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
pinconf-cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc1_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
pinconf-data {
|
||||
data-pins {
|
||||
pins = "sdc1_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
pinconf-rclk {
|
||||
rclk-pins {
|
||||
pins = "sdc1_rclk";
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_on: sdc2-on {
|
||||
pinconf-clk {
|
||||
sdc2_on: sdc2-on-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
bias-disable;
|
||||
drive-strength = <16>;
|
||||
};
|
||||
|
||||
pinconf-cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
pinconf-data {
|
||||
data-pins {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <10>;
|
||||
};
|
||||
|
||||
pinconf-sd-cd {
|
||||
sd-cd-pins {
|
||||
pins = "gpio69";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
sdc2_off: sdc2-off {
|
||||
pinconf-clk {
|
||||
sdc2_off: sdc2-off-state {
|
||||
clk-pins {
|
||||
pins = "sdc2_clk";
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
pinconf-cmd {
|
||||
cmd-pins {
|
||||
pins = "sdc2_cmd";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
pinconf-data {
|
||||
data-pins {
|
||||
pins = "sdc2_data";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
||||
pinconf-sd-cd {
|
||||
sd-cd-pins {
|
||||
pins = "gpio69";
|
||||
function = "gpio";
|
||||
bias-pull-up;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
|
|
|
@ -181,24 +181,16 @@ &sound_multimedia0_codec {
|
|||
/* PINCTRL - modifications to sc7180-trogdor.dtsi */
|
||||
|
||||
&en_pp3300_dx_edp {
|
||||
pinmux {
|
||||
pins = "gpio67";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio67";
|
||||
};
|
||||
};
|
||||
|
||||
&ts_reset_l {
|
||||
pinconf {
|
||||
/*
|
||||
* We want reset state by default and it will be up to the
|
||||
* driver to disable this when it's ready.
|
||||
*/
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
/* PINCTRL - board-specific pinctrl */
|
||||
|
||||
|
@ -327,16 +319,10 @@ &tlmm {
|
|||
"DP_HOT_PLUG_DET",
|
||||
"EC_IN_RW_ODL";
|
||||
|
||||
dmic_clk_en: dmic_clk_en {
|
||||
pinmux {
|
||||
dmic_clk_en: dmic-clk-en-state {
|
||||
pins = "gpio83";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio83";
|
||||
drive-strength = <8>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -180,31 +180,20 @@ &wifi {
|
|||
/* PINCTRL - modifications to sc7180-trogdor.dtsi */
|
||||
|
||||
&en_pp3300_dx_edp {
|
||||
pinmux {
|
||||
pins = "gpio67";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio67";
|
||||
};
|
||||
};
|
||||
|
||||
&sec_mi2s_active {
|
||||
pinmux {
|
||||
pins = "gpio49", "gpio50", "gpio51", "gpio52";
|
||||
function = "mi2s_1";
|
||||
};
|
||||
};
|
||||
|
||||
&ts_reset_l {
|
||||
pinconf {
|
||||
/*
|
||||
* We want reset state by default and it will be up to the
|
||||
* driver to disable this when it's ready.
|
||||
*/
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
/* PINCTRL - board-specific pinctrl */
|
||||
|
||||
|
@ -333,16 +322,10 @@ &tlmm {
|
|||
"DP_HOT_PLUG_DET",
|
||||
"EC_IN_RW_ODL";
|
||||
|
||||
en_pp3300_touch: en-pp3300-touch {
|
||||
pinmux {
|
||||
en_pp3300_touch: en-pp3300-touch-state {
|
||||
pins = "gpio87";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio87";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -29,16 +29,10 @@ &pp3300_fp_tp {
|
|||
};
|
||||
|
||||
&tlmm {
|
||||
en_fp_rails: en-fp-rails {
|
||||
pinmux {
|
||||
en_fp_rails: en-fp-rails-state {
|
||||
pins = "gpio74";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio74";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -87,15 +87,9 @@ &wifi {
|
|||
/* PINCTRL - modifications to sc7180-trogdor.dtsi */
|
||||
|
||||
&en_pp3300_dx_edp {
|
||||
pinmux {
|
||||
pins = "gpio67";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio67";
|
||||
};
|
||||
};
|
||||
|
||||
/* PINCTRL - board-specific pinctrl */
|
||||
|
||||
&tlmm {
|
||||
|
|
|
@ -75,22 +75,14 @@ &wifi {
|
|||
/* PINCTRL - modifications to sc7180-trogdor.dtsi */
|
||||
|
||||
&trackpad_int_1v8_odl {
|
||||
pinmux {
|
||||
pins = "gpio58";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio58";
|
||||
};
|
||||
};
|
||||
|
||||
&ts_reset_l {
|
||||
pinconf {
|
||||
/* This pin is not connected on -rev0, pull up to park. */
|
||||
/delete-property/bias-disable;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
/* PINCTRL - board-specific pinctrl */
|
||||
|
||||
|
|
|
@ -24,30 +24,13 @@ &v1p8_mipi {
|
|||
|
||||
/* PINCTRL - modifications to sc7180-trogdor-mrbland.dtsi */
|
||||
&avdd_lcd_en {
|
||||
pinmux {
|
||||
pins = "gpio80";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio80";
|
||||
};
|
||||
};
|
||||
|
||||
&mipi_1800_en {
|
||||
pinmux {
|
||||
pins = "gpio81";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio81";
|
||||
};
|
||||
};
|
||||
&vdd_reset_1800 {
|
||||
pinmux {
|
||||
pins = "gpio76";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio76";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -160,15 +160,9 @@ pp3300_disp_on: &pp3300_dx_edp {
|
|||
*/
|
||||
|
||||
tp_en: &en_pp3300_dx_edp {
|
||||
pinmux {
|
||||
pins = "gpio85";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio85";
|
||||
};
|
||||
};
|
||||
|
||||
/* PINCTRL - board-specific pinctrl */
|
||||
|
||||
&tlmm {
|
||||
|
@ -296,55 +290,31 @@ &tlmm {
|
|||
"DP_HOT_PLUG_DET",
|
||||
"EC_IN_RW_ODL";
|
||||
|
||||
avdd_lcd_en: avdd-lcd-en {
|
||||
pinmux {
|
||||
avdd_lcd_en: avdd-lcd-en-state {
|
||||
pins = "gpio88";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio88";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
avee_lcd_en: avee-lcd-en {
|
||||
pinmux {
|
||||
avee_lcd_en: avee-lcd-en-state {
|
||||
pins = "gpio21";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio21";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
mipi_1800_en: mipi-1800-en {
|
||||
pinmux {
|
||||
mipi_1800_en: mipi-1800-en-state {
|
||||
pins = "gpio86";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio86";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
vdd_reset_1800: vdd-reset-1800 {
|
||||
pinmux {
|
||||
vdd_reset_1800: vdd-reset-1800-state {
|
||||
pins = "gpio87";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio87";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -83,29 +83,17 @@ panel_in_edp: endpoint {
|
|||
};
|
||||
|
||||
&tlmm {
|
||||
edp_brij_ps8640_rst: edp-brij-ps8640-rst {
|
||||
pinmux {
|
||||
edp_brij_ps8640_rst: edp-brij-ps8640-rst-state {
|
||||
pins = "gpio11";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio11";
|
||||
en_pp3300_edp_brij_ps8640: en-pp3300-edp-brij-ps8640-state {
|
||||
pins = "gpio32";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
en_pp3300_edp_brij_ps8640: en-pp3300-edp-brij-ps8640 {
|
||||
pinmux {
|
||||
pins = "gpio32";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio32";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -84,15 +84,9 @@ &pp3300_dx_edp {
|
|||
};
|
||||
|
||||
&en_pp3300_dx_edp {
|
||||
pinmux {
|
||||
pins = "gpio67";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio67";
|
||||
};
|
||||
};
|
||||
|
||||
/* PINCTRL - board-specific pinctrl */
|
||||
|
||||
&tlmm {
|
||||
|
|
22
arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-lte.dts
Normal file
22
arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-lte.dts
Normal file
|
@ -0,0 +1,22 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Google Pazquel board device tree source
|
||||
*
|
||||
* Copyright 2021 Google LLC.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sc7180-trogdor.dtsi"
|
||||
#include "sc7180-trogdor-parade-ps8640.dtsi"
|
||||
#include "sc7180-trogdor-pazquel360.dtsi"
|
||||
#include "sc7180-trogdor-lte-sku.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Google Pazquel (Parade,LTE)";
|
||||
compatible = "google,pazquel-sku22", "google,pazquel-sku20", "qcom,sc7180";
|
||||
};
|
||||
|
||||
&ap_sar_sensor_i2c {
|
||||
status = "okay";
|
||||
};
|
17
arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-wifi.dts
Normal file
17
arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-wifi.dts
Normal file
|
@ -0,0 +1,17 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Google Pazquel board device tree source
|
||||
*
|
||||
* Copyright 2022 Google LLC.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "sc7180-trogdor.dtsi"
|
||||
#include "sc7180-trogdor-parade-ps8640.dtsi"
|
||||
#include "sc7180-trogdor-pazquel360.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Google Pazquel (Parade,WIFI-only)";
|
||||
compatible = "google,pazquel-sku21", "qcom,sc7180";
|
||||
};
|
50
arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360.dtsi
Normal file
50
arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360.dtsi
Normal file
|
@ -0,0 +1,50 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Google Pazquel board device tree source
|
||||
*
|
||||
* Copyright 2021 Google LLC.
|
||||
*/
|
||||
|
||||
/* This file must be included after sc7180-trogdor.dtsi */
|
||||
#include "sc7180-trogdor-pazquel.dtsi"
|
||||
|
||||
&alc5682 {
|
||||
compatible = "realtek,rt5682s";
|
||||
realtek,dmic1-clk-pin = <2>;
|
||||
realtek,dmic-clk-rate-hz = <2048000>;
|
||||
};
|
||||
|
||||
&keyboard_controller {
|
||||
function-row-physmap = <
|
||||
MATRIX_KEY(0x00, 0x02, 0) /* T1 */
|
||||
MATRIX_KEY(0x03, 0x02, 0) /* T2 */
|
||||
MATRIX_KEY(0x02, 0x02, 0) /* T3 */
|
||||
MATRIX_KEY(0x01, 0x02, 0) /* T4 */
|
||||
MATRIX_KEY(0x03, 0x04, 0) /* T5 */
|
||||
MATRIX_KEY(0x02, 0x04, 0) /* T6 */
|
||||
MATRIX_KEY(0x01, 0x04, 0) /* T7 */
|
||||
MATRIX_KEY(0x02, 0x09, 0) /* T8 */
|
||||
MATRIX_KEY(0x01, 0x09, 0) /* T9 */
|
||||
MATRIX_KEY(0x00, 0x04, 0) /* T10 */
|
||||
MATRIX_KEY(0x03, 0x09, 0) /* T11 */
|
||||
>;
|
||||
linux,keymap = <
|
||||
MATRIX_KEY(0x00, 0x02, KEY_BACK)
|
||||
MATRIX_KEY(0x03, 0x02, KEY_REFRESH)
|
||||
MATRIX_KEY(0x02, 0x02, KEY_ZOOM)
|
||||
MATRIX_KEY(0x01, 0x02, KEY_SCALE)
|
||||
MATRIX_KEY(0x03, 0x04, KEY_SYSRQ)
|
||||
MATRIX_KEY(0x02, 0x04, KEY_BRIGHTNESSDOWN)
|
||||
MATRIX_KEY(0x01, 0x04, KEY_BRIGHTNESSUP)
|
||||
MATRIX_KEY(0x02, 0x09, KEY_MUTE)
|
||||
MATRIX_KEY(0x01, 0x09, KEY_VOLUMEDOWN)
|
||||
MATRIX_KEY(0x00, 0x04, KEY_VOLUMEUP)
|
||||
MATRIX_KEY(0x03, 0x09, KEY_SLEEP)
|
||||
CROS_STD_MAIN_KEYMAP
|
||||
>;
|
||||
};
|
||||
|
||||
&sound {
|
||||
compatible = "google,sc7180-trogdor";
|
||||
model = "sc7180-rt5682s-max98357a-1mic";
|
||||
};
|
|
@ -312,15 +312,9 @@ &tlmm {
|
|||
"DP_HOT_PLUG_DET",
|
||||
"EC_IN_RW_ODL";
|
||||
|
||||
dmic_sel: dmic-sel {
|
||||
pinmux {
|
||||
dmic_sel: dmic-sel-state {
|
||||
pins = "gpio86";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio86";
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -147,15 +147,9 @@ pp3300_disp_on: &pp3300_dx_edp {
|
|||
*/
|
||||
|
||||
tp_en: &en_pp3300_dx_edp {
|
||||
pinmux {
|
||||
pins = "gpio67";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio67";
|
||||
};
|
||||
};
|
||||
|
||||
/* PINCTRL - board-specific pinctrl */
|
||||
|
||||
&tlmm {
|
||||
|
@ -283,42 +277,24 @@ &tlmm {
|
|||
"DP_HOT_PLUG_DET",
|
||||
"EC_IN_RW_ODL";
|
||||
|
||||
lcd_rst: lcd-rst {
|
||||
pinmux {
|
||||
lcd_rst: lcd-rst-state {
|
||||
pins = "gpio87";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio87";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
ppvar_lcd_en: ppvar-lcd-en {
|
||||
pinmux {
|
||||
ppvar_lcd_en: ppvar-lcd-en-state {
|
||||
pins = "gpio88";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio88";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
pp1800_disp_on: pp1800-disp-on {
|
||||
pinmux {
|
||||
pp1800_disp_on: pp1800-disp-on-state {
|
||||
pins = "gpio86";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
pinconf {
|
||||
pins = "gpio86";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue