From: Krzysztof Kozlowski Date: Sun, 17 Mar 2024 18:41:29 +0000 (+0100) Subject: arm64: dts: allwinner: Orange Pi: delete node by phandle X-Git-Tag: v6.10-rc1~239^2~22^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5217bc4c94ee0ac846a9fabd63e69d658f44ccc;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: allwinner: Orange Pi: delete node by phandle Delete node via phandle, not via full node path, to avoid easy mistakes - if original node name changes, such deletion would be ineffective and not reported by the dtc as error. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Jernej Skrabec Link: https://lore.kernel.org/r/20240317184130.157695-3-krzysztof.kozlowski@linaro.org Signed-off-by: Jernej Skrabec --- diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-r1.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-r1.dts index 3356f4210d45b..067a2ecbc0a40 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-r1.dts +++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-r1.dts @@ -43,11 +43,12 @@ /* Orange Pi R1 is based on Orange Pi Zero design */ #include "sun8i-h2-plus-orangepi-zero.dts" +/delete-node/ ®_vcc_wifi; + / { model = "Xunlong Orange Pi R1"; compatible = "xunlong,orangepi-r1", "allwinner,sun8i-h2-plus"; - /delete-node/ reg_vcc_wifi; /* * Ths pin of this regulator is the same with the Wi-Fi extra