Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
159 lines
2.3 KiB
Devicetree
159 lines
2.3 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Original all-in-one devicetree:
|
|
* Copyright (C) 2020-2022 - Aldec
|
|
* Rewritten to use includes:
|
|
* Copyright (C) 2022 - Conor Dooley <conor.dooley@microchip.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "mpfs.dtsi"
|
|
#include "mpfs-tysom-m-fabric.dtsi"
|
|
|
|
/ {
|
|
model = "Aldec TySOM-M-MPFS250T-REV2";
|
|
compatible = "aldec,tysom-m-mpfs250t-rev2", "microchip,mpfs";
|
|
|
|
aliases {
|
|
ethernet0 = &mac0;
|
|
ethernet1 = &mac1;
|
|
serial0 = &mmuart0;
|
|
serial1 = &mmuart1;
|
|
serial2 = &mmuart2;
|
|
serial3 = &mmuart3;
|
|
serial4 = &mmuart4;
|
|
gpio0 = &gpio0;
|
|
gpio1 = &gpio2;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial1:115200n8";
|
|
};
|
|
|
|
ddrc_cache_lo: memory@80000000 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x80000000 0x0 0x30000000>;
|
|
status = "okay";
|
|
};
|
|
|
|
ddrc_cache_hi: memory@1000000000 {
|
|
device_type = "memory";
|
|
reg = <0x10 0x00000000 0x0 0x40000000>;
|
|
status = "okay";
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
status = "okay";
|
|
|
|
led0 {
|
|
gpios = <&gpio1 23 1>;
|
|
default-state = "on";
|
|
linux,default-trigger = "heartbeat";
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
hwmon: hwmon@45 {
|
|
status = "okay";
|
|
compatible = "ti,ina219";
|
|
reg = <0x45>;
|
|
shunt-resistor = <2000>;
|
|
};
|
|
};
|
|
|
|
&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";
|
|
};
|
|
|
|
&mac0 {
|
|
status = "okay";
|
|
phy-mode = "gmii";
|
|
phy-handle = <&phy0>;
|
|
|
|
};
|
|
|
|
&mac1 {
|
|
status = "okay";
|
|
phy-mode = "gmii";
|
|
phy-handle = <&phy1>;
|
|
phy1: ethernet-phy@1 {
|
|
reg = <1>;
|
|
};
|
|
phy0: ethernet-phy@0 {
|
|
reg = <0>;
|
|
};
|
|
};
|
|
|
|
&mbox {
|
|
status = "okay";
|
|
};
|
|
|
|
&mmc {
|
|
max-frequency = <200000000>;
|
|
cap-mmc-highspeed;
|
|
cap-sd-highspeed;
|
|
no-1-8-v;
|
|
disable-wp;
|
|
status = "okay";
|
|
};
|
|
|
|
&mmuart1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&mmuart2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&mmuart3 {
|
|
status = "okay";
|
|
};
|
|
|
|
&mmuart4 {
|
|
status = "okay";
|
|
};
|
|
|
|
&refclk {
|
|
clock-frequency = <125000000>;
|
|
};
|
|
|
|
&rtc {
|
|
status = "okay";
|
|
};
|
|
|
|
&spi0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&spi1 {
|
|
status = "okay";
|
|
flash@0 {
|
|
compatible = "micron,n25q128a11", "jedec,spi-nor";
|
|
reg = <0x0>;
|
|
spi-max-frequency = <10000000>;
|
|
};
|
|
};
|
|
|
|
&syscontroller {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb {
|
|
status = "okay";
|
|
dr_mode = "host";
|
|
};
|