]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: renesas: r8a77965: Add CAN{0,1} placeholder nodes
authorEugeniu Rosca <roscaeugeniu@gmail.com>
Sun, 12 Aug 2018 13:31:47 +0000 (15:31 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 13 Sep 2018 07:47:15 +0000 (09:47 +0200)
commit1d537f9f7c9c69263fa0b3fce91e007e9da30757
tree965fb24727a72d6422af9425d70fee87db4beaa9
parentaf7a2a4cd40b96055a024a421b4c8e2282c94698
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 c71d77200850 ("arm64: dts: r8a7795: Add CAN support")
 - v4.11 commit 3ebd14011f10 ("arm64: dts: r8a7796: Add CAN support")
 - v4.12 commit 8d8e85cc6286 ("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>
arch/arm64/boot/dts/renesas/r8a77965.dtsi