Files
microros_turntable_controller/boards/nucleo_h563zi.overlay
2025-08-31 12:02:36 +02:00

49 lines
826 B
Plaintext

/ {
aliases {
led0 = &red_led_1;
led1 = &yellow_led_1;
led2 = &green_led_1;
servo0 = &pwm_servo0;
};
pwmleds: pwmleds {
compatible = "pwm-leds";
status = "okay";
pwm_servo0: pwm_servo0 {
pwms = <&pwm4 3 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
label = "servo 0";
};
};
};
&uart4 {
status = "okay";
current-speed = <460800>;
pinctrl-0 = <&uart4_tx_pa0 &uart4_rx_pd0>;
pinctrl-names = "default";
};
&usart3 {
status = "okay";
};
&timers4 {
status = "okay";
st,prescaler = <119>;
pwm4: pwm {
status = "okay";
pinctrl-0 = <&tim4_ch3_pb8>;
pinctrl-names = "default";
};
};
&fdcan1 {
pinctrl-0 = <&fdcan1_rx_pd0 &fdcan1_tx_pd1>;
bitrate = <500000>;
bitrate-data = <4000000>;
status = "okay";
};