Skip to content

Commit 92bc66b

Browse files
eroscahorms
authored andcommitted
arm64: dts: renesas: r8a77965: Add CAN{0,1} placeholder nodes
According to R-Car Gen3 HW manual rev1.00, R-Car M3-N has two CAN interfaces, similar to H3, M3-W and other SoCs from the same family. Add CAN placeholder nodes to avoid below DTC errors: Error: arch/arm64/boot/dts/renesas/ulcb-kf.dtsi:19.1-6 Label or path can0 not found Error: arch/arm64/boot/dts/renesas/ulcb-kf.dtsi:25.1-6 Label or path can1 not found These errors occur *after* the addition of r8a77965-m3nulcb-kf.dts. Fix them beforehand. CAN support is inspired from below commits: - v4.7 commit 308b7e4 ("arm64: dts: r8a7795: Add CAN support") - v4.11 commit 909c162 ("arm64: dts: r8a7796: Add CAN support") - v4.12 commit bec0948 ("arm64: dts: r8a7796: Add reset control properties") Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> [simon: make placeholder minimal by only including reg property] Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 parent 4d76ad7 commit 92bc66b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

arch/arm64/boot/dts/renesas/r8a77965.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -862,6 +862,16 @@
862862
status = "disabled";
863863
};
864864

865+
can0: can@e6c30000 {
866+
reg = <0 0xe6c30000 0 0x1000>;
867+
/* placeholder */
868+
};
869+
870+
can1: can@e6c38000 {
871+
reg = <0 0xe6c38000 0 0x1000>;
872+
/* placeholder */
873+
};
874+
865875
pwm0: pwm@e6e30000 {
866876
compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar";
867877
reg = <0 0xe6e30000 0 8>;

0 commit comments

Comments
 (0)