xref: /freebsd-src/sys/contrib/device-tree/src/riscv/microchip/microchip-mpfs-icicle-kit.dts (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
12eb4d8dcSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
22eb4d8dcSEmmanuel Vadot/* Copyright (c) 2020 Microchip Technology Inc */
32eb4d8dcSEmmanuel Vadot
42eb4d8dcSEmmanuel Vadot/dts-v1/;
52eb4d8dcSEmmanuel Vadot
62eb4d8dcSEmmanuel Vadot#include "microchip-mpfs.dtsi"
72eb4d8dcSEmmanuel Vadot
82eb4d8dcSEmmanuel Vadot/* Clock frequency (in Hz) of the rtcclk */
92eb4d8dcSEmmanuel Vadot#define RTCCLK_FREQ		1000000
102eb4d8dcSEmmanuel Vadot
112eb4d8dcSEmmanuel Vadot/ {
122eb4d8dcSEmmanuel Vadot	#address-cells = <2>;
132eb4d8dcSEmmanuel Vadot	#size-cells = <2>;
142eb4d8dcSEmmanuel Vadot	model = "Microchip PolarFire-SoC Icicle Kit";
152eb4d8dcSEmmanuel Vadot	compatible = "microchip,mpfs-icicle-kit";
162eb4d8dcSEmmanuel Vadot
175956d97fSEmmanuel Vadot	aliases {
185956d97fSEmmanuel Vadot		ethernet0 = &emac1;
19*354d7675SEmmanuel Vadot		serial0 = &serial0;
20*354d7675SEmmanuel Vadot		serial1 = &serial1;
21*354d7675SEmmanuel Vadot		serial2 = &serial2;
22*354d7675SEmmanuel Vadot		serial3 = &serial3;
235956d97fSEmmanuel Vadot	};
245956d97fSEmmanuel Vadot
252eb4d8dcSEmmanuel Vadot	chosen {
26*354d7675SEmmanuel Vadot		stdout-path = "serial0:115200n8";
272eb4d8dcSEmmanuel Vadot	};
282eb4d8dcSEmmanuel Vadot
292eb4d8dcSEmmanuel Vadot	cpus {
302eb4d8dcSEmmanuel Vadot		timebase-frequency = <RTCCLK_FREQ>;
312eb4d8dcSEmmanuel Vadot	};
322eb4d8dcSEmmanuel Vadot
332eb4d8dcSEmmanuel Vadot	memory@80000000 {
342eb4d8dcSEmmanuel Vadot		device_type = "memory";
352eb4d8dcSEmmanuel Vadot		reg = <0x0 0x80000000 0x0 0x40000000>;
362eb4d8dcSEmmanuel Vadot		clocks = <&clkcfg 26>;
372eb4d8dcSEmmanuel Vadot	};
382eb4d8dcSEmmanuel Vadot
392eb4d8dcSEmmanuel Vadot	soc {
402eb4d8dcSEmmanuel Vadot	};
412eb4d8dcSEmmanuel Vadot};
422eb4d8dcSEmmanuel Vadot
432eb4d8dcSEmmanuel Vadot&serial0 {
442eb4d8dcSEmmanuel Vadot	status = "okay";
452eb4d8dcSEmmanuel Vadot};
462eb4d8dcSEmmanuel Vadot
472eb4d8dcSEmmanuel Vadot&serial1 {
482eb4d8dcSEmmanuel Vadot	status = "okay";
492eb4d8dcSEmmanuel Vadot};
502eb4d8dcSEmmanuel Vadot
512eb4d8dcSEmmanuel Vadot&serial2 {
522eb4d8dcSEmmanuel Vadot	status = "okay";
532eb4d8dcSEmmanuel Vadot};
542eb4d8dcSEmmanuel Vadot
552eb4d8dcSEmmanuel Vadot&serial3 {
562eb4d8dcSEmmanuel Vadot	status = "okay";
572eb4d8dcSEmmanuel Vadot};
582eb4d8dcSEmmanuel Vadot
592eb4d8dcSEmmanuel Vadot&sdcard {
602eb4d8dcSEmmanuel Vadot	status = "okay";
612eb4d8dcSEmmanuel Vadot};
622eb4d8dcSEmmanuel Vadot
632eb4d8dcSEmmanuel Vadot&emac0 {
642eb4d8dcSEmmanuel Vadot	phy-mode = "sgmii";
652eb4d8dcSEmmanuel Vadot	phy-handle = <&phy0>;
662eb4d8dcSEmmanuel Vadot	phy0: ethernet-phy@8 {
672eb4d8dcSEmmanuel Vadot		reg = <8>;
682eb4d8dcSEmmanuel Vadot		ti,fifo-depth = <0x01>;
692eb4d8dcSEmmanuel Vadot	};
702eb4d8dcSEmmanuel Vadot};
712eb4d8dcSEmmanuel Vadot
722eb4d8dcSEmmanuel Vadot&emac1 {
732eb4d8dcSEmmanuel Vadot	status = "okay";
742eb4d8dcSEmmanuel Vadot	phy-mode = "sgmii";
752eb4d8dcSEmmanuel Vadot	phy-handle = <&phy1>;
762eb4d8dcSEmmanuel Vadot	phy1: ethernet-phy@9 {
772eb4d8dcSEmmanuel Vadot		reg = <9>;
782eb4d8dcSEmmanuel Vadot		ti,fifo-depth = <0x01>;
792eb4d8dcSEmmanuel Vadot	};
802eb4d8dcSEmmanuel Vadot};
81