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 led-strip = &led_strip_spi; 14 }; 15 16 led_pwm: pwmleds { 17 compatible = "pwm-leds"; 18 label = "LED PWM"; 19 20 pwm_led0: pwm_led_0 { 21 label = "Activity LED"; 22 pwms = <&pwm3 3 PWM_MSEC(20) PWM_POLARITY_NORMAL>; 23 }; 24 }; 25}; 26 27&clk_hsi { 28 status = "okay"; 29}; 30 31&pll { 32 clocks = <&clk_hsi>; 33 prediv = <1>; 34 mul = <6>; 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 = <6>; 47 status = "okay"; 48}; 49 50&timers3 { 51 status = "okay"; 52}; 53 54&pwm3 { 55 status = "okay"; 56}; 57