Skip to content

Commit

Permalink
fix: modify correct reg chip select value
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeChenL committed Jul 1, 2024
1 parent 4cae5bf commit 319ca5e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ INT=15";
max-freq = <50000000>;
num-cs = <2>;

ethernet: enc28j60@0 {
ethernet: enc28j60@1 {
compatible = "microchip,enc28j60";
reg = <0>;
reg = <1>;
spi-max-frequency = <20000000>;

pinctrl-names = "default";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ INT=15";
#size-cells = <0>;
num-cs = <2>;

can_mcp2515: can-mcp2515@0 {
can_mcp2515: can-mcp2515@1 {
status = "okay";
compatible = "microchip,mcp2515";
reg = <0>;
reg = <1>;
interrupt-parent = <&gpio4>;
interrupts = <RK_PC6 IRQ_TYPE_EDGE_FALLING>;
spi-max-frequency = <10000000>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
max-freq = <50000000>;
num-cs = <2>;

spidev@0 {
spidev@1 {
compatible = "rockchip,spidev";
status = "okay";
reg = <0>;
reg = <1>;
spi-max-frequency = <50000000>;
};
};

0 comments on commit 319ca5e

Please sign in to comment.