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 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 255 PWM_POLARITY_NORMAL>; 23 }; 24 }; 25}; 26 27&clk_hse { 28 clock-frequency = <DT_FREQ_M(24)>; /* 24MHz external clock */ 29 status = "okay"; 30}; 31 32&pll { 33 clocks = <&clk_hse>; 34 prediv = <1>; 35 mul = <2>; 36 status = "okay"; 37}; 38 39&rcc { 40 clocks = <&pll>; 41 clock-frequency = <DT_FREQ_M(48)>; 42 ahb-prescaler = <1>; 43 apb1-prescaler = <1>; 44}; 45 46&led_strip_spi { 47 chain-length = <12>; 48 status = "okay"; 49}; 50 51 52&timers3 { 53 status = "okay"; 54}; 55 56&pwm3 { 57 status = "okay"; 58}; 59 60&usb { 61 status = "okay"; 62}; 63