Skip to content

Commit

Permalink
fix: fix spi compilation error
Browse files Browse the repository at this point in the history
Signed-off-by: Nascs Fang <[email protected]>
  • Loading branch information
nascs committed Nov 1, 2024
1 parent d03187b commit 1f5c26e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion arch/arm64/boot/dts/rockchip/overlays/mcp2515.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
status = "okay";
compatible = "microchip,mcp2515";
reg = <SPIDEV_NUM>;
spi-max-frequency = <10000000>;
clocks = <&can_mcp2515_osc>;
vdd-supply = <&vcc_3v3_s3>;
xceiver-supply = <&vcc_3v3_s3>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define W5500_SPI spi0
#define SPIDEV_NUM 1
#include "W5500.dtsi"
#include "w5500.dtsi"

/ {
metadata {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define W5500_SPI spi0
#define SPIDEV_NUM 1
#include "W5500.dtsi"
#include "w5500.dtsi"

/ {
metadata {
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlays/w5500.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@
spi-max-frequency = <30000000>;
};
};

#endif // __W5500_DTSI__

0 comments on commit 1f5c26e

Please sign in to comment.