ipq806x: ipq4019: dts: remove spi chip node from ap-dk01 dtsi
authorRoman Yeryomin <roman@advem.lv>
Sun, 29 Oct 2017 23:19:19 +0000 (01:19 +0200)
committerJohn Crispin <john@phrozen.org>
Sun, 29 Oct 2017 23:19:19 +0000 (01:19 +0200)
All ap-dk01 boards have different spi chips, thus no point in keeping it in dtsi.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts
target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts
target/linux/ipq806x/patches-4.9/864-05-dts-ipq4019-ap-dk01-remove-spi-chip-node-from-dtsi.patch [new file with mode: 0644]

index a5bfa7e..9b14280 100644 (file)
 };
 
 &spi_0 { /* BLSP1 QUP1 */
-       status = "ok";
-
-       mx25l25635e@0 {
-               status = "disabled";
-       };
-
        mx25l25635f@0 {
                compatible = "mx25l25635f", "jedec,spi-nor";
                #address-cells = <1>;
index ef46850..a00dee7 100644 (file)
        };
 };
 
-
 &spi_0 { /* BLSP1 QUP1 */
-       status = "ok";
-
-       mx25l25635e@0 {
-               status = "disabled";
-       };
-
        n25q128a11@0 {
                status = "okay";
 
                                read-only; /* for now */
                        };
                };
-
        };
 };
index 3318a00..6efd0df 100644 (file)
        };
 };
 
-
 &spi_0 { /* BLSP1 QUP1 */
-       status = "ok";
        cs-gpios = <&tlmm 54 0>,
                   <&tlmm 59 0>;
 
-       mx25l25635e@0 {
-               status = "disabled";
-       };
-
        m25p80@0 {
                #address-cells = <1>;
                #size-cells = <0>;
diff --git a/target/linux/ipq806x/patches-4.9/864-05-dts-ipq4019-ap-dk01-remove-spi-chip-node-from-dtsi.patch b/target/linux/ipq806x/patches-4.9/864-05-dts-ipq4019-ap-dk01-remove-spi-chip-node-from-dtsi.patch
new file mode 100644 (file)
index 0000000..0d4b80b
--- /dev/null
@@ -0,0 +1,17 @@
+--- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
++++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
+@@ -89,14 +89,6 @@
+                       pinctrl-names = "default";
+                       status = "ok";
+                       cs-gpios = <&tlmm 54 0>;
+-
+-                      mx25l25635e@0 {
+-                              #address-cells = <1>;
+-                              #size-cells = <1>;
+-                              reg = <0>;
+-                              compatible = "mx25l25635e";
+-                              spi-max-frequency = <24000000>;
+-                      };
+               };
+               serial@78af000 {