Skip to content

Commit

Permalink
ath79: remove num-chipselects from SPI controller
Browse files Browse the repository at this point in the history
The num-chipselects property is only valid for bit-banged spi-gpio [1].

For the generic SPI controller bindings, num-cs would be the correct
property [2].

Since num-cs is not required on ath79 either, just drop the lines.

[1] https://www.kernel.org/doc/Documentation/devicetree/bindings/spi/spi-gpio.yaml
[2] https://www.kernel.org/doc/Documentation/devicetree/bindings/spi/spi-controller.yaml

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
  • Loading branch information
adschm committed Dec 4, 2020
1 parent 4dc5b64 commit 1ed18ed
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion target/linux/ath79/dts/ar9330_dlink_dir-505.dts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
};

&spi {
num-chipselects = <1>;
status = "okay";

flash@0 {
Expand Down
2 changes: 0 additions & 2 deletions target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@
&spi {
status = "okay";

num-chipselects = <1>;

flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
Expand Down
1 change: 0 additions & 1 deletion target/linux/ath79/dts/ar9331_8dev_carambola2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
};

&spi {
num-chipselects = <0>;
status = "okay";

flash@0 {
Expand Down
2 changes: 0 additions & 2 deletions target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@
&spi {
status = "okay";

num-chipselects = <1>;

flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
Expand Down
1 change: 0 additions & 1 deletion target/linux/ath79/dts/ar9331_etactica_eg200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
};

&spi {
num-chipselects = <1>;
status = "okay";

flash@0 {
Expand Down
2 changes: 0 additions & 2 deletions target/linux/ath79/dts/ar9331_glinet_gl-mifi.dts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@
&spi {
status = "okay";

num-chipselects = <1>;

flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <33000000>;
Expand Down
2 changes: 0 additions & 2 deletions target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@
&spi {
status = "okay";

num-chipselects = <1>;

/* Spansion S25FL032PIF SPI flash */
flash@0 {
compatible = "jedec,spi-nor";
Expand Down
2 changes: 0 additions & 2 deletions target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@
&spi {
status = "okay";

num-chipselects = <1>;

flash@0 {
compatible = "jedec,spi-nor";
spi-max-frequency = <50000000>;
Expand Down
1 change: 0 additions & 1 deletion target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
};

&spi {
num-chipselects = <1>;
status = "okay";

flash@0 {
Expand Down

0 comments on commit 1ed18ed

Please sign in to comment.