]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: dts: microchip: make the fabric dtsi board specific
authorConor Dooley <conor.dooley@microchip.com>
Mon, 9 May 2022 14:26:06 +0000 (15:26 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 1 Jun 2022 22:28:11 +0000 (15:28 -0700)
commit2ad09a28a5ad6d3db732a3622975868c6434b1c6
tree3168cedb29fa99a77b0970809c2895f1244403db
parent0b1297f7b2d9937da6d52f9041d460029263eda4
riscv: dts: microchip: make the fabric dtsi board specific

Currently mpfs-fabric.dtsi is included by mpfs.dtsi - which is fine
currently since there is only one board with this SoC upstream.

However if another board was added, it would include the fabric contents
of the Icicle Kit's reference design. To avoid this, rename
mpfs-fabric.dtsi to mpfs-icicle-kit-fabric.dtsi & include it in the dts
rather than mpfs.dtsi.

mpfs-icicle-kit-fabric.dtsi specifically matches the 22.03 reference
design for the icicle kit's FPGA fabric & an older version of the
design may not have the i2c or pwm devices - so add the compatible
string to document this.

Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20220509142610.128590-6-conor.dooley@microchip.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/boot/dts/microchip/mpfs-fabric.dtsi [deleted file]
arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi [new file with mode: 0644]
arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts
arch/riscv/boot/dts/microchip/mpfs.dtsi