From 33d7d7f2515c8096bd0d83cf8241fa335b6598aa Mon Sep 17 00:00:00 2001 From: CodeChenL <2540735020@qq.com> Date: Mon, 1 Jul 2024 15:07:50 +0800 Subject: [PATCH] fix: modify correct node index --- .../boot/dts/rockchip/overlays/rk3528-spi0-cs1-enc28j60.dts | 2 +- .../boot/dts/rockchip/overlays/rk3528-spi0-cs1-mcp2515.dts | 2 +- .../arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-spidev.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-enc28j60.dts b/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-enc28j60.dts index 900a0683..905e049e 100644 --- a/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-enc28j60.dts +++ b/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-enc28j60.dts @@ -24,7 +24,7 @@ INT=15"; max-freq = <50000000>; num-cs = <2>; - ethernet: enc28j60@0 { + ethernet: enc28j60@1 { compatible = "microchip,enc28j60"; reg = <1>; spi-max-frequency = <20000000>; diff --git a/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-mcp2515.dts b/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-mcp2515.dts index 09933b00..2e43caa0 100644 --- a/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-mcp2515.dts +++ b/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-mcp2515.dts @@ -40,7 +40,7 @@ INT=15"; #size-cells = <0>; num-cs = <2>; - can_mcp2515: can-mcp2515@0 { + can_mcp2515: can-mcp2515@1 { status = "okay"; compatible = "microchip,mcp2515"; reg = <1>; diff --git a/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-spidev.dts b/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-spidev.dts index 69b0532d..3eb022a9 100644 --- a/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-spidev.dts +++ b/arch/arm64/boot/dts/rockchip/overlays/rk3528-spi0-cs1-spidev.dts @@ -20,7 +20,7 @@ max-freq = <50000000>; num-cs = <2>; - spidev@0 { + spidev@1 { compatible = "rockchip,spidev"; status = "okay"; reg = <1>;