zephyr/boards/arm/legend/legend_35.overlay

63 lines
877 B
Plaintext

/*
* Copyright (c) 2021 Seagate Technology LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
model = "Seagate Legend 3.5 board";
compatible = "legend35", "seagate,legend35";
aliases {
pwm-led0 = &pwm_led0;
led-strip = &led_strip_spi;
};
led_pwm: pwmleds {
compatible = "pwm-leds";
label = "LED PWM";
pwm_led0: pwm_led_0 {
label = "Activity LED";
pwms = <&pwm3 3 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
};
};
};
&clk_hse {
clock-frequency = <DT_FREQ_M(24)>; /* 24MHz external clock */
status = "okay";
};
&pll {
clocks = <&clk_hse>;
prediv = <1>;
mul = <2>;
status = "okay";
};
&rcc {
clocks = <&pll>;
clock-frequency = <DT_FREQ_M(48)>;
ahb-prescaler = <1>;
apb1-prescaler = <1>;
};
&led_strip_spi {
chain-length = <12>;
status = "okay";
};
&timers3 {
status = "okay";
};
&pwm3 {
status = "okay";
};
&usb {
status = "okay";
};