1/* 2 * Copyright (c) 2023 Andriy Gelman 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 pwmclock: pwmclock { 9 status = "okay"; 10 compatible = "pwm-clock"; 11 #clock-cells = <1>; 12 clock-frequency = <1000000>; 13 pwms = <&pwm_ccu80 0 PWM_KHZ(1000) PWM_POLARITY_NORMAL>; 14 }; 15 16 samplenode: samplenode { 17 status = "okay"; 18 compatible = "test-clock-control-pwm-clock"; 19 clocks = <&pwmclock 0>; 20 }; 21}; 22 23&pwm_ccu80 { 24 status = "okay"; 25 slice-prescaler = <0 0 0 0>; 26}; 27