summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/st/stm32mp151a-prtt1a.dts
blob: 75874eafde11ef6e46f93da8591b10cf8b53ceb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
/*
 * Copyright (C) Protonic Holland
 * Author: David Jander <david@protonic.nl>
 */
/dts-v1/;

#include "stm32mp151a-prtt1l.dtsi"

/ {
	model = "Protonic PRTT1A";
	compatible = "prt,prtt1a", "st,stm32mp151";
};

&ethernet0 {
	phy-handle = <&phy0>;
};

&mdio0 {
	/* TI DP83TD510E */
	phy0: ethernet-phy@0 {
		compatible = "ethernet-phy-id2000.0181";
		reg = <0>;
		interrupts-extended = <&gpioa 4 IRQ_TYPE_LEVEL_LOW>;
		reset-gpios = <&gpioa 3 GPIO_ACTIVE_LOW>;
		reset-assert-us = <10>;
		reset-deassert-us = <35>;
	};
};

&pwm5_pins_a {
	pins {
		pinmux = <STM32_PINMUX('A', 0, AF2)>; /* TIM5_CH1 */
	};
};

&pwm5_sleep_pins_a {
	pins {
		pinmux = <STM32_PINMUX('A', 0, ANALOG)>; /* TIM5_CH1 */
	};
};

&timers5 {
	status = "okay";

	pwm {
		pinctrl-0 = <&pwm5_pins_a>;
		pinctrl-1 = <&pwm5_sleep_pins_a>;
		pinctrl-names = "default", "sleep";
		status = "okay";
	};
};