| 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 "stm32mp151a-prtt1l.dtsi" |
| 9 |
|
| 10 |
/ { |
| 11 |
model = "Protonic PRTT1A"; |
| 12 |
compatible = "prt,prtt1a", "st,stm32mp151"; |
| 13 |
}; |
| 14 |
|
| 15 |
ðernet0 { |
| 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/pins} { |
| 32 |
pinmux = <STM32_PINMUX('A', 0, AF2)>; /* TIM5_CH1 */ |
| 33 |
}; |
| 34 |
|
| 35 |
&{pwm5_sleep_pins_a/pins} { |
| 36 |
pinmux = <STM32_PINMUX('A', 0, ANALOG)>; /* TIM5_CH1 */ |
| 37 |
}; |
| 38 |
|
| 39 |
&timers5 { |
| 40 |
status = "okay"; |
| 41 |
|
| 42 |
pwm { |
| 43 |
pinctrl-0 = <&pwm5_pins_a>; |
| 44 |
pinctrl-1 = <&pwm5_sleep_pins_a>; |
| 45 |
pinctrl-names = "default", "sleep"; |
| 46 |
status = "okay"; |
| 47 |
}; |
| 48 |
}; |