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 a5bfa7e5ae2453dd90832c9957c2263a2ddc276b..9b14280695ad43d6d72b9f76880cb98e3d0fb738 100644 (file)
 };
 
 &spi_0 { /* BLSP1 QUP1 */
-       status = "ok";
-
-       mx25l25635e@0 {
-               status = "disabled";
-       };
-
        mx25l25635f@0 {
                compatible = "mx25l25635f", "jedec,spi-nor";
                #address-cells = <1>;
index ef468506ab09850207077a9863164822f32d505e..a00dee7f27a5fda5e36101580c207533a779a691 100644 (file)
        };
 };
 
-
 &spi_0 { /* BLSP1 QUP1 */
-       status = "ok";
-
-       mx25l25635e@0 {
-               status = "disabled";
-       };
-
        n25q128a11@0 {
                status = "okay";
 
                                read-only; /* for now */
                        };
                };
-
        };
 };
index 3318a003c94ac943764bb8769a706f417fb1625d..6efd0df19bd3a1cae4785f1020f1a4792550b256 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 {