Skip to content

Commit

Permalink
ramips: cleanup SPI flash device tree properties usage
Browse files Browse the repository at this point in the history
Use only the jedec,spi-nor compatible string. Everything else either
never worked or is only support to keep compatibility.

Remove the linux,modalias property. It is obsolete since kernel 4.4.

Signed-off-by: Mathias Kresin <dev@kresin.me>
  • Loading branch information
mkresin authored and jow- committed Apr 28, 2017
1 parent 6aa0a85 commit f1f0b92
Show file tree
Hide file tree
Showing 110 changed files with 6 additions and 116 deletions.
1 change: 0 additions & 1 deletion target/linux/ramips/dts/3G150B.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "s25fl064k";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/3G300M.dts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l3205d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/A5-V11.dts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "pm25lq032";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/AI-BR100.dts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0 0>;
linux,modalias = "m25p80", "en25q64";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/AIR3GII.dts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "en25q32b";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/ALL0256N-4M.dts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l3205d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/ALL0256N-8M.dts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l3205d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/ALL5002.dts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l25635e";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/ALL5003.dts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l25635e";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/ASL26555-16M.dts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "s25sl12801";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/ASL26555-8M.dts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "s25sl064p";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/AWAPN2403.dts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l3205d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/AWM002-4M.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@

&m25p80 {
compatible = "jedec,spi-nor";
linux,modalias = "m25p80", "mx25l3205d";
};
1 change: 0 additions & 1 deletion target/linux/ramips/dts/AWM002-8M.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@

&m25p80 {
compatible = "jedec,spi-nor";
linux,modalias = "m25p80", "mx25l6405d";
};
1 change: 0 additions & 1 deletion target/linux/ramips/dts/AWM003-EVB.dts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@

&m25p80 {
compatible = "jedec,spi-nor";
linux,modalias = "m25p80", "mx25l6405d";
};

&ethernet {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/ArcherC20i.dts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/ArcherC50.dts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/ArcherMR200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/CF-WR800N.dts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "w25q64";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/CS-QR10.dts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/DB-WRT01.dts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/DCH-M225.dts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80";
spi-max-frequency = <80000000>;
m25p,fast-read;

Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/DCS-930L-B1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "s25fl064k";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/DIR-300-B7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "s25fl064k";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/DIR-320-B1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "s25fl064k";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/DIR-610-A1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/DIR-615-H1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l3205d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/DIR-620-D1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/DIR-645.dts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80";
spi-max-frequency = <25000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/DIR-810L.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/DUZUN-DM06.dts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80";
spi-max-frequency = <60000000>;
m25p,chunked-io = <32>;
m25p,fast-read;
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/E1700.dts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/F7C027.dts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l12805d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
3 changes: 1 addition & 2 deletions target/linux/ramips/dts/GL-MT300A.dts
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "w25q128";
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "w25q128";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
3 changes: 1 addition & 2 deletions target/linux/ramips/dts/GL-MT300N.dts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "w25q128";
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "w25q128";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
3 changes: 1 addition & 2 deletions target/linux/ramips/dts/GL-MT750.dts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "w25q128";
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "w25q128";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/HC5XXX.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "w25q128";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/HLKRM04.dts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "s25fl064k";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/HT-TM02.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/JHR-N805R.dts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l3205d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/LINKIT7688.dts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l25635e";
spi-max-frequency = <40000000>;
m25p,chunked-io = <31>;

Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/M2M.dts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/M3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "w25q32";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/M4-4M.dts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "pm25lq032";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/M4-8M.dts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "gd25q64";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
3 changes: 1 addition & 2 deletions target/linux/ramips/dts/MAC1200RV2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "w25q128";
compatible = "jedec,spi-nor";
reg = <0 0>;
linux,modalias = "m25p80", "w25q128";
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;

Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/MINIEMBPLUG.dts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l6405d";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/MIWIFI-MINI.dts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "w25q128";
spi-max-frequency = <10000000>;

partition@0 {
Expand Down
1 change: 0 additions & 1 deletion target/linux/ramips/dts/MIWIFI-NANO.dts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80";
spi-max-frequency = <10000000>;
m25p,chunked-io = <32>;

Expand Down
Loading

0 comments on commit f1f0b92

Please sign in to comment.