summaryrefslogtreecommitdiffstats
path: root/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts
blob: 6fadce815c9a261eac543557e061ddc16a8cba23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/* Copyright (c) 2020-2021 Microchip Technology Inc */

/dts-v1/;

#include "mpfs-icicle-kit-common.dtsi"

/ {
	model = "Microchip PolarFire-SoC Icicle Kit";
	compatible = "microchip,mpfs-icicle-es-reference-rtl-v2507",
		     "microchip,mpfs-icicle-kit",
		     "microchip,mpfs";
};

&i2c0 {
	pinctrl-names = "default";
	pinctrl-0 = <&i2c0_fabric>;
};

/*
 * Due to silicon errata, routing via MSS IOs doesn't work on ES devices.
 * Instead, i2c1, appearing on B1/C1, which are normally MSS IOs, is routed
 * via the fabric and back to B1/C1 via "fabric-test" functionality.
 * This is done silently by Libero, so the iomux0 setting for i2c1 has to
 * be fabric IO, despite tooling etc saying that MSS IOs are used.
 *
 * See Section 3.3 of https://ww1.microchip.com/downloads/aemDocuments/documents/FPGA/ProductDocuments/Errata/polarfiresoc/microsemi_polarfire_soc_fpga_egineering_samples_errata_er0219_v1.pdf
 */
&i2c1 {
	pinctrl-names = "default";
	pinctrl-0 = <&i2c1_fabric>;
};