-
Notifications
You must be signed in to change notification settings - Fork 133
arm64: dts: qcom: Add RPM GLINK transport for Shikra #791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
quic-vishsant
wants to merge
5
commits into
qualcomm-linux:early/hwe/shikra/dt
Choose a base branch
from
quic-vishsant:for-shikra
base: early/hwe/shikra/dt
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
e2fb835
arm64: dts: qcom: Introduce Shikra Soc base dtsi
Komal-Bajaj ed31e62
arm64: dts: qcom: Add Shikra IoT SoM platforms
Komal-Bajaj ebaa0e6
arm64: dts: qcom: Add Shikra EVK boards
Komal-Bajaj 1225887
dt-bindings: mailbox: qcom,apcs-kpss-global: Add Shikra compatible
quic-vishsant 4875041
arm64: dts: qcom: Add RPM GLINK transport nodes
quic-vishsant File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,6 +64,7 @@ properties: | |
| - qcom,ipq6018-apcs-apps-global | ||
| - qcom,msm8996-apcs-hmss-global | ||
| - qcom,qcm2290-apcs-hmss-global | ||
| - qcom,shikra-apcs-hmss-global | ||
| - qcom,sdm845-apss-shared | ||
|
|
||
| reg: | ||
|
|
@@ -237,6 +238,7 @@ allOf: | |
| - qcom,msm8994-apcs-kpss-global | ||
| - qcom,msm8996-apcs-hmss-global | ||
| - qcom,qcm2290-apcs-hmss-global | ||
| - qcom,shikra-apcs-hmss-global | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
| - qcom,sdm845-apss-shared | ||
| then: | ||
| properties: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| // SPDX-License-Identifier: BSD-3-Clause | ||
| /* | ||
| * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | ||
| */ | ||
|
|
||
| /dts-v1/; | ||
|
|
||
| #include "shikra-cqm-som.dtsi" | ||
|
|
||
| / { | ||
| model = "Qualcomm Technologies, Inc. Shikra CQM EVK"; | ||
| compatible = "qcom,shikra-cqm-evk", "qcom,shikra-cqm-som", "qcom,shikra"; | ||
| chassis-type = "embedded"; | ||
|
|
||
| aliases { | ||
| }; | ||
|
|
||
| chosen { | ||
| stdout-path = "serial0:115200n8"; | ||
| }; | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| // SPDX-License-Identifier: BSD-3-Clause | ||
| /* | ||
| * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | ||
| */ | ||
|
|
||
| #include "shikra.dtsi" | ||
|
|
||
| /* Modem, Cocos + Kunlun PMIC */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| // SPDX-License-Identifier: BSD-3-Clause | ||
| /* | ||
| * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | ||
| */ | ||
|
|
||
| /dts-v1/; | ||
|
|
||
| #include "shikra-cqs-som.dtsi" | ||
|
|
||
| / { | ||
| model = "Qualcomm Technologies, Inc. Shikra CQS EVK"; | ||
| compatible = "qcom,shikra-cqs-evk", "qcom,shikra-cqs-som", "qcom,shikra"; | ||
| chassis-type = "embedded"; | ||
|
|
||
| aliases { | ||
| }; | ||
|
|
||
| chosen { | ||
| stdout-path = "serial0:115200n8"; | ||
| }; | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| // SPDX-License-Identifier: BSD-3-Clause | ||
| /* | ||
| * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | ||
| */ | ||
|
|
||
| #include "shikra.dtsi" | ||
|
|
||
| /* APQ (No Modem), Cocos + Kunlun PMIC */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| // SPDX-License-Identifier: BSD-3-Clause | ||
| /* | ||
| * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | ||
| */ | ||
|
|
||
| /* Common daughter cards nodes to be added: | ||
| * QPS615 DC | ||
| * MIC DC | ||
| * Display DC | ||
| * Camera DC | ||
| * USB hub DC | ||
| * Sensor DC | ||
| * NFC DC | ||
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| // SPDX-License-Identifier: BSD-3-Clause | ||
| /* | ||
| * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | ||
| */ | ||
|
|
||
| /dts-v1/; | ||
|
|
||
| #include "shikra-iqs-som.dtsi" | ||
|
|
||
| / { | ||
| model = "Qualcomm Technologies, Inc. Shikra IQS EVK"; | ||
| compatible = "qcom,shikra-iqs-evk", "qcom,shikra-iqs-som", "qcom,shikra"; | ||
| chassis-type = "embedded"; | ||
|
|
||
| aliases { | ||
| }; | ||
|
|
||
| chosen { | ||
| stdout-path = "serial0:115200n8"; | ||
| }; | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| // SPDX-License-Identifier: BSD-3-Clause | ||
| /* | ||
| * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | ||
| */ | ||
|
|
||
| #include "shikra.dtsi" | ||
|
|
||
| /* APQ (No Modem), Wailua PMIC */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,236 @@ | ||
| // SPDX-License-Identifier: BSD-3-Clause | ||
| /* | ||
| * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. | ||
| */ | ||
|
|
||
| #include <dt-bindings/interrupt-controller/arm-gic.h> | ||
|
|
||
| / { | ||
| interrupt-parent = <&intc>; | ||
|
|
||
| #address-cells = <2>; | ||
| #size-cells = <2>; | ||
|
|
||
| cpus { | ||
| #address-cells = <2>; | ||
| #size-cells = <0>; | ||
|
|
||
| cpu0: cpu@0 { | ||
| device_type = "cpu"; | ||
| compatible = "arm,cortex-a55"; | ||
| reg = <0x0 0x0>; | ||
| enable-method = "psci"; | ||
| next-level-cache = <&l3>; | ||
| capacity-dmips-mhz = <1024>; | ||
| dynamic-power-coefficient = <100>; | ||
| }; | ||
|
|
||
| cpu1: cpu@100 { | ||
| device_type = "cpu"; | ||
| compatible = "arm,cortex-a55"; | ||
| reg = <0x0 0x100>; | ||
| enable-method = "psci"; | ||
| next-level-cache = <&l3>; | ||
| capacity-dmips-mhz = <1024>; | ||
| dynamic-power-coefficient = <100>; | ||
| }; | ||
|
|
||
| cpu2: cpu@200 { | ||
| device_type = "cpu"; | ||
| compatible = "arm,cortex-a55"; | ||
| reg = <0x0 0x200>; | ||
| enable-method = "psci"; | ||
| next-level-cache = <&l3>; | ||
| capacity-dmips-mhz = <1024>; | ||
| dynamic-power-coefficient = <100>; | ||
| }; | ||
|
|
||
| cpu3: cpu@300 { | ||
| device_type = "cpu"; | ||
| compatible = "arm,cortex-a78c"; | ||
| reg = <0x0 0x300>; | ||
| enable-method = "psci"; | ||
| next-level-cache = <&l2_3>; | ||
| capacity-dmips-mhz = <1946>; | ||
| dynamic-power-coefficient = <486>; | ||
|
|
||
| l2_3: l2-cache { | ||
| compatible = "cache"; | ||
| cache-level = <2>; | ||
| cache-unified; | ||
| next-level-cache = <&l3>; | ||
| }; | ||
| }; | ||
|
|
||
| cpu-map { | ||
| cluster0 { | ||
| core0 { | ||
| cpu = <&cpu0>; | ||
| }; | ||
|
|
||
| core1 { | ||
| cpu = <&cpu1>; | ||
| }; | ||
|
|
||
| core2 { | ||
| cpu = <&cpu2>; | ||
| }; | ||
| }; | ||
|
|
||
| cluster1 { | ||
| core0 { | ||
| cpu = <&cpu3>; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| l3: l3-cache { | ||
| compatible = "cache"; | ||
| cache-level = <3>; | ||
| cache-unified; | ||
| }; | ||
| }; | ||
|
|
||
| memory@a0000000 { | ||
| device_type = "memory"; | ||
| /* We expect the bootloader to fill in the size */ | ||
| reg = <0x0 0xa0000000 0x0 0x0>; | ||
| }; | ||
|
|
||
| pmu { | ||
| compatible = "arm,armv8-pmuv3"; | ||
| interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>; | ||
| }; | ||
|
|
||
| reserved-memory { | ||
| #address-cells = <2>; | ||
| #size-cells = <2>; | ||
| }; | ||
|
|
||
| soc: soc@0 { | ||
| compatible = "simple-bus"; | ||
|
|
||
| #address-cells = <2>; | ||
| #size-cells = <2>; | ||
| dma-ranges = <0x0 0x0 0x0 0x0 0x10 0x0>; | ||
| ranges = <0x0 0x0 0x0 0x0 0x10 0x0>; | ||
|
|
||
| sram@c11e000 { | ||
| compatible = "qcom,shikra-imem", "mmio-sram"; | ||
| reg = <0x0 0x0c11e000 0x0 0x1000>; | ||
| ranges = <0x0 0x0 0x0c11e000 0x1000>; | ||
|
|
||
| #address-cells = <1>; | ||
| #size-cells = <1>; | ||
|
|
||
| pil-sram@94c { | ||
| compatible = "qcom,pil-reloc-info"; | ||
| reg = <0x94c 0xc8>; | ||
| }; | ||
| }; | ||
|
|
||
| intc: interrupt-controller@f200000 { | ||
| compatible = "arm,gic-v3"; | ||
| reg = <0x0 0xf200000 0x0 0x10000>, /* GICD */ | ||
| <0x0 0xf240000 0x0 0x80000>; /* GICR * 4 regions */ | ||
|
|
||
| interrupts = <GIC_PPI 8 IRQ_TYPE_LEVEL_HIGH>; | ||
|
|
||
| #interrupt-cells = <3>; | ||
| interrupt-controller; | ||
|
|
||
| #redistributor-regions = <1>; | ||
| redistributor-stride = <0x0 0x20000>; | ||
|
|
||
| #address-cells = <2>; | ||
| #size-cells = <2>; | ||
| ranges; | ||
| }; | ||
|
|
||
| timer@f420000 { | ||
| compatible = "arm,armv7-timer-mem"; | ||
| reg = <0x0 0x0f420000 0x0 0x1000>; | ||
|
|
||
| #address-cells = <2>; | ||
| #size-cells = <1>; | ||
| ranges = <0x0 0x0 0x0 0x10000000>; | ||
|
|
||
| frame@f421000 { | ||
| reg = <0x0 0x0f421000 0x1000>, | ||
| <0x0 0x0f422000 0x1000>; | ||
| frame-number = <0>; | ||
| interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, | ||
| <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; | ||
| }; | ||
|
|
||
| frame@f423000 { | ||
| reg = <0x0 0x0f423000 0x1000>; | ||
| frame-number = <1>; | ||
| interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; | ||
| status = "disabled"; | ||
| }; | ||
|
|
||
| frame@f425000 { | ||
| reg = <0x0 0x0f425000 0x1000>; | ||
| frame-number = <2>; | ||
| interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; | ||
| status = "disabled"; | ||
| }; | ||
|
|
||
| frame@f427000 { | ||
| reg = <0x0 0x0f427000 0x1000>; | ||
| frame-number = <3>; | ||
| interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; | ||
| status = "disabled"; | ||
| }; | ||
|
|
||
| frame@f429000 { | ||
| reg = <0x0 0x0f429000 0x1000>; | ||
| frame-number = <4>; | ||
| interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; | ||
| status = "disabled"; | ||
| }; | ||
|
|
||
| frame@f42b000 { | ||
| reg = <0x0 0x0f42b000 0x1000>; | ||
| frame-number = <5>; | ||
| interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; | ||
| status = "disabled"; | ||
| }; | ||
|
|
||
| frame@f42d000 { | ||
| reg = <0x0 0x0f42d000 0x1000>; | ||
| frame-number = <6>; | ||
| interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; | ||
| status = "disabled"; | ||
| }; | ||
| }; | ||
|
|
||
| rpm_msg_ram: memory@45f0000 { | ||
| compatible = "qcom,rpm-msg-ram"; | ||
| reg = <0x45f0000 0x7000>; | ||
| }; | ||
|
|
||
| apcs_glb: mailbox@f400000 { | ||
| compatible = "qcom,shikra-apcs-hmss-global"; | ||
| reg = <0xf400000 0x1000>; | ||
| #mbox-cells = <1>; | ||
| }; | ||
|
|
||
| rpm-glink { | ||
| compatible = "qcom,glink-rpm"; | ||
| interrupts = <GIC_SPI 194 IRQ_TYPE_EDGE_RISING>; | ||
| qcom,rpm-msg-ram = <&rpm_msg_ram>; | ||
| mboxes = <&apcs_glb 0>; | ||
| }; | ||
| }; | ||
|
|
||
| timer { | ||
| compatible = "arm,armv8-timer"; | ||
|
|
||
| interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>, | ||
| <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>, | ||
| <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>, | ||
| <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>; | ||
| }; | ||
| }; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add the entries in sorted alphabetical order