Debian Codegraph @

arch/arm/boot/dts/st/stm32mp151c-mecio1r0.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2 /*
3 * Copyright (C) Protonic Holland
4 * Author: David Jander <[email protected]>
5 */
6 /dts-v1/;
7
8 #include "stm32mp151.dtsi"
9 #include "stm32mp15xc.dtsi"
10 #include "stm32mp15-pinctrl.dtsi"
11 #include "stm32mp15xxaa-pinctrl.dtsi"
12 #include "stm32mp15x-mecio1-io.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/leds/common.h>
16
17 / {
18 model = "Protonic MECIO1r0";
19 compatible = "prt,mecio1r0", "st,stm32mp151";
20
21 led {
22 compatible = "gpio-leds";
23
24 led-0 {
25 color = <LED_COLOR_ID_RED>;
26 function = LED_FUNCTION_DEBUG;
27 gpios = <&gpioa 13 GPIO_ACTIVE_HIGH>;
28 };
29
30 led-1 {
31 color = <LED_COLOR_ID_GREEN>;
32 function = LED_FUNCTION_DEBUG;
33 gpios = <&gpioa 14 GPIO_ACTIVE_HIGH>;
34 linux,default-trigger = "heartbeat";
35 };
36 };
37 };
38
39 &clk_hse {
40 clock-frequency = <25000000>;
41 };
42
43 &ethernet0 {
44 assigned-clocks = <&rcc ETHCK_K>, <&rcc PLL3_Q>;
45 assigned-clock-parents = <&rcc PLL3_Q>;
46 assigned-clock-rates = <125000000>; /* Clock PLL3 to 625Mhz in tf-a. */
47 st,eth-clk-sel;
48 };