mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-22 12:28:23 +00:00
ath79: remove num-chipselects from SPI controller
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>
This commit is contained in:
parent
4dc5b64760
commit
1ed18edaec
@ -88,7 +88,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&spi {
|
&spi {
|
||||||
num-chipselects = <1>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
flash@0 {
|
flash@0 {
|
||||||
|
@ -79,8 +79,6 @@
|
|||||||
&spi {
|
&spi {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
num-chipselects = <1>;
|
|
||||||
|
|
||||||
flash@0 {
|
flash@0 {
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
spi-max-frequency = <50000000>;
|
spi-max-frequency = <50000000>;
|
||||||
|
@ -63,7 +63,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&spi {
|
&spi {
|
||||||
num-chipselects = <0>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
flash@0 {
|
flash@0 {
|
||||||
|
@ -59,8 +59,6 @@
|
|||||||
&spi {
|
&spi {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
num-chipselects = <1>;
|
|
||||||
|
|
||||||
flash@0 {
|
flash@0 {
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
spi-max-frequency = <50000000>;
|
spi-max-frequency = <50000000>;
|
||||||
|
@ -83,7 +83,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&spi {
|
&spi {
|
||||||
num-chipselects = <1>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
flash@0 {
|
flash@0 {
|
||||||
|
@ -87,8 +87,6 @@
|
|||||||
&spi {
|
&spi {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
num-chipselects = <1>;
|
|
||||||
|
|
||||||
flash@0 {
|
flash@0 {
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
spi-max-frequency = <33000000>;
|
spi-max-frequency = <33000000>;
|
||||||
|
@ -110,8 +110,6 @@
|
|||||||
&spi {
|
&spi {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
num-chipselects = <1>;
|
|
||||||
|
|
||||||
/* Spansion S25FL032PIF SPI flash */
|
/* Spansion S25FL032PIF SPI flash */
|
||||||
flash@0 {
|
flash@0 {
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
|
@ -106,8 +106,6 @@
|
|||||||
&spi {
|
&spi {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
num-chipselects = <1>;
|
|
||||||
|
|
||||||
flash@0 {
|
flash@0 {
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
spi-max-frequency = <50000000>;
|
spi-max-frequency = <50000000>;
|
||||||
|
@ -97,7 +97,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&spi {
|
&spi {
|
||||||
num-chipselects = <1>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
flash@0 {
|
flash@0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user