linux/arch/arm/boot/dts/st/stm32mp151c-mecio1r0.dts
David Jander 8267753c89 ARM: dts: stm32: Add MECIO1 and MECT1S board variants
Introduce device tree support for the MECIO1 and MECT1S board variants.
MECIO1 is an I/O and motor control board used in blood sample analysis
machines. MECT1S is a 1000Base-T1 switch for internal machine networks
of blood sample analysis machines.

Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2024-09-05 11:31:55 +02:00

48 lines
1.1 KiB
Text

// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
/*
* Copyright (C) Protonic Holland
* Author: David Jander <david@protonic.nl>
*/
/dts-v1/;
#include "stm32mp151.dtsi"
#include "stm32mp15xc.dtsi"
#include "stm32mp15-pinctrl.dtsi"
#include "stm32mp15xxaa-pinctrl.dtsi"
#include "stm32mp15x-mecio1-io.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
/ {
model = "Protonic MECIO1r0";
compatible = "prt,mecio1r0", "st,stm32mp151";
led {
compatible = "gpio-leds";
led-0 {
color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_DEBUG;
gpios = <&gpioa 13 GPIO_ACTIVE_HIGH>;
};
led-1 {
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_DEBUG;
gpios = <&gpioa 14 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
};
};
&clk_hse {
clock-frequency = <25000000>;
};
&ethernet0 {
assigned-clocks = <&rcc ETHCK_K>, <&rcc PLL3_Q>;
assigned-clock-parents = <&rcc PLL3_Q>;
assigned-clock-rates = <125000000>; /* Clock PLL3 to 625Mhz in tf-a. */
st,eth-clk-sel;
};