Skip to content

Commit 719a85a

Browse files
ConchuODpalmer-dabbelt
authored andcommitted
riscv: dts: canaan: remove spi-max-frequency from controllers
spi-max-frequency is a device, not a controller property and should be removed. Link: https://lore.kernel.org/lkml/20220526014141.2872567-1-robh@kernel.org/ Tested-by: Niklas Cassel <niklas.cassel@wdc.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20220705215213.1802496-11-mail@conchuod.ie Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 9bd61fe commit 719a85a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

arch/riscv/boot/dts/canaan/k210.dtsi

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,6 @@
451451
clock-names = "ssi_clk", "pclk";
452452
resets = <&sysrst K210_RST_SPI0>;
453453
reset-names = "spi";
454-
spi-max-frequency = <25000000>;
455454
num-cs = <4>;
456455
reg-io-width = <4>;
457456
};
@@ -467,7 +466,6 @@
467466
clock-names = "ssi_clk", "pclk";
468467
resets = <&sysrst K210_RST_SPI1>;
469468
reset-names = "spi";
470-
spi-max-frequency = <25000000>;
471469
num-cs = <4>;
472470
reg-io-width = <4>;
473471
};
@@ -483,8 +481,7 @@
483481
clock-names = "ssi_clk", "pclk";
484482
resets = <&sysrst K210_RST_SPI3>;
485483
reset-names = "spi";
486-
/* Could possibly go up to 200 MHz */
487-
spi-max-frequency = <100000000>;
484+
488485
num-cs = <4>;
489486
reg-io-width = <4>;
490487
};

0 commit comments

Comments
 (0)