Add spi-max-frequency properties to all spigen nodes. This is a required
property for spi devices, although in the spigen case it's expected that the speed will be overridden at runtime via the ioctl interface. A very conservative 500khz speed is used (I've never seen a spi device that couldn't run at 1mhz).
This commit is contained in:
parent
db36566345
commit
95e390b666
@ -13,11 +13,13 @@
|
||||
spigen0: spigen0 {
|
||||
compatible = "freebsd,spigen";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
|
||||
status = "okay";
|
||||
};
|
||||
spigen1: spigen1 {
|
||||
compatible = "freebsd,spigen";
|
||||
reg = <1>;
|
||||
spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
@ -17,11 +17,13 @@
|
||||
spigen1: spigen1 {
|
||||
compatible = "freebsd,spigen";
|
||||
reg = <1>;
|
||||
spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
|
||||
status = "okay";
|
||||
};
|
||||
spigen2: spigen2 {
|
||||
compatible = "freebsd,spigen";
|
||||
reg = <2>;
|
||||
spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user