1/*
2 * Copyright (c) 2021 Seagate Technology LLC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	model = "Seagate Legend 2.5 HDD board";
9	compatible = "legend25_hdd", "seagate,legend25_hdd";
10
11	aliases {
12		pwm-led0 = &pwm_led0;
13	};
14
15	led_pwm: pwmleds {
16		compatible = "pwm-leds";
17		label = "LED PWM";
18
19		pwm_led0: pwm_led_0 {
20			label = "Activity LED";
21			pwms = <&pwm3 3 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
22		};
23	};
24};
25
26&clk_hsi {
27	status = "okay";
28};
29
30&pll {
31	clocks = <&clk_hsi>;
32	prediv = <1>;
33	mul = <6>;
34	status = "okay";
35};
36
37&rcc {
38	clocks = <&pll>;
39	clock-frequency = <DT_FREQ_M(48)>;
40	ahb-prescaler = <1>;
41	apb1-prescaler = <1>;
42};
43
44&led_strip_spi {
45	chain-length = <6>;
46	status = "okay";
47};
48
49&timers3 {
50	status = "okay";
51};
52
53&pwm3 {
54	status = "okay";
55};
56