1*c66ec88fSEmmanuel Vadot*Imagination Technologies PWM DAC driver 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot - compatible: Should be "img,pistachio-pwm" 5*c66ec88fSEmmanuel Vadot - reg: Should contain physical base address and length of pwm registers. 6*c66ec88fSEmmanuel Vadot - clocks: Must contain an entry for each entry in clock-names. 7*c66ec88fSEmmanuel Vadot See ../clock/clock-bindings.txt for details. 8*c66ec88fSEmmanuel Vadot - clock-names: Must include the following entries. 9*c66ec88fSEmmanuel Vadot - pwm: PWM operating clock. 10*c66ec88fSEmmanuel Vadot - sys: PWM system interface clock. 11*c66ec88fSEmmanuel Vadot - #pwm-cells: Should be 2. See pwm.yaml in this directory for the 12*c66ec88fSEmmanuel Vadot description of the cells format. 13*c66ec88fSEmmanuel Vadot - img,cr-periph: Must contain a phandle to the peripheral control 14*c66ec88fSEmmanuel Vadot syscon node which contains PWM control registers. 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel VadotExample: 17*c66ec88fSEmmanuel Vadot pwm: pwm@18101300 { 18*c66ec88fSEmmanuel Vadot compatible = "img,pistachio-pwm"; 19*c66ec88fSEmmanuel Vadot reg = <0x18101300 0x100>; 20*c66ec88fSEmmanuel Vadot clocks = <&pwm_clk>, <&system_clk>; 21*c66ec88fSEmmanuel Vadot clock-names = "pwm", "sys"; 22*c66ec88fSEmmanuel Vadot #pwm-cells = <2>; 23*c66ec88fSEmmanuel Vadot img,cr-periph = <&cr_periph>; 24*c66ec88fSEmmanuel Vadot }; 25