summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2022-11-17 03:32:26 +0300
committerBjorn Andersson <andersson@kernel.org>2022-12-06 20:05:30 +0300
commit0ddcea2f7692388f8eb1ce0f6804cb649bc76220 (patch)
tree7afe7e744703811dc3b9c35a529e21c32750bcf1
parent1aaa0772741820e2d15e0b1e109d776acb63d52a (diff)
downloadlinux-0ddcea2f7692388f8eb1ce0f6804cb649bc76220.tar.xz
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
-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>;
+ };
};
};