Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
0002 /*
0003  * Copyright (C) Protonic Holland
0004  * Author: David Jander <david@protonic.nl>
0005  */
0006 /dts-v1/;
0007 
0008 #include "stm32mp151a-prtt1l.dtsi"
0009 
0010 / {
0011         model = "Protonic PRTT1A";
0012         compatible = "prt,prtt1a", "st,stm32mp151";
0013 };
0014 
0015 &ethernet0 {
0016         phy-handle = <&phy0>;
0017 };
0018 
0019 &mdio0 {
0020         /* TI DP83TD510E */
0021         phy0: ethernet-phy@0 {
0022                 compatible = "ethernet-phy-id2000.0181";
0023                 reg = <0>;
0024                 interrupts-extended = <&gpioa 4 IRQ_TYPE_LEVEL_LOW>;
0025                 reset-gpios = <&gpioa 3 GPIO_ACTIVE_LOW>;
0026                 reset-assert-us = <10>;
0027                 reset-deassert-us = <35>;
0028         };
0029 };
0030 
0031 &pwm5_pins_a {
0032         pins {
0033                 pinmux = <STM32_PINMUX('A', 0, AF2)>; /* TIM5_CH1 */
0034         };
0035 };
0036 
0037 &pwm5_sleep_pins_a {
0038         pins {
0039                 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; /* TIM5_CH1 */
0040         };
0041 };
0042 
0043 &timers5 {
0044         status = "okay";
0045 
0046         pwm {
0047                 pinctrl-0 = <&pwm5_pins_a>;
0048                 pinctrl-1 = <&pwm5_sleep_pins_a>;
0049                 pinctrl-names = "default", "sleep";
0050                 status = "okay";
0051         };
0052 };