1/*
2 * Copyright (c) 2021 Seagate Technology LLC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	model = "Seagate Legend 3.5 board";
9	compatible = "legend35", "seagate,legend35";
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_hse {
27	clock-frequency = <DT_FREQ_M(24)>; /* 24MHz external clock */
28	status = "okay";
29};
30
31&pll {
32	clocks = <&clk_hse>;
33	prediv = <1>;
34	mul = <2>;
35	status = "okay";
36};
37
38&rcc {
39	clocks = <&pll>;
40	clock-frequency = <DT_FREQ_M(48)>;
41	ahb-prescaler = <1>;
42	apb1-prescaler = <1>;
43};
44
45&led_strip_spi {
46	chain-length = <12>;
47	status = "okay";
48};
49
50
51&timers3 {
52	status = "okay";
53};
54
55&pwm3 {
56	status = "okay";
57};
58
59&usb {
60	status = "okay";
61};
62