summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2022-11-17 00:32:26 +0000
committerBjorn Andersson <andersson@kernel.org>2022-12-06 11:05:30 -0600
commit0ddcea2f7692388f8eb1ce0f6804cb649bc76220 (patch)
tree7afe7e744703811dc3b9c35a529e21c32750bcf1 /arch
parent1aaa0772741820e2d15e0b1e109d776acb63d52a (diff)
downloadlinux-0ddcea2f7692388f8eb1ce0f6804cb649bc76220.tar.bz2
arm64: dts: qcom: sdm845: Define the number of available ports
The number of available ports is SoC specific so we should define it in the SoC dtsi. For the case of the sdm845 that is 4 CSI PHYs => four ports. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221117003232.589734-2-bryan.odonoghue@linaro.org
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 9c7d484ce72f..65032b94b46d 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -4368,6 +4368,22 @@
ports {
#address-cells = <1>;
#size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ };
+
+ port@1 {
+ reg = <1>;
+ };
+
+ port@2 {
+ reg = <2>;
+ };
+
+ port@3 {
+ reg = <3>;
+ };
};
};