arm64: dts: qcom: sc7280: Add wifi alias for SC7280-idp
authorYoughandhar Chintala <quic_youghand@quicinc.com>
Wed, 28 Dec 2022 09:41:03 +0000 (15:11 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 28 Dec 2022 19:08:10 +0000 (13:08 -0600)
Currently, depth-charge Chrome OS bootloader code used in the SC7280
SoC accesses the WiFi node using node names (wifi@<addr>). Since
depth-charge Chrome OS bootloader is a common code that is used in
SoCs having different WiFi chipsets, it is better if the depth-charge
Chrome OS bootloader code accesses the WiFi node using a WiFi alias.
The advantage of this method is that the depth-charge Chrome OS
bootloader code need not be changed for every new WiFi chip.
Therefore, add wifi alias entry for SC7280-idp device tree.

Signed-off-by: Youghandhar Chintala <quic_youghand@quicinc.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221228094104.356-1-quic_youghand@quicinc.com
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi

index f7efb9966afd19b2240ba0b74cadb8d9cd141533..deac91205831a3e46a92893f095387e3ae2c67d4 100644 (file)
@@ -19,6 +19,7 @@
        aliases {
                bluetooth0 = &bluetooth;
                serial1 = &uart7;
+               wifi0 = &wifi;
        };
 
        max98360a: audio-codec-0 {