arm64: dts: sc7180: Fix indentation/ordering of qspi nodes in sc7180-idp
authorDouglas Anderson <dianders@chromium.org>
Wed, 11 Dec 2019 00:35:39 +0000 (16:35 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 11 Dec 2019 06:40:38 +0000 (22:40 -0800)
The qspi pinctrl nodes had the wrong indentation and sort ordering and
the main qspi node was placed down in the pinctrl section.  Fix.

Reviewed-by: Rajendra Nayak <rnayak@codeaurora.org>
Fixes: ba3fc6496366 ("arm64: dts: sc7180: Add qupv3_0 and qupv3_1")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20191210163530.1.I69a6c29e08924229d160b651769c84508a07b3c6@changeid
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sc7180-idp.dts

index 189254f..5eab3a2 100644 (file)
        };
 };
 
+&qspi {
+       status = "okay";
+       pinctrl-names = "default";
+       pinctrl-0 = <&qspi_clk &qspi_cs0 &qspi_data01>;
+
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               reg = <0>;
+               spi-max-frequency = <25000000>;
+               spi-tx-bus-width = <2>;
+               spi-rx-bus-width = <2>;
+       };
+};
+
 &qupv3_id_0 {
        status = "okay";
 };
 
 /* PINCTRL - additions to nodes defined in sc7180.dtsi */
 
+&qspi_clk {
+       pinconf {
+               pins = "gpio63";
+               bias-disable;
+       };
+};
+
+&qspi_cs0 {
+       pinconf {
+               pins = "gpio68";
+               bias-disable;
+       };
+};
+
+&qspi_data01 {
+       pinconf {
+               pins = "gpio64", "gpio65";
+
+               /* High-Z when no transfers; nice to park the lines */
+               bias-pull-up;
+       };
+};
+
 &qup_i2c2_default {
        pinconf {
                pins = "gpio15", "gpio16";
        };
 };
 
-&qspi {
-       status = "okay";
-       pinctrl-names = "default";
-       pinctrl-0 = <&qspi_clk &qspi_cs0 &qspi_data01>;
-
-       flash@0 {
-               compatible = "jedec,spi-nor";
-               reg = <0>;
-               spi-max-frequency = <25000000>;
-               spi-tx-bus-width = <2>;
-               spi-rx-bus-width = <2>;
-       };
-};
-
-&qspi_cs0 {
-               pinconf {
-                       pins = "gpio68";
-                       bias-disable;
-               };
-};
-
-&qspi_clk {
-               pinconf {
-                       pins = "gpio63";
-                       bias-disable;
-               };
-};
-
-&qspi_data01 {
-               pinconf {
-                       pins = "gpio64", "gpio65";
-
-                       /* High-Z when no transfers; nice to park the lines */
-                       bias-pull-up;
-               };
-};