arm64: dts: renesas: salvator-x(s): Factor out USB ch2 parts
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 7 Jun 2021 17:39:04 +0000 (19:39 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 19 Jul 2021 08:51:34 +0000 (10:51 +0200)
commitd18fb00dd0885d547ca67eab88f72e4cc382a4e5
treeacc7bdaf5c116def7112b810359311d298e204cc
parent90a4ee4ba5cf5aae491bae4ad6fe75e05d28cc22
arm64: dts: renesas: salvator-x(s): Factor out USB ch2 parts

Move the common parts related to the third USB2 interface on
Salvator-X(S) boards to salvator-common.dtsi, to reduce current and
avoid future duplication of board descriptions.

As this interface is not present on all SoCs that can be found on
Salvator-X(S), but only on R-Car H3, its descriptions are protected by
the preprocessor symbol SOC_HAS_USB2_CH2, defined in r8a77951.dtsi.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/ebc434502fc899b1f9d9640f560c3eaab6bb0927.1623087028.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/r8a77950-salvator-x.dts
arch/arm64/boot/dts/renesas/r8a77951-salvator-x.dts
arch/arm64/boot/dts/renesas/r8a77951-salvator-xs.dts
arch/arm64/boot/dts/renesas/r8a77951.dtsi
arch/arm64/boot/dts/renesas/salvator-common.dtsi