From: Roman Yeryomin Date: Sun, 29 Oct 2017 23:19:19 +0000 (+0200) Subject: ipq806x: ipq4019: dts: remove spi chip node from ap-dk01 dtsi X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=21802ce3ab0634d5ed8fbe2e7cb206ede79d4dc9;p=openwrt%2Fstaging%2Fchunkeey.git ipq806x: ipq4019: dts: remove spi chip node from ap-dk01 dtsi All ap-dk01 boards have different spi chips, thus no point in keeping it in dtsi. Signed-off-by: Roman Yeryomin --- diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts index a5bfa7e5ae..9b14280695 100644 --- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts +++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts @@ -134,12 +134,6 @@ }; &spi_0 { /* BLSP1 QUP1 */ - status = "ok"; - - mx25l25635e@0 { - status = "disabled"; - }; - mx25l25635f@0 { compatible = "mx25l25635f", "jedec,spi-nor"; #address-cells = <1>; diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts index ef468506ab..a00dee7f27 100644 --- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts +++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts @@ -116,14 +116,7 @@ }; }; - &spi_0 { /* BLSP1 QUP1 */ - status = "ok"; - - mx25l25635e@0 { - status = "disabled"; - }; - n25q128a11@0 { status = "okay"; @@ -138,6 +131,5 @@ read-only; /* for now */ }; }; - }; }; diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts index 3318a003c9..6efd0df19b 100644 --- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts +++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts @@ -110,16 +110,10 @@ }; }; - &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 index 0000000000..0d4b80b302 --- /dev/null +++ b/target/linux/ipq806x/patches-4.9/864-05-dts-ipq4019-ap-dk01-remove-spi-chip-node-from-dtsi.patch @@ -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 {