arm64: dts: hisilicon: hikey970-pmic: clean up SPMI node
authorJohan Hovold <johan+linaro@kernel.org>
Thu, 30 Nov 2023 17:56:35 +0000 (18:56 +0100)
committerWei Xu <xuwei5@hisilicon.com>
Fri, 8 Dec 2023 06:14:05 +0000 (06:14 +0000)
Clean up the SPMI node by dropping the redundant status property and
moving the 'reg' property after 'compatible' for consistency.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi

index c06e011a6c3ffc71909ce0c7f79074fcac20e517..299c4ab630e850c99c4c19586acc95f3e4179c21 100644 (file)
 / {
        spmi: spmi@fff24000 {
                compatible = "hisilicon,kirin970-spmi-controller";
+               reg = <0x0 0xfff24000 0x0 0x1000>;
                #address-cells = <2>;
                #size-cells = <0>;
-               status = "okay";
-               reg = <0x0 0xfff24000 0x0 0x1000>;
                hisilicon,spmi-channel = <2>;
 
                pmic: pmic@0 {