2021-11-17 12:51:17 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/*
|
2022-10-27 06:01:59 +00:00
|
|
|
* Copyright (C) 2021-2022 Microchip Technology Inc.
|
2021-11-17 12:51:17 +00:00
|
|
|
* Padmarao Begari <padmarao.begari@microchip.com>
|
|
|
|
*/
|
2021-01-15 02:50:39 +00:00
|
|
|
|
|
|
|
/dts-v1/;
|
2021-11-17 12:51:17 +00:00
|
|
|
|
2023-06-15 10:12:42 +00:00
|
|
|
#include "mpfs.dtsi"
|
2023-06-15 10:12:43 +00:00
|
|
|
#include "mpfs-icicle-kit-fabric.dtsi"
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
#include <dt-bindings/leds/common.h>
|
2021-01-15 02:50:39 +00:00
|
|
|
|
|
|
|
/* Clock frequency (in Hz) of the rtcclk */
|
|
|
|
#define RTCCLK_FREQ 1000000
|
|
|
|
|
|
|
|
/ {
|
2021-11-17 12:51:17 +00:00
|
|
|
model = "Microchip PolarFire-SoC Icicle Kit";
|
2023-06-15 10:12:43 +00:00
|
|
|
compatible = "microchip,mpfs-icicle-reference-rtlv2210", "microchip,mpfs-icicle-kit",
|
|
|
|
"microchip,mpfs";
|
2021-01-15 02:50:39 +00:00
|
|
|
|
|
|
|
aliases {
|
2021-11-17 12:51:17 +00:00
|
|
|
ethernet0 = &mac1;
|
2023-06-15 10:12:43 +00:00
|
|
|
serial0 = &mmuart0;
|
|
|
|
serial1 = &mmuart1;
|
|
|
|
serial2 = &mmuart2;
|
|
|
|
serial3 = &mmuart3;
|
|
|
|
serial4 = &mmuart4;
|
2021-01-15 02:50:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
2023-06-15 10:12:43 +00:00
|
|
|
stdout-path = "serial1:115200n8";
|
2021-01-15 02:50:39 +00:00
|
|
|
};
|
|
|
|
|
2021-11-17 12:51:17 +00:00
|
|
|
cpus {
|
2021-01-15 02:50:39 +00:00
|
|
|
timebase-frequency = <RTCCLK_FREQ>;
|
2021-11-17 12:51:17 +00:00
|
|
|
};
|
|
|
|
|
2023-06-15 10:12:43 +00:00
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
led-1 {
|
|
|
|
gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
|
|
|
|
color = <LED_COLOR_ID_RED>;
|
|
|
|
label = "led1";
|
|
|
|
};
|
|
|
|
|
|
|
|
led-2 {
|
|
|
|
gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>;
|
|
|
|
color = <LED_COLOR_ID_RED>;
|
|
|
|
label = "led2";
|
|
|
|
};
|
|
|
|
|
|
|
|
led-3 {
|
|
|
|
gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>;
|
|
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
|
|
label = "led3";
|
|
|
|
};
|
|
|
|
|
|
|
|
led-4 {
|
|
|
|
gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
|
|
|
|
color = <LED_COLOR_ID_AMBER>;
|
|
|
|
label = "led4";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-11-17 12:51:17 +00:00
|
|
|
ddrc_cache_lo: memory@80000000 {
|
2021-01-15 02:50:39 +00:00
|
|
|
device_type = "memory";
|
2022-10-27 06:01:59 +00:00
|
|
|
reg = <0x0 0x80000000 0x0 0x40000000>;
|
2021-11-17 12:51:17 +00:00
|
|
|
status = "okay";
|
2021-01-15 02:50:39 +00:00
|
|
|
};
|
|
|
|
|
2022-10-27 06:01:59 +00:00
|
|
|
ddrc_cache_hi: memory@1040000000 {
|
2021-11-17 12:51:17 +00:00
|
|
|
device_type = "memory";
|
2022-10-27 06:01:59 +00:00
|
|
|
reg = <0x10 0x40000000 0x0 0x40000000>;
|
2021-11-17 12:51:17 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2022-10-27 06:01:59 +00:00
|
|
|
|
|
|
|
reserved-memory {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
hss_payload: region@BFC00000 {
|
|
|
|
reg = <0x0 0xBFC00000 0x0 0x400000>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
};
|
2021-11-17 12:51:17 +00:00
|
|
|
};
|
2021-01-15 02:50:39 +00:00
|
|
|
|
2023-06-15 10:12:43 +00:00
|
|
|
&core_pwm0 {
|
|
|
|
status = "okay";
|
2022-10-25 07:58:49 +00:00
|
|
|
};
|
|
|
|
|
2023-06-15 10:12:43 +00:00
|
|
|
&gpio2 {
|
|
|
|
interrupts = <53>, <53>, <53>, <53>,
|
|
|
|
<53>, <53>, <53>, <53>,
|
|
|
|
<53>, <53>, <53>, <53>,
|
|
|
|
<53>, <53>, <53>, <53>,
|
|
|
|
<53>, <53>, <53>, <53>,
|
|
|
|
<53>, <53>, <53>, <53>,
|
|
|
|
<53>, <53>, <53>, <53>,
|
|
|
|
<53>, <53>, <53>, <53>;
|
2021-11-17 12:51:17 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2023-06-15 10:12:43 +00:00
|
|
|
&i2c0 {
|
2021-11-17 12:51:17 +00:00
|
|
|
status = "okay";
|
2023-06-15 10:12:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2021-11-17 12:51:17 +00:00
|
|
|
|
2023-06-15 10:12:43 +00:00
|
|
|
&mac0 {
|
|
|
|
phy-mode = "sgmii";
|
|
|
|
phy-handle = <&phy0>;
|
|
|
|
status = "enabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mac1 {
|
|
|
|
phy-mode = "sgmii";
|
|
|
|
phy-handle = <&phy1>;
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
phy1: ethernet-phy@9 {
|
|
|
|
reg = <9>;
|
|
|
|
};
|
|
|
|
|
|
|
|
phy0: ethernet-phy@8 {
|
|
|
|
reg = <8>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&mbox {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mmc {
|
2021-11-17 12:51:17 +00:00
|
|
|
bus-width = <4>;
|
|
|
|
disable-wp;
|
|
|
|
cap-sd-highspeed;
|
2023-06-15 10:12:43 +00:00
|
|
|
cap-mmc-highspeed;
|
2021-11-17 12:51:17 +00:00
|
|
|
mmc-ddr-1_8v;
|
|
|
|
mmc-hs200-1_8v;
|
|
|
|
sd-uhs-sdr12;
|
|
|
|
sd-uhs-sdr25;
|
|
|
|
sd-uhs-sdr50;
|
|
|
|
sd-uhs-sdr104;
|
2023-06-15 10:12:43 +00:00
|
|
|
status = "okay";
|
2021-11-17 12:51:17 +00:00
|
|
|
};
|
|
|
|
|
2023-06-15 10:12:43 +00:00
|
|
|
&mmuart1 {
|
2021-11-17 12:51:17 +00:00
|
|
|
status = "okay";
|
2023-06-15 10:12:43 +00:00
|
|
|
};
|
2021-11-17 12:51:17 +00:00
|
|
|
|
2023-06-15 10:12:43 +00:00
|
|
|
&mmuart2 {
|
|
|
|
status = "okay";
|
2021-01-15 02:50:39 +00:00
|
|
|
};
|
2021-11-17 12:51:17 +00:00
|
|
|
|
2023-06-15 10:12:43 +00:00
|
|
|
&mmuart3 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mmuart4 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pcie {
|
2021-11-17 12:51:17 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2022-10-27 06:02:00 +00:00
|
|
|
|
|
|
|
&qspi {
|
|
|
|
status = "okay";
|
2023-06-15 10:12:43 +00:00
|
|
|
};
|
2022-10-27 06:02:00 +00:00
|
|
|
|
2023-06-15 10:12:43 +00:00
|
|
|
&refclk {
|
|
|
|
clock-frequency = <125000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&refclk_ccc {
|
|
|
|
clock-frequency = <50000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&rtc {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&syscontroller {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb {
|
|
|
|
status = "okay";
|
|
|
|
dr_mode = "host";
|
2022-10-27 06:02:00 +00:00
|
|
|
};
|