xref: /freebsd-src/sys/contrib/device-tree/src/riscv/microchip/microchip-mpfs-icicle-kit.dts (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
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	model = "Microchip PolarFire-SoC Icicle Kit";
138cc087a1SEmmanuel Vadot	compatible = "microchip,mpfs-icicle-kit", "microchip,mpfs";
142eb4d8dcSEmmanuel Vadot
155956d97fSEmmanuel Vadot	aliases {
165956d97fSEmmanuel Vadot		ethernet0 = &emac1;
17354d7675SEmmanuel Vadot		serial0 = &serial0;
18354d7675SEmmanuel Vadot		serial1 = &serial1;
19354d7675SEmmanuel Vadot		serial2 = &serial2;
20354d7675SEmmanuel Vadot		serial3 = &serial3;
215956d97fSEmmanuel Vadot	};
225956d97fSEmmanuel Vadot
232eb4d8dcSEmmanuel Vadot	chosen {
24354d7675SEmmanuel Vadot		stdout-path = "serial0:115200n8";
252eb4d8dcSEmmanuel Vadot	};
262eb4d8dcSEmmanuel Vadot
272eb4d8dcSEmmanuel Vadot	cpus {
282eb4d8dcSEmmanuel Vadot		timebase-frequency = <RTCCLK_FREQ>;
292eb4d8dcSEmmanuel Vadot	};
302eb4d8dcSEmmanuel Vadot
312eb4d8dcSEmmanuel Vadot	memory@80000000 {
322eb4d8dcSEmmanuel Vadot		device_type = "memory";
332eb4d8dcSEmmanuel Vadot		reg = <0x0 0x80000000 0x0 0x40000000>;
342eb4d8dcSEmmanuel Vadot		clocks = <&clkcfg 26>;
352eb4d8dcSEmmanuel Vadot	};
362eb4d8dcSEmmanuel Vadot};
372eb4d8dcSEmmanuel Vadot
38*e67e8565SEmmanuel Vadot&refclk {
39*e67e8565SEmmanuel Vadot	clock-frequency = <600000000>;
40*e67e8565SEmmanuel Vadot};
41*e67e8565SEmmanuel Vadot
422eb4d8dcSEmmanuel Vadot&serial0 {
432eb4d8dcSEmmanuel Vadot	status = "okay";
442eb4d8dcSEmmanuel Vadot};
452eb4d8dcSEmmanuel Vadot
462eb4d8dcSEmmanuel Vadot&serial1 {
472eb4d8dcSEmmanuel Vadot	status = "okay";
482eb4d8dcSEmmanuel Vadot};
492eb4d8dcSEmmanuel Vadot
502eb4d8dcSEmmanuel Vadot&serial2 {
512eb4d8dcSEmmanuel Vadot	status = "okay";
522eb4d8dcSEmmanuel Vadot};
532eb4d8dcSEmmanuel Vadot
542eb4d8dcSEmmanuel Vadot&serial3 {
552eb4d8dcSEmmanuel Vadot	status = "okay";
562eb4d8dcSEmmanuel Vadot};
572eb4d8dcSEmmanuel Vadot
588cc087a1SEmmanuel Vadot&mmc {
592eb4d8dcSEmmanuel Vadot	status = "okay";
608cc087a1SEmmanuel Vadot
618cc087a1SEmmanuel Vadot	bus-width = <4>;
628cc087a1SEmmanuel Vadot	disable-wp;
638cc087a1SEmmanuel Vadot	cap-sd-highspeed;
648cc087a1SEmmanuel Vadot	card-detect-delay = <200>;
658cc087a1SEmmanuel Vadot	sd-uhs-sdr12;
668cc087a1SEmmanuel Vadot	sd-uhs-sdr25;
678cc087a1SEmmanuel Vadot	sd-uhs-sdr50;
688cc087a1SEmmanuel Vadot	sd-uhs-sdr104;
692eb4d8dcSEmmanuel Vadot};
702eb4d8dcSEmmanuel Vadot
712eb4d8dcSEmmanuel Vadot&emac0 {
722eb4d8dcSEmmanuel Vadot	phy-mode = "sgmii";
732eb4d8dcSEmmanuel Vadot	phy-handle = <&phy0>;
742eb4d8dcSEmmanuel Vadot	phy0: ethernet-phy@8 {
752eb4d8dcSEmmanuel Vadot		reg = <8>;
762eb4d8dcSEmmanuel Vadot		ti,fifo-depth = <0x01>;
772eb4d8dcSEmmanuel Vadot	};
782eb4d8dcSEmmanuel Vadot};
792eb4d8dcSEmmanuel Vadot
802eb4d8dcSEmmanuel Vadot&emac1 {
812eb4d8dcSEmmanuel Vadot	status = "okay";
822eb4d8dcSEmmanuel Vadot	phy-mode = "sgmii";
832eb4d8dcSEmmanuel Vadot	phy-handle = <&phy1>;
842eb4d8dcSEmmanuel Vadot	phy1: ethernet-phy@9 {
852eb4d8dcSEmmanuel Vadot		reg = <9>;
862eb4d8dcSEmmanuel Vadot		ti,fifo-depth = <0x01>;
872eb4d8dcSEmmanuel Vadot	};
882eb4d8dcSEmmanuel Vadot};
89