xref: /freebsd/sys/contrib/device-tree/src/arm/st/stm32mp151a-prtt1a.dts (revision e1e636193db45630c7881246d25902e57c43d24e)
1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * Copyright (C) Protonic Holland
4 * Author: David Jander <david@protonic.nl>
5 */
6/dts-v1/;
7
8#include "stm32mp151a-prtt1l.dtsi"
9
10/ {
11	model = "Protonic PRTT1A";
12	compatible = "prt,prtt1a", "st,stm32mp151";
13};
14
15&ethernet0 {
16	phy-handle = <&phy0>;
17};
18
19&mdio0 {
20	/* TI DP83TD510E */
21	phy0: ethernet-phy@0 {
22		compatible = "ethernet-phy-id2000.0181";
23		reg = <0>;
24		interrupts-extended = <&gpioa 4 IRQ_TYPE_LEVEL_LOW>;
25		reset-gpios = <&gpioa 3 GPIO_ACTIVE_LOW>;
26		reset-assert-us = <10>;
27		reset-deassert-us = <35>;
28	};
29};
30
31&pwm5_pins_a {
32	pins {
33		pinmux = <STM32_PINMUX('A', 0, AF2)>; /* TIM5_CH1 */
34	};
35};
36
37&pwm5_sleep_pins_a {
38	pins {
39		pinmux = <STM32_PINMUX('A', 0, ANALOG)>; /* TIM5_CH1 */
40	};
41};
42
43&timers5 {
44	status = "okay";
45
46	pwm {
47		pinctrl-0 = <&pwm5_pins_a>;
48		pinctrl-1 = <&pwm5_sleep_pins_a>;
49		pinctrl-names = "default", "sleep";
50		status = "okay";
51	};
52};
53