ipq40xx: Use constant to set gpio active low/high
[openwrt/openwrt.git] / target / linux / ipq40xx / files-4.14 / arch / arm / boot / dts / qcom-ipq4019-ap.dk04.1.dtsi
index 753adf9..eeadc07 100644 (file)
@@ -15,6 +15,7 @@
  */
 
 #include "qcom-ipq4019.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
        model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1";
                        pinctrl-0 = <&spi_0_pins>;
                        pinctrl-names = "default";
                        status = "okay";
-                       cs-gpios = <&tlmm 12 0>;
+                       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
 
                        mx25l25635e@0 {
                                #address-cells = <1>;