ARM: dts: qcom: apq8064-cm-qs600: pull SDCC pwrseq node up one level
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 30 Sep 2022 18:52:23 +0000 (21:52 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 18:20:00 +0000 (13:20 -0500)
There are no need to add additional simple-bus nodes just to populate
a single pwrseq device. Pull it up one level into /. While we are at it
also fix node name replacing underscore with dash.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-11-dmitry.baryshkov@linaro.org
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts

index 5ff0d9a..d6ecfd8 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
-       pwrseq {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               ranges;
-               compatible = "simple-bus";
-
-               sdcc4_pwrseq: sdcc4_pwrseq {
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&wlan_default_gpios>;
-                       compatible = "mmc-pwrseq-simple";
-                       reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
-               };
+       sdcc4_pwrseq: pwrseq-sdcc4 {
+               pinctrl-names = "default";
+               pinctrl-0 = <&wlan_default_gpios>;
+               compatible = "mmc-pwrseq-simple";
+               reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
        };
 
        /* on board fixed 3.3v supply */