Message ID | 1626775980-28637-9-git-send-email-sibis@codeaurora.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Add Modem support on SC7280 SoCs | expand |
Quoting Sibi Sankar (2021-07-20 03:12:58) > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 5ed7a511bfc9..3fb6a6ef39f8 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -1219,6 +1224,21 @@ > }; > }; > > + imem@146aa000 { is sram a more appropriate node name here? Is imem a generic node name in DT spec? > + compatible = "syscon", "simple-mfd"; > + reg = <0 0x146aa000 0 0x2000>; > + > + #address-cells = <2>; > + #size-cells = <2>; > + > + ranges = <0 0x0 0 0x146aa000 0 0x2000>; > + > + pil-reloc@94c { > + compatible = "qcom,pil-reloc-info"; > + reg = <0 0x94c 0 0xc8>; > + }; > + }; > +
On 2021-07-21 11:14, Stephen Boyd wrote: > Quoting Sibi Sankar (2021-07-20 03:12:58) >> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi >> b/arch/arm64/boot/dts/qcom/sc7280.dtsi >> index 5ed7a511bfc9..3fb6a6ef39f8 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi >> @@ -1219,6 +1224,21 @@ >> }; >> }; >> >> + imem@146aa000 { > > is sram a more appropriate node name here? Is imem a generic node name > in DT spec? binding check for qcom,pil-info.yaml didn't complain so I just followed it. AFAICS, sram isn't mentioned in generic node names either. > >> + compatible = "syscon", "simple-mfd"; >> + reg = <0 0x146aa000 0 0x2000>; >> + >> + #address-cells = <2>; >> + #size-cells = <2>; >> + >> + ranges = <0 0x0 0 0x146aa000 0 0x2000>; >> + >> + pil-reloc@94c { >> + compatible = "qcom,pil-reloc-info"; >> + reg = <0 0x94c 0 0xc8>; >> + }; >> + }; >> +
diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 5ed7a511bfc9..3fb6a6ef39f8 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -547,6 +547,11 @@ #hwlock-cells = <1>; }; + tcsr_regs: syscon@1fc0000 { + compatible = "syscon"; + reg = <0 0x01fc0000 0 0x30000>; + }; + lpasscc: lpasscc@3000000 { compatible = "qcom,sc7280-lpasscc"; reg = <0 0x03000000 0 0x40>, @@ -1219,6 +1224,21 @@ }; }; + imem@146aa000 { + compatible = "syscon", "simple-mfd"; + reg = <0 0x146aa000 0 0x2000>; + + #address-cells = <2>; + #size-cells = <2>; + + ranges = <0 0x0 0 0x146aa000 0 0x2000>; + + pil-reloc@94c { + compatible = "qcom,pil-reloc-info"; + reg = <0 0x94c 0 0xc8>; + }; + }; + apps_smmu: iommu@15000000 { compatible = "qcom,sc7280-smmu-500", "arm,mmu-500"; reg = <0 0x15000000 0 0x100000>;
Add miscellaneous nodes to boot the modem and support post-mortem debug on SC7280 SoCs. Signed-off-by: Sibi Sankar <sibis@codeaurora.org> --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)