| // SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| /* Copyright (c) 2020-2025 Microchip Technology Inc */ |
| |
| /dts-v1/; |
| |
| #include "mpfs.dtsi" |
| #include "mpfs-disco-kit-fabric.dtsi" |
| #include <dt-bindings/gpio/gpio.h> |
| #include <dt-bindings/leds/common.h> |
| |
| / { |
| model = "Microchip PolarFire-SoC Discovery Kit"; |
| compatible = "microchip,mpfs-disco-kit-reference-rtl-v2507", |
| "microchip,mpfs-disco-kit", |
| "microchip,mpfs"; |
| |
| aliases { |
| ethernet0 = &mac0; |
| serial4 = &mmuart4; |
| }; |
| |
| chosen { |
| stdout-path = "serial4:115200n8"; |
| }; |
| |
| leds { |
| compatible = "gpio-leds"; |
| |
| led-1 { |
| gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>; |
| color = <LED_COLOR_ID_AMBER>; |
| label = "led1"; |
| }; |
| |
| led-2 { |
| gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>; |
| color = <LED_COLOR_ID_RED>; |
| label = "led2"; |
| }; |
| |
| led-3 { |
| gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; |
| color = <LED_COLOR_ID_AMBER>; |
| label = "led3"; |
| }; |
| |
| led-4 { |
| gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>; |
| color = <LED_COLOR_ID_RED>; |
| label = "led4"; |
| }; |
| |
| led-5 { |
| gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; |
| color = <LED_COLOR_ID_AMBER>; |
| label = "led5"; |
| }; |
| |
| led-6 { |
| gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; |
| color = <LED_COLOR_ID_RED>; |
| label = "led6"; |
| }; |
| |
| led-7 { |
| gpios = <&gpio2 23 GPIO_ACTIVE_HIGH>; |
| color = <LED_COLOR_ID_AMBER>; |
| label = "led7"; |
| }; |
| |
| led-8 { |
| gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
| color = <LED_COLOR_ID_RED>; |
| label = "led8"; |
| }; |
| }; |
| |
| ddrc_cache_lo: memory@80000000 { |
| device_type = "memory"; |
| reg = <0x0 0x80000000 0x0 0x40000000>; |
| }; |
| |
| reserved-memory { |
| #address-cells = <2>; |
| #size-cells = <2>; |
| ranges; |
| |
| hss_payload: region@bfc00000 { |
| reg = <0x0 0xbfc00000 0x0 0x400000>; |
| no-map; |
| }; |
| }; |
| }; |
| |
| &core_pwm0 { |
| status = "okay"; |
| }; |
| |
| &gpio1 { |
| interrupts = <27>, <28>, <29>, <30>, |
| <31>, <32>, <33>, <47>, |
| <35>, <36>, <37>, <38>, |
| <39>, <40>, <41>, <42>, |
| <43>, <44>, <45>, <46>, |
| <47>, <48>, <49>, <50>; |
| status = "okay"; |
| }; |
| |
| &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>; |
| status = "okay"; |
| }; |
| |
| &i2c0 { |
| status = "okay"; |
| }; |
| |
| &i2c2 { |
| status = "okay"; |
| }; |
| |
| &ihc { |
| status = "okay"; |
| }; |
| |
| &mac0 { |
| phy-mode = "sgmii"; |
| phy-handle = <&phy0>; |
| status = "okay"; |
| |
| phy0: ethernet-phy@b { |
| reg = <0xb>; |
| }; |
| }; |
| |
| &mbox { |
| status = "okay"; |
| }; |
| |
| &mmc { |
| bus-width = <4>; |
| disable-wp; |
| cap-sd-highspeed; |
| cap-mmc-highspeed; |
| sd-uhs-sdr12; |
| sd-uhs-sdr25; |
| sd-uhs-sdr50; |
| sd-uhs-sdr104; |
| no-1-8-v; |
| status = "okay"; |
| }; |
| |
| &mmuart1 { |
| status = "okay"; |
| }; |
| |
| &mmuart4 { |
| status = "okay"; |
| }; |
| |
| &refclk { |
| clock-frequency = <125000000>; |
| }; |
| |
| &refclk_ccc { |
| clock-frequency = <50000000>; |
| }; |
| |
| &rtc { |
| status = "okay"; |
| }; |
| |
| &spi0 { |
| status = "okay"; |
| }; |
| |
| &spi1 { |
| status = "okay"; |
| }; |
| |
| &syscontroller { |
| status = "okay"; |
| }; |