Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'qcom-arm64-for-6.4-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/dt

More Qualcomm ARM64 Devicetree updated for v6.4

Devicetree for the QCM2210/QCM2290 is introduced. Support for the RB1
board is introduced on QRB2210, RB2 on QRB4210, the AL02 board on
IPQ9574, the MI01.6 board is introduced on IPQ5332 and initial support
for Xiaomi Mi A3 is introduced on SM6125.

Support for the output-enable/disable flag is introduced in the
pinctrl-msm driver, and the non-standard "input-enable" is dropped from
a range of platforms.

A wide range of smaller fixes are introduced, based on Devicetree
validation.

MSM8953 gains LPASS, MPSS and Wireless subsystem support.

The iommus property is removed from PCIe nodes in all platforms, as the
only the child devices should be associated with iommu groups, through
the existing iommu-map property.

A few QUP instances are introduced on the IPQ5332 platform, and support
for the MI01.6 board is introduced.

The reserved-memory map on Huawei Nexus 6P is updated with the addition
of splash screen framebuffer memory and adjustment to the reserved
memory region overlapping the smem region.

Regulators are introduces for the SA8775P Ride platform.

A regulator is marked always-on, for correctness, on Trogdor. Pinconf
fixes are introduced to both sc7180 and sc7280 devices. A dedicated
reviewers list is added for boards relevant to the Chromebook engineers.

A set of pinconf fixes are introduced for sc8280xp, labels are
introduced for Soundwire nodes.

The sensor core remoteproc and FastRPC thereon, is introduce in SDM845
and enabled for OnePlus 6/6T and Shift Shift6mq.

RMTFS, remoteprocs, ath10k and ramoops is introduced for the Lenovo Tab
P11.

UFS support is introduced on SM6125.

SM8150 no longer defines the GPU to be in headless mode by default, GPU
speedbins are introduced.

GPU speedbins are introduced for SM8250 as well, as is support for
display on Xiaomi Mi Pad 5 Pro, with two different panels supported.

Soundwire controllers, ADSP audio codec macros and the Inline Crypto
Engine support is added to the SM8550 platform.

* tag 'qcom-arm64-for-6.4-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (85 commits)
arm64: dts: qcom: Add base qrb4210-rb2 board dts
arm64: dts: qcom: sm8550: add Soundwire controllers
arm64: dts: qcom: sm8250: Add GPU speedbin support
arm64: dts: qcom: sm8150: Add GPU speedbin support
arm64: dts: qcom: sm8150: Don't start Adreno in headless mode
arm64: dts: qcom: ipq5332: add support for the RDP468 variant
arm64: dts: qcom: sdm630: move DSI opp-table out of DSI node
arm64: dts: qcom: sm6115p-j606f: Enable ATH10K WiFi
arm64: dts: qcom: sm6115p-j606f: Enable remoteprocs
arm64: dts: qcom: sm6115: Add RMTFS
arm64: dts: qcom: sm6115-j606f: Add ramoops node
arm64: dts: qcom: msm8916-thwc-ufi001c: add function to pin config
arm64: dts: qcom: sm8550: Add the Inline Crypto Engine node
arm64: dts: MSM8953: Add lpass nodes
arm64: dts: MSM8953: Add mpss nodes
arm64: dts: MSM8953: Add wcnss nodes
arm64: dts: qcom: sm8350: remove superfluous "input-enable"
arm64: dts: qcom: sm8150: remove superfluous "input-enable"
arm64: dts: qcom: apq8016: remove superfluous "input-enable"
arm64: dts: qcom: sc8280xp-lenovo-thinkpad: correct pin drive-strength
...

Link: https://lore.kernel.org/r/20230414031550.2412379-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+4863 -203
+61
Documentation/devicetree/bindings/clock/qcom,ipq9574-gcc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/clock/qcom,ipq9574-gcc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Global Clock & Reset Controller on IPQ9574 8 + 9 + maintainers: 10 + - Anusha Rao <quic_anusha@quicinc.com> 11 + 12 + description: | 13 + Qualcomm global clock control module provides the clocks, resets and power 14 + domains on IPQ9574 15 + 16 + See also:: 17 + include/dt-bindings/clock/qcom,ipq9574-gcc.h 18 + include/dt-bindings/reset/qcom,ipq9574-gcc.h 19 + 20 + properties: 21 + compatible: 22 + const: qcom,ipq9574-gcc 23 + 24 + clocks: 25 + items: 26 + - description: Board XO source 27 + - description: Sleep clock source 28 + - description: Bias PLL ubi clock source 29 + - description: PCIE30 PHY0 pipe clock source 30 + - description: PCIE30 PHY1 pipe clock source 31 + - description: PCIE30 PHY2 pipe clock source 32 + - description: PCIE30 PHY3 pipe clock source 33 + - description: USB3 PHY pipe clock source 34 + 35 + required: 36 + - compatible 37 + - clocks 38 + 39 + allOf: 40 + - $ref: qcom,gcc.yaml# 41 + 42 + unevaluatedProperties: false 43 + 44 + examples: 45 + - | 46 + clock-controller@1800000 { 47 + compatible = "qcom,ipq9574-gcc"; 48 + reg = <0x01800000 0x80000>; 49 + clocks = <&xo_board_clk>, 50 + <&sleep_clk>, 51 + <&bias_pll_ubi_nc_clk>, 52 + <&pcie30_phy0_pipe_clk>, 53 + <&pcie30_phy1_pipe_clk>, 54 + <&pcie30_phy2_pipe_clk>, 55 + <&pcie30_phy3_pipe_clk>, 56 + <&usb3phy_0_cc_pipe_clk>; 57 + #clock-cells = <1>; 58 + #reset-cells = <1>; 59 + #power-domain-cells = <1>; 60 + }; 61 + ...
+3 -1
Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml
··· 75 75 bias-pull-down: true 76 76 bias-pull-up: true 77 77 bias-disable: true 78 - input-enable: true 78 + input-enable: false 79 + output-disable: true 80 + output-enable: true 79 81 output-high: true 80 82 output-low: true 81 83
+6
MAINTAINERS
··· 2604 2604 F: include/linux/*/qcom* 2605 2605 F: include/linux/soc/qcom/ 2606 2606 2607 + ARM/QUALCOMM CHROMEBOOK SUPPORT 2608 + R: cros-qcom-dts-watchers@chromium.org 2609 + F: arch/arm64/boot/dts/qcom/sc7180* 2610 + F: arch/arm64/boot/dts/qcom/sc7280* 2611 + F: arch/arm64/boot/dts/qcom/sdm845-cheza* 2612 + 2607 2613 ARM/RDA MICRO ARCHITECTURE 2608 2614 M: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 2609 2615 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
+7 -1
arch/arm64/boot/dts/qcom/Makefile
··· 4 4 dtb-$(CONFIG_ARCH_QCOM) += apq8096-db820c.dtb 5 5 dtb-$(CONFIG_ARCH_QCOM) += apq8096-ifc6640.dtb 6 6 dtb-$(CONFIG_ARCH_QCOM) += ipq5332-mi01.2.dtb 7 + dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp468.dtb 7 8 dtb-$(CONFIG_ARCH_QCOM) += ipq6018-cp01-c1.dtb 8 9 dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk01.dtb 9 10 dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk10-c1.dtb 10 11 dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk10-c2.dtb 12 + dtb-$(CONFIG_ARCH_QCOM) += ipq9574-al02-c7.dtb 11 13 dtb-$(CONFIG_ARCH_QCOM) += msm8916-acer-a1-724.dtb 12 14 dtb-$(CONFIG_ARCH_QCOM) += msm8916-alcatel-idol347.dtb 13 15 dtb-$(CONFIG_ARCH_QCOM) += msm8916-asus-z00l.dtb ··· 73 71 dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb 74 72 dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb 75 73 dtb-$(CONFIG_ARCH_QCOM) += qdu1000-idp.dtb 74 + dtb-$(CONFIG_ARCH_QCOM) += qrb2210-rb1.dtb 75 + dtb-$(CONFIG_ARCH_QCOM) += qrb4210-rb2.dtb 76 76 dtb-$(CONFIG_ARCH_QCOM) += qrb5165-rb5.dtb 77 77 dtb-$(CONFIG_ARCH_QCOM) += qrb5165-rb5-vision-mezzanine.dtb 78 78 dtb-$(CONFIG_ARCH_QCOM) += qru1000-idp.dtb ··· 176 172 dtb-$(CONFIG_ARCH_QCOM) += sm4250-oneplus-billie2.dtb 177 173 dtb-$(CONFIG_ARCH_QCOM) += sm6115p-lenovo-j606f.dtb 178 174 dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb 175 + dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-laurel-sprout.dtb 179 176 dtb-$(CONFIG_ARCH_QCOM) += sm6350-sony-xperia-lena-pdx213.dtb 180 177 dtb-$(CONFIG_ARCH_QCOM) += sm6375-sony-xperia-murray-pdx225.dtb 181 178 dtb-$(CONFIG_ARCH_QCOM) += sm7225-fairphone-fp4.dtb ··· 189 184 dtb-$(CONFIG_ARCH_QCOM) += sm8250-mtp.dtb 190 185 dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx203.dtb 191 186 dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx206.dtb 192 - dtb-$(CONFIG_ARCH_QCOM) += sm8250-xiaomi-elish.dtb 187 + dtb-$(CONFIG_ARCH_QCOM) += sm8250-xiaomi-elish-boe.dtb 188 + dtb-$(CONFIG_ARCH_QCOM) += sm8250-xiaomi-elish-csot.dtb 193 189 dtb-$(CONFIG_ARCH_QCOM) += sm8350-hdk.dtb 194 190 dtb-$(CONFIG_ARCH_QCOM) += sm8350-microsoft-surface-duo2.dtb 195 191 dtb-$(CONFIG_ARCH_QCOM) += sm8350-mtp.dtb
-2
arch/arm64/boot/dts/qcom/apq8016-sbc.dts
··· 729 729 function = "gpio"; 730 730 731 731 drive-strength = <8>; 732 - input-enable; 733 732 bias-pull-up; 734 733 }; 735 734 ··· 769 770 function = "gpio"; 770 771 771 772 drive-strength = <8>; 772 - input-enable; 773 773 bias-pull-up; 774 774 }; 775 775 };
+14
arch/arm64/boot/dts/qcom/ipq5332-mi01.2.dts
··· 28 28 status = "okay"; 29 29 }; 30 30 31 + &blsp1_i2c1 { 32 + clock-frequency = <400000>; 33 + pinctrl-0 = <&i2c_1_pins>; 34 + pinctrl-names = "default"; 35 + status = "okay"; 36 + }; 37 + 31 38 &sdhc { 32 39 bus-width = <4>; 33 40 max-frequency = <192000000>; ··· 57 50 /* PINCTRL */ 58 51 59 52 &tlmm { 53 + i2c_1_pins: i2c-1-state { 54 + pins = "gpio29", "gpio30"; 55 + function = "blsp1_i2c0"; 56 + drive-strength = <8>; 57 + bias-pull-up; 58 + }; 59 + 60 60 sdc_default_state: sdc-default-state { 61 61 clk-pins { 62 62 pins = "gpio13";
+103
arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts
··· 1 + // SPDX-License-Identifier: BSD-3-Clause 2 + /* 3 + * IPQ5332 RDP468 board device tree source 4 + * 5 + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 6 + */ 7 + 8 + /dts-v1/; 9 + 10 + #include "ipq5332.dtsi" 11 + 12 + / { 13 + model = "Qualcomm Technologies, Inc. IPQ5332 MI01.6"; 14 + compatible = "qcom,ipq5332-ap-mi01.6", "qcom,ipq5332"; 15 + 16 + aliases { 17 + serial0 = &blsp1_uart0; 18 + }; 19 + 20 + chosen { 21 + stdout-path = "serial0"; 22 + }; 23 + }; 24 + 25 + &blsp1_uart0 { 26 + pinctrl-0 = <&serial_0_pins>; 27 + pinctrl-names = "default"; 28 + status = "okay"; 29 + }; 30 + 31 + &blsp1_spi0 { 32 + pinctrl-0 = <&spi_0_data_clk_pins &spi_0_cs_pins>; 33 + pinctrl-names = "default"; 34 + status = "okay"; 35 + 36 + flash@0 { 37 + compatible = "micron,n25q128a11", "jedec,spi-nor"; 38 + reg = <0>; 39 + #address-cells = <1>; 40 + #size-cells = <1>; 41 + spi-max-frequency = <50000000>; 42 + }; 43 + }; 44 + 45 + &sdhc { 46 + bus-width = <4>; 47 + max-frequency = <192000000>; 48 + mmc-ddr-1_8v; 49 + mmc-hs200-1_8v; 50 + non-removable; 51 + pinctrl-0 = <&sdc_default_state>; 52 + pinctrl-names = "default"; 53 + status = "okay"; 54 + }; 55 + 56 + &sleep_clk { 57 + clock-frequency = <32000>; 58 + }; 59 + 60 + &xo_board { 61 + clock-frequency = <24000000>; 62 + }; 63 + 64 + /* PINCTRL */ 65 + 66 + &tlmm { 67 + sdc_default_state: sdc-default-state { 68 + clk-pins { 69 + pins = "gpio13"; 70 + function = "sdc_clk"; 71 + drive-strength = <8>; 72 + bias-disable; 73 + }; 74 + 75 + cmd-pins { 76 + pins = "gpio12"; 77 + function = "sdc_cmd"; 78 + drive-strength = <8>; 79 + bias-pull-up; 80 + }; 81 + 82 + data-pins { 83 + pins = "gpio8", "gpio9", "gpio10", "gpio11"; 84 + function = "sdc_data"; 85 + drive-strength = <8>; 86 + bias-pull-up; 87 + }; 88 + }; 89 + 90 + spi_0_data_clk_pins: spi-0-data-clk-state { 91 + pins = "gpio14", "gpio15", "gpio16"; 92 + function = "blsp0_spi"; 93 + drive-strength = <2>; 94 + bias-pull-down; 95 + }; 96 + 97 + spi_0_cs_pins: spi-0-cs-state { 98 + pins = "gpio17"; 99 + function = "blsp0_spi"; 100 + drive-strength = <2>; 101 + bias-pull-up; 102 + }; 103 + };
+67
arch/arm64/boot/dts/qcom/ipq5332.dtsi
··· 134 134 #size-cells = <1>; 135 135 ranges = <0 0 0 0xffffffff>; 136 136 137 + rng: rng@e3000 { 138 + compatible = "qcom,prng-ee"; 139 + reg = <0x000e3000 0x1000>; 140 + clocks = <&gcc GCC_PRNG_AHB_CLK>; 141 + clock-names = "core"; 142 + }; 143 + 137 144 tlmm: pinctrl@1000000 { 138 145 compatible = "qcom,ipq5332-tlmm"; 139 146 reg = <0x01000000 0x300000>; ··· 198 191 status = "disabled"; 199 192 }; 200 193 194 + blsp_dma: dma-controller@7884000 { 195 + compatible = "qcom,bam-v1.7.0"; 196 + reg = <0x07884000 0x1d000>; 197 + interrupts = <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH>; 198 + clocks = <&gcc GCC_BLSP1_AHB_CLK>; 199 + clock-names = "bam_clk"; 200 + #dma-cells = <1>; 201 + qcom,ee = <0>; 202 + }; 203 + 201 204 blsp1_uart0: serial@78af000 { 202 205 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 203 206 reg = <0x078af000 0x200>; ··· 215 198 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, 216 199 <&gcc GCC_BLSP1_AHB_CLK>; 217 200 clock-names = "core", "iface"; 201 + status = "disabled"; 202 + }; 203 + 204 + blsp1_spi0: spi@78b5000 { 205 + compatible = "qcom,spi-qup-v2.2.1"; 206 + reg = <0x078b5000 0x600>; 207 + #address-cells = <1>; 208 + #size-cells = <0>; 209 + interrupts = <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>; 210 + clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, 211 + <&gcc GCC_BLSP1_AHB_CLK>; 212 + clock-names = "core", "iface"; 213 + dmas = <&blsp_dma 4>, <&blsp_dma 5>; 214 + dma-names = "tx", "rx"; 215 + status = "disabled"; 216 + }; 217 + 218 + blsp1_i2c1: i2c@78b6000 { 219 + compatible = "qcom,i2c-qup-v2.2.1"; 220 + reg = <0x078b6000 0x600>; 221 + #address-cells = <1>; 222 + #size-cells = <0>; 223 + interrupts = <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>; 224 + clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, 225 + <&gcc GCC_BLSP1_AHB_CLK>; 226 + clock-names = "core", "iface"; 227 + dmas = <&blsp_dma 6>, <&blsp_dma 7>; 228 + dma-names = "tx", "rx"; 229 + status = "disabled"; 230 + }; 231 + 232 + blsp1_spi2: spi@78b7000 { 233 + compatible = "qcom,spi-qup-v2.2.1"; 234 + reg = <0x078b7000 0x600>; 235 + #address-cells = <1>; 236 + #size-cells = <0>; 237 + interrupts = <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>; 238 + clocks = <&gcc GCC_BLSP1_QUP3_SPI_APPS_CLK>, 239 + <&gcc GCC_BLSP1_AHB_CLK>; 240 + clock-names = "core", "iface"; 241 + dmas = <&blsp_dma 8>, <&blsp_dma 9>; 242 + dma-names = "tx", "rx"; 218 243 status = "disabled"; 219 244 }; 220 245 ··· 290 231 reg = <0x00002000 0xffd>; 291 232 msi-controller; 292 233 }; 234 + }; 235 + 236 + watchdog: watchdog@b017000 { 237 + compatible = "qcom,apss-wdt-ipq5332", "qcom,kpss-wdt"; 238 + reg = <0x0b017000 0x1000>; 239 + interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>; 240 + clocks = <&sleep_clk>; 241 + timeout-sec = <30>; 293 242 }; 294 243 295 244 apcs_glb: mailbox@b111000 {
+2 -1
arch/arm64/boot/dts/qcom/ipq8074.dtsi
··· 686 686 }; 687 687 688 688 apcs_glb: mailbox@b111000 { 689 - compatible = "qcom,ipq8074-apcs-apps-global"; 689 + compatible = "qcom,ipq8074-apcs-apps-global", 690 + "qcom,ipq6018-apcs-apps-global"; 690 691 reg = <0x0b111000 0x1000>; 691 692 clocks = <&a53pll>, <&xo>; 692 693 clock-names = "pll", "xo";
+84
arch/arm64/boot/dts/qcom/ipq9574-al02-c7.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 + /* 3 + * IPQ9574 AL02-C7 board device tree source 4 + * 5 + * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. 6 + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 7 + */ 8 + 9 + /dts-v1/; 10 + 11 + #include "ipq9574.dtsi" 12 + 13 + / { 14 + model = "Qualcomm Technologies, Inc. IPQ9574/AP-AL02-C7"; 15 + compatible = "qcom,ipq9574-ap-al02-c7", "qcom,ipq9574"; 16 + 17 + aliases { 18 + serial0 = &blsp1_uart2; 19 + }; 20 + 21 + chosen { 22 + stdout-path = "serial0:115200n8"; 23 + }; 24 + }; 25 + 26 + &blsp1_uart2 { 27 + pinctrl-0 = <&uart2_pins>; 28 + pinctrl-names = "default"; 29 + status = "okay"; 30 + }; 31 + 32 + &sdhc_1 { 33 + pinctrl-0 = <&sdc_default_state>; 34 + pinctrl-names = "default"; 35 + mmc-ddr-1_8v; 36 + mmc-hs200-1_8v; 37 + mmc-hs400-1_8v; 38 + mmc-hs400-enhanced-strobe; 39 + max-frequency = <384000000>; 40 + bus-width = <8>; 41 + status = "okay"; 42 + }; 43 + 44 + &sleep_clk { 45 + clock-frequency = <32000>; 46 + }; 47 + 48 + &tlmm { 49 + sdc_default_state: sdc-default-state { 50 + clk-pins { 51 + pins = "gpio5"; 52 + function = "sdc_clk"; 53 + drive-strength = <8>; 54 + bias-disable; 55 + }; 56 + 57 + cmd-pins { 58 + pins = "gpio4"; 59 + function = "sdc_cmd"; 60 + drive-strength = <8>; 61 + bias-pull-up; 62 + }; 63 + 64 + data-pins { 65 + pins = "gpio0", "gpio1", "gpio2", 66 + "gpio3", "gpio6", "gpio7", 67 + "gpio8", "gpio9"; 68 + function = "sdc_data"; 69 + drive-strength = <8>; 70 + bias-pull-up; 71 + }; 72 + 73 + rclk-pins { 74 + pins = "gpio10"; 75 + function = "sdc_rclk"; 76 + drive-strength = <8>; 77 + bias-pull-down; 78 + }; 79 + }; 80 + }; 81 + 82 + &xo_board_clk { 83 + clock-frequency = <24000000>; 84 + };
+270
arch/arm64/boot/dts/qcom/ipq9574.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 + /* 3 + * IPQ9574 SoC device tree source 4 + * 5 + * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. 6 + * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. 7 + */ 8 + 9 + #include <dt-bindings/interrupt-controller/arm-gic.h> 10 + #include <dt-bindings/clock/qcom,ipq9574-gcc.h> 11 + #include <dt-bindings/reset/qcom,ipq9574-gcc.h> 12 + 13 + / { 14 + interrupt-parent = <&intc>; 15 + #address-cells = <2>; 16 + #size-cells = <2>; 17 + 18 + clocks { 19 + bias_pll_ubi_nc_clk: bias-pll-ubi-nc-clk { 20 + compatible = "fixed-clock"; 21 + clock-frequency = <353000000>; 22 + #clock-cells = <0>; 23 + }; 24 + 25 + sleep_clk: sleep-clk { 26 + compatible = "fixed-clock"; 27 + #clock-cells = <0>; 28 + }; 29 + 30 + xo_board_clk: xo-board-clk { 31 + compatible = "fixed-clock"; 32 + #clock-cells = <0>; 33 + }; 34 + }; 35 + 36 + cpus { 37 + #address-cells = <1>; 38 + #size-cells = <0>; 39 + 40 + CPU0: cpu@0 { 41 + device_type = "cpu"; 42 + compatible = "arm,cortex-a73"; 43 + reg = <0x0>; 44 + enable-method = "psci"; 45 + next-level-cache = <&L2_0>; 46 + }; 47 + 48 + CPU1: cpu@1 { 49 + device_type = "cpu"; 50 + compatible = "arm,cortex-a73"; 51 + reg = <0x1>; 52 + enable-method = "psci"; 53 + next-level-cache = <&L2_0>; 54 + }; 55 + 56 + CPU2: cpu@2 { 57 + device_type = "cpu"; 58 + compatible = "arm,cortex-a73"; 59 + reg = <0x2>; 60 + enable-method = "psci"; 61 + next-level-cache = <&L2_0>; 62 + }; 63 + 64 + CPU3: cpu@3 { 65 + device_type = "cpu"; 66 + compatible = "arm,cortex-a73"; 67 + reg = <0x3>; 68 + enable-method = "psci"; 69 + next-level-cache = <&L2_0>; 70 + }; 71 + 72 + L2_0: l2-cache { 73 + compatible = "cache"; 74 + cache-level = <2>; 75 + }; 76 + }; 77 + 78 + memory@40000000 { 79 + device_type = "memory"; 80 + /* We expect the bootloader to fill in the size */ 81 + reg = <0x0 0x40000000 0x0 0x0>; 82 + }; 83 + 84 + pmu { 85 + compatible = "arm,cortex-a73-pmu"; 86 + interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 87 + }; 88 + 89 + psci { 90 + compatible = "arm,psci-1.0"; 91 + method = "smc"; 92 + }; 93 + 94 + reserved-memory { 95 + #address-cells = <2>; 96 + #size-cells = <2>; 97 + ranges; 98 + 99 + tz_region: tz@4a600000 { 100 + reg = <0x0 0x4a600000 0x0 0x400000>; 101 + no-map; 102 + }; 103 + }; 104 + 105 + soc: soc@0 { 106 + compatible = "simple-bus"; 107 + #address-cells = <1>; 108 + #size-cells = <1>; 109 + ranges = <0 0 0 0xffffffff>; 110 + 111 + tlmm: pinctrl@1000000 { 112 + compatible = "qcom,ipq9574-tlmm"; 113 + reg = <0x01000000 0x300000>; 114 + interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 115 + gpio-controller; 116 + #gpio-cells = <2>; 117 + gpio-ranges = <&tlmm 0 0 65>; 118 + interrupt-controller; 119 + #interrupt-cells = <2>; 120 + 121 + uart2_pins: uart2-state { 122 + pins = "gpio34", "gpio35"; 123 + function = "blsp2_uart"; 124 + drive-strength = <8>; 125 + bias-disable; 126 + }; 127 + }; 128 + 129 + gcc: clock-controller@1800000 { 130 + compatible = "qcom,ipq9574-gcc"; 131 + reg = <0x01800000 0x80000>; 132 + clocks = <&xo_board_clk>, 133 + <&sleep_clk>, 134 + <&bias_pll_ubi_nc_clk>, 135 + <0>, 136 + <0>, 137 + <0>, 138 + <0>, 139 + <0>; 140 + #clock-cells = <1>; 141 + #reset-cells = <1>; 142 + #power-domain-cells = <1>; 143 + }; 144 + 145 + sdhc_1: mmc@7804000 { 146 + compatible = "qcom,ipq9574-sdhci", "qcom,sdhci-msm-v5"; 147 + reg = <0x07804000 0x1000>, <0x07805000 0x1000>; 148 + reg-names = "hc", "cqhci"; 149 + 150 + interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 151 + <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 152 + interrupt-names = "hc_irq", "pwr_irq"; 153 + 154 + clocks = <&gcc GCC_SDCC1_AHB_CLK>, 155 + <&gcc GCC_SDCC1_APPS_CLK>, 156 + <&xo_board_clk>; 157 + clock-names = "iface", "core", "xo"; 158 + non-removable; 159 + status = "disabled"; 160 + }; 161 + 162 + blsp1_uart2: serial@78b1000 { 163 + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 164 + reg = <0x078b1000 0x200>; 165 + interrupts = <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>; 166 + clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>, 167 + <&gcc GCC_BLSP1_AHB_CLK>; 168 + clock-names = "core", "iface"; 169 + status = "disabled"; 170 + }; 171 + 172 + intc: interrupt-controller@b000000 { 173 + compatible = "qcom,msm-qgic2"; 174 + reg = <0x0b000000 0x1000>, /* GICD */ 175 + <0x0b002000 0x1000>, /* GICC */ 176 + <0x0b001000 0x1000>, /* GICH */ 177 + <0x0b004000 0x1000>; /* GICV */ 178 + #address-cells = <1>; 179 + #size-cells = <1>; 180 + interrupt-controller; 181 + #interrupt-cells = <3>; 182 + interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 183 + ranges = <0 0x0b00c000 0x3000>; 184 + 185 + v2m0: v2m@0 { 186 + compatible = "arm,gic-v2m-frame"; 187 + reg = <0x00000000 0xffd>; 188 + msi-controller; 189 + }; 190 + 191 + v2m1: v2m@1000 { 192 + compatible = "arm,gic-v2m-frame"; 193 + reg = <0x00001000 0xffd>; 194 + msi-controller; 195 + }; 196 + 197 + v2m2: v2m@2000 { 198 + compatible = "arm,gic-v2m-frame"; 199 + reg = <0x00002000 0xffd>; 200 + msi-controller; 201 + }; 202 + }; 203 + 204 + timer@b120000 { 205 + compatible = "arm,armv7-timer-mem"; 206 + reg = <0x0b120000 0x1000>; 207 + #address-cells = <1>; 208 + #size-cells = <1>; 209 + ranges; 210 + 211 + frame@b120000 { 212 + reg = <0x0b121000 0x1000>, 213 + <0x0b122000 0x1000>; 214 + frame-number = <0>; 215 + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 216 + <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 217 + }; 218 + 219 + frame@b123000 { 220 + reg = <0x0b123000 0x1000>; 221 + frame-number = <1>; 222 + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 223 + status = "disabled"; 224 + }; 225 + 226 + frame@b124000 { 227 + reg = <0x0b124000 0x1000>; 228 + frame-number = <2>; 229 + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 230 + status = "disabled"; 231 + }; 232 + 233 + frame@b125000 { 234 + reg = <0x0b125000 0x1000>; 235 + frame-number = <3>; 236 + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 237 + status = "disabled"; 238 + }; 239 + 240 + frame@b126000 { 241 + reg = <0x0b126000 0x1000>; 242 + frame-number = <4>; 243 + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 244 + status = "disabled"; 245 + }; 246 + 247 + frame@b127000 { 248 + reg = <0x0b127000 0x1000>; 249 + frame-number = <5>; 250 + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 251 + status = "disabled"; 252 + }; 253 + 254 + frame@b128000 { 255 + reg = <0x0b128000 0x1000>; 256 + frame-number = <6>; 257 + interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 258 + status = "disabled"; 259 + }; 260 + }; 261 + }; 262 + 263 + timer { 264 + compatible = "arm,armv8-timer"; 265 + interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 266 + <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 267 + <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 268 + <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 269 + }; 270 + };
+3
arch/arm64/boot/dts/qcom/msm8916-thwc-ufi001c.dts
··· 44 44 sim_ctrl_default: sim-ctrl-default-state { 45 45 esim-sel-pins { 46 46 pins = "gpio0", "gpio3"; 47 + function = "gpio"; 47 48 bias-disable; 48 49 output-low; 49 50 }; 50 51 51 52 sim-en-pins { 52 53 pins = "gpio1"; 54 + function = "gpio"; 53 55 bias-disable; 54 56 output-low; 55 57 }; 56 58 57 59 sim-sel-pins { 58 60 pins = "gpio2"; 61 + function = "gpio"; 59 62 bias-disable; 60 63 output-high; 61 64 };
+358
arch/arm64/boot/dts/qcom/msm8953.dtsi
··· 6 6 #include <dt-bindings/gpio/gpio.h> 7 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 8 #include <dt-bindings/power/qcom-rpmpd.h> 9 + #include <dt-bindings/soc/qcom,apr.h> 10 + #include <dt-bindings/sound/qcom,q6afe.h> 11 + #include <dt-bindings/sound/qcom,q6asm.h> 9 12 #include <dt-bindings/thermal/thermal.h> 10 13 11 14 / { ··· 329 326 }; 330 327 }; 331 328 329 + smp2p-adsp { 330 + compatible = "qcom,smp2p"; 331 + qcom,smem = <443>, <429>; 332 + 333 + interrupts = <GIC_SPI 291 IRQ_TYPE_EDGE_RISING>; 334 + 335 + mboxes = <&apcs 10>; 336 + 337 + qcom,local-pid = <0>; 338 + qcom,remote-pid = <2>; 339 + 340 + smp2p_adsp_out: master-kernel { 341 + qcom,entry-name = "master-kernel"; 342 + #qcom,smem-state-cells = <1>; 343 + }; 344 + 345 + smp2p_adsp_in: slave-kernel { 346 + qcom,entry-name = "slave-kernel"; 347 + 348 + interrupt-controller; 349 + #interrupt-cells = <2>; 350 + }; 351 + }; 352 + 353 + smp2p-modem { 354 + compatible = "qcom,smp2p"; 355 + qcom,smem = <435>, <428>; 356 + 357 + interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>; 358 + 359 + qcom,ipc = <&apcs 8 14>; 360 + 361 + qcom,local-pid = <0>; 362 + qcom,remote-pid = <1>; 363 + 364 + smp2p_modem_out: master-kernel { 365 + qcom,entry-name = "master-kernel"; 366 + 367 + #qcom,smem-state-cells = <1>; 368 + }; 369 + 370 + smp2p_modem_in: slave-kernel { 371 + qcom,entry-name = "slave-kernel"; 372 + 373 + interrupt-controller; 374 + #interrupt-cells = <2>; 375 + }; 376 + }; 377 + 378 + smp2p-wcnss { 379 + compatible = "qcom,smp2p"; 380 + qcom,smem = <451>, <431>; 381 + 382 + interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>; 383 + 384 + qcom,ipc = <&apcs 8 18>; 385 + 386 + qcom,local-pid = <0>; 387 + qcom,remote-pid = <4>; 388 + 389 + smp2p_wcnss_out: master-kernel { 390 + qcom,entry-name = "master-kernel"; 391 + 392 + #qcom,smem-state-cells = <1>; 393 + }; 394 + 395 + smp2p_wcnss_in: slave-kernel { 396 + qcom,entry-name = "slave-kernel"; 397 + 398 + interrupt-controller; 399 + #interrupt-cells = <2>; 400 + }; 401 + }; 402 + 332 403 smsm { 333 404 compatible = "qcom,smsm"; 334 405 ··· 416 339 reg = <0>; 417 340 418 341 #qcom,smem-state-cells = <1>; 342 + }; 343 + 344 + modem_smsm: modem@1 { 345 + reg = <1>; 346 + interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>; 347 + 348 + interrupt-controller; 349 + #interrupt-cells = <2>; 350 + }; 351 + 352 + wcnss_smsm: wcnss@6 { 353 + reg = <6>; 354 + interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>; 355 + 356 + interrupt-controller; 357 + #interrupt-cells = <2>; 419 358 }; 420 359 }; 421 360 ··· 722 629 function = "gpio"; 723 630 drive-strength = <2>; 724 631 bias-disable; 632 + }; 633 + 634 + wcnss_pin_a: wcnss-active-state { 635 + 636 + wcss-wlan2-pins { 637 + pins = "gpio76"; 638 + function = "wcss_wlan2"; 639 + drive-strength = <6>; 640 + bias-pull-up; 641 + }; 642 + 643 + wcss-wlan1-pins { 644 + pins = "gpio77"; 645 + function = "wcss_wlan1"; 646 + drive-strength = <6>; 647 + bias-pull-up; 648 + }; 649 + 650 + wcss-wlan0-pins { 651 + pins = "gpio78"; 652 + function = "wcss_wlan0"; 653 + drive-strength = <6>; 654 + bias-pull-up; 655 + }; 656 + 657 + wcss-wlan-pins { 658 + pins = "gpio79", "gpio80"; 659 + function = "wcss_wlan"; 660 + drive-strength = <6>; 661 + bias-pull-up; 662 + }; 725 663 }; 726 664 }; 727 665 ··· 1053 929 #interrupt-cells = <4>; 1054 930 #address-cells = <2>; 1055 931 #size-cells = <0>; 932 + }; 933 + 934 + mpss: remoteproc@4080000 { 935 + compatible = "qcom,msm8953-mss-pil"; 936 + reg = <0x04080000 0x100>, 937 + <0x04020000 0x040>; 938 + reg-names = "qdsp6", "rmb"; 939 + 940 + interrupts-extended = <&intc GIC_SPI 24 IRQ_TYPE_EDGE_RISING>, 941 + <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>, 942 + <&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>, 943 + <&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>, 944 + <&smp2p_modem_in 3 IRQ_TYPE_EDGE_RISING>; 945 + interrupt-names = "wdog", "fatal", "ready", 946 + "handover", "stop-ack"; 947 + 948 + power-domains = <&rpmpd MSM8953_VDDCX>, 949 + <&rpmpd MSM8953_VDDMX>, 950 + <&rpmpd MSM8953_VDDMD>; 951 + power-domain-names = "cx", "mx","mss"; 952 + 953 + clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, 954 + <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>, 955 + <&gcc GCC_BOOT_ROM_AHB_CLK>, 956 + <&rpmcc RPM_SMD_XO_CLK_SRC>; 957 + clock-names = "iface", "bus", "mem", "xo"; 958 + 959 + qcom,smem-states = <&smp2p_modem_out 0>; 960 + qcom,smem-state-names = "stop"; 961 + 962 + resets = <&gcc GCC_MSS_BCR>; 963 + reset-names = "mss_restart"; 964 + 965 + qcom,halt-regs = <&tcsr 0x18000 0x19000 0x1a000>; 966 + 967 + status = "disabled"; 968 + 969 + mba { 970 + memory-region = <&mba_mem>; 971 + }; 972 + 973 + mpss { 974 + memory-region = <&mpss_mem>; 975 + }; 976 + 977 + smd-edge { 978 + interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>; 979 + 980 + qcom,smd-edge = <0>; 981 + qcom,ipc = <&apcs 8 12>; 982 + qcom,remote-pid = <1>; 983 + 984 + label = "modem"; 985 + }; 1056 986 }; 1057 987 1058 988 usb3: usb@70f8800 { ··· 1423 1245 status = "disabled"; 1424 1246 }; 1425 1247 1248 + wcnss: remoteproc@a21b000 { 1249 + compatible = "qcom,pronto-v3-pil", "qcom,pronto"; 1250 + reg = <0x0a204000 0x2000>, <0x0a202000 0x1000>, <0x0a21b000 0x3000>; 1251 + reg-names = "ccu", "dxe", "pmu"; 1252 + 1253 + memory-region = <&wcnss_fw_mem>; 1254 + 1255 + interrupts-extended = <&intc GIC_SPI 149 IRQ_TYPE_EDGE_RISING>, 1256 + <&smp2p_wcnss_in 0 IRQ_TYPE_EDGE_RISING>, 1257 + <&smp2p_wcnss_in 1 IRQ_TYPE_EDGE_RISING>, 1258 + <&smp2p_wcnss_in 2 IRQ_TYPE_EDGE_RISING>, 1259 + <&smp2p_wcnss_in 3 IRQ_TYPE_EDGE_RISING>; 1260 + interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; 1261 + 1262 + power-domains = <&rpmpd MSM8953_VDDCX>, 1263 + <&rpmpd MSM8953_VDDMX>; 1264 + power-domain-names = "cx", "mx"; 1265 + 1266 + qcom,smem-states = <&smp2p_wcnss_out 0>; 1267 + qcom,smem-state-names = "stop"; 1268 + 1269 + pinctrl-names = "default"; 1270 + pinctrl-0 = <&wcnss_pin_a>; 1271 + 1272 + status = "disabled"; 1273 + 1274 + wcnss_iris: iris { 1275 + /* Separate chip, compatible is board-specific */ 1276 + clocks = <&rpmcc RPM_SMD_RF_CLK2>; 1277 + clock-names = "xo"; 1278 + }; 1279 + 1280 + smd-edge { 1281 + interrupts = <GIC_SPI 142 IRQ_TYPE_EDGE_RISING>; 1282 + 1283 + qcom,ipc = <&apcs 8 17>; 1284 + qcom,smd-edge = <6>; 1285 + qcom,remote-pid = <4>; 1286 + 1287 + label = "pronto"; 1288 + 1289 + wcnss_ctrl: wcnss { 1290 + compatible = "qcom,wcnss"; 1291 + qcom,smd-channels = "WCNSS_CTRL"; 1292 + 1293 + qcom,mmio = <&wcnss>; 1294 + 1295 + wcnss_bt: bluetooth { 1296 + compatible = "qcom,wcnss-bt"; 1297 + }; 1298 + 1299 + wcnss_wifi: wifi { 1300 + compatible = "qcom,wcnss-wlan"; 1301 + 1302 + interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, 1303 + <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; 1304 + interrupt-names = "tx", "rx"; 1305 + 1306 + qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>; 1307 + qcom,smem-state-names = "tx-enable", 1308 + "tx-rings-empty"; 1309 + }; 1310 + }; 1311 + }; 1312 + }; 1313 + 1426 1314 intc: interrupt-controller@b000000 { 1427 1315 compatible = "qcom,msm-qgic2"; 1428 1316 interrupt-controller; ··· 1557 1313 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 1558 1314 reg = <0x0b128000 0x1000>; 1559 1315 status = "disabled"; 1316 + }; 1317 + }; 1318 + 1319 + lpass: remoteproc@c200000 { 1320 + compatible = "qcom,msm8953-adsp-pil"; 1321 + reg = <0x0c200000 0x100>; 1322 + 1323 + interrupts-extended = <&intc 0 293 IRQ_TYPE_EDGE_RISING>, 1324 + <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, 1325 + <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, 1326 + <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, 1327 + <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>; 1328 + interrupt-names = "wdog", "fatal", "ready", 1329 + "handover", "stop-ack"; 1330 + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; 1331 + clock-names = "xo"; 1332 + 1333 + power-domains = <&rpmpd MSM8953_VDDCX>; 1334 + power-domain-names = "cx"; 1335 + 1336 + memory-region = <&adsp_fw_mem>; 1337 + 1338 + qcom,smem-states = <&smp2p_adsp_out 0>; 1339 + qcom,smem-state-names = "stop"; 1340 + 1341 + status = "disabled"; 1342 + 1343 + smd-edge { 1344 + interrupts = <GIC_SPI 289 IRQ_TYPE_EDGE_RISING>; 1345 + 1346 + label = "lpass"; 1347 + mboxes = <&apcs 8>; 1348 + qcom,smd-edge = <1>; 1349 + qcom,remote-pid = <2>; 1350 + 1351 + apr { 1352 + compatible = "qcom,apr-v2"; 1353 + qcom,smd-channels = "apr_audio_svc"; 1354 + qcom,apr-domain = <APR_DOMAIN_ADSP>; 1355 + #address-cells = <1>; 1356 + #size-cells = <0>; 1357 + 1358 + q6core: service@3 { 1359 + reg = <APR_SVC_ADSP_CORE>; 1360 + compatible = "qcom,q6core"; 1361 + }; 1362 + 1363 + q6afe: service@4 { 1364 + compatible = "qcom,q6afe"; 1365 + reg = <APR_SVC_AFE>; 1366 + q6afedai: dais { 1367 + compatible = "qcom,q6afe-dais"; 1368 + #address-cells = <1>; 1369 + #size-cells = <0>; 1370 + #sound-dai-cells = <1>; 1371 + 1372 + dai@16 { 1373 + reg = <PRIMARY_MI2S_RX>; 1374 + qcom,sd-lines = <0 1>; 1375 + }; 1376 + dai@20 { 1377 + reg = <TERTIARY_MI2S_TX>; 1378 + qcom,sd-lines = <0 1>; 1379 + }; 1380 + dai@127 { 1381 + reg = <QUINARY_MI2S_RX>; 1382 + qcom,sd-lines = <0>; 1383 + }; 1384 + }; 1385 + 1386 + q6afecc: clock-controller { 1387 + compatible = "qcom,q6afe-clocks"; 1388 + #clock-cells = <2>; 1389 + }; 1390 + }; 1391 + 1392 + q6asm: service@7 { 1393 + compatible = "qcom,q6asm"; 1394 + reg = <APR_SVC_ASM>; 1395 + q6asmdai: dais { 1396 + compatible = "qcom,q6asm-dais"; 1397 + #address-cells = <1>; 1398 + #size-cells = <0>; 1399 + #sound-dai-cells = <1>; 1400 + 1401 + dai@0 { 1402 + reg = <0>; 1403 + direction = <Q6ASM_DAI_RX>; 1404 + }; 1405 + dai@1 { 1406 + reg = <1>; 1407 + direction = <Q6ASM_DAI_TX>; 1408 + }; 1409 + dai@2 { 1410 + reg = <2>; 1411 + direction = <Q6ASM_DAI_RX>; 1412 + }; 1413 + dai@3 { 1414 + reg = <3>; 1415 + direction = <Q6ASM_DAI_RX>; 1416 + is-compress-dai; 1417 + }; 1418 + }; 1419 + }; 1420 + 1421 + q6adm: service@8 { 1422 + compatible = "qcom,q6adm"; 1423 + reg = <APR_SVC_ADM>; 1424 + q6routing: routing { 1425 + compatible = "qcom,q6adm-routing"; 1426 + #sound-dai-cells = <0>; 1427 + }; 1428 + }; 1429 + }; 1560 1430 }; 1561 1431 }; 1562 1432 };
+2 -1
arch/arm64/boot/dts/qcom/msm8976.dtsi
··· 1035 1035 }; 1036 1036 1037 1037 apcs: mailbox@b011000 { 1038 - compatible = "qcom,msm8976-apcs-kpss-global", "syscon"; 1038 + compatible = "qcom,msm8976-apcs-kpss-global", 1039 + "qcom,msm8994-apcs-kpss-global", "syscon"; 1039 1040 reg = <0x0b011000 0x1000>; 1040 1041 #mbox-cells = <1>; 1041 1042 };
-5
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi
··· 60 60 reg = <0x0 0x05000000 0x0 0x1a00000>; 61 61 no-map; 62 62 }; 63 - 64 - reserved@6c00000 { 65 - reg = <0x0 0x06c00000 0x0 0x400000>; 66 - no-map; 67 - }; 68 63 }; 69 64 }; 70 65
+8 -3
arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts
··· 2 2 /* 3 3 * Copyright (c) 2015, Huawei Inc. All rights reserved. 4 4 * Copyright (c) 2016, The Linux Foundation. All rights reserved. 5 - * Copyright (c) 2021-2022, Petr Vorel <petr.vorel@gmail.com> 5 + * Copyright (c) 2021-2023, Petr Vorel <petr.vorel@gmail.com> 6 6 */ 7 7 8 8 /dts-v1/; ··· 31 31 #size-cells = <2>; 32 32 ranges; 33 33 34 + cont_splash_mem: memory@3401000 { 35 + reg = <0 0x03401000 0 0x1000000>; 36 + no-map; 37 + }; 38 + 34 39 tzapp_mem: tzapp@4800000 { 35 40 reg = <0 0x04800000 0 0x1900000>; 36 41 no-map; 37 42 }; 38 43 39 - removed_region: reserved@6300000 { 40 - reg = <0 0x06300000 0 0xD00000>; 44 + reserved@6300000 { 45 + reg = <0 0x06300000 0 0x700000>; 41 46 no-map; 42 47 }; 43 48 };
-1
arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami.dtsi
··· 481 481 function = "gpio"; 482 482 drive-strength = <2>; 483 483 bias-disable; 484 - input-enable; 485 484 }; 486 485 487 486 ts_reset_active: ts-reset-active-state {
+5 -1
arch/arm64/boot/dts/qcom/msm8994.dtsi
··· 228 228 reg = <0 0xc9400000 0 0x3f00000>; 229 229 no-map; 230 230 }; 231 + 232 + reserved@6c00000 { 233 + reg = <0 0x06c00000 0 0x400000>; 234 + no-map; 235 + }; 231 236 }; 232 237 233 238 smd { ··· 845 840 function = "gpio"; 846 841 drive-strength = <2>; 847 842 bias-pull-down; 848 - input-enable; 849 843 }; 850 844 851 845 i2c5_default: i2c5-default-state {
-1
arch/arm64/boot/dts/qcom/msm8996.dtsi
··· 1552 1552 function = "gpio"; 1553 1553 drive-strength = <2>; 1554 1554 bias-pull-down; 1555 - input-enable; 1556 1555 }; 1557 1556 1558 1557 blsp2_i2c1_default: blsp2-i2c1-state {
-1
arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts
··· 640 640 function = "gpio"; 641 641 bias-disable; 642 642 drive-strength = <2>; 643 - input-enable; 644 643 }; 645 644 646 645 ts_int_n: ts-int-n-state {
-1
arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi
··· 501 501 function = "gpio"; 502 502 drive-strength = <2>; 503 503 bias-disable; 504 - input-enable; 505 504 }; 506 505 507 506 ts_int_active: ts-int-active-state {
-2
arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi
··· 844 844 function = "gpio"; 845 845 bias-pull-up; 846 846 drive-strength = <2>; 847 - input-enable; 848 847 }; 849 848 850 849 chat_cam_pwr_en: chat-cam-pwr-en-default-state { ··· 872 873 function = "gpio"; 873 874 bias-disable; 874 875 drive-strength = <2>; 875 - input-enable; 876 876 }; 877 877 878 878 ts_int_n: ts-int-n-state {
-3
arch/arm64/boot/dts/qcom/msm8998-xiaomi-sagit.dts
··· 528 528 function = "gpio"; 529 529 drive-strength = <2>; 530 530 bias-disable; 531 - input-enable; 532 531 }; 533 532 534 533 mdss_dsi_active_state: mdss-dsi-active-state { ··· 619 620 function = "gpio"; 620 621 drive-strength = <16>; 621 622 bias-pull-up; 622 - input-enable; 623 623 }; 624 624 625 625 ts_int_suspend_state: ts-int-suspend-state { ··· 640 642 function = "gpio"; 641 643 bias-pull-down; 642 644 drive-strength = <2>; 643 - input-enable; 644 645 }; 645 646 646 647 wsa_leftspk_pwr_n_state: wsa-leftspk-pwr-n-state {
+2 -1
arch/arm64/boot/dts/qcom/msm8998.dtsi
··· 2489 2489 }; 2490 2490 2491 2491 apcs_glb: mailbox@17911000 { 2492 - compatible = "qcom,msm8998-apcs-hmss-global"; 2492 + compatible = "qcom,msm8998-apcs-hmss-global", 2493 + "qcom,msm8994-apcs-kpss-global"; 2493 2494 reg = <0x17911000 0x1000>; 2494 2495 2495 2496 #mbox-cells = <1>;
+63
arch/arm64/boot/dts/qcom/pm2250.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 + /* 3 + * Copyright (c) 2023, Linaro Ltd 4 + */ 5 + 6 + #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 + #include <dt-bindings/input/input.h> 8 + #include <dt-bindings/interrupt-controller/irq.h> 9 + #include <dt-bindings/spmi/spmi.h> 10 + 11 + &spmi_bus { 12 + pmic@0 { 13 + compatible = "qcom,pm2250", "qcom,spmi-pmic"; 14 + reg = <0x0 SPMI_USID>; 15 + #address-cells = <1>; 16 + #size-cells = <0>; 17 + 18 + pon@800 { 19 + compatible = "qcom,pm8916-pon"; 20 + reg = <0x800>; 21 + 22 + pm2250_pwrkey: pwrkey { 23 + compatible = "qcom,pm8941-pwrkey"; 24 + interrupts-extended = <&spmi_bus 0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; 25 + linux,code = <KEY_POWER>; 26 + debounce = <15625>; 27 + bias-pull-up; 28 + }; 29 + 30 + pm2250_resin: resin { 31 + compatible = "qcom,pm8941-resin"; 32 + interrupts-extended = <&spmi_bus 0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; 33 + debounce = <15625>; 34 + bias-pull-up; 35 + status = "disabled"; 36 + }; 37 + }; 38 + 39 + rtc@6000 { 40 + compatible = "qcom,pm8941-rtc"; 41 + reg = <0x6000>, <0x6100>; 42 + reg-names = "rtc", "alarm"; 43 + interrupts-extended = <&spmi_bus 0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; 44 + }; 45 + 46 + pm2250_gpios: gpio@c000 { 47 + compatible = "qcom,pm2250-gpio", "qcom,spmi-gpio"; 48 + reg = <0xc000>; 49 + gpio-controller; 50 + gpio-ranges = <&pm2250_gpios 0 0 10>; 51 + #gpio-cells = <2>; 52 + interrupt-controller; 53 + #interrupt-cells = <2>; 54 + }; 55 + }; 56 + 57 + pmic@1 { 58 + compatible = "qcom,pm2250", "qcom,spmi-pmic"; 59 + reg = <0x1 SPMI_USID>; 60 + #address-cells = <1>; 61 + #size-cells = <0>; 62 + }; 63 + };
+1 -1
arch/arm64/boot/dts/qcom/pm8916.dtsi
··· 41 41 }; 42 42 }; 43 43 44 - pm8916_usbin: extcon@1300 { 44 + pm8916_usbin: usb-detect@1300 { 45 45 compatible = "qcom,pm8941-misc"; 46 46 reg = <0x1300>; 47 47 interrupts = <0x0 0x13 1 IRQ_TYPE_EDGE_BOTH>;
+1561
arch/arm64/boot/dts/qcom/qcm2290.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 + /* 3 + * Copyright (c) 2023, Linaro Ltd 4 + * 5 + * Based on sm6115.dtsi and previous efforts by Shawn Guo & Loic Poulain. 6 + */ 7 + 8 + #include <dt-bindings/clock/qcom,gcc-qcm2290.h> 9 + #include <dt-bindings/clock/qcom,rpmcc.h> 10 + #include <dt-bindings/dma/qcom-gpi.h> 11 + #include <dt-bindings/firmware/qcom,scm.h> 12 + #include <dt-bindings/gpio/gpio.h> 13 + #include <dt-bindings/interrupt-controller/arm-gic.h> 14 + #include <dt-bindings/power/qcom-rpmpd.h> 15 + 16 + / { 17 + interrupt-parent = <&intc>; 18 + 19 + #address-cells = <2>; 20 + #size-cells = <2>; 21 + 22 + chosen { }; 23 + 24 + clocks { 25 + xo_board: xo-board { 26 + compatible = "fixed-clock"; 27 + #clock-cells = <0>; 28 + }; 29 + 30 + sleep_clk: sleep-clk { 31 + compatible = "fixed-clock"; 32 + clock-frequency = <32764>; 33 + #clock-cells = <0>; 34 + }; 35 + }; 36 + 37 + cpus { 38 + #address-cells = <2>; 39 + #size-cells = <0>; 40 + 41 + CPU0: cpu@0 { 42 + device_type = "cpu"; 43 + compatible = "arm,cortex-a53"; 44 + reg = <0x0 0x0>; 45 + clocks = <&cpufreq_hw 0>; 46 + capacity-dmips-mhz = <1024>; 47 + dynamic-power-coefficient = <100>; 48 + enable-method = "psci"; 49 + next-level-cache = <&L2_0>; 50 + qcom,freq-domain = <&cpufreq_hw 0>; 51 + L2_0: l2-cache { 52 + compatible = "cache"; 53 + cache-level = <2>; 54 + }; 55 + }; 56 + 57 + CPU1: cpu@1 { 58 + device_type = "cpu"; 59 + compatible = "arm,cortex-a53"; 60 + reg = <0x0 0x1>; 61 + clocks = <&cpufreq_hw 0>; 62 + capacity-dmips-mhz = <1024>; 63 + dynamic-power-coefficient = <100>; 64 + enable-method = "psci"; 65 + next-level-cache = <&L2_0>; 66 + qcom,freq-domain = <&cpufreq_hw 0>; 67 + }; 68 + 69 + CPU2: cpu@2 { 70 + device_type = "cpu"; 71 + compatible = "arm,cortex-a53"; 72 + reg = <0x0 0x2>; 73 + clocks = <&cpufreq_hw 0>; 74 + capacity-dmips-mhz = <1024>; 75 + dynamic-power-coefficient = <100>; 76 + enable-method = "psci"; 77 + next-level-cache = <&L2_0>; 78 + qcom,freq-domain = <&cpufreq_hw 0>; 79 + }; 80 + 81 + CPU3: cpu@3 { 82 + device_type = "cpu"; 83 + compatible = "arm,cortex-a53"; 84 + reg = <0x0 0x3>; 85 + clocks = <&cpufreq_hw 0>; 86 + capacity-dmips-mhz = <1024>; 87 + dynamic-power-coefficient = <100>; 88 + enable-method = "psci"; 89 + next-level-cache = <&L2_0>; 90 + qcom,freq-domain = <&cpufreq_hw 0>; 91 + }; 92 + 93 + cpu-map { 94 + cluster0 { 95 + core0 { 96 + cpu = <&CPU0>; 97 + }; 98 + 99 + core1 { 100 + cpu = <&CPU1>; 101 + }; 102 + 103 + core2 { 104 + cpu = <&CPU2>; 105 + }; 106 + 107 + core3 { 108 + cpu = <&CPU3>; 109 + }; 110 + }; 111 + }; 112 + }; 113 + 114 + firmware { 115 + scm: scm { 116 + compatible = "qcom,scm-qcm2290", "qcom,scm"; 117 + clocks = <&rpmcc RPM_SMD_CE1_CLK>; 118 + clock-names = "core"; 119 + #reset-cells = <1>; 120 + }; 121 + }; 122 + 123 + memory@40000000 { 124 + device_type = "memory"; 125 + /* We expect the bootloader to fill in the size */ 126 + reg = <0 0x40000000 0 0>; 127 + }; 128 + 129 + pmu { 130 + compatible = "arm,armv8-pmuv3"; 131 + interrupts = <GIC_PPI 6 IRQ_TYPE_LEVEL_HIGH>; 132 + }; 133 + 134 + psci { 135 + compatible = "arm,psci-1.0"; 136 + method = "smc"; 137 + }; 138 + 139 + reserved_memory: reserved-memory { 140 + #address-cells = <2>; 141 + #size-cells = <2>; 142 + ranges; 143 + 144 + hyp_mem: hyp@45700000 { 145 + reg = <0x0 0x45700000 0x0 0x600000>; 146 + no-map; 147 + }; 148 + 149 + xbl_aop_mem: xbl-aop@45e00000 { 150 + reg = <0x0 0x45e00000 0x0 0x140000>; 151 + no-map; 152 + }; 153 + 154 + sec_apps_mem: sec-apps@45fff000 { 155 + reg = <0x0 0x45fff000 0x0 0x1000>; 156 + no-map; 157 + }; 158 + 159 + smem_mem: smem@46000000 { 160 + compatible = "qcom,smem"; 161 + reg = <0x0 0x46000000 0x0 0x200000>; 162 + no-map; 163 + 164 + hwlocks = <&tcsr_mutex 3>; 165 + qcom,rpm-msg-ram = <&rpm_msg_ram>; 166 + }; 167 + 168 + pil_modem_mem: modem@4ab00000 { 169 + reg = <0x0 0x4ab00000 0x0 0x6900000>; 170 + no-map; 171 + }; 172 + 173 + pil_video_mem: video@51400000 { 174 + reg = <0x0 0x51400000 0x0 0x500000>; 175 + no-map; 176 + }; 177 + 178 + wlan_msa_mem: wlan-msa@51900000 { 179 + reg = <0x0 0x51900000 0x0 0x100000>; 180 + no-map; 181 + }; 182 + 183 + pil_adsp_mem: adsp@51a00000 { 184 + reg = <0x0 0x51a00000 0x0 0x1c00000>; 185 + no-map; 186 + }; 187 + 188 + pil_ipa_fw_mem: ipa-fw@53600000 { 189 + reg = <0x0 0x53600000 0x0 0x10000>; 190 + no-map; 191 + }; 192 + 193 + pil_ipa_gsi_mem: ipa-gsi@53610000 { 194 + reg = <0x0 0x53610000 0x0 0x5000>; 195 + no-map; 196 + }; 197 + 198 + pil_gpu_mem: zap@53615000 { 199 + compatible = "shared-dma-pool"; 200 + reg = <0x0 0x53615000 0x0 0x2000>; 201 + no-map; 202 + }; 203 + 204 + cont_splash_memory: framebuffer@5c000000 { 205 + reg = <0x0 0x5c000000 0x0 0x00f00000>; 206 + no-map; 207 + }; 208 + 209 + dfps_data_memory: dpfs-data@5cf00000 { 210 + reg = <0x0 0x5cf00000 0x0 0x0100000>; 211 + no-map; 212 + }; 213 + 214 + removed_mem: reserved@60000000 { 215 + reg = <0x0 0x60000000 0x0 0x3900000>; 216 + no-map; 217 + }; 218 + 219 + rmtfs_mem: memory@89b01000 { 220 + compatible = "qcom,rmtfs-mem"; 221 + reg = <0x0 0x89b01000 0x0 0x200000>; 222 + no-map; 223 + 224 + qcom,client-id = <1>; 225 + qcom,vmid = <QCOM_SCM_VMID_MSS_MSA QCOM_SCM_VMID_NAV>; 226 + }; 227 + }; 228 + 229 + rpm-glink { 230 + compatible = "qcom,glink-rpm"; 231 + interrupts = <GIC_SPI 194 IRQ_TYPE_EDGE_RISING>; 232 + qcom,rpm-msg-ram = <&rpm_msg_ram>; 233 + mboxes = <&apcs_glb 0>; 234 + 235 + rpm_requests: rpm-requests { 236 + compatible = "qcom,rpm-qcm2290"; 237 + qcom,glink-channels = "rpm_requests"; 238 + 239 + rpmcc: clock-controller { 240 + compatible = "qcom,rpmcc-qcm2290", "qcom,rpmcc"; 241 + clocks = <&xo_board>; 242 + clock-names = "xo"; 243 + #clock-cells = <1>; 244 + }; 245 + 246 + rpmpd: power-controller { 247 + compatible = "qcom,qcm2290-rpmpd"; 248 + #power-domain-cells = <1>; 249 + operating-points-v2 = <&rpmpd_opp_table>; 250 + 251 + rpmpd_opp_table: opp-table { 252 + compatible = "operating-points-v2"; 253 + 254 + rpmpd_opp_min_svs: opp1 { 255 + opp-level = <RPM_SMD_LEVEL_MIN_SVS>; 256 + }; 257 + 258 + rpmpd_opp_low_svs: opp2 { 259 + opp-level = <RPM_SMD_LEVEL_LOW_SVS>; 260 + }; 261 + 262 + rpmpd_opp_svs: opp3 { 263 + opp-level = <RPM_SMD_LEVEL_SVS>; 264 + }; 265 + 266 + rpmpd_opp_svs_plus: opp4 { 267 + opp-level = <RPM_SMD_LEVEL_SVS_PLUS>; 268 + }; 269 + 270 + rpmpd_opp_nom: opp5 { 271 + opp-level = <RPM_SMD_LEVEL_NOM>; 272 + }; 273 + 274 + rpmpd_opp_nom_plus: opp6 { 275 + opp-level = <RPM_SMD_LEVEL_NOM_PLUS>; 276 + }; 277 + 278 + rpmpd_opp_turbo: opp7 { 279 + opp-level = <RPM_SMD_LEVEL_TURBO>; 280 + }; 281 + 282 + rpmpd_opp_turbo_plus: opp8 { 283 + opp-level = <RPM_SMD_LEVEL_TURBO_NO_CPR>; 284 + }; 285 + }; 286 + }; 287 + }; 288 + }; 289 + 290 + smp2p-adsp { 291 + compatible = "qcom,smp2p"; 292 + qcom,smem = <443>, <429>; 293 + 294 + interrupts = <GIC_SPI 279 IRQ_TYPE_EDGE_RISING>; 295 + 296 + mboxes = <&apcs_glb 10>; 297 + 298 + qcom,local-pid = <0>; 299 + qcom,remote-pid = <2>; 300 + 301 + adsp_smp2p_out: master-kernel { 302 + qcom,entry-name = "master-kernel"; 303 + #qcom,smem-state-cells = <1>; 304 + }; 305 + 306 + adsp_smp2p_in: slave-kernel { 307 + qcom,entry-name = "slave-kernel"; 308 + interrupt-controller; 309 + #interrupt-cells = <2>; 310 + }; 311 + }; 312 + 313 + smp2p-mpss { 314 + compatible = "qcom,smp2p"; 315 + qcom,smem = <435>, <428>; 316 + 317 + interrupts = <GIC_SPI 70 IRQ_TYPE_EDGE_RISING>; 318 + 319 + mboxes = <&apcs_glb 14>; 320 + 321 + qcom,local-pid = <0>; 322 + qcom,remote-pid = <1>; 323 + 324 + modem_smp2p_out: master-kernel { 325 + qcom,entry-name = "master-kernel"; 326 + #qcom,smem-state-cells = <1>; 327 + }; 328 + 329 + modem_smp2p_in: slave-kernel { 330 + qcom,entry-name = "slave-kernel"; 331 + interrupt-controller; 332 + #interrupt-cells = <2>; 333 + }; 334 + 335 + wlan_smp2p_in: wlan-wpss-to-ap { 336 + qcom,entry-name = "wlan"; 337 + interrupt-controller; 338 + #interrupt-cells = <2>; 339 + }; 340 + }; 341 + 342 + soc: soc@0 { 343 + compatible = "simple-bus"; 344 + #address-cells = <2>; 345 + #size-cells = <2>; 346 + ranges = <0 0 0 0 0x10 0>; 347 + dma-ranges = <0 0 0 0 0x10 0>; 348 + 349 + tcsr_mutex: hwlock@340000 { 350 + compatible = "qcom,tcsr-mutex"; 351 + reg = <0x0 0x00340000 0x0 0x20000>; 352 + #hwlock-cells = <1>; 353 + }; 354 + 355 + tlmm: pinctrl@500000 { 356 + compatible = "qcom,qcm2290-tlmm"; 357 + reg = <0x0 0x00500000 0x0 0x300000>; 358 + interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>; 359 + gpio-controller; 360 + gpio-ranges = <&tlmm 0 0 127>; 361 + #gpio-cells = <2>; 362 + interrupt-controller; 363 + #interrupt-cells = <2>; 364 + 365 + qup_i2c0_default: qup-i2c0-default-state { 366 + pins = "gpio0", "gpio1"; 367 + function = "qup0"; 368 + drive-strength = <2>; 369 + bias-pull-up; 370 + }; 371 + 372 + qup_i2c1_default: qup-i2c1-default-state { 373 + pins = "gpio4", "gpio5"; 374 + function = "qup1"; 375 + drive-strength = <2>; 376 + bias-pull-up; 377 + }; 378 + 379 + qup_i2c2_default: qup-i2c2-default-state { 380 + pins = "gpio6", "gpio7"; 381 + function = "qup2"; 382 + drive-strength = <2>; 383 + bias-pull-up; 384 + }; 385 + 386 + qup_i2c3_default: qup-i2c3-default-state { 387 + pins = "gpio8", "gpio9"; 388 + function = "qup3"; 389 + drive-strength = <2>; 390 + bias-pull-up; 391 + }; 392 + 393 + qup_i2c4_default: qup-i2c4-default-state { 394 + pins = "gpio12", "gpio13"; 395 + function = "qup4"; 396 + drive-strength = <2>; 397 + bias-pull-up; 398 + }; 399 + 400 + qup_i2c5_default: qup-i2c5-default-state { 401 + pins = "gpio14", "gpio15"; 402 + function = "qup5"; 403 + drive-strength = <2>; 404 + bias-pull-up; 405 + }; 406 + 407 + qup_spi0_default: qup-spi0-default-state { 408 + pins = "gpio0", "gpio1","gpio2", "gpio3"; 409 + function = "qup0"; 410 + drive-strength = <2>; 411 + bias-pull-up; 412 + }; 413 + 414 + qup_spi1_default: qup-spi1-default-state { 415 + pins = "gpio4", "gpio5", "gpio69", "gpio70"; 416 + function = "qup1"; 417 + drive-strength = <2>; 418 + bias-pull-up; 419 + }; 420 + 421 + qup_spi2_default: qup-spi2-default-state { 422 + pins = "gpio6", "gpio7", "gpio71", "gpio80"; 423 + function = "qup2"; 424 + drive-strength = <2>; 425 + bias-pull-up; 426 + }; 427 + 428 + qup_spi3_default: qup-spi3-default-state { 429 + pins = "gpio8", "gpio9", "gpio10", "gpio11"; 430 + function = "qup3"; 431 + drive-strength = <2>; 432 + bias-pull-up; 433 + }; 434 + 435 + qup_spi4_default: qup-spi4-default-state { 436 + pins = "gpio12", "gpio13", "gpio96", "gpio97"; 437 + function = "qup4"; 438 + drive-strength = <2>; 439 + bias-pull-up; 440 + }; 441 + 442 + qup_spi5_default: qup-spi5-default-state { 443 + pins = "gpio14", "gpio15", "gpio16", "gpio17"; 444 + function = "qup5"; 445 + drive-strength = <2>; 446 + bias-pull-up; 447 + }; 448 + 449 + qup_uart0_default: qup-uart0-default-state { 450 + pins = "gpio0", "gpio1", "gpio2", "gpio3"; 451 + function = "qup0"; 452 + drive-strength = <2>; 453 + bias-disable; 454 + }; 455 + 456 + qup_uart4_default: qup-uart4-default-state { 457 + pins = "gpio12", "gpio13"; 458 + function = "qup4"; 459 + drive-strength = <2>; 460 + bias-disable; 461 + }; 462 + 463 + sdc1_state_on: sdc1-on-state { 464 + clk-pins { 465 + pins = "sdc1_clk"; 466 + drive-strength = <16>; 467 + bias-disable; 468 + }; 469 + 470 + cmd-pins { 471 + pins = "sdc1_cmd"; 472 + drive-strength = <10>; 473 + bias-pull-up; 474 + }; 475 + 476 + data-pins { 477 + pins = "sdc1_data"; 478 + drive-strength = <10>; 479 + bias-pull-up; 480 + }; 481 + 482 + rclk-pins { 483 + pins = "sdc1_rclk"; 484 + bias-pull-down; 485 + }; 486 + }; 487 + 488 + sdc1_state_off: sdc1-off-state { 489 + clk-pins { 490 + pins = "sdc1_clk"; 491 + drive-strength = <2>; 492 + bias-disable; 493 + }; 494 + 495 + cmd-pins { 496 + pins = "sdc1_cmd"; 497 + drive-strength = <2>; 498 + bias-pull-up; 499 + }; 500 + 501 + data-pins { 502 + pins = "sdc1_data"; 503 + drive-strength = <2>; 504 + bias-pull-up; 505 + }; 506 + 507 + rclk-pins { 508 + pins = "sdc1_rclk"; 509 + bias-pull-down; 510 + }; 511 + }; 512 + 513 + sdc2_state_on: sdc2-on-state { 514 + clk-pins { 515 + pins = "sdc2_clk"; 516 + drive-strength = <16>; 517 + bias-disable; 518 + }; 519 + 520 + cmd-pins { 521 + pins = "sdc2_cmd"; 522 + drive-strength = <10>; 523 + bias-pull-up; 524 + }; 525 + 526 + data-pins { 527 + pins = "sdc2_data"; 528 + drive-strength = <10>; 529 + bias-pull-up; 530 + }; 531 + }; 532 + 533 + sdc2_state_off: sdc2-off-state { 534 + clk-pins { 535 + pins = "sdc2_clk"; 536 + drive-strength = <2>; 537 + bias-disable; 538 + }; 539 + 540 + cmd-pins { 541 + pins = "sdc2_cmd"; 542 + drive-strength = <2>; 543 + bias-pull-up; 544 + }; 545 + 546 + data-pins { 547 + pins = "sdc2_data"; 548 + drive-strength = <2>; 549 + bias-pull-up; 550 + }; 551 + }; 552 + }; 553 + 554 + gcc: clock-controller@1400000 { 555 + compatible = "qcom,gcc-qcm2290"; 556 + reg = <0x0 0x01400000 0x0 0x1f0000>; 557 + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>; 558 + clock-names = "bi_tcxo", "sleep_clk"; 559 + #clock-cells = <1>; 560 + #reset-cells = <1>; 561 + #power-domain-cells = <1>; 562 + }; 563 + 564 + usb_hsphy: phy@1613000 { 565 + compatible = "qcom,qcm2290-qusb2-phy"; 566 + reg = <0x0 0x01613000 0x0 0x180>; 567 + 568 + clocks = <&gcc GCC_AHB2PHY_USB_CLK>, 569 + <&rpmcc RPM_SMD_XO_CLK_SRC>; 570 + clock-names = "cfg_ahb", "ref"; 571 + 572 + resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 573 + nvmem-cells = <&qusb2_hstx_trim>; 574 + #phy-cells = <0>; 575 + 576 + status = "disabled"; 577 + }; 578 + 579 + qfprom@1b44000 { 580 + compatible = "qcom,qcm2290-qfprom", "qcom,qfprom"; 581 + reg = <0x0 0x01b44000 0x0 0x3000>; 582 + #address-cells = <1>; 583 + #size-cells = <1>; 584 + 585 + qusb2_hstx_trim: hstx-trim@25b { 586 + reg = <0x25b 0x1>; 587 + bits = <1 4>; 588 + }; 589 + }; 590 + 591 + spmi_bus: spmi@1c40000 { 592 + compatible = "qcom,spmi-pmic-arb"; 593 + reg = <0x0 0x01c40000 0x0 0x1100>, 594 + <0x0 0x01e00000 0x0 0x2000000>, 595 + <0x0 0x03e00000 0x0 0x100000>, 596 + <0x0 0x03f00000 0x0 0xa0000>, 597 + <0x0 0x01c0a000 0x0 0x26000>; 598 + reg-names = "core", 599 + "chnls", 600 + "obsrvr", 601 + "intr", 602 + "cnfg"; 603 + interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>; 604 + interrupt-names = "periph_irq"; 605 + qcom,ee = <0>; 606 + qcom,channel = <0>; 607 + #address-cells = <2>; 608 + #size-cells = <0>; 609 + interrupt-controller; 610 + #interrupt-cells = <4>; 611 + }; 612 + 613 + tsens0: thermal-sensor@4411000 { 614 + compatible = "qcom,qcm2290-tsens", "qcom,tsens-v2"; 615 + reg = <0x0 0x04411000 0x0 0x1ff>, 616 + <0x0 0x04410000 0x0 0x8>; 617 + #qcom,sensors = <10>; 618 + interrupts = <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>, 619 + <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; 620 + interrupt-names = "uplow", "critical"; 621 + #thermal-sensor-cells = <1>; 622 + }; 623 + 624 + rng: rng@4453000 { 625 + compatible = "qcom,prng-ee"; 626 + reg = <0x0 0x04453000 0x0 0x1000>; 627 + clocks = <&rpmcc RPM_SMD_HWKM_CLK>; 628 + clock-names = "core"; 629 + }; 630 + 631 + rpm_msg_ram: sram@45f0000 { 632 + compatible = "qcom,rpm-msg-ram"; 633 + reg = <0x0 0x045f0000 0x0 0x7000>; 634 + }; 635 + 636 + sram@4690000 { 637 + compatible = "qcom,rpm-stats"; 638 + reg = <0x0 0x04690000 0x0 0x10000>; 639 + }; 640 + 641 + sdhc_1: mmc@4744000 { 642 + compatible = "qcom,qcm2290-sdhci", "qcom,sdhci-msm-v5"; 643 + reg = <0x0 0x04744000 0x0 0x1000>, 644 + <0x0 0x04745000 0x0 0x1000>, 645 + <0x0 0x04748000 0x0 0x8000>; 646 + reg-names = "hc", 647 + "cqhci", 648 + "ice"; 649 + 650 + interrupts = <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>, 651 + <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>; 652 + interrupt-names = "hc_irq", "pwr_irq"; 653 + 654 + clocks = <&gcc GCC_SDCC1_AHB_CLK>, 655 + <&gcc GCC_SDCC1_APPS_CLK>, 656 + <&rpmcc RPM_SMD_XO_CLK_SRC>, 657 + <&gcc GCC_SDCC1_ICE_CORE_CLK>; 658 + clock-names = "iface", 659 + "core", 660 + "xo", 661 + "ice"; 662 + 663 + resets = <&gcc GCC_SDCC1_BCR>; 664 + 665 + power-domains = <&rpmpd QCM2290_VDDCX>; 666 + iommus = <&apps_smmu 0xc0 0x0>; 667 + 668 + qcom,dll-config = <0x000f642c>; 669 + qcom,ddr-config = <0x80040868>; 670 + bus-width = <8>; 671 + 672 + status = "disabled"; 673 + }; 674 + 675 + sdhc_2: mmc@4784000 { 676 + compatible = "qcom,qcm2290-sdhci", "qcom,sdhci-msm-v5"; 677 + reg = <0x0 0x04784000 0x0 0x1000>; 678 + reg-names = "hc"; 679 + 680 + interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>, 681 + <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 682 + interrupt-names = "hc_irq", "pwr_irq"; 683 + 684 + clocks = <&gcc GCC_SDCC2_AHB_CLK>, 685 + <&gcc GCC_SDCC2_APPS_CLK>, 686 + <&rpmcc RPM_SMD_XO_CLK_SRC>; 687 + clock-names = "iface", 688 + "core", 689 + "xo"; 690 + 691 + resets = <&gcc GCC_SDCC2_BCR>; 692 + 693 + power-domains = <&rpmpd QCM2290_VDDCX>; 694 + operating-points-v2 = <&sdhc2_opp_table>; 695 + iommus = <&apps_smmu 0xa0 0x0>; 696 + 697 + qcom,dll-config = <0x0007642c>; 698 + qcom,ddr-config = <0x80040868>; 699 + bus-width = <4>; 700 + 701 + status = "disabled"; 702 + 703 + sdhc2_opp_table: opp-table { 704 + compatible = "operating-points-v2"; 705 + 706 + opp-100000000 { 707 + opp-hz = /bits/ 64 <100000000>; 708 + required-opps = <&rpmpd_opp_low_svs>; 709 + }; 710 + 711 + opp-202000000 { 712 + opp-hz = /bits/ 64 <202000000>; 713 + required-opps = <&rpmpd_opp_svs_plus>; 714 + }; 715 + }; 716 + }; 717 + 718 + gpi_dma0: dma-controller@4a00000 { 719 + compatible = "qcom,qcm2290-gpi-dma", "qcom,sm6350-gpi-dma"; 720 + reg = <0x0 0x04a00000 0x0 0x60000>; 721 + interrupts = <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, 722 + <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, 723 + <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, 724 + <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, 725 + <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, 726 + <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, 727 + <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, 728 + <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, 729 + <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>, 730 + <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>; 731 + dma-channels = <10>; 732 + dma-channel-mask = <0x1f>; 733 + iommus = <&apps_smmu 0xf6 0x0>; 734 + #dma-cells = <3>; 735 + status = "disabled"; 736 + }; 737 + 738 + qupv3_id_0: geniqup@4ac0000 { 739 + compatible = "qcom,geni-se-qup"; 740 + reg = <0x0 0x04ac0000 0x0 0x2000>; 741 + clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, 742 + <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; 743 + clock-names = "m-ahb", "s-ahb"; 744 + iommus = <&apps_smmu 0xe3 0x0>; 745 + #address-cells = <2>; 746 + #size-cells = <2>; 747 + ranges; 748 + status = "disabled"; 749 + 750 + i2c0: i2c@4a80000 { 751 + compatible = "qcom,geni-i2c"; 752 + reg = <0x0 0x04a80000 0x0 0x4000>; 753 + interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>; 754 + clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 755 + clock-names = "se"; 756 + pinctrl-0 = <&qup_i2c0_default>; 757 + pinctrl-names = "default"; 758 + dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>, 759 + <&gpi_dma0 1 0 QCOM_GPI_I2C>; 760 + dma-names = "tx", "rx"; 761 + #address-cells = <1>; 762 + #size-cells = <0>; 763 + status = "disabled"; 764 + }; 765 + 766 + spi0: spi@4a80000 { 767 + compatible = "qcom,geni-spi"; 768 + reg = <0x0 0x04a80000 0x0 0x4000>; 769 + interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>; 770 + clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 771 + clock-names = "se"; 772 + pinctrl-0 = <&qup_spi0_default>; 773 + pinctrl-names = "default"; 774 + dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>, 775 + <&gpi_dma0 1 0 QCOM_GPI_SPI>; 776 + dma-names = "tx", "rx"; 777 + #address-cells = <1>; 778 + #size-cells = <0>; 779 + status = "disabled"; 780 + }; 781 + 782 + uart0: serial@4a80000 { 783 + compatible = "qcom,geni-uart"; 784 + reg = <0x0 0x04a80000 0x0 0x4000>; 785 + interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>; 786 + clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 787 + clock-names = "se"; 788 + pinctrl-0 = <&qup_uart0_default>; 789 + pinctrl-names = "default"; 790 + status = "disabled"; 791 + }; 792 + 793 + i2c1: i2c@4a84000 { 794 + compatible = "qcom,geni-i2c"; 795 + reg = <0x0 0x04a84000 0x0 0x4000>; 796 + interrupts = <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>; 797 + clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 798 + clock-names = "se"; 799 + pinctrl-0 = <&qup_i2c1_default>; 800 + pinctrl-names = "default"; 801 + dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>, 802 + <&gpi_dma0 1 1 QCOM_GPI_I2C>; 803 + dma-names = "tx", "rx"; 804 + #address-cells = <1>; 805 + #size-cells = <0>; 806 + status = "disabled"; 807 + }; 808 + 809 + spi1: spi@4a84000 { 810 + compatible = "qcom,geni-spi"; 811 + reg = <0x0 0x04a84000 0x0 0x4000>; 812 + interrupts = <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>; 813 + clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 814 + clock-names = "se"; 815 + pinctrl-0 = <&qup_spi1_default>; 816 + pinctrl-names = "default"; 817 + dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>, 818 + <&gpi_dma0 1 1 QCOM_GPI_SPI>; 819 + dma-names = "tx", "rx"; 820 + #address-cells = <1>; 821 + #size-cells = <0>; 822 + status = "disabled"; 823 + }; 824 + 825 + i2c2: i2c@4a88000 { 826 + compatible = "qcom,geni-i2c"; 827 + reg = <0x0 0x04a88000 0x0 0x4000>; 828 + interrupts = <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>; 829 + clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 830 + clock-names = "se"; 831 + pinctrl-0 = <&qup_i2c2_default>; 832 + pinctrl-names = "default"; 833 + dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>, 834 + <&gpi_dma0 1 2 QCOM_GPI_I2C>; 835 + dma-names = "tx", "rx"; 836 + #address-cells = <1>; 837 + #size-cells = <0>; 838 + status = "disabled"; 839 + }; 840 + 841 + spi2: spi@4a88000 { 842 + compatible = "qcom,geni-spi"; 843 + reg = <0x0 0x04a88000 0x0 0x4000>; 844 + interrupts = <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>; 845 + clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 846 + clock-names = "se"; 847 + pinctrl-0 = <&qup_spi2_default>; 848 + pinctrl-names = "default"; 849 + dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>, 850 + <&gpi_dma0 1 2 QCOM_GPI_SPI>; 851 + dma-names = "tx", "rx"; 852 + #address-cells = <1>; 853 + #size-cells = <0>; 854 + status = "disabled"; 855 + }; 856 + 857 + i2c3: i2c@4a8c000 { 858 + compatible = "qcom,geni-i2c"; 859 + reg = <0x0 0x04a8c000 0x0 0x4000>; 860 + interrupts = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>; 861 + clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 862 + clock-names = "se"; 863 + pinctrl-0 = <&qup_i2c3_default>; 864 + pinctrl-names = "default"; 865 + dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>, 866 + <&gpi_dma0 1 3 QCOM_GPI_I2C>; 867 + dma-names = "tx", "rx"; 868 + #address-cells = <1>; 869 + #size-cells = <0>; 870 + status = "disabled"; 871 + }; 872 + 873 + spi3: spi@4a8c000 { 874 + compatible = "qcom,geni-spi"; 875 + reg = <0x0 0x04a8c000 0x0 0x4000>; 876 + interrupts = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>; 877 + clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 878 + clock-names = "se"; 879 + pinctrl-0 = <&qup_spi3_default>; 880 + pinctrl-names = "default"; 881 + dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>, 882 + <&gpi_dma0 1 3 QCOM_GPI_SPI>; 883 + dma-names = "tx", "rx"; 884 + #address-cells = <1>; 885 + #size-cells = <0>; 886 + status = "disabled"; 887 + }; 888 + 889 + i2c4: i2c@4a90000 { 890 + compatible = "qcom,geni-i2c"; 891 + reg = <0x0 0x04a90000 0x0 0x4000>; 892 + interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>; 893 + clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 894 + clock-names = "se"; 895 + pinctrl-0 = <&qup_i2c4_default>; 896 + pinctrl-names = "default"; 897 + dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>, 898 + <&gpi_dma0 1 4 QCOM_GPI_I2C>; 899 + dma-names = "tx", "rx"; 900 + #address-cells = <1>; 901 + #size-cells = <0>; 902 + status = "disabled"; 903 + }; 904 + 905 + spi4: spi@4a90000 { 906 + compatible = "qcom,geni-spi"; 907 + reg = <0x0 0x04a90000 0x0 0x4000>; 908 + interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>; 909 + clock-names = "se"; 910 + clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 911 + pinctrl-names = "default"; 912 + pinctrl-0 = <&qup_spi4_default>; 913 + dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>, 914 + <&gpi_dma0 1 4 QCOM_GPI_SPI>; 915 + dma-names = "tx", "rx"; 916 + #address-cells = <1>; 917 + #size-cells = <0>; 918 + status = "disabled"; 919 + }; 920 + 921 + uart4: serial@4a90000 { 922 + compatible = "qcom,geni-uart"; 923 + reg = <0x0 0x04a90000 0x0 0x4000>; 924 + interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>; 925 + clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 926 + clock-names = "se"; 927 + pinctrl-0 = <&qup_uart4_default>; 928 + pinctrl-names = "default"; 929 + status = "disabled"; 930 + }; 931 + 932 + i2c5: i2c@4a94000 { 933 + compatible = "qcom,geni-i2c"; 934 + reg = <0x0 0x04a94000 0x0 0x4000>; 935 + interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>; 936 + clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 937 + clock-names = "se"; 938 + pinctrl-0 = <&qup_i2c5_default>; 939 + pinctrl-names = "default"; 940 + dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>, 941 + <&gpi_dma0 1 5 QCOM_GPI_I2C>; 942 + dma-names = "tx", "rx"; 943 + #address-cells = <1>; 944 + #size-cells = <0>; 945 + status = "disabled"; 946 + }; 947 + 948 + spi5: spi@4a94000 { 949 + compatible = "qcom,geni-spi"; 950 + reg = <0x0 0x04a94000 0x0 0x4000>; 951 + interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>; 952 + clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 953 + clock-names = "se"; 954 + pinctrl-0 = <&qup_spi5_default>; 955 + pinctrl-names = "default"; 956 + dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>, 957 + <&gpi_dma0 1 5 QCOM_GPI_SPI>; 958 + dma-names = "tx", "rx"; 959 + #address-cells = <1>; 960 + #size-cells = <0>; 961 + status = "disabled"; 962 + }; 963 + }; 964 + 965 + usb: usb@4ef8800 { 966 + compatible = "qcom,qcm2290-dwc3", "qcom,dwc3"; 967 + reg = <0x0 0x04ef8800 0x0 0x400>; 968 + interrupts = <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>, 969 + <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>; 970 + interrupt-names = "hs_phy_irq", "ss_phy_irq"; 971 + 972 + clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, 973 + <&gcc GCC_USB30_PRIM_MASTER_CLK>, 974 + <&gcc GCC_SYS_NOC_USB3_PRIM_AXI_CLK>, 975 + <&gcc GCC_USB30_PRIM_SLEEP_CLK>, 976 + <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 977 + <&gcc GCC_USB3_PRIM_CLKREF_CLK>; 978 + clock-names = "cfg_noc", 979 + "core", 980 + "iface", 981 + "sleep", 982 + "mock_utmi", 983 + "xo"; 984 + 985 + assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 986 + <&gcc GCC_USB30_PRIM_MASTER_CLK>; 987 + assigned-clock-rates = <19200000>, <133333333>; 988 + 989 + resets = <&gcc GCC_USB30_PRIM_BCR>; 990 + power-domains = <&gcc GCC_USB30_PRIM_GDSC>; 991 + wakeup-source; 992 + 993 + #address-cells = <2>; 994 + #size-cells = <2>; 995 + ranges; 996 + 997 + status = "disabled"; 998 + 999 + usb_dwc3: usb@4e00000 { 1000 + compatible = "snps,dwc3"; 1001 + reg = <0x0 0x04e00000 0x0 0xcd00>; 1002 + interrupts = <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>; 1003 + phys = <&usb_hsphy>; 1004 + phy-names = "usb2-phy"; 1005 + iommus = <&apps_smmu 0x120 0x0>; 1006 + snps,dis_u2_susphy_quirk; 1007 + snps,dis_enblslpm_quirk; 1008 + snps,has-lpm-erratum; 1009 + snps,hird-threshold = /bits/ 8 <0x10>; 1010 + snps,usb3_lpm_capable; 1011 + maximum-speed = "super-speed"; 1012 + dr_mode = "otg"; 1013 + }; 1014 + }; 1015 + 1016 + remoteproc_mpss: remoteproc@6080000 { 1017 + compatible = "qcom,qcm2290-mpss-pas", "qcom,sm6115-mpss-pas"; 1018 + reg = <0x0 0x06080000 0x0 0x100>; 1019 + 1020 + interrupts-extended = <&intc GIC_SPI 307 IRQ_TYPE_EDGE_RISING>, 1021 + <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 1022 + <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 1023 + <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 1024 + <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, 1025 + <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; 1026 + interrupt-names = "wdog", 1027 + "fatal", 1028 + "ready", 1029 + "handover", 1030 + "stop-ack", 1031 + "shutdown-ack"; 1032 + 1033 + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; 1034 + clock-names = "xo"; 1035 + 1036 + power-domains = <&rpmpd QCM2290_VDDCX>; 1037 + 1038 + memory-region = <&pil_modem_mem>; 1039 + 1040 + qcom,smem-states = <&modem_smp2p_out 0>; 1041 + qcom,smem-state-names = "stop"; 1042 + 1043 + status = "disabled"; 1044 + 1045 + glink-edge { 1046 + interrupts = <GIC_SPI 68 IRQ_TYPE_EDGE_RISING>; 1047 + label = "mpss"; 1048 + qcom,remote-pid = <1>; 1049 + mboxes = <&apcs_glb 12>; 1050 + }; 1051 + }; 1052 + 1053 + remoteproc_adsp: remoteproc@ab00000 { 1054 + compatible = "qcom,qcm2290-adsp-pas", "qcom,sm6115-adsp-pas"; 1055 + reg = <0x0 0x0ab00000 0x0 0x100>; 1056 + 1057 + interrupts-extended = <&intc GIC_SPI 282 IRQ_TYPE_EDGE_RISING>, 1058 + <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 1059 + <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 1060 + <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 1061 + <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 1062 + interrupt-names = "wdog", 1063 + "fatal", 1064 + "ready", 1065 + "handover", 1066 + "stop-ack"; 1067 + 1068 + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; 1069 + clock-names = "xo"; 1070 + 1071 + power-domains = <&rpmpd QCM2290_VDD_LPI_CX>, 1072 + <&rpmpd QCM2290_VDD_LPI_MX>; 1073 + 1074 + memory-region = <&pil_adsp_mem>; 1075 + 1076 + qcom,smem-states = <&adsp_smp2p_out 0>; 1077 + qcom,smem-state-names = "stop"; 1078 + 1079 + status = "disabled"; 1080 + 1081 + glink-edge { 1082 + interrupts = <GIC_SPI 277 IRQ_TYPE_EDGE_RISING>; 1083 + label = "lpass"; 1084 + qcom,remote-pid = <2>; 1085 + mboxes = <&apcs_glb 8>; 1086 + }; 1087 + }; 1088 + 1089 + apps_smmu: iommu@c600000 { 1090 + compatible = "qcom,qcm2290-smmu-500", "qcom,smmu-500", "arm,mmu-500"; 1091 + reg = <0x0 0x0c600000 0x0 0x80000>; 1092 + #iommu-cells = <2>; 1093 + #global-interrupts = <1>; 1094 + 1095 + interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>, 1096 + <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>, 1097 + <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, 1098 + <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>, 1099 + <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>, 1100 + <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, 1101 + <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, 1102 + <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>, 1103 + <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>, 1104 + <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, 1105 + <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, 1106 + <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 1107 + <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 1108 + <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 1109 + <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 1110 + <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 1111 + <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 1112 + <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 1113 + <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 1114 + <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, 1115 + <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 1116 + <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 1117 + <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 1118 + <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 1119 + <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 1120 + <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, 1121 + <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, 1122 + <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 1123 + <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, 1124 + <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, 1125 + <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 1126 + <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 1127 + <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 1128 + <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, 1129 + <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 1130 + <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, 1131 + <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, 1132 + <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 1133 + <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, 1134 + <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 1135 + <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, 1136 + <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>, 1137 + <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, 1138 + <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>, 1139 + <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, 1140 + <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, 1141 + <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>, 1142 + <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>, 1143 + <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, 1144 + <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>, 1145 + <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, 1146 + <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, 1147 + <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, 1148 + <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>, 1149 + <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>, 1150 + <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, 1151 + <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, 1152 + <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, 1153 + <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>, 1154 + <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, 1155 + <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, 1156 + <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, 1157 + <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, 1158 + <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, 1159 + <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>; 1160 + }; 1161 + 1162 + wifi: wifi@c800000 { 1163 + compatible = "qcom,wcn3990-wifi"; 1164 + reg = <0x0 0x0c800000 0x0 0x800000>; 1165 + reg-names = "membase"; 1166 + memory-region = <&wlan_msa_mem>; 1167 + interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>, 1168 + <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>, 1169 + <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>, 1170 + <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>, 1171 + <GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH>, 1172 + <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>, 1173 + <GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH>, 1174 + <GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH>, 1175 + <GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH>, 1176 + <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>, 1177 + <GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>, 1178 + <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH>; 1179 + iommus = <&apps_smmu 0x1a0 0x1>; 1180 + qcom,msa-fixed-perm; 1181 + status = "disabled"; 1182 + }; 1183 + 1184 + watchdog@f017000 { 1185 + compatible = "qcom,apss-wdt-qcm2290", "qcom,kpss-wdt"; 1186 + reg = <0x0 0x0f017000 0x0 0x1000>; 1187 + interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>, 1188 + <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 1189 + clocks = <&sleep_clk>; 1190 + }; 1191 + 1192 + apcs_glb: mailbox@f111000 { 1193 + compatible = "qcom,qcm2290-apcs-hmss-global"; 1194 + reg = <0x0 0x0f111000 0x0 0x1000>; 1195 + #mbox-cells = <1>; 1196 + }; 1197 + 1198 + timer@f120000 { 1199 + compatible = "arm,armv7-timer-mem"; 1200 + reg = <0x0 0x0f120000 0x0 0x1000>; 1201 + #address-cells = <1>; 1202 + #size-cells = <1>; 1203 + ranges = <0 0x0 0x0f121000 0x8000>; 1204 + 1205 + frame@0 { 1206 + reg = <0x0 0x1000>, 1207 + <0x1000 0x1000>; 1208 + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 1209 + <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 1210 + frame-number = <0>; 1211 + }; 1212 + 1213 + frame@2000 { 1214 + reg = <0x2000 0x1000>; 1215 + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 1216 + frame-number = <1>; 1217 + status = "disabled"; 1218 + }; 1219 + 1220 + frame@3000 { 1221 + reg = <0x3000 0x1000>; 1222 + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 1223 + frame-number = <2>; 1224 + status = "disabled"; 1225 + }; 1226 + 1227 + frame@4000 { 1228 + reg = <0x4000 0x1000>; 1229 + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 1230 + frame-number = <3>; 1231 + status = "disabled"; 1232 + }; 1233 + 1234 + frame@5000 { 1235 + reg = <0x5000 0x1000>; 1236 + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 1237 + frame-number = <4>; 1238 + status = "disabled"; 1239 + }; 1240 + 1241 + frame@6000 { 1242 + reg = <0x6000 0x1000>; 1243 + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 1244 + frame-number = <5>; 1245 + status = "disabled"; 1246 + }; 1247 + 1248 + frame@7000 { 1249 + reg = <0x7000 0x1000>; 1250 + interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 1251 + frame-number = <6>; 1252 + status = "disabled"; 1253 + }; 1254 + }; 1255 + 1256 + intc: interrupt-controller@f200000 { 1257 + compatible = "arm,gic-v3"; 1258 + reg = <0x0 0x0f200000 0x0 0x10000>, 1259 + <0x0 0x0f300000 0x0 0x100000>; 1260 + interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 1261 + #interrupt-cells = <3>; 1262 + interrupt-controller; 1263 + interrupt-parent = <&intc>; 1264 + #redistributor-regions = <1>; 1265 + redistributor-stride = <0x0 0x20000>; 1266 + }; 1267 + 1268 + cpufreq_hw: cpufreq@f521000 { 1269 + compatible = "qcom,qcm2290-cpufreq-hw", "qcom,cpufreq-hw"; 1270 + reg = <0x0 0x0f521000 0x0 0x1000>; 1271 + reg-names = "freq-domain0"; 1272 + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 1273 + interrupt-names = "dcvsh-irq-0"; 1274 + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GPLL0>; 1275 + clock-names = "xo", "alternate"; 1276 + 1277 + #freq-domain-cells = <1>; 1278 + #clock-cells = <1>; 1279 + }; 1280 + }; 1281 + 1282 + thermal-zones { 1283 + mapss-thermal { 1284 + polling-delay-passive = <0>; 1285 + polling-delay = <0>; 1286 + 1287 + thermal-sensors = <&tsens0 0>; 1288 + 1289 + trips { 1290 + mapss_alert0: trip-point0 { 1291 + temperature = <90000>; 1292 + hysteresis = <2000>; 1293 + type = "passive"; 1294 + }; 1295 + 1296 + mapss_alert1: trip-point1 { 1297 + temperature = <95000>; 1298 + hysteresis = <2000>; 1299 + type = "passive"; 1300 + }; 1301 + 1302 + mapss_crit: mapss-crit { 1303 + temperature = <110000>; 1304 + hysteresis = <1000>; 1305 + type = "critical"; 1306 + }; 1307 + }; 1308 + }; 1309 + 1310 + video-thermal { 1311 + polling-delay-passive = <0>; 1312 + polling-delay = <0>; 1313 + 1314 + thermal-sensors = <&tsens0 1>; 1315 + 1316 + trips { 1317 + video_alert0: trip-point0 { 1318 + temperature = <90000>; 1319 + hysteresis = <2000>; 1320 + type = "passive"; 1321 + }; 1322 + 1323 + video_alert1: trip-point1 { 1324 + temperature = <95000>; 1325 + hysteresis = <2000>; 1326 + type = "passive"; 1327 + }; 1328 + 1329 + video_crit: video-crit { 1330 + temperature = <110000>; 1331 + hysteresis = <1000>; 1332 + type = "critical"; 1333 + }; 1334 + }; 1335 + }; 1336 + 1337 + wlan-thermal { 1338 + polling-delay-passive = <0>; 1339 + polling-delay = <0>; 1340 + 1341 + thermal-sensors = <&tsens0 2>; 1342 + 1343 + trips { 1344 + wlan_alert0: trip-point0 { 1345 + temperature = <90000>; 1346 + hysteresis = <2000>; 1347 + type = "passive"; 1348 + }; 1349 + 1350 + wlan_alert1: trip-point1 { 1351 + temperature = <95000>; 1352 + hysteresis = <2000>; 1353 + type = "passive"; 1354 + }; 1355 + 1356 + wlan_crit: wlan-crit { 1357 + temperature = <110000>; 1358 + hysteresis = <1000>; 1359 + type = "critical"; 1360 + }; 1361 + }; 1362 + }; 1363 + 1364 + cpuss0-thermal { 1365 + polling-delay-passive = <0>; 1366 + polling-delay = <0>; 1367 + 1368 + thermal-sensors = <&tsens0 3>; 1369 + 1370 + trips { 1371 + cpuss0_alert0: trip-point0 { 1372 + temperature = <90000>; 1373 + hysteresis = <2000>; 1374 + type = "passive"; 1375 + }; 1376 + 1377 + cpuss0_alert1: trip-point1 { 1378 + temperature = <95000>; 1379 + hysteresis = <2000>; 1380 + type = "passive"; 1381 + }; 1382 + 1383 + cpuss0_crit: cpuss0-crit { 1384 + temperature = <110000>; 1385 + hysteresis = <1000>; 1386 + type = "critical"; 1387 + }; 1388 + }; 1389 + }; 1390 + 1391 + cpuss1-thermal { 1392 + polling-delay-passive = <0>; 1393 + polling-delay = <0>; 1394 + 1395 + thermal-sensors = <&tsens0 4>; 1396 + 1397 + trips { 1398 + cpuss1_alert0: trip-point0 { 1399 + temperature = <90000>; 1400 + hysteresis = <2000>; 1401 + type = "passive"; 1402 + }; 1403 + 1404 + cpuss1_alert1: trip-point1 { 1405 + temperature = <95000>; 1406 + hysteresis = <2000>; 1407 + type = "passive"; 1408 + }; 1409 + 1410 + cpuss1_crit: cpuss1-crit { 1411 + temperature = <110000>; 1412 + hysteresis = <1000>; 1413 + type = "critical"; 1414 + }; 1415 + }; 1416 + }; 1417 + 1418 + mdm0-thermal { 1419 + polling-delay-passive = <0>; 1420 + polling-delay = <0>; 1421 + 1422 + thermal-sensors = <&tsens0 5>; 1423 + 1424 + trips { 1425 + mdm0_alert0: trip-point0 { 1426 + temperature = <90000>; 1427 + hysteresis = <2000>; 1428 + type = "passive"; 1429 + }; 1430 + 1431 + mdm0_alert1: trip-point1 { 1432 + temperature = <95000>; 1433 + hysteresis = <2000>; 1434 + type = "passive"; 1435 + }; 1436 + 1437 + mdm0_crit: mdm0-crit { 1438 + temperature = <110000>; 1439 + hysteresis = <1000>; 1440 + type = "critical"; 1441 + }; 1442 + }; 1443 + }; 1444 + 1445 + mdm1-thermal { 1446 + polling-delay-passive = <0>; 1447 + polling-delay = <0>; 1448 + 1449 + thermal-sensors = <&tsens0 6>; 1450 + 1451 + trips { 1452 + mdm1_alert0: trip-point0 { 1453 + temperature = <90000>; 1454 + hysteresis = <2000>; 1455 + type = "passive"; 1456 + }; 1457 + 1458 + mdm1_alert1: trip-point1 { 1459 + temperature = <95000>; 1460 + hysteresis = <2000>; 1461 + type = "passive"; 1462 + }; 1463 + 1464 + mdm1_crit: mdm1-crit { 1465 + temperature = <110000>; 1466 + hysteresis = <1000>; 1467 + type = "critical"; 1468 + }; 1469 + }; 1470 + }; 1471 + 1472 + gpu-thermal { 1473 + polling-delay-passive = <0>; 1474 + polling-delay = <0>; 1475 + 1476 + thermal-sensors = <&tsens0 7>; 1477 + 1478 + trips { 1479 + gpu_alert0: trip-point0 { 1480 + temperature = <90000>; 1481 + hysteresis = <2000>; 1482 + type = "passive"; 1483 + }; 1484 + 1485 + gpu_alert1: trip-point1 { 1486 + temperature = <95000>; 1487 + hysteresis = <2000>; 1488 + type = "passive"; 1489 + }; 1490 + 1491 + gpu_crit: gpu-crit { 1492 + temperature = <110000>; 1493 + hysteresis = <1000>; 1494 + type = "critical"; 1495 + }; 1496 + }; 1497 + }; 1498 + 1499 + hm-center-thermal { 1500 + polling-delay-passive = <0>; 1501 + polling-delay = <0>; 1502 + 1503 + thermal-sensors = <&tsens0 8>; 1504 + 1505 + trips { 1506 + hm_center_alert0: trip-point0 { 1507 + temperature = <90000>; 1508 + hysteresis = <2000>; 1509 + type = "passive"; 1510 + }; 1511 + 1512 + hm_center_alert1: trip-point1 { 1513 + temperature = <95000>; 1514 + hysteresis = <2000>; 1515 + type = "passive"; 1516 + }; 1517 + 1518 + hm_center_crit: hm-center-crit { 1519 + temperature = <110000>; 1520 + hysteresis = <1000>; 1521 + type = "critical"; 1522 + }; 1523 + }; 1524 + }; 1525 + 1526 + camera-thermal { 1527 + polling-delay-passive = <0>; 1528 + polling-delay = <0>; 1529 + 1530 + thermal-sensors = <&tsens0 9>; 1531 + 1532 + trips { 1533 + camera_alert0: trip-point0 { 1534 + temperature = <90000>; 1535 + hysteresis = <2000>; 1536 + type = "passive"; 1537 + }; 1538 + 1539 + camera_alert1: trip-point1 { 1540 + temperature = <95000>; 1541 + hysteresis = <2000>; 1542 + type = "passive"; 1543 + }; 1544 + 1545 + camera_crit: camera-crit { 1546 + temperature = <110000>; 1547 + hysteresis = <1000>; 1548 + type = "critical"; 1549 + }; 1550 + }; 1551 + }; 1552 + }; 1553 + 1554 + timer { 1555 + compatible = "arm,armv8-timer"; 1556 + interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 1557 + <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 1558 + <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 1559 + <GIC_PPI 0 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 1560 + }; 1561 + };
-1
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi
··· 296 296 297 297 drive-strength = <2>; 298 298 bias-pull-up; 299 - input-enable; 300 299 }; 301 300 }; 302 301
+2 -1
arch/arm64/boot/dts/qcom/qcs404.dtsi
··· 1302 1302 }; 1303 1303 1304 1304 apcs_glb: mailbox@b011000 { 1305 - compatible = "qcom,qcs404-apcs-apps-global", "syscon"; 1305 + compatible = "qcom,qcs404-apcs-apps-global", 1306 + "qcom,msm8916-apcs-kpss-global", "syscon"; 1306 1307 reg = <0x0b011000 0x1000>; 1307 1308 #mbox-cells = <1>; 1308 1309 clocks = <&apcs_hfpll>, <&gcc GCC_GPLL0_AO_OUT_MAIN>;
+112
arch/arm64/boot/dts/qcom/qrb2210-rb1.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 + /* 3 + * Copyright (c) 2023, Linaro Ltd 4 + */ 5 + 6 + /dts-v1/; 7 + 8 + #include "qcm2290.dtsi" 9 + #include "pm2250.dtsi" 10 + 11 + / { 12 + model = "Qualcomm Technologies, Inc. Robotics RB1"; 13 + compatible = "qcom,qrb2210-rb1", "qcom,qrb2210", "qcom,qcm2290"; 14 + 15 + aliases { 16 + serial0 = &uart0; 17 + sdhc1 = &sdhc_1; 18 + sdhc2 = &sdhc_2; 19 + }; 20 + 21 + chosen { 22 + stdout-path = "serial0:115200n8"; 23 + }; 24 + 25 + gpio-keys { 26 + compatible = "gpio-keys"; 27 + label = "gpio-keys"; 28 + 29 + pinctrl-0 = <&key_volp_n>; 30 + pinctrl-names = "default"; 31 + 32 + key-volume-up { 33 + label = "Volume Up"; 34 + linux,code = <KEY_VOLUMEUP>; 35 + gpios = <&tlmm 96 GPIO_ACTIVE_LOW>; 36 + debounce-interval = <15>; 37 + linux,can-disable; 38 + wakeup-source; 39 + }; 40 + }; 41 + }; 42 + 43 + &pm2250_resin { 44 + linux,code = <KEY_VOLUMEDOWN>; 45 + status = "okay"; 46 + }; 47 + 48 + &qupv3_id_0 { 49 + status = "okay"; 50 + }; 51 + 52 + &sdhc_1 { 53 + pinctrl-0 = <&sdc1_state_on>; 54 + pinctrl-1 = <&sdc1_state_off>; 55 + pinctrl-names = "default", "sleep"; 56 + non-removable; 57 + supports-cqe; 58 + no-sdio; 59 + no-sd; 60 + status = "okay"; 61 + }; 62 + 63 + &sdhc_2 { 64 + cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>; 65 + pinctrl-0 = <&sdc2_state_on &sd_det_in_on>; 66 + pinctrl-1 = <&sdc2_state_off &sd_det_in_off>; 67 + pinctrl-names = "default", "sleep"; 68 + no-sdio; 69 + no-mmc; 70 + status = "okay"; 71 + }; 72 + 73 + &tlmm { 74 + sd_det_in_on: sd-det-in-on-state { 75 + pins = "gpio88"; 76 + function = "gpio"; 77 + drive-strength = <2>; 78 + bias-pull-up; 79 + }; 80 + 81 + sd_det_in_off: sd-det-in-off-state { 82 + pins = "gpio88"; 83 + function = "gpio"; 84 + drive-strength = <2>; 85 + bias-disable; 86 + }; 87 + 88 + key_volp_n: key-volp-n-state { 89 + pins = "gpio96"; 90 + function = "gpio"; 91 + bias-pull-up; 92 + output-disable; 93 + }; 94 + }; 95 + 96 + /* UART connected to the Micro-USB port via a FTDI chip */ 97 + &uart0 { 98 + compatible = "qcom,geni-debug-uart"; 99 + status = "okay"; 100 + }; 101 + 102 + &usb { 103 + status = "okay"; 104 + }; 105 + 106 + &usb_hsphy { 107 + status = "okay"; 108 + }; 109 + 110 + &xo_board { 111 + clock-frequency = <38400000>; 112 + };
+227
arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
··· 1 + // SPDX-License-Identifier: BSD-3-Clause 2 + /* 3 + * Copyright (c) 2023, Linaro Limited 4 + */ 5 + 6 + /dts-v1/; 7 + 8 + #include "sm4250.dtsi" 9 + 10 + / { 11 + model = "Qualcomm Technologies, Inc. QRB4210 RB2"; 12 + compatible = "qcom,qrb4210-rb2", "qcom,qrb4210", "qcom,sm4250"; 13 + 14 + aliases { 15 + serial0 = &uart4; 16 + }; 17 + 18 + chosen { 19 + stdout-path = "serial0:115200n8"; 20 + }; 21 + 22 + vph_pwr: vph-pwr-regulator { 23 + compatible = "regulator-fixed"; 24 + regulator-name = "vph_pwr"; 25 + regulator-min-microvolt = <3700000>; 26 + regulator-max-microvolt = <3700000>; 27 + 28 + regulator-always-on; 29 + regulator-boot-on; 30 + }; 31 + }; 32 + 33 + &qupv3_id_0 { 34 + status = "okay"; 35 + }; 36 + 37 + &rpm_requests { 38 + regulators { 39 + compatible = "qcom,rpm-pm6125-regulators"; 40 + 41 + vdd-s1-supply = <&vph_pwr>; 42 + vdd-s2-supply = <&vph_pwr>; 43 + vdd-s3-supply = <&vph_pwr>; 44 + vdd-s4-supply = <&vph_pwr>; 45 + vdd-s5-supply = <&vph_pwr>; 46 + vdd-s6-supply = <&vph_pwr>; 47 + vdd-s7-supply = <&vph_pwr>; 48 + vdd-s8-supply = <&vph_pwr>; 49 + vdd-s9-supply = <&vph_pwr>; 50 + vdd-s10-supply = <&vph_pwr>; 51 + 52 + vdd-l1-l7-l17-l18-supply = <&vreg_s6a_1p352>; 53 + vdd-l2-l3-l4-supply = <&vreg_s6a_1p352>; 54 + vdd-l5-l15-l19-l20-l21-l22-supply = <&vph_pwr>; 55 + vdd-l6-l8-supply = <&vreg_s5a_0p848>; 56 + vdd-l9-l11-supply = <&vreg_s7a_2p04>; 57 + vdd-l10-l13-l14-supply = <&vreg_s7a_2p04>; 58 + vdd-l12-l16-supply = <&vreg_s7a_2p04>; 59 + vdd-l23-l24-supply = <&vph_pwr>; 60 + 61 + vreg_s5a_0p848: s5 { 62 + regulator-min-microvolt = <920000>; 63 + regulator-max-microvolt = <1128000>; 64 + }; 65 + 66 + vreg_s6a_1p352: s6 { 67 + regulator-min-microvolt = <304000>; 68 + regulator-max-microvolt = <1456000>; 69 + }; 70 + 71 + vreg_s7a_2p04: s7 { 72 + regulator-min-microvolt = <1280000>; 73 + regulator-max-microvolt = <2080000>; 74 + }; 75 + 76 + vreg_l1a_1p0: l1 { 77 + regulator-min-microvolt = <952000>; 78 + regulator-max-microvolt = <1152000>; 79 + }; 80 + 81 + vreg_l4a_0p9: l4 { 82 + regulator-min-microvolt = <488000>; 83 + regulator-max-microvolt = <1000000>; 84 + }; 85 + 86 + vreg_l5a_2p96: l5 { 87 + regulator-min-microvolt = <1648000>; 88 + regulator-max-microvolt = <3056000>; 89 + }; 90 + 91 + vreg_l6a_0p6: l6 { 92 + regulator-min-microvolt = <576000>; 93 + regulator-max-microvolt = <656000>; 94 + }; 95 + 96 + vreg_l7a_1p256: l7 { 97 + regulator-min-microvolt = <1200000>; 98 + regulator-max-microvolt = <1304000>; 99 + }; 100 + 101 + vreg_l8a_0p664: l8 { 102 + regulator-min-microvolt = <400000>; 103 + regulator-max-microvolt = <728000>; 104 + }; 105 + 106 + vreg_l9a_1p8: l9 { 107 + regulator-min-microvolt = <1800000>; 108 + regulator-max-microvolt = <2000000>; 109 + }; 110 + 111 + vreg_l10a_1p8: l10 { 112 + regulator-min-microvolt = <1704000>; 113 + regulator-max-microvolt = <1904000>; 114 + }; 115 + 116 + vreg_l11a_1p8: l11 { 117 + regulator-min-microvolt = <1704000>; 118 + regulator-max-microvolt = <1952000>; 119 + }; 120 + 121 + vreg_l12a_1p8: l12 { 122 + regulator-min-microvolt = <1624000>; 123 + regulator-max-microvolt = <1984000>; 124 + }; 125 + 126 + vreg_l13a_1p8: l13 { 127 + regulator-min-microvolt = <1504000>; 128 + regulator-max-microvolt = <1952000>; 129 + }; 130 + 131 + vreg_l14a_1p8: l14 { 132 + regulator-min-microvolt = <1704000>; 133 + regulator-max-microvolt = <1904000>; 134 + }; 135 + 136 + vreg_l15a_3p128: l15 { 137 + regulator-min-microvolt = <2920000>; 138 + regulator-max-microvolt = <3232000>; 139 + }; 140 + 141 + vreg_l16a_1p3: l16 { 142 + regulator-min-microvolt = <1704000>; 143 + regulator-max-microvolt = <1904000>; 144 + }; 145 + 146 + vreg_l17a_1p3: l17 { 147 + regulator-min-microvolt = <1152000>; 148 + regulator-max-microvolt = <1384000>; 149 + }; 150 + 151 + vreg_l18a_1p232: l18 { 152 + regulator-min-microvolt = <1104000>; 153 + regulator-max-microvolt = <1312000>; 154 + }; 155 + 156 + vreg_l19a_1p8: l19 { 157 + regulator-min-microvolt = <1624000>; 158 + regulator-max-microvolt = <3304000>; 159 + }; 160 + 161 + vreg_l20a_1p8: l20 { 162 + regulator-min-microvolt = <1624000>; 163 + regulator-max-microvolt = <3304000>; 164 + }; 165 + 166 + vreg_l21a_2p704: l21 { 167 + regulator-min-microvolt = <2400000>; 168 + regulator-max-microvolt = <3600000>; 169 + }; 170 + 171 + vreg_l22a_2p96: l22 { 172 + regulator-min-microvolt = <2952000>; 173 + regulator-max-microvolt = <3304000>; 174 + regulator-system-load = <100000>; 175 + regulator-allow-set-load; 176 + }; 177 + 178 + vreg_l23a_3p3: l23 { 179 + regulator-min-microvolt = <3200000>; 180 + regulator-max-microvolt = <3400000>; 181 + }; 182 + 183 + vreg_l24a_2p96: l24 { 184 + regulator-min-microvolt = <2704000>; 185 + regulator-max-microvolt = <3600000>; 186 + regulator-system-load = <100000>; 187 + regulator-allow-set-load; 188 + }; 189 + }; 190 + }; 191 + 192 + &sdhc_1 { 193 + vmmc-supply = <&vreg_l24a_2p96>; 194 + vqmmc-supply = <&vreg_l11a_1p8>; 195 + no-sdio; 196 + non-removable; 197 + 198 + status = "okay"; 199 + }; 200 + 201 + &sdhc_2 { 202 + cd-gpios = <&tlmm 88 GPIO_ACTIVE_HIGH>; /* card detect gpio */ 203 + vmmc-supply = <&vreg_l22a_2p96>; 204 + vqmmc-supply = <&vreg_l5a_2p96>; 205 + no-sdio; 206 + 207 + status = "okay"; 208 + }; 209 + 210 + &sleep_clk { 211 + clock-frequency = <32000>; 212 + }; 213 + 214 + &tlmm { 215 + gpio-reserved-ranges = <37 5>, <43 2>, <47 1>, 216 + <49 1>, <52 1>, <54 1>, 217 + <56 3>, <61 2>, <64 1>, 218 + <68 1>, <72 8>, <96 1>; 219 + }; 220 + 221 + &uart4 { 222 + status = "okay"; 223 + }; 224 + 225 + &xo_board { 226 + clock-frequency = <19200000>; 227 + };
+233
arch/arm64/boot/dts/qcom/sa8775p-ride.dts
··· 5 5 6 6 /dts-v1/; 7 7 8 + #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 + 8 10 #include "sa8775p.dtsi" 9 11 #include "sa8775p-pmics.dtsi" 10 12 ··· 24 22 25 23 chosen { 26 24 stdout-path = "serial0:115200n8"; 25 + }; 26 + }; 27 + 28 + &apps_rsc { 29 + regulators-0 { 30 + compatible = "qcom,pmm8654au-rpmh-regulators"; 31 + qcom,pmic-id = "a"; 32 + 33 + vreg_s4a: smps4 { 34 + regulator-name = "vreg_s4a"; 35 + regulator-min-microvolt = <1800000>; 36 + regulator-max-microvolt = <1816000>; 37 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 38 + }; 39 + 40 + vreg_s5a: smps5 { 41 + regulator-name = "vreg_s5a"; 42 + regulator-min-microvolt = <1850000>; 43 + regulator-max-microvolt = <1996000>; 44 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 45 + }; 46 + 47 + vreg_s9a: smps9 { 48 + regulator-name = "vreg_s9a"; 49 + regulator-min-microvolt = <535000>; 50 + regulator-max-microvolt = <1120000>; 51 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 52 + }; 53 + 54 + vreg_l4a: ldo4 { 55 + regulator-name = "vreg_l4a"; 56 + regulator-min-microvolt = <788000>; 57 + regulator-max-microvolt = <1050000>; 58 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 59 + regulator-allow-set-load; 60 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 61 + RPMH_REGULATOR_MODE_HPM>; 62 + }; 63 + 64 + vreg_l5a: ldo5 { 65 + regulator-name = "vreg_l5a"; 66 + regulator-min-microvolt = <870000>; 67 + regulator-max-microvolt = <950000>; 68 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 69 + regulator-allow-set-load; 70 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 71 + RPMH_REGULATOR_MODE_HPM>; 72 + }; 73 + 74 + vreg_l6a: ldo6 { 75 + regulator-name = "vreg_l6a"; 76 + regulator-min-microvolt = <870000>; 77 + regulator-max-microvolt = <970000>; 78 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 79 + regulator-allow-set-load; 80 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 81 + RPMH_REGULATOR_MODE_HPM>; 82 + }; 83 + 84 + vreg_l7a: ldo7 { 85 + regulator-name = "vreg_l7a"; 86 + regulator-min-microvolt = <720000>; 87 + regulator-max-microvolt = <950000>; 88 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 89 + regulator-allow-set-load; 90 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 91 + RPMH_REGULATOR_MODE_HPM>; 92 + }; 93 + 94 + vreg_l8a: ldo8 { 95 + regulator-name = "vreg_l8a"; 96 + regulator-min-microvolt = <2504000>; 97 + regulator-max-microvolt = <3300000>; 98 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 99 + regulator-allow-set-load; 100 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 101 + RPMH_REGULATOR_MODE_HPM>; 102 + }; 103 + 104 + vreg_l9a: ldo9 { 105 + regulator-name = "vreg_l9a"; 106 + regulator-min-microvolt = <2970000>; 107 + regulator-max-microvolt = <3544000>; 108 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 109 + regulator-allow-set-load; 110 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 111 + RPMH_REGULATOR_MODE_HPM>; 112 + }; 113 + }; 114 + 115 + regulators-1 { 116 + compatible = "qcom,pmm8654au-rpmh-regulators"; 117 + qcom,pmic-id = "c"; 118 + 119 + vreg_l1c: ldo1 { 120 + regulator-name = "vreg_l1c"; 121 + regulator-min-microvolt = <1140000>; 122 + regulator-max-microvolt = <1260000>; 123 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 124 + regulator-allow-set-load; 125 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 126 + RPMH_REGULATOR_MODE_HPM>; 127 + }; 128 + 129 + vreg_l2c: ldo2 { 130 + regulator-name = "vreg_l2c"; 131 + regulator-min-microvolt = <900000>; 132 + regulator-max-microvolt = <1100000>; 133 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 134 + regulator-allow-set-load; 135 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 136 + RPMH_REGULATOR_MODE_HPM>; 137 + }; 138 + 139 + vreg_l3c: ldo3 { 140 + regulator-name = "vreg_l3c"; 141 + regulator-min-microvolt = <1100000>; 142 + regulator-max-microvolt = <1300000>; 143 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 144 + regulator-allow-set-load; 145 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 146 + RPMH_REGULATOR_MODE_HPM>; 147 + }; 148 + 149 + vreg_l4c: ldo4 { 150 + regulator-name = "vreg_l4c"; 151 + regulator-min-microvolt = <1100000>; 152 + regulator-max-microvolt = <1300000>; 153 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 154 + /* 155 + * FIXME: This should have regulator-allow-set-load but 156 + * we're getting an over-current fault from the PMIC 157 + * when switching to LPM. 158 + */ 159 + }; 160 + 161 + vreg_l5c: ldo5 { 162 + regulator-name = "vreg_l5c"; 163 + regulator-min-microvolt = <1100000>; 164 + regulator-max-microvolt = <1300000>; 165 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 166 + regulator-allow-set-load; 167 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 168 + RPMH_REGULATOR_MODE_HPM>; 169 + }; 170 + 171 + vreg_l6c: ldo6 { 172 + regulator-name = "vreg_l6c"; 173 + regulator-min-microvolt = <1620000>; 174 + regulator-max-microvolt = <1980000>; 175 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 176 + regulator-allow-set-load; 177 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 178 + RPMH_REGULATOR_MODE_HPM>; 179 + }; 180 + 181 + vreg_l7c: ldo7 { 182 + regulator-name = "vreg_l7c"; 183 + regulator-min-microvolt = <1620000>; 184 + regulator-max-microvolt = <2000000>; 185 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 186 + regulator-allow-set-load; 187 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 188 + RPMH_REGULATOR_MODE_HPM>; 189 + }; 190 + 191 + vreg_l8c: ldo8 { 192 + regulator-name = "vreg_l8c"; 193 + regulator-min-microvolt = <2400000>; 194 + regulator-max-microvolt = <3300000>; 195 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 196 + regulator-allow-set-load; 197 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 198 + RPMH_REGULATOR_MODE_HPM>; 199 + }; 200 + 201 + vreg_l9c: ldo9 { 202 + regulator-name = "vreg_l9c"; 203 + regulator-min-microvolt = <1650000>; 204 + regulator-max-microvolt = <2700000>; 205 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 206 + regulator-allow-set-load; 207 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 208 + RPMH_REGULATOR_MODE_HPM>; 209 + }; 210 + }; 211 + 212 + regulators-2 { 213 + compatible = "qcom,pmm8654au-rpmh-regulators"; 214 + qcom,pmic-id = "e"; 215 + 216 + vreg_s4e: smps4 { 217 + regulator-name = "vreg_s4e"; 218 + regulator-min-microvolt = <970000>; 219 + regulator-max-microvolt = <1520000>; 220 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 221 + }; 222 + 223 + vreg_s7e: smps7 { 224 + regulator-name = "vreg_s7e"; 225 + regulator-min-microvolt = <1010000>; 226 + regulator-max-microvolt = <1170000>; 227 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 228 + }; 229 + 230 + vreg_s9e: smps9 { 231 + regulator-name = "vreg_s9e"; 232 + regulator-min-microvolt = <300000>; 233 + regulator-max-microvolt = <570000>; 234 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 235 + }; 236 + 237 + vreg_l6e: ldo6 { 238 + regulator-name = "vreg_l6e"; 239 + regulator-min-microvolt = <1280000>; 240 + regulator-max-microvolt = <1450000>; 241 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 242 + regulator-allow-set-load; 243 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 244 + RPMH_REGULATOR_MODE_HPM>; 245 + }; 246 + 247 + vreg_l8e: ldo8 { 248 + regulator-name = "vreg_l8e"; 249 + regulator-min-microvolt = <1800000>; 250 + regulator-max-microvolt = <1950000>; 251 + regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 252 + regulator-allow-set-load; 253 + regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 254 + RPMH_REGULATOR_MODE_HPM>; 255 + }; 27 256 }; 28 257 }; 29 258
+6 -3
arch/arm64/boot/dts/qcom/sc7180-idp.dts
··· 349 349 &qspi { 350 350 status = "okay"; 351 351 pinctrl-names = "default"; 352 - pinctrl-0 = <&qspi_clk &qspi_cs0 &qspi_data01>; 352 + pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data0>, <&qspi_data1>; 353 353 354 354 flash@0 { 355 355 compatible = "jedec,spi-nor"; ··· 507 507 bias-disable; 508 508 }; 509 509 510 - &qspi_data01 { 511 - /* High-Z when no transfers; nice to park the lines */ 510 + &qspi_data0 { 511 + bias-pull-up; 512 + }; 513 + 514 + &qspi_data1 { 512 515 bias-pull-up; 513 516 }; 514 517
+29 -12
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
··· 424 424 425 425 &qspi { 426 426 status = "okay"; 427 - pinctrl-names = "default"; 428 - pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data01>; 427 + pinctrl-names = "default", "sleep"; 428 + pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data0>, <&qspi_data1>; 429 + pinctrl-1 = <&qspi_sleep>; 429 430 430 431 flash@0 { 431 432 compatible = "jedec,spi-nor"; ··· 513 512 regulator-min-microvolt = <1800000>; 514 513 regulator-max-microvolt = <1800000>; 515 514 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 515 + regulator-always-on; 516 + regulator-boot-on; 516 517 }; 517 518 518 519 pp1800_prox: ··· 1047 1044 }; 1048 1045 1049 1046 &qspi_cs0 { 1050 - bias-disable; 1047 + bias-disable; /* External pullup */ 1051 1048 }; 1052 1049 1053 1050 &qspi_clk { 1054 1051 drive-strength = <8>; 1055 - bias-disable; 1052 + bias-disable; /* Rely on Cr50 internal pulldown */ 1056 1053 }; 1057 1054 1058 - &qspi_data01 { 1059 - /* High-Z when no transfers; nice to park the lines */ 1060 - bias-pull-up; 1055 + &qspi_data0 { 1056 + bias-disable; /* Rely on Cr50 internal pulldown */ 1057 + }; 1058 + 1059 + &qspi_data1 { 1060 + bias-pull-down; 1061 1061 }; 1062 1062 1063 1063 &qup_i2c2_default { ··· 1210 1204 ap_ec_int_l: ap-ec-int-l-state { 1211 1205 pins = "gpio94"; 1212 1206 function = "gpio"; 1213 - input-enable; 1214 1207 bias-pull-up; 1215 1208 }; 1216 1209 ··· 1232 1227 bios_flash_wp_l: bios-flash-wp-l-state { 1233 1228 pins = "gpio66"; 1234 1229 function = "gpio"; 1235 - input-enable; 1236 1230 bias-disable; 1237 1231 }; 1238 1232 ··· 1273 1269 fp_to_ap_irq_l: fp-to-ap-irq-l-state { 1274 1270 pins = "gpio4"; 1275 1271 function = "gpio"; 1276 - input-enable; 1277 1272 1278 1273 /* Has external pullup */ 1279 1274 bias-disable; ··· 1287 1284 h1_ap_int_odl: h1-ap-int-odl-state { 1288 1285 pins = "gpio42"; 1289 1286 function = "gpio"; 1290 - input-enable; 1291 1287 bias-pull-up; 1292 1288 }; 1293 1289 ··· 1335 1333 p_sensor_int_l: p-sensor-int-l-state { 1336 1334 pins = "gpio24"; 1337 1335 function = "gpio"; 1338 - input-enable; 1339 1336 1340 1337 /* Has external pullup */ 1341 1338 bias-disable; 1339 + }; 1340 + 1341 + qspi_sleep: qspi-sleep-state { 1342 + pins = "gpio63", "gpio64", "gpio65", "gpio68"; 1343 + 1344 + /* 1345 + * When we're not actively transferring we want pins as GPIOs 1346 + * with output disabled so that the quad SPI IP block stops 1347 + * driving them. We rely on the normal pulls configured in 1348 + * the active state and don't redefine them here. Also note 1349 + * that we don't need the reverse (output-enable) in the 1350 + * normal mode since the "output-enable" only matters for 1351 + * GPIO function. 1352 + */ 1353 + function = "gpio"; 1354 + output-disable; 1342 1355 }; 1343 1356 1344 1357 qup_uart3_sleep: qup-uart3-sleep-state {
+10 -4
arch/arm64/boot/dts/qcom/sc7180.dtsi
··· 1543 1543 function = "qspi_cs"; 1544 1544 }; 1545 1545 1546 - qspi_data01: qspi-data01-state { 1547 - pins = "gpio64", "gpio65"; 1546 + qspi_data0: qspi-data0-state { 1547 + pins = "gpio64"; 1548 1548 function = "qspi_data"; 1549 1549 }; 1550 1550 1551 - qspi_data12: qspi-data12-state { 1551 + qspi_data1: qspi-data1-state { 1552 + pins = "gpio65"; 1553 + function = "qspi_data"; 1554 + }; 1555 + 1556 + qspi_data23: qspi-data23-state { 1552 1557 pins = "gpio66", "gpio67"; 1553 1558 function = "qspi_data"; 1554 1559 }; ··· 3418 3413 }; 3419 3414 3420 3415 apss_shared: mailbox@17c00000 { 3421 - compatible = "qcom,sc7180-apss-shared"; 3416 + compatible = "qcom,sc7180-apss-shared", 3417 + "qcom,sdm845-apss-shared"; 3422 3418 reg = <0 0x17c00000 0 0x10000>; 3423 3419 #mbox-cells = <1>; 3424 3420 };
+23 -2
arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi
··· 60 60 */ 61 61 &qspi { 62 62 status = "okay"; 63 - pinctrl-names = "default"; 64 - pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data01>; 63 + pinctrl-names = "default", "sleep"; 64 + pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data0>, <&qspi_data1>; 65 + pinctrl-1 = <&qspi_sleep>; 65 66 66 67 spi_flash: flash@0 { 67 68 compatible = "jedec,spi-nor"; ··· 84 83 85 84 wifi-firmware { 86 85 iommus = <&apps_smmu 0x1c02 0x1>; 86 + }; 87 + }; 88 + 89 + /* PINCTRL - chrome-common pinctrl */ 90 + 91 + &tlmm { 92 + qspi_sleep: qspi-sleep-state { 93 + pins = "gpio12", "gpio13", "gpio14", "gpio15"; 94 + 95 + /* 96 + * When we're not actively transferring we want pins as GPIOs 97 + * with output disabled so that the quad SPI IP block stops 98 + * driving them. We rely on the normal pulls configured in 99 + * the active state and don't redefine them here. Also note 100 + * that we don't need the reverse (output-enable) in the 101 + * normal mode since the "output-enable" only matters for 102 + * GPIO function. 103 + */ 104 + function = "gpio"; 105 + output-disable; 87 106 }; 88 107 };
+9 -5
arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
··· 692 692 }; 693 693 694 694 &qspi_cs0 { 695 - bias-disable; 695 + bias-disable; /* External pullup */ 696 696 drive-strength = <8>; 697 697 }; 698 698 699 699 &qspi_clk { 700 - bias-disable; 700 + bias-pull-down; /* No external pulls */ 701 701 drive-strength = <8>; 702 702 }; 703 703 704 - &qspi_data01 { 705 - /* High-Z when no transfers; nice to park the lines */ 706 - bias-pull-up; 704 + &qspi_data0 { 705 + bias-pull-down; /* No external pulls */ 706 + drive-strength = <8>; 707 + }; 708 + 709 + &qspi_data1 { 710 + bias-disable; /* External pulldown */ 707 711 drive-strength = <8>; 708 712 }; 709 713
-2
arch/arm64/boot/dts/qcom/sc7280-idp-ec-h1.dtsi
··· 82 82 ap_ec_int_l: ap-ec-int-l-state { 83 83 pins = "gpio18"; 84 84 function = "gpio"; 85 - input-enable; 86 85 bias-pull-up; 87 86 }; 88 87 89 88 h1_ap_int_odl: h1-ap-int-odl-state { 90 89 pins = "gpio104"; 91 90 function = "gpio"; 92 - input-enable; 93 91 bias-pull-up; 94 92 }; 95 93
+8 -5
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
··· 636 636 }; 637 637 638 638 &qspi_cs0 { 639 - bias-disable; 639 + bias-disable; /* External pullup */ 640 640 }; 641 641 642 642 &qspi_clk { 643 - bias-disable; 643 + bias-pull-down; /* No external pulls or external pulldown */ 644 644 }; 645 645 646 - &qspi_data01 { 647 - /* High-Z when no transfers; nice to park the lines */ 648 - bias-pull-up; 646 + &qspi_data0 { 647 + bias-pull-down; /* No external pulls or external pulldown */ 648 + }; 649 + 650 + &qspi_data1 { 651 + bias-pull-down; /* No external pulls or external pulldown */ 649 652 }; 650 653 651 654 &qup_uart5_tx {
+15 -12
arch/arm64/boot/dts/qcom/sc7280.dtsi
··· 2140 2140 2141 2141 dma-coherent; 2142 2142 2143 - iommus = <&apps_smmu 0x1c80 0x1>; 2144 - 2145 2143 iommu-map = <0x0 &apps_smmu 0x1c80 0x1>, 2146 2144 <0x100 &apps_smmu 0x1c81 0x1>; 2147 2145 ··· 4353 4355 function = "qspi_cs"; 4354 4356 }; 4355 4357 4356 - qspi_data01: qspi-data01-state { 4357 - pins = "gpio12", "gpio13"; 4358 + qspi_data0: qspi-data0-state { 4359 + pins = "gpio12"; 4358 4360 function = "qspi_data"; 4359 4361 }; 4360 4362 4361 - qspi_data12: qspi-data12-state { 4363 + qspi_data1: qspi-data1-state { 4364 + pins = "gpio13"; 4365 + function = "qspi_data"; 4366 + }; 4367 + 4368 + qspi_data23: qspi-data23-state { 4362 4369 pins = "gpio16", "gpio17"; 4363 4370 function = "qspi_data"; 4364 4371 }; ··· 5185 5182 5186 5183 intc: interrupt-controller@17a00000 { 5187 5184 compatible = "arm,gic-v3"; 5188 - #address-cells = <2>; 5189 - #size-cells = <2>; 5190 - ranges; 5191 - #interrupt-cells = <3>; 5192 - interrupt-controller; 5193 5185 reg = <0 0x17a00000 0 0x10000>, /* GICD */ 5194 5186 <0 0x17a60000 0 0x100000>; /* GICR * 8 */ 5195 5187 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>; 5188 + #interrupt-cells = <3>; 5189 + interrupt-controller; 5190 + #address-cells = <2>; 5191 + #size-cells = <2>; 5192 + ranges; 5196 5193 5197 - gic-its@17a40000 { 5194 + msi-controller@17a40000 { 5198 5195 compatible = "arm,gic-v3-its"; 5196 + reg = <0 0x17a40000 0 0x20000>; 5199 5197 msi-controller; 5200 5198 #msi-cells = <1>; 5201 - reg = <0 0x17a40000 0 0x20000>; 5202 5199 status = "disabled"; 5203 5200 }; 5204 5201 };
+2 -2
arch/arm64/boot/dts/qcom/sc8280xp-crd.dts
··· 870 870 pins = "gpio101"; 871 871 function = "gpio"; 872 872 bias-disable; 873 - drive-strengh = <16>; 873 + drive-strength = <16>; 874 874 output-high; 875 875 }; 876 876 ··· 895 895 pins = "gpio48"; 896 896 function = "gpio"; 897 897 bias-disable; 898 - drive-strengh = <16>; 898 + drive-strength = <16>; 899 899 output-high; 900 900 }; 901 901
+2 -2
arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
··· 1428 1428 pins = "gpio101"; 1429 1429 function = "gpio"; 1430 1430 bias-disable; 1431 - drive-strengh = <16>; 1431 + drive-strength = <16>; 1432 1432 output-high; 1433 1433 }; 1434 1434 ··· 1445 1445 pins = "gpio48"; 1446 1446 function = "gpio"; 1447 1447 bias-disable; 1448 - drive-strengh = <16>; 1448 + drive-strength = <16>; 1449 1449 output-high; 1450 1450 }; 1451 1451
+3 -9
arch/arm64/boot/dts/qcom/sc8280xp.dtsi
··· 2515 2515 status = "disabled"; 2516 2516 }; 2517 2517 2518 - /* RX */ 2519 2518 swr1: soundwire-controller@3210000 { 2520 2519 compatible = "qcom,soundwire-v1.6.0"; 2521 2520 reg = <0 0x03210000 0 0x2000>; ··· 2589 2590 status = "disabled"; 2590 2591 }; 2591 2592 2592 - /* WSA */ 2593 2593 swr0: soundwire-controller@3250000 { 2594 2594 reg = <0 0x03250000 0 0x2000>; 2595 2595 compatible = "qcom,soundwire-v1.6.0"; 2596 2596 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>; 2597 2597 clocks = <&wsamacro>; 2598 2598 clock-names = "iface"; 2599 + label = "WSA"; 2599 2600 2600 2601 qcom,din-ports = <2>; 2601 2602 qcom,dout-ports = <6>; ··· 2617 2618 status = "disabled"; 2618 2619 }; 2619 2620 2620 - /* TX */ 2621 2621 swr2: soundwire-controller@3330000 { 2622 2622 compatible = "qcom,soundwire-v1.6.0"; 2623 2623 reg = <0 0x03330000 0 0x2000>; 2624 - interrupts-extended = <&intc GIC_SPI 959 IRQ_TYPE_LEVEL_HIGH>, 2625 - <&intc GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>; 2624 + interrupts = <GIC_SPI 959 IRQ_TYPE_LEVEL_HIGH>, 2625 + <GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>; 2626 2626 interrupt-names = "core", "wakeup"; 2627 2627 2628 2628 clocks = <&txmacro>; ··· 2726 2728 pins = "gpio7"; 2727 2729 function = "dmic1_data"; 2728 2730 drive-strength = <8>; 2729 - input-enable; 2730 2731 }; 2731 2732 }; 2732 2733 ··· 2743 2746 function = "dmic1_data"; 2744 2747 drive-strength = <2>; 2745 2748 bias-pull-down; 2746 - input-enable; 2747 2749 }; 2748 2750 }; 2749 2751 ··· 2758 2762 pins = "gpio9"; 2759 2763 function = "dmic2_data"; 2760 2764 drive-strength = <8>; 2761 - input-enable; 2762 2765 }; 2763 2766 }; 2764 2767 ··· 2775 2780 function = "dmic2_data"; 2776 2781 drive-strength = <2>; 2777 2782 bias-pull-down; 2778 - input-enable; 2779 2783 }; 2780 2784 }; 2781 2785
+21 -20
arch/arm64/boot/dts/qcom/sdm630.dtsi
··· 328 328 reg = <0x0 0x80000000 0x0 0x0>; 329 329 }; 330 330 331 + dsi_opp_table: opp-table-dsi { 332 + compatible = "operating-points-v2"; 333 + 334 + opp-131250000 { 335 + opp-hz = /bits/ 64 <131250000>; 336 + required-opps = <&rpmpd_opp_svs>; 337 + }; 338 + 339 + opp-210000000 { 340 + opp-hz = /bits/ 64 <210000000>; 341 + required-opps = <&rpmpd_opp_svs_plus>; 342 + }; 343 + 344 + opp-262500000 { 345 + opp-hz = /bits/ 64 <262500000>; 346 + required-opps = <&rpmpd_opp_nom>; 347 + }; 348 + }; 349 + 331 350 pmu { 332 351 compatible = "arm,armv8-pmuv3"; 333 352 interrupts = <GIC_PPI 6 IRQ_TYPE_LEVEL_HIGH>; ··· 1610 1591 1611 1592 status = "disabled"; 1612 1593 1613 - dsi_opp_table: opp-table { 1614 - compatible = "operating-points-v2"; 1615 - 1616 - opp-131250000 { 1617 - opp-hz = /bits/ 64 <131250000>; 1618 - required-opps = <&rpmpd_opp_svs>; 1619 - }; 1620 - 1621 - opp-210000000 { 1622 - opp-hz = /bits/ 64 <210000000>; 1623 - required-opps = <&rpmpd_opp_svs_plus>; 1624 - }; 1625 - 1626 - opp-262500000 { 1627 - opp-hz = /bits/ 64 <262500000>; 1628 - required-opps = <&rpmpd_opp_nom>; 1629 - }; 1630 - }; 1631 - 1632 1594 ports { 1633 1595 #address-cells = <1>; 1634 1596 #size-cells = <0>; ··· 2267 2267 }; 2268 2268 2269 2269 apcs_glb: mailbox@17911000 { 2270 - compatible = "qcom,sdm660-apcs-hmss-global"; 2270 + compatible = "qcom,sdm660-apcs-hmss-global", 2271 + "qcom,msm8994-apcs-kpss-global"; 2271 2272 reg = <0x17911000 0x1000>; 2272 2273 2273 2274 #mbox-cells = <1>;
+27 -10
arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
··· 317 317 318 318 &qspi { 319 319 status = "okay"; 320 - pinctrl-names = "default"; 321 - pinctrl-0 = <&qspi_clk &qspi_cs0 &qspi_data01>; 320 + pinctrl-names = "default", "sleep"; 321 + pinctrl-0 = <&qspi_clk>, <&qspi_cs0>, <&qspi_data0>, <&qspi_data1>; 322 + pinctrl-1 = <&qspi_sleep>; 322 323 323 324 flash@0 { 324 325 compatible = "jedec,spi-nor"; ··· 994 993 /* PINCTRL - additions to nodes defined in sdm845.dtsi */ 995 994 996 995 &qspi_cs0 { 997 - bias-disable; 996 + bias-disable; /* External pullup */ 998 997 }; 999 998 1000 999 &qspi_clk { 1001 - bias-disable; 1000 + bias-disable; /* Rely on Cr50 internal pulldown */ 1002 1001 }; 1003 1002 1004 - &qspi_data01 { 1005 - /* High-Z when no transfers; nice to park the lines */ 1006 - bias-pull-up; 1003 + &qspi_data0 { 1004 + bias-disable; /* Rely on Cr50 internal pulldown */ 1005 + }; 1006 + 1007 + &qspi_data1 { 1008 + bias-pull-down; 1007 1009 }; 1008 1010 1009 1011 &qup_i2c3_default { ··· 1157 1153 bios_flash_wp_r_l: bios-flash-wp-r-l-state { 1158 1154 pins = "gpio128"; 1159 1155 function = "gpio"; 1160 - input-enable; 1161 1156 bias-disable; 1162 1157 }; 1163 1158 1164 1159 ec_ap_int_l: ec-ap-int-l-state { 1165 1160 pins = "gpio122"; 1166 1161 function = "gpio"; 1167 - input-enable; 1168 1162 bias-pull-up; 1169 1163 }; 1170 1164 ··· 1190 1188 h1_ap_int_odl: h1-ap-int-odl-state { 1191 1189 pins = "gpio129"; 1192 1190 function = "gpio"; 1193 - input-enable; 1194 1191 bias-pull-up; 1195 1192 }; 1196 1193 ··· 1233 1232 * remove "output-high" here. 1234 1233 */ 1235 1234 output-high; 1235 + }; 1236 + 1237 + qspi_sleep: qspi-sleep-state { 1238 + pins = "gpio90", "gpio91", "gpio92", "gpio95"; 1239 + 1240 + /* 1241 + * When we're not actively transferring we want pins as GPIOs 1242 + * with output disabled so that the quad SPI IP block stops 1243 + * driving them. We rely on the normal pulls configured in 1244 + * the active state and don't redefine them here. Also note 1245 + * that we don't need the reverse (output-enable) in the 1246 + * normal mode since the "output-enable" only matters for 1247 + * GPIO function. 1248 + */ 1249 + function = "gpio"; 1250 + output-disable; 1236 1251 }; 1237 1252 1238 1253 sdc2_clk: sdc2-clk-state {
+10 -10
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
··· 550 550 bias-disable; 551 551 }; 552 552 553 + &slpi_pas { 554 + firmware-name = "qcom/sdm845/oneplus6/slpi.mbn"; 555 + status = "okay"; 556 + }; 557 + 553 558 &sound { 554 559 compatible = "qcom,sdm845-sndcard"; 555 560 pinctrl-0 = <&quat_mi2s_active &quat_mi2s_sd0_active &quat_mi2s_sd1_active>; ··· 778 773 function = "gpio"; 779 774 drive-strength = <2>; 780 775 bias-disable; 781 - input-enable; 782 776 }; 783 777 784 778 tri_state_key_default: tri-state-key-default-state { ··· 806 802 function = "mdp_vsync"; 807 803 drive-strength = <2>; 808 804 bias-disable; 809 - input-enable; 810 805 }; 811 806 812 807 panel_esd_pin: panel-esd-state { ··· 813 810 function = "gpio"; 814 811 drive-strength = <2>; 815 812 bias-pull-down; 816 - input-enable; 817 813 }; 818 814 819 815 speaker_default: speaker-default-state { 820 - mux { 821 - pins = "gpio69"; 822 - function = "gpio"; 823 - drive-strength = <16>; 824 - bias-pull-up; 825 - output-high; 826 - }; 816 + pins = "gpio69"; 817 + function = "gpio"; 818 + drive-strength = <16>; 819 + bias-pull-up; 820 + output-high; 827 821 }; 828 822 }; 829 823
+5 -2
arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts
··· 572 572 status = "okay"; 573 573 }; 574 574 575 + &slpi_pas { 576 + firmware-name = "qcom/sdm845/axolotl/slpi.mbn"; 577 + status = "okay"; 578 + }; 579 + 575 580 &tlmm { 576 581 gpio-reserved-ranges = <0 4>, <81 4>; 577 582 ··· 613 608 function = "gpio"; 614 609 drive-strength = <8>; 615 610 bias-pull-up; 616 - input-enable; 617 611 }; 618 612 619 613 ts_int_suspend: ts-int-suspend-state { ··· 620 616 function = "gpio"; 621 617 drive-strength = <2>; 622 618 bias-pull-down; 623 - input-enable; 624 619 }; 625 620 626 621 ts_reset_active: ts-reset-active-state {
-1
arch/arm64/boot/dts/qcom/sdm845-wcd9340.dtsi
··· 80 80 pins = "gpio54"; 81 81 function = "gpio"; 82 82 83 - input-enable; 84 83 bias-pull-down; 85 84 drive-strength = <2>; 86 85 };
-4
arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts
··· 586 586 function = "gpio"; 587 587 bias-pull-down; 588 588 drive-strength = <16>; 589 - input-enable; 590 589 }; 591 590 592 591 ts_reset_sleep: ts-reset-sleep-state { ··· 600 601 function = "gpio"; 601 602 bias-pull-down; 602 603 drive-strength = <2>; 603 - input-enable; 604 604 }; 605 605 606 606 sde_dsi_active: sde-dsi-active-state { ··· 710 712 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; 711 713 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; 712 714 vdd-3.3-ch1-supply = <&vreg_l23a_3p3>; 713 - 714 - qcom,snoc-host-cap-skip-quirk; 715 715 status = "okay"; 716 716 };
+70 -10
arch/arm64/boot/dts/qcom/sdm845.dtsi
··· 13 13 #include <dt-bindings/clock/qcom,rpmh.h> 14 14 #include <dt-bindings/clock/qcom,videocc-sdm845.h> 15 15 #include <dt-bindings/dma/qcom-gpi.h> 16 + #include <dt-bindings/firmware/qcom,scm.h> 16 17 #include <dt-bindings/gpio/gpio.h> 17 18 #include <dt-bindings/interconnect/qcom,osm-l3.h> 18 19 #include <dt-bindings/interconnect/qcom,sdm845.h> ··· 876 875 alloc-ranges = <0 0xa0000000 0 0x20000000>; 877 876 size = <0 0x4000>; 878 877 no-map; 878 + }; 879 + 880 + fastrpc_mem: fastrpc { 881 + compatible = "shared-dma-pool"; 882 + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; 883 + alignment = <0x0 0x400000>; 884 + size = <0x0 0x1000000>; 885 + reusable; 879 886 }; 880 887 }; 881 888 ··· 2338 2329 "slave_q2a", 2339 2330 "tbu"; 2340 2331 2341 - iommus = <&apps_smmu 0x1c10 0xf>; 2342 2332 iommu-map = <0x0 &apps_smmu 0x1c10 0x1>, 2343 2333 <0x100 &apps_smmu 0x1c11 0x1>, 2344 2334 <0x200 &apps_smmu 0x1c12 0x1>, ··· 2448 2440 assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>; 2449 2441 assigned-clock-rates = <19200000>; 2450 2442 2451 - iommus = <&apps_smmu 0x1c00 0xf>; 2452 2443 iommu-map = <0x0 &apps_smmu 0x1c00 0x1>, 2453 2444 <0x100 &apps_smmu 0x1c01 0x1>, 2454 2445 <0x200 &apps_smmu 0x1c02 0x1>, ··· 2776 2769 function = "qspi_cs"; 2777 2770 }; 2778 2771 2779 - qspi_data01: qspi-data01-state { 2780 - pins = "gpio91", "gpio92"; 2772 + qspi_data0: qspi-data0-state { 2773 + pins = "gpio91"; 2781 2774 function = "qspi_data"; 2782 2775 }; 2783 2776 2784 - qspi_data12: qspi-data12-state { 2777 + qspi_data1: qspi-data1-state { 2778 + pins = "gpio92"; 2779 + function = "qspi_data"; 2780 + }; 2781 + 2782 + qspi_data23: qspi-data23-state { 2785 2783 pins = "gpio93", "gpio94"; 2786 2784 function = "qspi_data"; 2787 2785 }; ··· 3186 3174 function = "gpio"; 3187 3175 drive-strength = <2>; 3188 3176 bias-pull-down; 3189 - input-enable; 3190 3177 }; 3191 3178 3192 3179 quat_mi2s_active: quat-mi2s-active-state { ··· 3201 3190 function = "gpio"; 3202 3191 drive-strength = <2>; 3203 3192 bias-pull-down; 3204 - input-enable; 3205 3193 }; 3206 3194 3207 3195 quat_mi2s_sd0_active: quat-mi2s-sd0-active-state { ··· 3215 3205 function = "gpio"; 3216 3206 drive-strength = <2>; 3217 3207 bias-pull-down; 3218 - input-enable; 3219 3208 }; 3220 3209 3221 3210 quat_mi2s_sd1_active: quat-mi2s-sd1-active-state { ··· 3229 3220 function = "gpio"; 3230 3221 drive-strength = <2>; 3231 3222 bias-pull-down; 3232 - input-enable; 3233 3223 }; 3234 3224 3235 3225 quat_mi2s_sd2_active: quat-mi2s-sd2-active-state { ··· 3243 3235 function = "gpio"; 3244 3236 drive-strength = <2>; 3245 3237 bias-pull-down; 3246 - input-enable; 3247 3238 }; 3248 3239 3249 3240 quat_mi2s_sd3_active: quat-mi2s-sd3-active-state { ··· 3330 3323 clock-names = "bi_tcxo", 3331 3324 "gcc_gpu_gpll0_clk_src", 3332 3325 "gcc_gpu_gpll0_div_clk_src"; 3326 + }; 3327 + 3328 + slpi_pas: remoteproc@5c00000 { 3329 + compatible = "qcom,sdm845-slpi-pas"; 3330 + reg = <0 0x5c00000 0 0x4000>; 3331 + 3332 + interrupts-extended = <&intc GIC_SPI 494 IRQ_TYPE_EDGE_RISING>, 3333 + <&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 3334 + <&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 3335 + <&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 3336 + <&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 3337 + interrupt-names = "wdog", "fatal", "ready", 3338 + "handover", "stop-ack"; 3339 + 3340 + clocks = <&rpmhcc RPMH_CXO_CLK>; 3341 + clock-names = "xo"; 3342 + 3343 + qcom,qmp = <&aoss_qmp>; 3344 + 3345 + power-domains = <&rpmhpd SDM845_CX>, 3346 + <&rpmhpd SDM845_MX>; 3347 + power-domain-names = "lcx", "lmx"; 3348 + 3349 + memory-region = <&slpi_mem>; 3350 + 3351 + qcom,smem-states = <&slpi_smp2p_out 0>; 3352 + qcom,smem-state-names = "stop"; 3353 + 3354 + status = "disabled"; 3355 + 3356 + glink-edge { 3357 + interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>; 3358 + label = "dsps"; 3359 + qcom,remote-pid = <3>; 3360 + mboxes = <&apss_shared 24>; 3361 + 3362 + fastrpc { 3363 + compatible = "qcom,fastrpc"; 3364 + qcom,glink-channels = "fastrpcglink-apps-dsp"; 3365 + label = "sdsp"; 3366 + qcom,non-secure-domain; 3367 + qcom,vmids = <QCOM_SCM_VMID_HLOS QCOM_SCM_VMID_MSS_MSA 3368 + QCOM_SCM_VMID_SSC_Q6 QCOM_SCM_VMID_ADSP_Q6>; 3369 + memory-region = <&fastrpc_mem>; 3370 + #address-cells = <1>; 3371 + #size-cells = <0>; 3372 + 3373 + compute-cb@0 { 3374 + compatible = "qcom,fastrpc-compute-cb"; 3375 + reg = <0>; 3376 + }; 3377 + }; 3378 + }; 3333 3379 }; 3334 3380 3335 3381 stm@6002000 {
-5
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
··· 606 606 pins = "gpio37"; 607 607 function = "gpio"; 608 608 609 - input-enable; 610 609 bias-pull-up; 611 610 drive-strength = <2>; 612 611 }; ··· 614 615 pins = "gpio125"; 615 616 function = "gpio"; 616 617 617 - input-enable; 618 618 bias-pull-up; 619 619 drive-strength = <2>; 620 620 }; ··· 622 624 pins = "gpio92"; 623 625 function = "gpio"; 624 626 625 - input-enable; 626 627 bias-pull-up; 627 628 drive-strength = <2>; 628 629 }; ··· 630 633 pins = "gpio124"; 631 634 function = "gpio"; 632 635 633 - input-enable; 634 636 bias-disable; 635 637 }; 636 638 ··· 637 641 pins = "gpio95"; 638 642 function = "gpio"; 639 643 640 - input-enable; 641 644 bias-disable; 642 645 }; 643 646 };
+13 -2
arch/arm64/boot/dts/qcom/sm6115.dtsi
··· 8 8 #include <dt-bindings/clock/qcom,sm6115-gpucc.h> 9 9 #include <dt-bindings/clock/qcom,rpmcc.h> 10 10 #include <dt-bindings/dma/qcom-gpi.h> 11 + #include <dt-bindings/firmware/qcom,scm.h> 11 12 #include <dt-bindings/gpio/gpio.h> 12 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 14 #include <dt-bindings/power/qcom-rpmpd.h> ··· 290 289 removed_mem: memory@60000000 { 291 290 reg = <0x0 0x60000000 0x0 0x3900000>; 292 291 no-map; 292 + }; 293 + 294 + rmtfs_mem: memory@89b01000 { 295 + compatible = "qcom,rmtfs-mem"; 296 + reg = <0x0 0x89b01000 0x0 0x200000>; 297 + no-map; 298 + 299 + qcom,client-id = <1>; 300 + qcom,vmid = <QCOM_SCM_VMID_MSS_MSA QCOM_SCM_VMID_NAV>; 293 301 }; 294 302 }; 295 303 ··· 1251 1241 }; 1252 1242 1253 1243 mdss_dsi0: dsi@5e94000 { 1254 - compatible = "qcom,dsi-ctrl-6g-qcm2290"; 1244 + compatible = "qcom,sm6115-dsi-ctrl", "qcom,mdss-dsi-ctrl"; 1255 1245 reg = <0x0 0x05e94000 0x0 0x400>; 1256 1246 reg-names = "dsi_ctrl"; 1257 1247 ··· 2254 2244 }; 2255 2245 2256 2246 apcs_glb: mailbox@f111000 { 2257 - compatible = "qcom,sm6115-apcs-hmss-global"; 2247 + compatible = "qcom,sm6115-apcs-hmss-global", 2248 + "qcom,msm8994-apcs-kpss-global"; 2258 2249 reg = <0x0 0x0f111000 0x0 0x1000>; 2259 2250 2260 2251 #mbox-cells = <1>;
+35
arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts
··· 52 52 wakeup-source; 53 53 }; 54 54 }; 55 + 56 + reserved-memory { 57 + ramoops@ffc00000 { 58 + compatible = "ramoops"; 59 + reg = <0x0 0xffc00000 0x0 0x100000>; 60 + record-size = <0x1000>; 61 + console-size = <0x40000>; 62 + ftrace-size = <0x20000>; 63 + ecc-size = <16>; 64 + }; 65 + }; 55 66 }; 56 67 57 68 &dispcc { ··· 86 75 87 76 &pon_resin { 88 77 linux,code = <KEY_VOLUMEDOWN>; 78 + status = "okay"; 79 + }; 80 + 81 + &remoteproc_adsp { 82 + firmware-name = "qcom/sm6115/LENOVO/J606F/adsp.mbn"; 83 + status = "okay"; 84 + }; 85 + 86 + &remoteproc_cdsp { 87 + firmware-name = "qcom/sm6115/LENOVO/J606F/cdsp.mbn"; 88 + status = "okay"; 89 + }; 90 + 91 + &remoteproc_mpss { 92 + firmware-name = "qcom/sm6115/LENOVO/J606F/modem.mbn"; 89 93 status = "okay"; 90 94 }; 91 95 ··· 312 286 vdd-supply = <&pm6125_l4>; 313 287 vdda-pll-supply = <&pm6125_l12>; 314 288 vdda-phy-dpdm-supply = <&pm6125_l15>; 289 + status = "okay"; 290 + }; 291 + 292 + &wifi { 293 + vdd-0.8-cx-mx-supply = <&pm6125_l8>; 294 + vdd-1.8-xo-supply = <&pm6125_l16>; 295 + vdd-1.3-rfa-supply = <&pm6125_l17>; 296 + vdd-3.3-ch0-supply = <&pm6125_l23>; 297 + qcom,ath10k-calibration-variant = "Lenovo_P11"; 315 298 status = "okay"; 316 299 }; 317 300
-1
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts
··· 468 468 function = "gpio"; 469 469 drive-strength = <2>; 470 470 bias-disable; 471 - input-enable; 472 471 }; 473 472 }; 474 473
+421
arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts
··· 1 + // SPDX-License-Identifier: BSD-3-Clause 2 + /* 3 + * Copyright (c) 2022, Lux Aliaga <they@mint.lgbt> 4 + */ 5 + 6 + /dts-v1/; 7 + 8 + #include <dt-bindings/gpio/gpio.h> 9 + #include <dt-bindings/input/input.h> 10 + #include <dt-bindings/input/gpio-keys.h> 11 + #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 + #include "sm6125.dtsi" 13 + #include "pm6125.dtsi" 14 + 15 + / { 16 + model = "Xiaomi Mi A3"; 17 + compatible = "xiaomi,laurel-sprout", "qcom,sm6125"; 18 + chassis-type = "handset"; 19 + 20 + /* required for bootloader to select correct board */ 21 + qcom,msm-id = <394 0>; /* sm6125 v1 */ 22 + qcom,board-id = <11 0>; 23 + 24 + chosen { 25 + #address-cells = <2>; 26 + #size-cells = <2>; 27 + ranges; 28 + 29 + framebuffer0: framebuffer@5c000000 { 30 + compatible = "simple-framebuffer"; 31 + reg = <0 0x5c000000 0 (1560 * 720 * 4)>; 32 + width = <720>; 33 + height = <1560>; 34 + stride = <(720 * 4)>; 35 + format = "a8r8g8b8"; 36 + }; 37 + }; 38 + 39 + reserved-memory { 40 + debug_mem: debug@ffb00000 { 41 + reg = <0x0 0xffb00000 0x0 0xc0000>; 42 + no-map; 43 + }; 44 + 45 + last_log_mem: lastlog@ffbc0000 { 46 + reg = <0x0 0xffbc0000 0x0 0x80000>; 47 + no-map; 48 + }; 49 + 50 + pstore_mem: ramoops@ffc00000 { 51 + compatible = "ramoops"; 52 + reg = <0x0 0xffc40000 0x0 0xc0000>; 53 + record-size = <0x1000>; 54 + console-size = <0x40000>; 55 + msg-size = <0x20000 0x20000>; 56 + }; 57 + 58 + cmdline_mem: memory@ffd00000 { 59 + reg = <0x0 0xffd40000 0x0 0x1000>; 60 + no-map; 61 + }; 62 + }; 63 + 64 + extcon_usb: usb-id { 65 + compatible = "linux,extcon-usb-gpio"; 66 + id-gpio = <&tlmm 102 GPIO_ACTIVE_HIGH>; 67 + }; 68 + 69 + gpio-keys { 70 + compatible = "gpio-keys"; 71 + 72 + pinctrl-0 = <&vol_up_n>; 73 + pinctrl-names = "default"; 74 + 75 + key-volume-up { 76 + label = "Volume Up"; 77 + gpios = <&pm6125_gpios 5 GPIO_ACTIVE_LOW>; 78 + linux,code = <KEY_VOLUMEUP>; 79 + debounce-interval = <15>; 80 + linux,can-disable; 81 + wakeup-source; 82 + }; 83 + }; 84 + 85 + thermal-zones { 86 + rf-pa0-thermal { 87 + polling-delay-passive = <0>; 88 + polling-delay = <0>; 89 + thermal-sensors = <&pm6125_adc_tm 0>; 90 + 91 + trips { 92 + active-config0 { 93 + temperature = <125000>; 94 + hysteresis = <1000>; 95 + type = "critical"; 96 + }; 97 + }; 98 + }; 99 + 100 + quiet-thermal { 101 + polling-delay-passive = <0>; 102 + polling-delay = <5000>; 103 + thermal-sensors = <&pm6125_adc_tm 1>; 104 + 105 + trips { 106 + active-config0 { 107 + temperature = <125000>; 108 + hysteresis = <1000>; 109 + type = "critical"; 110 + }; 111 + }; 112 + }; 113 + 114 + xo-thermal { 115 + polling-delay-passive = <0>; 116 + polling-delay = <0>; 117 + thermal-sensors = <&pm6125_adc_tm 2>; 118 + 119 + trips { 120 + active-config0 { 121 + temperature = <125000>; 122 + hysteresis = <1000>; 123 + type = "critical"; 124 + }; 125 + }; 126 + }; 127 + }; 128 + }; 129 + 130 + &hsusb_phy1 { 131 + vdd-supply = <&vreg_l7a>; 132 + vdda-pll-supply = <&vreg_l10a>; 133 + vdda-phy-dpdm-supply = <&vreg_l15a>; 134 + status = "okay"; 135 + }; 136 + 137 + &pm6125_adc { 138 + pinctrl-names = "default"; 139 + pinctrl-0 = <&camera_flash_therm &emmc_ufs_therm>; 140 + 141 + adc-chan@4d { 142 + reg = <ADC5_AMUX_THM1_100K_PU>; 143 + qcom,ratiometric; 144 + qcom,hw-settle-time = <200>; 145 + qcom,pre-scaling = <1 1>; 146 + label = "rf_pa0_therm"; 147 + }; 148 + 149 + adc-chan@4e { 150 + reg = <ADC5_AMUX_THM2_100K_PU>; 151 + qcom,ratiometric; 152 + qcom,hw-settle-time = <200>; 153 + qcom,pre-scaling = <1 1>; 154 + label = "quiet_therm"; 155 + }; 156 + 157 + adc-chan@52 { 158 + reg = <ADC5_GPIO1_100K_PU>; 159 + qcom,ratiometric; 160 + qcom,hw-settle-time = <200>; 161 + qcom,pre-scaling = <1 1>; 162 + label = "camera_flash_therm"; 163 + }; 164 + 165 + adc-chan@54 { 166 + reg = <ADC5_GPIO3_100K_PU>; 167 + qcom,ratiometric; 168 + qcom,hw-settle-time = <200>; 169 + qcom,pre-scaling = <1 1>; 170 + label = "emmc_ufs_therm"; 171 + }; 172 + }; 173 + 174 + &pm6125_adc_tm { 175 + status = "okay"; 176 + 177 + rf-pa0-therm@0 { 178 + reg = <0>; 179 + io-channels = <&pm6125_adc ADC5_AMUX_THM1_100K_PU>; 180 + qcom,ratiometric; 181 + qcom,hw-settle-time-us = <200>; 182 + }; 183 + 184 + quiet-therm@1 { 185 + reg = <1>; 186 + io-channels = <&pm6125_adc ADC5_AMUX_THM2_100K_PU>; 187 + qcom,ratiometric; 188 + qcom,hw-settle-time-us = <200>; 189 + }; 190 + 191 + xo-therm@2 { 192 + reg = <2>; 193 + io-channels = <&pm6125_adc ADC5_XO_THERM_100K_PU>; 194 + qcom,ratiometric; 195 + qcom,hw-settle-time-us = <200>; 196 + }; 197 + }; 198 + 199 + &pm6125_gpios { 200 + camera_flash_therm: camera-flash-therm-state { 201 + pins = "gpio3"; 202 + function = PMIC_GPIO_FUNC_NORMAL; 203 + bias-high-impedance; 204 + }; 205 + 206 + emmc_ufs_therm: emmc-ufs-therm-state { 207 + pins = "gpio6"; 208 + function = PMIC_GPIO_FUNC_NORMAL; 209 + bias-high-impedance; 210 + }; 211 + 212 + vol_up_n: vol-up-n-state { 213 + pins = "gpio5"; 214 + function = PMIC_GPIO_FUNC_NORMAL; 215 + input-enable; 216 + bias-pull-up; 217 + }; 218 + }; 219 + 220 + &pon_pwrkey { 221 + status = "okay"; 222 + }; 223 + 224 + &pon_resin { 225 + linux,code = <KEY_VOLUMEDOWN>; 226 + status = "okay"; 227 + }; 228 + 229 + &rpm_requests { 230 + regulators-0 { 231 + compatible = "qcom,rpm-pm6125-regulators"; 232 + 233 + vreg_s6a: s6 { 234 + regulator-min-microvolt = <936000>; 235 + regulator-max-microvolt = <1422000>; 236 + }; 237 + 238 + vreg_l1a: l1 { 239 + regulator-min-microvolt = <1200000>; 240 + regulator-max-microvolt = <1256000>; 241 + }; 242 + 243 + vreg_l2a: l2 { 244 + regulator-min-microvolt = <1000000>; 245 + regulator-max-microvolt = <1056000>; 246 + }; 247 + 248 + vreg_l3a: l3 { 249 + regulator-min-microvolt = <1000000>; 250 + regulator-max-microvolt = <1064000>; 251 + }; 252 + 253 + vreg_l4a: l4 { 254 + regulator-min-microvolt = <872000>; 255 + regulator-max-microvolt = <976000>; 256 + regulator-allow-set-load; 257 + }; 258 + 259 + vreg_l5a: l5 { 260 + regulator-min-microvolt = <1648000>; 261 + regulator-max-microvolt = <2950000>; 262 + regulator-allow-set-load; 263 + }; 264 + 265 + vreg_l6a: l6 { 266 + regulator-min-microvolt = <576000>; 267 + regulator-max-microvolt = <656000>; 268 + }; 269 + 270 + vreg_l7a: l7 { 271 + regulator-min-microvolt = <872000>; 272 + regulator-max-microvolt = <976000>; 273 + }; 274 + 275 + vreg_l8a: l8 { 276 + regulator-min-microvolt = <400000>; 277 + regulator-max-microvolt = <728000>; 278 + }; 279 + 280 + vreg_l9a: l9 { 281 + regulator-min-microvolt = <1800000>; 282 + regulator-max-microvolt = <1896000>; 283 + }; 284 + 285 + vreg_l10a: l10 { 286 + regulator-min-microvolt = <1800000>; 287 + regulator-max-microvolt = <1896000>; 288 + regulator-allow-set-load; 289 + }; 290 + 291 + vreg_l11a: l11 { 292 + regulator-min-microvolt = <1800000>; 293 + regulator-max-microvolt = <1952000>; 294 + regulator-allow-set-load; 295 + }; 296 + 297 + vreg_l12a: l12 { 298 + regulator-min-microvolt = <1800000>; 299 + regulator-max-microvolt = <1996000>; 300 + }; 301 + 302 + vreg_l13a: l13 { 303 + regulator-min-microvolt = <1800000>; 304 + regulator-max-microvolt = <1832000>; 305 + }; 306 + 307 + vreg_l14a: l14 { 308 + regulator-min-microvolt = <1800000>; 309 + regulator-max-microvolt = <1904000>; 310 + }; 311 + 312 + vreg_l15a: l15 { 313 + regulator-min-microvolt = <3104000>; 314 + regulator-max-microvolt = <3232000>; 315 + }; 316 + 317 + vreg_l16a: l16 { 318 + regulator-min-microvolt = <1800000>; 319 + regulator-max-microvolt = <1904000>; 320 + }; 321 + 322 + vreg_l17a: l17 { 323 + regulator-min-microvolt = <1248000>; 324 + regulator-max-microvolt = <1304000>; 325 + }; 326 + 327 + vreg_l18a: l18 { 328 + regulator-min-microvolt = <1200000>; 329 + regulator-max-microvolt = <1264000>; 330 + regulator-allow-set-load; 331 + }; 332 + 333 + vreg_l19a: l19 { 334 + regulator-min-microvolt = <1648000>; 335 + regulator-max-microvolt = <2952000>; 336 + }; 337 + 338 + vreg_l20a: l20 { 339 + regulator-min-microvolt = <1648000>; 340 + regulator-max-microvolt = <2952000>; 341 + }; 342 + 343 + vreg_l21a: l21 { 344 + regulator-min-microvolt = <2600000>; 345 + regulator-max-microvolt = <2856000>; 346 + }; 347 + 348 + vreg_l22a: l22 { 349 + regulator-min-microvolt = <2944000>; 350 + regulator-max-microvolt = <2950000>; 351 + regulator-allow-set-load; 352 + }; 353 + 354 + vreg_l23a: l23 { 355 + regulator-min-microvolt = <3000000>; 356 + regulator-max-microvolt = <3400000>; 357 + }; 358 + 359 + vreg_l24a: l24 { 360 + regulator-min-microvolt = <2944000>; 361 + regulator-max-microvolt = <2950000>; 362 + regulator-allow-set-load; 363 + }; 364 + }; 365 + }; 366 + 367 + &sdc2_off_state { 368 + sd-cd-pins { 369 + pins = "gpio98"; 370 + function = "gpio"; 371 + drive-strength = <2>; 372 + bias-disable; 373 + }; 374 + }; 375 + 376 + &sdc2_on_state { 377 + sd-cd-pins { 378 + pins = "gpio98"; 379 + function = "gpio"; 380 + drive-strength = <2>; 381 + bias-pull-up; 382 + }; 383 + }; 384 + 385 + &sdhc_2 { 386 + cd-gpios = <&tlmm 98 GPIO_ACTIVE_HIGH>; 387 + vmmc-supply = <&vreg_l22a>; 388 + vqmmc-supply = <&vreg_l5a>; 389 + no-sdio; 390 + no-mmc; 391 + status = "okay"; 392 + }; 393 + 394 + &tlmm { 395 + gpio-reserved-ranges = <22 2>, <28 6>; 396 + }; 397 + 398 + &ufs_mem_hc { 399 + vcc-supply = <&vreg_l24a>; 400 + vccq2-supply = <&vreg_l11a>; 401 + vcc-max-microamp = <600000>; 402 + vccq2-max-microamp = <600000>; 403 + status = "okay"; 404 + }; 405 + 406 + &ufs_mem_phy { 407 + vdda-phy-supply = <&vreg_l4a>; 408 + vdda-pll-supply = <&vreg_l10a>; 409 + vdda-phy-max-microamp = <51400>; 410 + vdda-pll-max-microamp = <14200>; 411 + vddp-ref-clk-supply = <&vreg_l18a>; 412 + status = "okay"; 413 + }; 414 + 415 + &usb3 { 416 + status = "okay"; 417 + }; 418 + 419 + &usb3_dwc3 { 420 + extcon = <&extcon_usb>; 421 + };
+66 -1
arch/arm64/boot/dts/qcom/sm6125.dtsi
··· 737 737 status = "disabled"; 738 738 }; 739 739 740 + ufs_mem_hc: ufs@4804000 { 741 + compatible = "qcom,sm6125-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; 742 + reg = <0x04804000 0x3000>, <0x04810000 0x8000>; 743 + reg-names = "std", "ice"; 744 + interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 745 + 746 + clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, 747 + <&gcc GCC_SYS_NOC_UFS_PHY_AXI_CLK>, 748 + <&gcc GCC_UFS_PHY_AHB_CLK>, 749 + <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, 750 + <&rpmcc RPM_SMD_XO_CLK_SRC>, 751 + <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, 752 + <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, 753 + <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; 754 + clock-names = "core_clk", 755 + "bus_aggr_clk", 756 + "iface_clk", 757 + "core_clk_unipro", 758 + "ref_clk", 759 + "tx_lane0_sync_clk", 760 + "rx_lane0_sync_clk", 761 + "ice_core_clk"; 762 + freq-table-hz = <50000000 240000000>, 763 + <0 0>, 764 + <0 0>, 765 + <37500000 150000000>, 766 + <0 0>, 767 + <0 0>, 768 + <0 0>, 769 + <75000000 300000000>; 770 + 771 + resets = <&gcc GCC_UFS_PHY_BCR>; 772 + reset-names = "rst"; 773 + #reset-cells = <1>; 774 + 775 + phys = <&ufs_mem_phy>; 776 + phy-names = "ufsphy"; 777 + 778 + lanes-per-direction = <1>; 779 + 780 + iommus = <&apps_smmu 0x200 0x0>; 781 + 782 + status = "disabled"; 783 + }; 784 + 785 + ufs_mem_phy: phy@4807000 { 786 + compatible = "qcom,sm6125-qmp-ufs-phy"; 787 + reg = <0x04807000 0xdb8>; 788 + 789 + clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, 790 + <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; 791 + clock-names = "ref", 792 + "ref_aux"; 793 + 794 + resets = <&ufs_mem_hc 0>; 795 + reset-names = "ufsphy"; 796 + 797 + power-domains = <&gcc UFS_PHY_GDSC>; 798 + 799 + #phy-cells = <0>; 800 + 801 + status = "disabled"; 802 + }; 803 + 740 804 gpi_dma0: dma-controller@4a00000 { 741 805 compatible = "qcom,sm6125-gpi-dma", "qcom,sdm845-gpi-dma"; 742 806 reg = <0x04a00000 0x60000>; ··· 1274 1210 }; 1275 1211 1276 1212 apcs_glb: mailbox@f111000 { 1277 - compatible = "qcom,sm6125-apcs-hmss-global"; 1213 + compatible = "qcom,sm6125-apcs-hmss-global", 1214 + "qcom,msm8994-apcs-kpss-global"; 1278 1215 reg = <0x0f111000 0x1000>; 1279 1216 1280 1217 #mbox-cells = <1>;
-1
arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts
··· 367 367 function = "gpio"; 368 368 drive-strength = <2>; 369 369 bias-disable; 370 - input-enable; 371 370 }; 372 371 }; 373 372
+5
arch/arm64/boot/dts/qcom/sm8150-hdk.dts
··· 359 359 }; 360 360 361 361 &gpu { 362 + /* 363 + * NOTE: "amd,imageon" makes Adreno start in headless mode, remove it 364 + * after display support is added on this board. 365 + */ 366 + compatible = "qcom,adreno-640.1", "qcom,adreno", "amd,imageon"; 362 367 status = "okay"; 363 368 }; 364 369
-1
arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dts
··· 479 479 pins = "gpio42"; 480 480 function = "gpio"; 481 481 bias-pull-up; 482 - input-enable; 483 482 }; 484 483 }; 485 484
+5
arch/arm64/boot/dts/qcom/sm8150-mtp.dts
··· 354 354 }; 355 355 356 356 &gpu { 357 + /* 358 + * NOTE: "amd,imageon" makes Adreno start in headless mode, remove it 359 + * after display support is added on this board. 360 + */ 361 + compatible = "qcom,adreno-640.1", "qcom,adreno", "amd,imageon"; 357 362 status = "okay"; 358 363 }; 359 364
+23 -13
arch/arm64/boot/dts/qcom/sm8150.dtsi
··· 950 950 status = "disabled"; 951 951 }; 952 952 953 + qfprom: efuse@784000 { 954 + compatible = "qcom,sm8150-qfprom", "qcom,qfprom"; 955 + reg = <0 0x00784000 0 0x8ff>; 956 + #address-cells = <1>; 957 + #size-cells = <1>; 958 + 959 + gpu_speed_bin: gpu_speed_bin@133 { 960 + reg = <0x133 0x1>; 961 + bits = <5 3>; 962 + }; 963 + }; 953 964 954 965 qupv3_id_0: geniqup@8c0000 { 955 966 compatible = "qcom,geni-se-qup"; ··· 1859 1848 "slave_q2a", 1860 1849 "tbu"; 1861 1850 1862 - iommus = <&apps_smmu 0x1d80 0x3f>; 1863 1851 iommu-map = <0x0 &apps_smmu 0x1d80 0x1>, 1864 1852 <0x100 &apps_smmu 0x1d81 0x1>; 1865 1853 ··· 1957 1947 assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>; 1958 1948 assigned-clock-rates = <19200000>; 1959 1949 1960 - iommus = <&apps_smmu 0x1e00 0x3f>; 1961 1950 iommu-map = <0x0 &apps_smmu 0x1e00 0x1>, 1962 1951 <0x100 &apps_smmu 0x1e01 0x1>; 1963 1952 ··· 2164 2155 }; 2165 2156 2166 2157 gpu: gpu@2c00000 { 2167 - /* 2168 - * note: the amd,imageon compatible makes it possible 2169 - * to use the drm/msm driver without the display node, 2170 - * make sure to remove it when display node is added 2171 - */ 2172 - compatible = "qcom,adreno-640.1", 2173 - "qcom,adreno", 2174 - "amd,imageon"; 2175 - 2158 + compatible = "qcom,adreno-640.1", "qcom,adreno"; 2176 2159 reg = <0 0x02c00000 0 0x40000>; 2177 2160 reg-names = "kgsl_3d0_reg_memory"; 2178 2161 ··· 2176 2175 2177 2176 qcom,gmu = <&gmu>; 2178 2177 2178 + nvmem-cells = <&gpu_speed_bin>; 2179 + nvmem-cell-names = "speed_bin"; 2180 + 2179 2181 status = "disabled"; 2180 2182 2181 2183 zap-shader { 2182 2184 memory-region = <&gpu_mem>; 2183 2185 }; 2184 2186 2185 - /* note: downstream checks gpu binning for 675 Mhz */ 2186 2187 gpu_opp_table: opp-table { 2187 2188 compatible = "operating-points-v2"; 2188 2189 2189 2190 opp-675000000 { 2190 2191 opp-hz = /bits/ 64 <675000000>; 2191 2192 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 2193 + opp-supported-hw = <0x2>; 2192 2194 }; 2193 2195 2194 2196 opp-585000000 { 2195 2197 opp-hz = /bits/ 64 <585000000>; 2196 2198 opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 2199 + opp-supported-hw = <0x3>; 2197 2200 }; 2198 2201 2199 2202 opp-499200000 { 2200 2203 opp-hz = /bits/ 64 <499200000>; 2201 2204 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>; 2205 + opp-supported-hw = <0x3>; 2202 2206 }; 2203 2207 2204 2208 opp-427000000 { 2205 2209 opp-hz = /bits/ 64 <427000000>; 2206 2210 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 2211 + opp-supported-hw = <0x3>; 2207 2212 }; 2208 2213 2209 2214 opp-345000000 { 2210 2215 opp-hz = /bits/ 64 <345000000>; 2211 2216 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 2217 + opp-supported-hw = <0x3>; 2212 2218 }; 2213 2219 2214 2220 opp-257000000 { 2215 2221 opp-hz = /bits/ 64 <257000000>; 2216 2222 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 2223 + opp-supported-hw = <0x3>; 2217 2224 }; 2218 2225 }; 2219 2226 }; ··· 4135 4126 }; 4136 4127 4137 4128 apss_shared: mailbox@17c00000 { 4138 - compatible = "qcom,sm8150-apss-shared"; 4129 + compatible = "qcom,sm8150-apss-shared", 4130 + "qcom,sdm845-apss-shared"; 4139 4131 reg = <0x0 0x17c00000 0x0 0x1000>; 4140 4132 #mbox-cells = <1>; 4141 4133 };
-1
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
··· 625 625 function = "gpio"; 626 626 drive-strength = <2>; 627 627 bias-disable; 628 - input-enable; 629 628 }; 630 629 631 630 ap2mdm_default: ap2mdm-default-state {
+18
arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts
··· 1 + // SPDX-License-Identifier: BSD-3-Clause 2 + /* 3 + * Copyright (c) 2023 Jianhua Lu <lujianhua000@gmail.com> 4 + */ 5 + 6 + /dts-v1/; 7 + 8 + #include "sm8250-xiaomi-elish-common.dtsi" 9 + 10 + / { 11 + model = "Xiaomi Mi Pad 5 Pro (BOE)"; 12 + compatible = "xiaomi,elish", "qcom,sm8250"; 13 + }; 14 + 15 + &display_panel { 16 + compatible = "xiaomi,elish-boe-nt36523"; 17 + status = "okay"; 18 + };
+18
arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts
··· 1 + // SPDX-License-Identifier: BSD-3-Clause 2 + /* 3 + * Copyright (c) 2023 Jianhua Lu <lujianhua000@gmail.com> 4 + */ 5 + 6 + /dts-v1/; 7 + 8 + #include "sm8250-xiaomi-elish-common.dtsi" 9 + 10 + / { 11 + model = "Xiaomi Mi Pad 5 Pro (CSOT)"; 12 + compatible = "xiaomi,elish", "qcom,sm8250"; 13 + }; 14 + 15 + &display_panel { 16 + compatible = "xiaomi,elish-csot-nt36523"; 17 + status = "okay"; 18 + };
+75 -4
arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish.dts arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi
··· 3 3 * Copyright (c) 2022, 2023 Jianhua Lu <lujianhua000@gmail.com> 4 4 */ 5 5 6 - /dts-v1/; 7 - 8 6 #include <dt-bindings/arm/qcom,ids.h> 7 + #include <dt-bindings/phy/phy.h> 9 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 9 #include "sm8250.dtsi" 11 10 #include "pm8150.dtsi" ··· 23 24 /delete-node/ &xbl_aop_mem; 24 25 25 26 / { 26 - model = "Xiaomi Mi Pad 5 Pro"; 27 - compatible = "xiaomi,elish", "qcom,sm8250"; 28 27 classis-type = "tablet"; 29 28 30 29 /* required for bootloader to select correct board */ ··· 470 473 status = "okay"; 471 474 }; 472 475 476 + &dsi0 { 477 + vdda-supply = <&vreg_l9a_1p2>; 478 + qcom,dual-dsi-mode; 479 + qcom,sync-dual-dsi; 480 + qcom,master-dsi; 481 + status = "okay"; 482 + 483 + display_panel: panel@0 { 484 + reg = <0>; 485 + vddio-supply = <&vreg_l14a_1p88>; 486 + reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; 487 + backlight = <&backlight>; 488 + 489 + status = "disabled"; 490 + 491 + ports { 492 + #address-cells = <1>; 493 + #size-cells = <0>; 494 + 495 + port@0 { 496 + reg = <0>; 497 + 498 + panel_in_0: endpoint { 499 + remote-endpoint = <&dsi0_out>; 500 + }; 501 + }; 502 + 503 + port@1{ 504 + reg = <1>; 505 + 506 + panel_in_1: endpoint { 507 + remote-endpoint = <&dsi1_out>; 508 + }; 509 + }; 510 + 511 + }; 512 + }; 513 + }; 514 + 515 + &dsi0_out { 516 + data-lanes = <0 1 2>; 517 + remote-endpoint = <&panel_in_0>; 518 + }; 519 + 520 + &dsi0_phy { 521 + vdds-supply = <&vreg_l5a_0p88>; 522 + phy-type = <PHY_TYPE_CPHY>; 523 + status = "okay"; 524 + }; 525 + 526 + &dsi1 { 527 + vdda-supply = <&vreg_l9a_1p2>; 528 + qcom,dual-dsi-mode; 529 + qcom,sync-dual-dsi; 530 + /* DSI1 is slave, so use DSI0 clocks */ 531 + assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; 532 + status = "okay"; 533 + }; 534 + 535 + &dsi1_out { 536 + data-lanes = <0 1 2>; 537 + remote-endpoint = <&panel_in_1>; 538 + }; 539 + 540 + &dsi1_phy { 541 + vdds-supply = <&vreg_l5a_0p88>; 542 + phy-type = <PHY_TYPE_CPHY>; 543 + status = "okay"; 544 + }; 545 + 473 546 &gmu { 474 547 status = "okay"; 475 548 }; ··· 602 535 reg = <0x55>; 603 536 monitored-battery = <&battery_l>; 604 537 }; 538 + }; 539 + 540 + &mdss { 541 + status = "okay"; 605 542 }; 606 543 607 544 &pcie0 {
+23 -12
arch/arm64/boot/dts/qcom/sm8250.dtsi
··· 960 960 #mbox-cells = <2>; 961 961 }; 962 962 963 + qfprom: efuse@784000 { 964 + compatible = "qcom,sm8250-qfprom", "qcom,qfprom"; 965 + reg = <0 0x00784000 0 0x8ff>; 966 + #address-cells = <1>; 967 + #size-cells = <1>; 968 + 969 + gpu_speed_bin: gpu_speed_bin@19b { 970 + reg = <0x19b 0x1>; 971 + bits = <5 3>; 972 + }; 973 + }; 974 + 963 975 rng: rng@793000 { 964 976 compatible = "qcom,prng-ee"; 965 977 reg = <0 0x00793000 0 0x1000>; ··· 1889 1877 "tbu", 1890 1878 "ddrss_sf_tbu"; 1891 1879 1892 - iommus = <&apps_smmu 0x1c00 0x7f>; 1893 1880 iommu-map = <0x0 &apps_smmu 0x1c00 0x1>, 1894 1881 <0x100 &apps_smmu 0x1c01 0x1>; 1895 1882 ··· 1995 1984 assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>; 1996 1985 assigned-clock-rates = <19200000>; 1997 1986 1998 - iommus = <&apps_smmu 0x1c80 0x7f>; 1999 1987 iommu-map = <0x0 &apps_smmu 0x1c80 0x1>, 2000 1988 <0x100 &apps_smmu 0x1c81 0x1>; 2001 1989 ··· 2103 2093 assigned-clocks = <&gcc GCC_PCIE_2_AUX_CLK>; 2104 2094 assigned-clock-rates = <19200000>; 2105 2095 2106 - iommus = <&apps_smmu 0x1d00 0x7f>; 2107 2096 iommu-map = <0x0 &apps_smmu 0x1d00 0x1>, 2108 2097 <0x100 &apps_smmu 0x1d01 0x1>; 2109 2098 ··· 2376 2367 swr2: soundwire-controller@3230000 { 2377 2368 reg = <0 0x03230000 0 0x2000>; 2378 2369 compatible = "qcom,soundwire-v1.5.1"; 2379 - interrupts-extended = <&intc GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>; 2370 + interrupts = <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>; 2380 2371 interrupt-names = "core"; 2381 2372 status = "disabled"; 2382 2373 ··· 2445 2436 pins = "gpio10"; 2446 2437 function = "wsa_swr_clk"; 2447 2438 drive-strength = <2>; 2448 - input-enable; 2449 2439 bias-pull-down; 2450 2440 }; 2451 2441 ··· 2452 2444 pins = "gpio11"; 2453 2445 function = "wsa_swr_data"; 2454 2446 drive-strength = <2>; 2455 - input-enable; 2456 2447 bias-pull-down; 2457 2448 }; 2458 2449 }; ··· 2467 2460 pins = "gpio7"; 2468 2461 function = "dmic1_data"; 2469 2462 drive-strength = <8>; 2470 - input-enable; 2471 2463 }; 2472 2464 }; 2473 2465 ··· 2484 2478 function = "dmic1_data"; 2485 2479 drive-strength = <2>; 2486 2480 bias-pull-down; 2487 - input-enable; 2488 2481 }; 2489 2482 }; 2490 2483 ··· 2528 2523 pins = "gpio0"; 2529 2524 function = "swr_tx_clk"; 2530 2525 drive-strength = <2>; 2531 - input-enable; 2532 2526 bias-pull-down; 2533 2527 }; 2534 2528 ··· 2535 2531 pins = "gpio1"; 2536 2532 function = "swr_tx_data"; 2537 2533 drive-strength = <2>; 2538 - input-enable; 2539 2534 bias-bus-hold; 2540 2535 }; 2541 2536 ··· 2542 2539 pins = "gpio2"; 2543 2540 function = "swr_tx_data"; 2544 2541 drive-strength = <2>; 2545 - input-enable; 2546 2542 bias-pull-down; 2547 2543 }; 2548 2544 }; ··· 2562 2560 2563 2561 qcom,gmu = <&gmu>; 2564 2562 2563 + nvmem-cells = <&gpu_speed_bin>; 2564 + nvmem-cell-names = "speed_bin"; 2565 + 2565 2566 status = "disabled"; 2566 2567 2567 2568 zap-shader { 2568 2569 memory-region = <&gpu_mem>; 2569 2570 }; 2570 2571 2571 - /* note: downstream checks gpu binning for 670 Mhz */ 2572 2572 gpu_opp_table: opp-table { 2573 2573 compatible = "operating-points-v2"; 2574 2574 2575 2575 opp-670000000 { 2576 2576 opp-hz = /bits/ 64 <670000000>; 2577 2577 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 2578 + opp-supported-hw = <0xa>; 2578 2579 }; 2579 2580 2580 2581 opp-587000000 { 2581 2582 opp-hz = /bits/ 64 <587000000>; 2582 2583 opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 2584 + opp-supported-hw = <0xb>; 2583 2585 }; 2584 2586 2585 2587 opp-525000000 { 2586 2588 opp-hz = /bits/ 64 <525000000>; 2587 2589 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>; 2590 + opp-supported-hw = <0xf>; 2588 2591 }; 2589 2592 2590 2593 opp-490000000 { 2591 2594 opp-hz = /bits/ 64 <490000000>; 2592 2595 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 2596 + opp-supported-hw = <0xf>; 2593 2597 }; 2594 2598 2595 2599 opp-441600000 { 2596 2600 opp-hz = /bits/ 64 <441600000>; 2597 2601 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L0>; 2602 + opp-supported-hw = <0xf>; 2598 2603 }; 2599 2604 2600 2605 opp-400000000 { 2601 2606 opp-hz = /bits/ 64 <400000000>; 2602 2607 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 2608 + opp-supported-hw = <0xf>; 2603 2609 }; 2604 2610 2605 2611 opp-305000000 { 2606 2612 opp-hz = /bits/ 64 <305000000>; 2607 2613 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 2614 + opp-supported-hw = <0xf>; 2608 2615 }; 2609 2616 }; 2610 2617 };
-1
arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi
··· 877 877 function = "gpio"; 878 878 drive-strength = <2>; 879 879 bias-disable; 880 - input-enable; 881 880 }; 882 881 883 882 sdc2_card_det_active: sd-card-det-active-state {
-2
arch/arm64/boot/dts/qcom/sm8350.dtsi
··· 1532 1532 "aggre1", 1533 1533 "aggre0"; 1534 1534 1535 - iommus = <&apps_smmu 0x1c00 0x7f>; 1536 1535 iommu-map = <0x0 &apps_smmu 0x1c00 0x1>, 1537 1536 <0x100 &apps_smmu 0x1c01 0x1>; 1538 1537 ··· 1615 1616 "ddrss_sf_tbu", 1616 1617 "aggre1"; 1617 1618 1618 - iommus = <&apps_smmu 0x1c80 0x7f>; 1619 1619 iommu-map = <0x0 &apps_smmu 0x1c80 0x1>, 1620 1620 <0x100 &apps_smmu 0x1c81 0x1>; 1621 1621
-1
arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi
··· 754 754 function = "gpio"; 755 755 drive-strength = <2>; 756 756 bias-disable; 757 - input-enable; 758 757 }; 759 758 760 759 telec_pwr_en: telec-pwr-en-state {
+4 -8
arch/arm64/boot/dts/qcom/sm8450.dtsi
··· 1786 1786 "aggre0", 1787 1787 "aggre1"; 1788 1788 1789 - iommus = <&apps_smmu 0x1c00 0x7f>; 1790 1789 iommu-map = <0x0 &apps_smmu 0x1c00 0x1>, 1791 1790 <0x100 &apps_smmu 0x1c01 0x1>; 1792 1791 ··· 1898 1899 "ddrss_sf_tbu", 1899 1900 "aggre1"; 1900 1901 1901 - iommus = <&apps_smmu 0x1c80 0x7f>; 1902 1902 iommu-map = <0x0 &apps_smmu 0x1c80 0x1>, 1903 1903 <0x100 &apps_smmu 0x1c81 0x1>; 1904 1904 ··· 2133 2135 #sound-dai-cells = <1>; 2134 2136 }; 2135 2137 2136 - /* WSA2 */ 2137 2138 swr4: soundwire-controller@31f0000 { 2138 2139 compatible = "qcom,soundwire-v1.7.0"; 2139 2140 reg = <0 0x031f0000 0 0x2000>; 2140 2141 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>; 2141 2142 clocks = <&wsa2macro>; 2142 2143 clock-names = "iface"; 2144 + label = "WSA2"; 2143 2145 2144 2146 qcom,din-ports = <2>; 2145 2147 qcom,dout-ports = <6>; ··· 2248 2250 #sound-dai-cells = <1>; 2249 2251 }; 2250 2252 2251 - /* WSA */ 2252 2253 swr0: soundwire-controller@3250000 { 2253 2254 compatible = "qcom,soundwire-v1.7.0"; 2254 2255 reg = <0 0x03250000 0 0x2000>; 2255 2256 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>; 2256 2257 clocks = <&wsamacro>; 2257 2258 clock-names = "iface"; 2259 + label = "WSA"; 2258 2260 2259 2261 qcom,din-ports = <2>; 2260 2262 qcom,dout-ports = <6>; ··· 2278 2280 swr2: soundwire-controller@33b0000 { 2279 2281 compatible = "qcom,soundwire-v1.7.0"; 2280 2282 reg = <0 0x033b0000 0 0x2000>; 2281 - interrupts-extended = <&intc GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH>, 2282 - <&intc GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>; 2283 + interrupts = <GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH>, 2284 + <GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>; 2283 2285 interrupt-names = "core", "wakeup"; 2284 2286 2285 2287 clocks = <&vamacro>; ··· 3688 3690 pins = "gpio7"; 3689 3691 function = "dmic1_data"; 3690 3692 drive-strength = <8>; 3691 - input-enable; 3692 3693 }; 3693 3694 }; 3694 3695 ··· 3703 3706 pins = "gpio9"; 3704 3707 function = "dmic2_data"; 3705 3708 drive-strength = <8>; 3706 - input-enable; 3707 3709 }; 3708 3710 }; 3709 3711
+313 -2
arch/arm64/boot/dts/qcom/sm8550.dtsi
··· 1698 1698 <&gem_noc MASTER_APPSS_PROC 0 &cnoc_main SLAVE_PCIE_0 0>; 1699 1699 interconnect-names = "pcie-mem", "cpu-pcie"; 1700 1700 1701 - iommus = <&apps_smmu 0x1400 0x7f>; 1702 1701 iommu-map = <0x0 &apps_smmu 0x1400 0x1>, 1703 1702 <0x100 &apps_smmu 0x1401 0x1>; 1704 1703 ··· 1794 1795 <&gem_noc MASTER_APPSS_PROC 0 &cnoc_main SLAVE_PCIE_1 0>; 1795 1796 interconnect-names = "pcie-mem", "cpu-pcie"; 1796 1797 1797 - iommus = <&apps_smmu 0x1480 0x7f>; 1798 1798 iommu-map = <0x0 &apps_smmu 0x1480 0x1>, 1799 1799 <0x100 &apps_smmu 0x1481 0x1>; 1800 1800 ··· 1925 1927 <0 0>, 1926 1928 <0 0>, 1927 1929 <0 0>; 1930 + qcom,ice = <&ice>; 1931 + 1928 1932 status = "disabled"; 1933 + }; 1934 + 1935 + ice: crypto@1d88000 { 1936 + compatible = "qcom,sm8550-inline-crypto-engine", 1937 + "qcom,inline-crypto-engine"; 1938 + reg = <0 0x01d88000 0 0x8000>; 1939 + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; 1929 1940 }; 1930 1941 1931 1942 tcsr_mutex: hwlock@1f40000 { ··· 1993 1986 }; 1994 1987 }; 1995 1988 1989 + lpass_wsa2macro: codec@6aa0000 { 1990 + compatible = "qcom,sm8550-lpass-wsa-macro"; 1991 + reg = <0 0x06aa0000 0 0x1000>; 1992 + clocks = <&q6prmcc LPASS_CLK_ID_WSA2_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 1993 + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 1994 + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 1995 + <&lpass_vamacro>; 1996 + clock-names = "mclk", "macro", "dcodec", "fsgen"; 1997 + assigned-clocks = <&q6prmcc LPASS_CLK_ID_WSA2_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; 1998 + assigned-clock-rates = <19200000>; 1999 + 2000 + #clock-cells = <0>; 2001 + clock-output-names = "wsa2-mclk"; 2002 + pinctrl-names = "default"; 2003 + pinctrl-0 = <&wsa2_swr_active>; 2004 + #sound-dai-cells = <1>; 2005 + }; 2006 + 2007 + swr3: soundwire-controller@6ab0000 { 2008 + compatible = "qcom,soundwire-v2.0.0"; 2009 + reg = <0 0x06ab0000 0 0x10000>; 2010 + interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>; 2011 + clocks = <&lpass_wsa2macro>; 2012 + clock-names = "iface"; 2013 + label = "WSA2"; 2014 + 2015 + qcom,din-ports = <4>; 2016 + qcom,dout-ports = <9>; 2017 + 2018 + qcom,ports-sinterval = <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0x18f 0xff 0xff 0x0f 0x0f 0xff 0x31f>; 2019 + qcom,ports-offset1 = /bits/ 8 <0x01 0x03 0x05 0x02 0x04 0x15 0x00 0xff 0xff 0x06 0x0d 0xff 0x00>; 2020 + qcom,ports-offset2 = /bits/ 8 <0xff 0x07 0x1f 0xff 0x07 0x1f 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2021 + qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>; 2022 + qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>; 2023 + qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x18>; 2024 + qcom,ports-block-pack-mode = /bits/ 8 <0x00 0x01 0x01 0x00 0x01 0x01 0x00 0x00 0x00 0x01 0x01 0x00 0x00>; 2025 + qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2026 + qcom,ports-lane-control = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2027 + 2028 + #address-cells = <2>; 2029 + #size-cells = <0>; 2030 + #sound-dai-cells = <1>; 2031 + status = "disabled"; 2032 + }; 2033 + 2034 + lpass_rxmacro: codec@6ac0000 { 2035 + compatible = "qcom,sm8550-lpass-rx-macro"; 2036 + reg = <0 0x06ac0000 0 0x1000>; 2037 + clocks = <&q6prmcc LPASS_CLK_ID_RX_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2038 + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2039 + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2040 + <&lpass_vamacro>; 2041 + clock-names = "mclk", "macro", "dcodec", "fsgen"; 2042 + 2043 + assigned-clocks = <&q6prmcc LPASS_CLK_ID_RX_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; 2044 + assigned-clock-rates = <19200000>; 2045 + 2046 + #clock-cells = <0>; 2047 + clock-output-names = "mclk"; 2048 + pinctrl-names = "default"; 2049 + pinctrl-0 = <&rx_swr_active>; 2050 + #sound-dai-cells = <1>; 2051 + }; 2052 + 2053 + swr1: soundwire-controller@6ad0000 { 2054 + compatible = "qcom,soundwire-v2.0.0"; 2055 + reg = <0 0x06ad0000 0 0x10000>; 2056 + interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 2057 + clocks = <&lpass_rxmacro>; 2058 + clock-names = "iface"; 2059 + label = "RX"; 2060 + 2061 + qcom,din-ports = <0>; 2062 + qcom,dout-ports = <10>; 2063 + 2064 + qcom,ports-sinterval = <0x03 0x3f 0x1f 0x07 0x00 0x18f 0xff 0xff 0xff 0xff>; 2065 + qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x0b 0x01 0x00 0x00 0xff 0xff 0xff 0xff>; 2066 + qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0b 0x00 0x00 0x00 0xff 0xff 0xff 0xff>; 2067 + qcom,ports-hstart = /bits/ 8 <0xff 0x03 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff>; 2068 + qcom,ports-hstop = /bits/ 8 <0xff 0x06 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff>; 2069 + qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xff 0xff 0x0f 0xff 0xff 0xff 0xff>; 2070 + qcom,ports-block-pack-mode = /bits/ 8 <0xff 0x00 0x01 0xff 0xff 0x00 0xff 0xff 0xff 0xff>; 2071 + qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0x00 0x00 0xff 0xff 0xff 0xff>; 2072 + qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00 0x00 0xff 0xff 0xff 0xff>; 2073 + 2074 + #address-cells = <2>; 2075 + #size-cells = <0>; 2076 + #sound-dai-cells = <1>; 2077 + status = "disabled"; 2078 + }; 2079 + 2080 + lpass_txmacro: codec@6ae0000 { 2081 + compatible = "qcom,sm8550-lpass-tx-macro"; 2082 + reg = <0 0x06ae0000 0 0x1000>; 2083 + clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2084 + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2085 + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2086 + <&lpass_vamacro>; 2087 + clock-names = "mclk", "macro", "dcodec", "fsgen"; 2088 + assigned-clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; 2089 + 2090 + assigned-clock-rates = <19200000>; 2091 + 2092 + #clock-cells = <0>; 2093 + clock-output-names = "mclk"; 2094 + pinctrl-names = "default"; 2095 + pinctrl-0 = <&tx_swr_active>; 2096 + #sound-dai-cells = <1>; 2097 + }; 2098 + 2099 + lpass_wsamacro: codec@6b00000 { 2100 + compatible = "qcom,sm8550-lpass-wsa-macro"; 2101 + reg = <0 0x06b00000 0 0x1000>; 2102 + clocks = <&q6prmcc LPASS_CLK_ID_WSA_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2103 + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2104 + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2105 + <&lpass_vamacro>; 2106 + clock-names = "mclk", "macro", "dcodec", "fsgen"; 2107 + 2108 + assigned-clocks = <&q6prmcc LPASS_CLK_ID_WSA_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; 2109 + assigned-clock-rates = <19200000>; 2110 + 2111 + #clock-cells = <0>; 2112 + clock-output-names = "mclk"; 2113 + pinctrl-names = "default"; 2114 + pinctrl-0 = <&wsa_swr_active>; 2115 + #sound-dai-cells = <1>; 2116 + }; 2117 + 2118 + swr0: soundwire-controller@6b10000 { 2119 + compatible = "qcom,soundwire-v2.0.0"; 2120 + reg = <0 0x06b10000 0 0x10000>; 2121 + interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>; 2122 + clocks = <&lpass_wsamacro>; 2123 + clock-names = "iface"; 2124 + label = "WSA"; 2125 + 2126 + qcom,din-ports = <4>; 2127 + qcom,dout-ports = <9>; 2128 + 2129 + qcom,ports-sinterval = <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0x18f 0xff 0xff 0x0f 0x0f 0xff 0x31f>; 2130 + qcom,ports-offset1 = /bits/ 8 <0x01 0x03 0x05 0x02 0x04 0x15 0x00 0xff 0xff 0x06 0x0d 0xff 0x00>; 2131 + qcom,ports-offset2 = /bits/ 8 <0xff 0x07 0x1f 0xff 0x07 0x1f 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2132 + qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>; 2133 + qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x0f>; 2134 + qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff 0xff 0xff 0xff 0xff 0x18>; 2135 + qcom,ports-block-pack-mode = /bits/ 8 <0x00 0x01 0x01 0x00 0x01 0x01 0x00 0x00 0x00 0x01 0x01 0x00 0x00>; 2136 + qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2137 + qcom,ports-lane-control = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2138 + 2139 + #address-cells = <2>; 2140 + #size-cells = <0>; 2141 + #sound-dai-cells = <1>; 2142 + status = "disabled"; 2143 + }; 2144 + 2145 + swr2: soundwire-controller@6d30000 { 2146 + compatible = "qcom,soundwire-v2.0.0"; 2147 + reg = <0 0x06d30000 0 0x10000>; 2148 + interrupts = <GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH>, 2149 + <GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>; 2150 + interrupt-names = "core", "wakeup"; 2151 + clocks = <&lpass_vamacro>; 2152 + clock-names = "iface"; 2153 + label = "TX"; 2154 + 2155 + qcom,din-ports = <4>; 2156 + qcom,dout-ports = <0>; 2157 + qcom,ports-sinterval-low = /bits/ 8 <0x01 0x01 0x03 0x03>; 2158 + qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x01 0x01>; 2159 + qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x00 0x00>; 2160 + qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff>; 2161 + qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff>; 2162 + qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff>; 2163 + qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0xff 0xff>; 2164 + qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff>; 2165 + qcom,ports-lane-control = /bits/ 8 <0x01 0x02 0x00 0x00>; 2166 + 2167 + #address-cells = <2>; 2168 + #size-cells = <0>; 2169 + #sound-dai-cells = <1>; 2170 + status = "disabled"; 2171 + }; 2172 + 2173 + lpass_vamacro: codec@6d44000 { 2174 + compatible = "qcom,sm8550-lpass-va-macro"; 2175 + reg = <0 0x06d44000 0 0x1000>; 2176 + clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2177 + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2178 + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; 2179 + clock-names = "mclk", "macro", "dcodec"; 2180 + 2181 + assigned-clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; 2182 + assigned-clock-rates = <19200000>; 2183 + 2184 + #clock-cells = <0>; 2185 + clock-output-names = "fsgen"; 2186 + #sound-dai-cells = <1>; 2187 + }; 2188 + 1996 2189 lpass_tlmm: pinctrl@6e80000 { 1997 2190 compatible = "qcom,sm8550-lpass-lpi-pinctrl"; 1998 2191 reg = <0 0x06e80000 0 0x20000>, ··· 2204 1997 clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2205 1998 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; 2206 1999 clock-names = "core", "audio"; 2000 + 2001 + tx_swr_active: tx-swr-active-state { 2002 + clk-pins { 2003 + pins = "gpio0"; 2004 + function = "swr_tx_clk"; 2005 + drive-strength = <2>; 2006 + slew-rate = <1>; 2007 + bias-disable; 2008 + }; 2009 + 2010 + data-pins { 2011 + pins = "gpio1", "gpio2", "gpio14"; 2012 + function = "swr_tx_data"; 2013 + drive-strength = <2>; 2014 + slew-rate = <1>; 2015 + bias-bus-hold; 2016 + }; 2017 + }; 2018 + 2019 + rx_swr_active: rx-swr-active-state { 2020 + clk-pins { 2021 + pins = "gpio3"; 2022 + function = "swr_rx_clk"; 2023 + drive-strength = <2>; 2024 + slew-rate = <1>; 2025 + bias-disable; 2026 + }; 2027 + 2028 + data-pins { 2029 + pins = "gpio4", "gpio5"; 2030 + function = "swr_rx_data"; 2031 + drive-strength = <2>; 2032 + slew-rate = <1>; 2033 + bias-bus-hold; 2034 + }; 2035 + }; 2036 + 2037 + dmic01_default: dmic01-default-state { 2038 + clk-pins { 2039 + pins = "gpio6"; 2040 + function = "dmic1_clk"; 2041 + drive-strength = <8>; 2042 + output-high; 2043 + }; 2044 + 2045 + data-pins { 2046 + pins = "gpio7"; 2047 + function = "dmic1_data"; 2048 + drive-strength = <8>; 2049 + input-enable; 2050 + }; 2051 + }; 2052 + 2053 + dmic02_default: dmic02-default-state { 2054 + clk-pins { 2055 + pins = "gpio8"; 2056 + function = "dmic2_clk"; 2057 + drive-strength = <8>; 2058 + output-high; 2059 + }; 2060 + 2061 + data-pins { 2062 + pins = "gpio9"; 2063 + function = "dmic2_data"; 2064 + drive-strength = <8>; 2065 + input-enable; 2066 + }; 2067 + }; 2068 + 2069 + wsa_swr_active: wsa-swr-active-state { 2070 + clk-pins { 2071 + pins = "gpio10"; 2072 + function = "wsa_swr_clk"; 2073 + drive-strength = <2>; 2074 + slew-rate = <1>; 2075 + bias-disable; 2076 + }; 2077 + 2078 + data-pins { 2079 + pins = "gpio11"; 2080 + function = "wsa_swr_data"; 2081 + drive-strength = <2>; 2082 + slew-rate = <1>; 2083 + bias-bus-hold; 2084 + }; 2085 + }; 2086 + 2087 + wsa2_swr_active: wsa2-swr-active-state { 2088 + clk-pins { 2089 + pins = "gpio15"; 2090 + function = "wsa2_swr_clk"; 2091 + drive-strength = <2>; 2092 + slew-rate = <1>; 2093 + bias-disable; 2094 + }; 2095 + 2096 + data-pins { 2097 + pins = "gpio16"; 2098 + function = "wsa2_swr_data"; 2099 + drive-strength = <2>; 2100 + slew-rate = <1>; 2101 + bias-bus-hold; 2102 + }; 2103 + }; 2207 2104 }; 2208 2105 2209 2106 lpass_lpiaon_noc: interconnect@7400000 {
+31 -5
drivers/pinctrl/qcom/pinctrl-msm.c
··· 323 323 break; 324 324 case PIN_CONFIG_OUTPUT: 325 325 case PIN_CONFIG_INPUT_ENABLE: 326 + case PIN_CONFIG_OUTPUT_ENABLE: 326 327 *bit = g->oe_bit; 327 328 *mask = 1; 328 329 break; ··· 415 414 val = msm_readl_io(pctrl, g); 416 415 arg = !!(val & BIT(g->in_bit)); 417 416 break; 418 - case PIN_CONFIG_INPUT_ENABLE: 419 - /* Pin is output */ 420 - if (arg) 417 + case PIN_CONFIG_OUTPUT_ENABLE: 418 + if (!arg) 421 419 return -EINVAL; 422 - arg = 1; 423 420 break; 424 421 default: 425 422 return -ENOTSUPP; ··· 501 502 arg = 1; 502 503 break; 503 504 case PIN_CONFIG_INPUT_ENABLE: 504 - /* disable output */ 505 + /* 506 + * According to pinctrl documentation this should 507 + * actually be a no-op. 508 + * 509 + * The docs are explicit that "this does not affect 510 + * the pin's ability to drive output" but what we do 511 + * here is to modify the output enable bit. Thus, to 512 + * follow the docs we should remove that. 513 + * 514 + * The docs say that we should enable any relevant 515 + * input buffer, but TLMM there is no input buffer that 516 + * can be enabled/disabled. It's always on. 517 + * 518 + * The points above, explain why this _should_ be a 519 + * no-op. However, for historical reasons and to 520 + * support old device trees, we'll violate the docs 521 + * still affect the output. 522 + * 523 + * It should further be noted that this old historical 524 + * behavior actually overrides arg to 0. That means 525 + * that "input-enable" and "input-disable" in a device 526 + * tree would _both_ disable the output. We'll 527 + * continue to preserve this behavior as well since 528 + * we have no other use for this attribute. 529 + */ 505 530 arg = 0; 531 + break; 532 + case PIN_CONFIG_OUTPUT_ENABLE: 533 + arg = !!arg; 506 534 break; 507 535 default: 508 536 dev_err(pctrl->dev, "Unsupported config parameter: %x\n",
+213
include/dt-bindings/clock/qcom,ipq9574-gcc.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + /* 3 + * Copyright (c) 2018-2023 The Linux Foundation. All rights reserved. 4 + */ 5 + 6 + #ifndef _DT_BINDINGS_CLOCK_IPQ_GCC_9574_H 7 + #define _DT_BINDINGS_CLOCK_IPQ_GCC_9574_H 8 + 9 + #define GPLL0_MAIN 0 10 + #define GPLL0 1 11 + #define GPLL2_MAIN 2 12 + #define GPLL2 3 13 + #define GPLL4_MAIN 4 14 + #define GPLL4 5 15 + #define GCC_SLEEP_CLK_SRC 6 16 + #define APSS_AHB_CLK_SRC 7 17 + #define APSS_AXI_CLK_SRC 8 18 + #define BLSP1_QUP1_I2C_APPS_CLK_SRC 9 19 + #define BLSP1_QUP1_SPI_APPS_CLK_SRC 10 20 + #define BLSP1_QUP2_I2C_APPS_CLK_SRC 11 21 + #define BLSP1_QUP2_SPI_APPS_CLK_SRC 12 22 + #define BLSP1_QUP3_I2C_APPS_CLK_SRC 13 23 + #define BLSP1_QUP3_SPI_APPS_CLK_SRC 14 24 + #define BLSP1_QUP4_I2C_APPS_CLK_SRC 15 25 + #define BLSP1_QUP4_SPI_APPS_CLK_SRC 16 26 + #define BLSP1_QUP5_I2C_APPS_CLK_SRC 17 27 + #define BLSP1_QUP5_SPI_APPS_CLK_SRC 18 28 + #define BLSP1_QUP6_I2C_APPS_CLK_SRC 19 29 + #define BLSP1_QUP6_SPI_APPS_CLK_SRC 20 30 + #define BLSP1_UART1_APPS_CLK_SRC 21 31 + #define BLSP1_UART2_APPS_CLK_SRC 22 32 + #define BLSP1_UART3_APPS_CLK_SRC 23 33 + #define BLSP1_UART4_APPS_CLK_SRC 24 34 + #define BLSP1_UART5_APPS_CLK_SRC 25 35 + #define BLSP1_UART6_APPS_CLK_SRC 26 36 + #define GCC_APSS_AHB_CLK 27 37 + #define GCC_APSS_AXI_CLK 28 38 + #define GCC_BLSP1_QUP1_I2C_APPS_CLK 29 39 + #define GCC_BLSP1_QUP1_SPI_APPS_CLK 30 40 + #define GCC_BLSP1_QUP2_I2C_APPS_CLK 31 41 + #define GCC_BLSP1_QUP2_SPI_APPS_CLK 32 42 + #define GCC_BLSP1_QUP3_I2C_APPS_CLK 33 43 + #define GCC_BLSP1_QUP3_SPI_APPS_CLK 34 44 + #define GCC_BLSP1_QUP4_I2C_APPS_CLK 35 45 + #define GCC_BLSP1_QUP4_SPI_APPS_CLK 36 46 + #define GCC_BLSP1_QUP5_I2C_APPS_CLK 37 47 + #define GCC_BLSP1_QUP5_SPI_APPS_CLK 38 48 + #define GCC_BLSP1_QUP6_I2C_APPS_CLK 39 49 + #define GCC_BLSP1_QUP6_SPI_APPS_CLK 40 50 + #define GCC_BLSP1_UART1_APPS_CLK 41 51 + #define GCC_BLSP1_UART2_APPS_CLK 42 52 + #define GCC_BLSP1_UART3_APPS_CLK 43 53 + #define GCC_BLSP1_UART4_APPS_CLK 44 54 + #define GCC_BLSP1_UART5_APPS_CLK 45 55 + #define GCC_BLSP1_UART6_APPS_CLK 46 56 + #define PCIE0_AXI_M_CLK_SRC 47 57 + #define GCC_PCIE0_AXI_M_CLK 48 58 + #define PCIE1_AXI_M_CLK_SRC 49 59 + #define GCC_PCIE1_AXI_M_CLK 50 60 + #define PCIE2_AXI_M_CLK_SRC 51 61 + #define GCC_PCIE2_AXI_M_CLK 52 62 + #define PCIE3_AXI_M_CLK_SRC 53 63 + #define GCC_PCIE3_AXI_M_CLK 54 64 + #define PCIE0_AXI_S_CLK_SRC 55 65 + #define GCC_PCIE0_AXI_S_BRIDGE_CLK 56 66 + #define GCC_PCIE0_AXI_S_CLK 57 67 + #define PCIE1_AXI_S_CLK_SRC 58 68 + #define GCC_PCIE1_AXI_S_BRIDGE_CLK 59 69 + #define GCC_PCIE1_AXI_S_CLK 60 70 + #define PCIE2_AXI_S_CLK_SRC 61 71 + #define GCC_PCIE2_AXI_S_BRIDGE_CLK 62 72 + #define GCC_PCIE2_AXI_S_CLK 63 73 + #define PCIE3_AXI_S_CLK_SRC 64 74 + #define GCC_PCIE3_AXI_S_BRIDGE_CLK 65 75 + #define GCC_PCIE3_AXI_S_CLK 66 76 + #define PCIE0_PIPE_CLK_SRC 67 77 + #define PCIE1_PIPE_CLK_SRC 68 78 + #define PCIE2_PIPE_CLK_SRC 69 79 + #define PCIE3_PIPE_CLK_SRC 70 80 + #define PCIE_AUX_CLK_SRC 71 81 + #define GCC_PCIE0_AUX_CLK 72 82 + #define GCC_PCIE1_AUX_CLK 73 83 + #define GCC_PCIE2_AUX_CLK 74 84 + #define GCC_PCIE3_AUX_CLK 75 85 + #define PCIE0_RCHNG_CLK_SRC 76 86 + #define GCC_PCIE0_RCHNG_CLK 77 87 + #define PCIE1_RCHNG_CLK_SRC 78 88 + #define GCC_PCIE1_RCHNG_CLK 79 89 + #define PCIE2_RCHNG_CLK_SRC 80 90 + #define GCC_PCIE2_RCHNG_CLK 81 91 + #define PCIE3_RCHNG_CLK_SRC 82 92 + #define GCC_PCIE3_RCHNG_CLK 83 93 + #define GCC_PCIE0_AHB_CLK 84 94 + #define GCC_PCIE1_AHB_CLK 85 95 + #define GCC_PCIE2_AHB_CLK 86 96 + #define GCC_PCIE3_AHB_CLK 87 97 + #define USB0_AUX_CLK_SRC 88 98 + #define GCC_USB0_AUX_CLK 89 99 + #define USB0_MASTER_CLK_SRC 90 100 + #define GCC_USB0_MASTER_CLK 91 101 + #define GCC_SNOC_USB_CLK 92 102 + #define GCC_ANOC_USB_AXI_CLK 93 103 + #define USB0_MOCK_UTMI_CLK_SRC 94 104 + #define USB0_MOCK_UTMI_DIV_CLK_SRC 95 105 + #define GCC_USB0_MOCK_UTMI_CLK 96 106 + #define USB0_PIPE_CLK_SRC 97 107 + #define GCC_USB0_PHY_CFG_AHB_CLK 98 108 + #define SDCC1_APPS_CLK_SRC 99 109 + #define GCC_SDCC1_APPS_CLK 100 110 + #define SDCC1_ICE_CORE_CLK_SRC 101 111 + #define GCC_SDCC1_ICE_CORE_CLK 102 112 + #define GCC_SDCC1_AHB_CLK 103 113 + #define PCNOC_BFDCD_CLK_SRC 104 114 + #define GCC_NSSCFG_CLK 105 115 + #define GCC_NSSNOC_NSSCC_CLK 106 116 + #define GCC_NSSCC_CLK 107 117 + #define GCC_NSSNOC_PCNOC_1_CLK 108 118 + #define GCC_QDSS_DAP_AHB_CLK 109 119 + #define GCC_QDSS_CFG_AHB_CLK 110 120 + #define GCC_QPIC_AHB_CLK 111 121 + #define GCC_QPIC_CLK 112 122 + #define GCC_BLSP1_AHB_CLK 113 123 + #define GCC_MDIO_AHB_CLK 114 124 + #define GCC_PRNG_AHB_CLK 115 125 + #define GCC_UNIPHY0_AHB_CLK 116 126 + #define GCC_UNIPHY1_AHB_CLK 117 127 + #define GCC_UNIPHY2_AHB_CLK 118 128 + #define GCC_CMN_12GPLL_AHB_CLK 119 129 + #define GCC_CMN_12GPLL_APU_CLK 120 130 + #define SYSTEM_NOC_BFDCD_CLK_SRC 121 131 + #define GCC_NSSNOC_SNOC_CLK 122 132 + #define GCC_NSSNOC_SNOC_1_CLK 123 133 + #define GCC_QDSS_ETR_USB_CLK 124 134 + #define WCSS_AHB_CLK_SRC 125 135 + #define GCC_Q6_AHB_CLK 126 136 + #define GCC_Q6_AHB_S_CLK 127 137 + #define GCC_WCSS_ECAHB_CLK 128 138 + #define GCC_WCSS_ACMT_CLK 129 139 + #define GCC_SYS_NOC_WCSS_AHB_CLK 130 140 + #define WCSS_AXI_M_CLK_SRC 131 141 + #define GCC_ANOC_WCSS_AXI_M_CLK 132 142 + #define QDSS_AT_CLK_SRC 133 143 + #define GCC_Q6SS_ATBM_CLK 134 144 + #define GCC_WCSS_DBG_IFC_ATB_CLK 135 145 + #define GCC_NSSNOC_ATB_CLK 136 146 + #define GCC_QDSS_AT_CLK 137 147 + #define GCC_SYS_NOC_AT_CLK 138 148 + #define GCC_PCNOC_AT_CLK 139 149 + #define GCC_USB0_EUD_AT_CLK 140 150 + #define GCC_QDSS_EUD_AT_CLK 141 151 + #define QDSS_STM_CLK_SRC 142 152 + #define GCC_QDSS_STM_CLK 143 153 + #define GCC_SYS_NOC_QDSS_STM_AXI_CLK 144 154 + #define QDSS_TRACECLKIN_CLK_SRC 145 155 + #define GCC_QDSS_TRACECLKIN_CLK 146 156 + #define QDSS_TSCTR_CLK_SRC 147 157 + #define GCC_Q6_TSCTR_1TO2_CLK 148 158 + #define GCC_WCSS_DBG_IFC_NTS_CLK 149 159 + #define GCC_QDSS_TSCTR_DIV2_CLK 150 160 + #define GCC_QDSS_TS_CLK 151 161 + #define GCC_QDSS_TSCTR_DIV4_CLK 152 162 + #define GCC_NSS_TS_CLK 153 163 + #define GCC_QDSS_TSCTR_DIV8_CLK 154 164 + #define GCC_QDSS_TSCTR_DIV16_CLK 155 165 + #define GCC_Q6SS_PCLKDBG_CLK 156 166 + #define GCC_Q6SS_TRIG_CLK 157 167 + #define GCC_WCSS_DBG_IFC_APB_CLK 158 168 + #define GCC_WCSS_DBG_IFC_DAPBUS_CLK 159 169 + #define GCC_QDSS_DAP_CLK 160 170 + #define GCC_QDSS_APB2JTAG_CLK 161 171 + #define GCC_QDSS_TSCTR_DIV3_CLK 162 172 + #define QPIC_IO_MACRO_CLK_SRC 163 173 + #define GCC_QPIC_IO_MACRO_CLK 164 174 + #define Q6_AXI_CLK_SRC 165 175 + #define GCC_Q6_AXIM_CLK 166 176 + #define GCC_WCSS_Q6_TBU_CLK 167 177 + #define GCC_MEM_NOC_Q6_AXI_CLK 168 178 + #define Q6_AXIM2_CLK_SRC 169 179 + #define NSSNOC_MEMNOC_BFDCD_CLK_SRC 170 180 + #define GCC_NSSNOC_MEMNOC_CLK 171 181 + #define GCC_NSSNOC_MEM_NOC_1_CLK 172 182 + #define GCC_NSS_TBU_CLK 173 183 + #define GCC_MEM_NOC_NSSNOC_CLK 174 184 + #define LPASS_AXIM_CLK_SRC 175 185 + #define LPASS_SWAY_CLK_SRC 176 186 + #define ADSS_PWM_CLK_SRC 177 187 + #define GCC_ADSS_PWM_CLK 178 188 + #define GP1_CLK_SRC 179 189 + #define GP2_CLK_SRC 180 190 + #define GP3_CLK_SRC 181 191 + #define DDRSS_SMS_SLOW_CLK_SRC 182 192 + #define GCC_XO_CLK_SRC 183 193 + #define GCC_XO_CLK 184 194 + #define GCC_NSSNOC_QOSGEN_REF_CLK 185 195 + #define GCC_NSSNOC_TIMEOUT_REF_CLK 186 196 + #define GCC_XO_DIV4_CLK 187 197 + #define GCC_UNIPHY0_SYS_CLK 188 198 + #define GCC_UNIPHY1_SYS_CLK 189 199 + #define GCC_UNIPHY2_SYS_CLK 190 200 + #define GCC_CMN_12GPLL_SYS_CLK 191 201 + #define GCC_NSSNOC_XO_DCD_CLK 192 202 + #define GCC_Q6SS_BOOT_CLK 193 203 + #define UNIPHY_SYS_CLK_SRC 194 204 + #define NSS_TS_CLK_SRC 195 205 + #define GCC_ANOC_PCIE0_1LANE_M_CLK 196 206 + #define GCC_ANOC_PCIE1_1LANE_M_CLK 197 207 + #define GCC_ANOC_PCIE2_2LANE_M_CLK 198 208 + #define GCC_ANOC_PCIE3_2LANE_M_CLK 199 209 + #define GCC_SNOC_PCIE0_1LANE_S_CLK 200 210 + #define GCC_SNOC_PCIE1_1LANE_S_CLK 201 211 + #define GCC_SNOC_PCIE2_2LANE_S_CLK 202 212 + #define GCC_SNOC_PCIE3_2LANE_S_CLK 203 213 + #endif
+2
include/dt-bindings/firmware/qcom,scm.h
··· 8 8 #define _DT_BINDINGS_FIRMWARE_QCOM_SCM_H 9 9 10 10 #define QCOM_SCM_VMID_HLOS 0x3 11 + #define QCOM_SCM_VMID_SSC_Q6 0x5 12 + #define QCOM_SCM_VMID_ADSP_Q6 0x6 11 13 #define QCOM_SCM_VMID_MSS_MSA 0xF 12 14 #define QCOM_SCM_VMID_WLAN 0x18 13 15 #define QCOM_SCM_VMID_WLAN_CE 0x19
+164
include/dt-bindings/reset/qcom,ipq9574-gcc.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 + /* 3 + * Copyright (c) 2018-2023, The Linux Foundation. All rights reserved. 4 + */ 5 + 6 + #ifndef _DT_BINDINGS_RESET_IPQ_GCC_9574_H 7 + #define _DT_BINDINGS_RESET_IPQ_GCC_9574_H 8 + 9 + #define GCC_ADSS_BCR 0 10 + #define GCC_APC0_VOLTAGE_DROOP_DETECTOR_BCR 1 11 + #define GCC_BLSP1_BCR 2 12 + #define GCC_BLSP1_QUP1_BCR 3 13 + #define GCC_BLSP1_QUP2_BCR 4 14 + #define GCC_BLSP1_QUP3_BCR 5 15 + #define GCC_BLSP1_QUP4_BCR 6 16 + #define GCC_BLSP1_QUP5_BCR 7 17 + #define GCC_BLSP1_QUP6_BCR 8 18 + #define GCC_BLSP1_UART1_BCR 9 19 + #define GCC_BLSP1_UART2_BCR 10 20 + #define GCC_BLSP1_UART3_BCR 11 21 + #define GCC_BLSP1_UART4_BCR 12 22 + #define GCC_BLSP1_UART5_BCR 13 23 + #define GCC_BLSP1_UART6_BCR 14 24 + #define GCC_BOOT_ROM_BCR 15 25 + #define GCC_MDIO_BCR 16 26 + #define GCC_NSS_BCR 17 27 + #define GCC_NSS_TBU_BCR 18 28 + #define GCC_PCIE0_BCR 19 29 + #define GCC_PCIE0_LINK_DOWN_BCR 20 30 + #define GCC_PCIE0_PHY_BCR 21 31 + #define GCC_PCIE0PHY_PHY_BCR 22 32 + #define GCC_PCIE1_BCR 23 33 + #define GCC_PCIE1_LINK_DOWN_BCR 24 34 + #define GCC_PCIE1_PHY_BCR 25 35 + #define GCC_PCIE1PHY_PHY_BCR 26 36 + #define GCC_PCIE2_BCR 27 37 + #define GCC_PCIE2_LINK_DOWN_BCR 28 38 + #define GCC_PCIE2_PHY_BCR 29 39 + #define GCC_PCIE2PHY_PHY_BCR 30 40 + #define GCC_PCIE3_BCR 31 41 + #define GCC_PCIE3_LINK_DOWN_BCR 32 42 + #define GCC_PCIE3_PHY_BCR 33 43 + #define GCC_PCIE3PHY_PHY_BCR 34 44 + #define GCC_PRNG_BCR 35 45 + #define GCC_QUSB2_0_PHY_BCR 36 46 + #define GCC_SDCC_BCR 37 47 + #define GCC_TLMM_BCR 38 48 + #define GCC_UNIPHY0_BCR 39 49 + #define GCC_UNIPHY1_BCR 40 50 + #define GCC_UNIPHY2_BCR 41 51 + #define GCC_USB0_PHY_BCR 42 52 + #define GCC_USB3PHY_0_PHY_BCR 43 53 + #define GCC_USB_BCR 44 54 + #define GCC_ANOC0_TBU_BCR 45 55 + #define GCC_ANOC1_TBU_BCR 46 56 + #define GCC_ANOC_BCR 47 57 + #define GCC_APSS_TCU_BCR 48 58 + #define GCC_CMN_BLK_BCR 49 59 + #define GCC_CMN_BLK_AHB_ARES 50 60 + #define GCC_CMN_BLK_SYS_ARES 51 61 + #define GCC_CMN_BLK_APU_ARES 52 62 + #define GCC_DCC_BCR 53 63 + #define GCC_DDRSS_BCR 54 64 + #define GCC_IMEM_BCR 55 65 + #define GCC_LPASS_BCR 56 66 + #define GCC_MPM_BCR 57 67 + #define GCC_MSG_RAM_BCR 58 68 + #define GCC_NSSNOC_MEMNOC_1_ARES 59 69 + #define GCC_NSSNOC_PCNOC_1_ARES 60 70 + #define GCC_NSSNOC_SNOC_1_ARES 61 71 + #define GCC_NSSNOC_XO_DCD_ARES 62 72 + #define GCC_NSSNOC_TS_ARES 63 73 + #define GCC_NSSCC_ARES 64 74 + #define GCC_NSSNOC_NSSCC_ARES 65 75 + #define GCC_NSSNOC_ATB_ARES 66 76 + #define GCC_NSSNOC_MEMNOC_ARES 67 77 + #define GCC_NSSNOC_QOSGEN_REF_ARES 68 78 + #define GCC_NSSNOC_SNOC_ARES 69 79 + #define GCC_NSSNOC_TIMEOUT_REF_ARES 70 80 + #define GCC_NSS_CFG_ARES 71 81 + #define GCC_UBI0_DBG_ARES 72 82 + #define GCC_PCIE0_AHB_ARES 73 83 + #define GCC_PCIE0_AUX_ARES 74 84 + #define GCC_PCIE0_AXI_M_ARES 75 85 + #define GCC_PCIE0_AXI_M_STICKY_ARES 76 86 + #define GCC_PCIE0_AXI_S_ARES 77 87 + #define GCC_PCIE0_AXI_S_STICKY_ARES 78 88 + #define GCC_PCIE0_CORE_STICKY_ARES 79 89 + #define GCC_PCIE0_PIPE_ARES 80 90 + #define GCC_PCIE1_AHB_ARES 81 91 + #define GCC_PCIE1_AUX_ARES 82 92 + #define GCC_PCIE1_AXI_M_ARES 83 93 + #define GCC_PCIE1_AXI_M_STICKY_ARES 84 94 + #define GCC_PCIE1_AXI_S_ARES 85 95 + #define GCC_PCIE1_AXI_S_STICKY_ARES 86 96 + #define GCC_PCIE1_CORE_STICKY_ARES 87 97 + #define GCC_PCIE1_PIPE_ARES 88 98 + #define GCC_PCIE2_AHB_ARES 89 99 + #define GCC_PCIE2_AUX_ARES 90 100 + #define GCC_PCIE2_AXI_M_ARES 91 101 + #define GCC_PCIE2_AXI_M_STICKY_ARES 92 102 + #define GCC_PCIE2_AXI_S_ARES 93 103 + #define GCC_PCIE2_AXI_S_STICKY_ARES 94 104 + #define GCC_PCIE2_CORE_STICKY_ARES 95 105 + #define GCC_PCIE2_PIPE_ARES 96 106 + #define GCC_PCIE3_AHB_ARES 97 107 + #define GCC_PCIE3_AUX_ARES 98 108 + #define GCC_PCIE3_AXI_M_ARES 99 109 + #define GCC_PCIE3_AXI_M_STICKY_ARES 100 110 + #define GCC_PCIE3_AXI_S_ARES 101 111 + #define GCC_PCIE3_AXI_S_STICKY_ARES 102 112 + #define GCC_PCIE3_CORE_STICKY_ARES 103 113 + #define GCC_PCIE3_PIPE_ARES 104 114 + #define GCC_PCNOC_BCR 105 115 + #define GCC_PCNOC_BUS_TIMEOUT0_BCR 106 116 + #define GCC_PCNOC_BUS_TIMEOUT1_BCR 107 117 + #define GCC_PCNOC_BUS_TIMEOUT2_BCR 108 118 + #define GCC_PCNOC_BUS_TIMEOUT3_BCR 109 119 + #define GCC_PCNOC_BUS_TIMEOUT4_BCR 110 120 + #define GCC_PCNOC_BUS_TIMEOUT5_BCR 111 121 + #define GCC_PCNOC_BUS_TIMEOUT6_BCR 112 122 + #define GCC_PCNOC_BUS_TIMEOUT7_BCR 113 123 + #define GCC_PCNOC_BUS_TIMEOUT8_BCR 114 124 + #define GCC_PCNOC_BUS_TIMEOUT9_BCR 115 125 + #define GCC_PCNOC_TBU_BCR 116 126 + #define GCC_Q6SS_DBG_ARES 117 127 + #define GCC_Q6_AHB_ARES 118 128 + #define GCC_Q6_AHB_S_ARES 119 129 + #define GCC_Q6_AXIM2_ARES 120 130 + #define GCC_Q6_AXIM_ARES 121 131 + #define GCC_QDSS_BCR 122 132 + #define GCC_QPIC_BCR 123 133 + #define GCC_QPIC_AHB_ARES 124 134 + #define GCC_QPIC_ARES 125 135 + #define GCC_RBCPR_BCR 126 136 + #define GCC_RBCPR_MX_BCR 127 137 + #define GCC_SEC_CTRL_BCR 128 138 + #define GCC_SMMU_CFG_BCR 129 139 + #define GCC_SNOC_BCR 130 140 + #define GCC_SPDM_BCR 131 141 + #define GCC_TME_BCR 132 142 + #define GCC_UNIPHY0_SYS_RESET 133 143 + #define GCC_UNIPHY0_AHB_RESET 134 144 + #define GCC_UNIPHY0_XPCS_RESET 135 145 + #define GCC_UNIPHY1_SYS_RESET 136 146 + #define GCC_UNIPHY1_AHB_RESET 137 147 + #define GCC_UNIPHY1_XPCS_RESET 138 148 + #define GCC_UNIPHY2_SYS_RESET 139 149 + #define GCC_UNIPHY2_AHB_RESET 140 150 + #define GCC_UNIPHY2_XPCS_RESET 141 151 + #define GCC_USB_MISC_RESET 142 152 + #define GCC_WCSSAON_RESET 143 153 + #define GCC_WCSS_ACMT_ARES 144 154 + #define GCC_WCSS_AHB_S_ARES 145 155 + #define GCC_WCSS_AXI_M_ARES 146 156 + #define GCC_WCSS_BCR 147 157 + #define GCC_WCSS_DBG_ARES 148 158 + #define GCC_WCSS_DBG_BDG_ARES 149 159 + #define GCC_WCSS_ECAHB_ARES 150 160 + #define GCC_WCSS_Q6_BCR 151 161 + #define GCC_WCSS_Q6_TBU_BCR 152 162 + #define GCC_TCSR_BCR 153 163 + 164 + #endif