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