ipq40xx: dts: fix SPI chip select GPIO polarity
authorShiji Yang <[email protected]>
Sun, 24 Aug 2025 12:56:54 +0000 (20:56 +0800)
committerHauke Mehrtens <[email protected]>
Sun, 19 Oct 2025 22:28:15 +0000 (00:28 +0200)
The SPI chip select GPIO polarity is active low by default. We must
use "spi-cs-high" dts property to toggle the polarity. The polarity
on "cs-gpios" won't take effect at all[1]. Fix these incorrect GPIO
polarities to silence the kernel warnings.

[1] Refer to Linux/Documentation/devicetree/bindings/spi/spi-controller.yaml
```
      device node     | cs-gpio       | CS pin state active | Note
      ================+===============+=====================+=====
      spi-cs-high     | -             | H                   |
      -               | -             | L                   |
      spi-cs-high     | ACTIVE_HIGH   | H                   |
      -               | ACTIVE_HIGH   | L                   | 1
      spi-cs-high     | ACTIVE_LOW    | H                   | 2
      -               | ACTIVE_LOW    | L                   |

      Notes:
      1) Should print a warning about polarity inversion.
         Here it would be wise to avoid and define the gpio as
         ACTIVE_LOW.
      2) Should print a warning about polarity inversion
         because ACTIVE_LOW is overridden by spi-cs-high.
         Should be generally avoided and be replaced by
         spi-cs-high + ACTIVE_HIGH.
```

Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19845
Signed-off-by: Hauke Mehrtens <[email protected]>
59 files changed:
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-a42.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-cap-ac.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-cs-w3-wd1200g-eup.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-dap-2610.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-ea6350v3.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-eap1300.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-ecw5211.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-emd1.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-emr3500.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-ens620ext.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-ex61x0v2.dtsi
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-fritzbox-4040.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-gl-a1300.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-gl-ap1300.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-hap-ac2.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-jalapeno.dtsi
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-magic-2-wifi-next.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-mf287.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-mf287plus.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-mf287pro.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-nbg6617.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-pa1200.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-rt-ac58u.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-rutx.dtsi
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-sxtsq-5-ac.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-wac510.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-wap-ac.dtsi
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-wr-1.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-wre6606.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-wrtq-329acn.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-a62.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-eap2200.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-gl-b2200.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-habanero-dvk.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-hap-ac3-lte6-kit.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-hap-ac3.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-le1.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-lhgg-60ad.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-mf18a.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-mf282plus.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-mf286d.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-mf289f.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-oap100.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-pa2200.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-rtl30vw.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-whw03.dtsi
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-wifi.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-wpj419.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4028-wpj428.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4029-ap-303.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4029-ap-303h.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4029-ap-365.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4029-gl-b1300.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4029-gl-s1300.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4029-ws-ap3915i.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4029-ws-ap391x.dts
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq40x9-dr40x9.dts

index 6d1babf00e96c81d0f7ce9811aae218c751de787..bd7cfb189d83e8901b7cf14bca9efd14ed695eb4 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                #address-cells = <1>;
index 83b4addb7966170a8f742b3aeb099d193bab9a32..4f1db96b6a9bd75e060cc0146ac0ba641493c5ce 100644 (file)
 
        pinctrl-0 = <&spi0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
-                  <&tlmm  4 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>,
+                  <&tlmm  4 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 627ccd5b70adcdf6c659ae087d9bbb7b1090fb62..1d1b381be073434094eef105d3d100560d00a00b 100644 (file)
 
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                reg = <0>;
index 469a6ca7576db3f6bc35d86627a766467aaec0e2..6580e0161eedfdb057615dae63c5b3b779e401ae 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 69164540cd4eefede9a6e27c65ad3ddb740681ac..62a1607db4b18c626a542c379b18bb770fe722ee 100644 (file)
@@ -82,7 +82,7 @@
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 6cace3b88f05cbaa4df20b90e3a0a126d719a8a3..b2a263a5352233e7ff3437cf684c64bd1d352b5e 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
-                  <&tlmm 59 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>,
+                  <&tlmm 59 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 049b3a5ba3a183e9b0adf03c7e725ac5b9ed7ac7..4acf44dc1601fb7a8e527588a0c9604344672520 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        m25p80@0 {
                compatible = "jedec,spi-nor";
index 777788c59ad4e0e9e1f75913090ee74f94fb5bea..da19a4c93e1efa50fe8949e2092ba6ad7b07d67f 100644 (file)
 
        pinctrl-0 = <&spi0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 4 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>, <&tlmm 4 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 1ef63bdc98213803950fefd8ba90c5ea736ae1b2..477eeb99468b7fe4a5e31ad474b05a420f930972 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 9d70501cb72597ff468cf470bc64219166180c8f..3405ee5c9d6d036202409e3981f72764bceba0d7 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        m25p80@0 {
                compatible = "jedec,spi-nor";
index 50cac400d77f04eedc31f4ae2803193375eab720..042086ac8c99ae62623193cd53f56617026518e1 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                #address-cells = <1>;
index 367dd20a7a25610e375b1f603a46cc6de1d9af4e..e145a344e954d7c04d2f248b79d6b00e1cebabe3 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        mx25l12805d@0 {
                compatible = "jedec,spi-nor";
index 0d7d8883fc34ac9114dbe8faaa043539c03c7229..a6acb243f8a6641bec5661f17bb9445a5df4b7d4 100644 (file)
        status = "okay";
        /delete-property/ dmas;
        /delete-property/ dma-names;
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 4293191b075852bfe173bf9abaa1a6a5f7440bae..7dc583b71acb71d20d95968d05d5b141a87bf37c 100644 (file)
 
        pinctrl-0 = <&spi0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 5 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>, <&tlmm 5 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 4ed8a82af6fe3b5d0b21ad8e856f354956ffa7ae..c6ab89286784a7970c3d326a2743bf25a8a15c3c 100644 (file)
 
        pinctrl-0 = <&spi0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 5 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>, <&tlmm 5 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                status = "okay";
index ae244a6696d430152934518cf5ce1fd6728a7cf6..ddf6ef2df7deb7b3f2459ba7cf70f43bd2b8ede2 100644 (file)
 
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                reg = <0>;
index fcacb98cb9b55ee012171edbf2e9cfa773057dbe..6d6fa353f42d4a1df828968d4b4db3b83621c57e 100644 (file)
 
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 59 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>, <&tlmm 59 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                status = "okay";
index 43f87b5dd85f275d9208fbb0d4d13d2301f59960..0af2e917a2a4c7a9f299c7a9b76ca0eb64546119 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index fc4bae6937fb7aa2f5999225681d8b3a57885bcb..e47846e87abbe15ee14969de6f2dda2baf3db327 100644 (file)
@@ -30,9 +30,9 @@
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
-                  <&tlmm 59 GPIO_ACTIVE_HIGH>,
-                  <&tlmm 1 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>,
+                  <&tlmm 59 GPIO_ACTIVE_LOW>,
+                  <&tlmm 1 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 8eb8ce85036ef9801aff161579f4becea304c7f9..99017f49bec5be3fe09c86663967cf98a7dd0260 100644 (file)
@@ -30,9 +30,9 @@
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
-                  <&tlmm 59 GPIO_ACTIVE_HIGH>,
-                  <&tlmm 1 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>,
+                  <&tlmm 59 GPIO_ACTIVE_LOW>,
+                  <&tlmm 1 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 29220624de0f0b5726ec7eaf71598318d7cb3d0d..9cc4ff724ef07fea0e4b4a716b3dad49fb777ff8 100644 (file)
@@ -48,8 +48,8 @@
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>,
-                               <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>,
+                  <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index d33afc7d388e7c511dbbeb7dc425fe6ecd14fff8..0f9140573726d76f574350167f40cc4058521299 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 8040bb494b19347f65097b7323df4534377263b4..2ce00f15d6582332f078b0d3ff9572e7bacef0d5 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                #address-cells = <1>;
index 7477d5ddc44ce471888765687ca8ecd838fd1ad7..1c698b4b4170f76feb3a75e44527df5e2b32f820 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
-                  <&tlmm 59 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>,
+                  <&tlmm 59 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                /*
index cc43e222e4bb59220413c2019bf31f8361d933af..47f0677c9dd3d74f66d9dac0ab4adbe650292033 100644 (file)
 &blsp1_spi1 {
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 63 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>, <&tlmm 63 GPIO_ACTIVE_LOW>;
        num-cs = <2>;
        status = "okay";
 
index f588d94142dc71ed792258fb90f6e99c2989f103..be58defe961560ac5c0154d45016307e53d0d1f3 100644 (file)
 
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                reg = <0>;
index fc862a25b1ed7b6d40b9b00cf99b87756da231dc..eb92be7f5cda16d6f20acde8998fd00a5370877b 100644 (file)
 
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
-                  <&tlmm 59 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>,
+                  <&tlmm 59 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 83dd4b925bd5692a5c4f93a7b83cafbaa9fff14f..9ce753f87de300cef62c06a4f1ef46b2384645d4 100644 (file)
 
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                reg = <0>;
index 9809ac8777fdd58aa7ffa5d2c2d78d409d69919d..190924920a1fbe7d731823e45e72e92df68722fd 100644 (file)
@@ -83,7 +83,7 @@
        status = "okay";
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 4 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>, <&tlmm 4 GPIO_ACTIVE_LOW>;
 
        nor@0 {
                reg = <0>;
index 990eb70daae8538003ecdf642261e3f72228e577..f9daf3f32d9e7648dc8efae5305368642f046594 100644 (file)
@@ -92,7 +92,7 @@
 &blsp1_spi1 {
        status = "okay";
 
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
 
index 83ae05c626c2cab6c4ac59fb49cac200bafeb894..f041681d659dd90dbc5d0d7040cfd22e6ab3887b 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        mx25l12805d@0 {
                compatible = "jedec,spi-nor";
index 7c8e81de330399da2249806be0b753dfaca22346..8b5bf7a051d3aa1f7156fbd27a431f5f63b5979e 100644 (file)
@@ -92,8 +92,8 @@
 &blsp1_spi1 {
        status = "okay";
 
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
-                  <&tlmm 59 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>,
+                  <&tlmm 59 GPIO_ACTIVE_LOW>;
        pinctrl-0 = <&spi0_pins>;
        pinctrl-names = "default";
 
index eb22dbafcd481dfae0ba8b59c208d585bb4be7ee..8309b2770d5649bdf50b65d1304bec1007e773c1 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                #address-cells = <1>;
index e290339dbe53063ba1a6815699b18455f947dfe8..a6375a9b3203f18b3af5ae4f71394a449afa48be 100644 (file)
@@ -90,7 +90,7 @@
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                #address-cells = <1>;
index ad4748a081b7c6b6a4b20fd1bc4ad0a826ea62a9..4908a99a590b07e06be98a871b31f822fced574e 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index cd8a4ecd09e60c42d0e88dce0ab3362a85adc460..3f91955d1d27652f6cb2817fd93e7b593703546d 100644 (file)
 
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index cfb69f4d569ce7fdae659e98d10df090d7f89a81..fc3977c0c9180a0b8084c2f8c0e6623512395d9f 100644 (file)
 
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                reg = <0>;
index bbc93c083d0060d10122edb65265e870c2bf6b6c..0f311d0e2e8697dc3d53c68721a6a6a374654c91 100644 (file)
 
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                reg = <0>;
index 1577ed58bba46c3c84e62aaabc219127981d5bab..76125a76b7f42c46866872dc241c7058672321e4 100644 (file)
@@ -86,7 +86,7 @@
 };
 
 &blsp1_spi1 {
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
index 5a11757479bd7736b03c063d37a7dd44e404a14c..ad3509ddc54bca572347db26919ca246c1ae21f8 100644 (file)
 &blsp1_spi1 {
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
        status = "okay";
 
        m25p80@0 {
index 5d9c201cca341a9411d95169b75ee20bdab0d353..025fd2ac05fb7a99a1cc87132cc01da2d260eb54 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                /* u-boot is looking for "n25q128a11" property */
index 763ebd49ebc7ccc988fe014854ccc5b82234f2da..011c7d56e6ca856f234c6d819ca345a1d8f41c33 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                /* u-boot is looking for "n25q128a11" property */
index 91cf49b1b0065ef90c68c832664b59717d7ad9b2..07e45baea74113bf0b7cd73c3bf52520bcd32dc5 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                /* u-boot is looking for "n25q128a11" property */
index acee13ad2d9fa36c1c117e6f77670a488af2c4a0..92c68b2fcfd299db48788d9e82870ef92e33f482 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>,
-                  <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>,
+                  <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index d50ca7abf21f74d08cce4642c36b700e0737f95a..db9edd16ec363a2893b62ddcabe7a08707625e70 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                #address-cells = <1>;
index abc54b13309b52542c23e627ccd7d3e943a489e7..9bec8f3042ececfce7800a8fb652ad604d772c9e 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                #address-cells = <1>;
index 593b3959fc14d8eb9cd0a809dd51512eaadc8122..d1900e0a2258b88b00540089fcfd4112e7e33dee 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 59 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>, <&tlmm 59 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                /*"n25q128a11" is required for proper nand recognition in u-boot. */
index 14e6a5498a2dbe804c1a2eeedfb96b9c30625192..3aeb70c844652a7fbea5fff62e4882ba385a3992 100644 (file)
        pinctrl-0 = <&spi_1_pins>;
        pinctrl-names = "default";
 
-       cs-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
 
        zigbee@0 {
                compatible = "silabs,em3581";
index 491a497af0e3e19e4cad8ad660a2b04c612a9d91..a93424acb00ee2ce2ff419b44fa74978a63b2522 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
        pinctrl-0 = <&spi_1_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
 
        /*
         * This "spidev" was included in the manufacturer device tree. I
index 40819fd6032bdb7b55e3408910ea33beedbe55a8..0c1644bfae370f3dd183738f0463626a636fe8a7 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>, <&tlmm 41 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>, <&tlmm 41 GPIO_ACTIVE_LOW>;
        num-cs = <2>;
 
        flash0@0 {
index fd7878b47a0905b3746b7b8adf3f4fe9b52c44e0..0e4e97c26ea0a67e7fe82520c2923dd90ef4c76d 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        m25p80@0 {
                compatible = "jedec,spi-nor";
index 7e484db1b5c9c9f66183dcae1db1b883558081b9..1c801d2c2be1fd951dbc8b88297a66c48de22386 100644 (file)
@@ -63,7 +63,7 @@
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 1cb1b9d5dd999188d9de0f5a7627d92a34e08ecb..737961e8ef0efa396d0a7a744ebe6fb7f4a484c9 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>, <&tlmm 59 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>, <&tlmm 59 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 6df788a745efcc4680335b5a4a98125b8fe9e542..acdd472877deb731cd473e79f26752d381ac3045 100644 (file)
@@ -84,7 +84,7 @@
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 2aea68d5205a1b0339d49810b70635ca80833922..3f687f4de629e86b88da991b9be4b70c866d89b2 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>;
 
        mx25l25635f@0 {
                compatible = "jedec,spi-nor";
index 6d7a0aa2cd8b0021052770d218c2ab2a46d7bedd..ba01ab10e4abb78b750fb1351e0875fa36dca31d 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 533ff388a9fbf0b813d5021f5788e7e44adca570..16411c62f838d1235cad22cef2e1cd30d6779e04 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 254de0a46d14e16b0b7e3b7b10b177fde4218b91..45b1e4846821bc2b3f6f8b86f8897b51bff82a51 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
index 0bf5e63ac0512be5a76e40899c5c3b0c55190191..c6e8648b548110d011fa974d6526e75c53e50e26 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
 
-       cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
 
        flash@0 {
                compatible = "jedec,spi-nor";