Unverified Commit 72560c65 authored by Conor Dooley's avatar Conor Dooley Committed by Palmer Dabbelt
Browse files

riscv: dts: microchip: add fpga fabric section to icicle kit



Split the device tree for the Microchip MPFS into two sections by adding
microchip-mpfs-fabric.dtsi, which contains peripherals contained in the
FPGA fabric.

Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
Acked-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 6546f920
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/* Copyright (c) 2020-2021 Microchip Technology Inc */

/ {
	core_pwm0: pwm@41000000 {
		compatible = "microchip,corepwm-rtl-v4";
		reg = <0x0 0x41000000 0x0 0xF0>;
		microchip,sync-update-mask = /bits/ 32 <0>;
		#pwm-cells = <2>;
		clocks = <&clkcfg CLK_FIC3>;
		status = "disabled";
	};

	i2c2: i2c@44000000 {
		compatible = "microchip,corei2c-rtl-v7";
		reg = <0x0 0x44000000 0x0 0x1000>;
		#address-cells = <1>;
		#size-cells = <0>;
		clocks = <&clkcfg CLK_FIC3>;
		interrupt-parent = <&plic>;
		interrupts = <122>;
		clock-frequency = <100000>;
		status = "disabled";
	};
};
+8 −0
Original line number Diff line number Diff line
@@ -68,6 +68,10 @@
	sd-uhs-sdr104;
};

&i2c2 {
	status = "okay";
};

&emac0 {
	phy-mode = "sgmii";
	phy-handle = <&phy0>;
@@ -86,3 +90,7 @@
		ti,fifo-depth = <0x01>;
	};
};

&core_pwm0 {
	status = "okay";
};
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@

/dts-v1/;
#include "dt-bindings/clock/microchip,mpfs-clock.h"
#include "microchip-mpfs-fabric.dtsi"

/ {
	#address-cells = <2>;