1ce20364bSShiraz Hashim== ST SPEAr SoC PWM controller == 2ce20364bSShiraz Hashim 3ce20364bSShiraz HashimRequired properties: 4ce20364bSShiraz Hashim- compatible: should be one of: 5ce20364bSShiraz Hashim - "st,spear320-pwm" 6ce20364bSShiraz Hashim - "st,spear1340-pwm" 7ce20364bSShiraz Hashim- reg: physical base address and length of the controller's registers 8ce20364bSShiraz Hashim- #pwm-cells: number of cells used to specify PWM which is fixed to 2 on 9ce20364bSShiraz Hashim SPEAr. The first cell specifies the per-chip index of the PWM to use and 10ce20364bSShiraz Hashim the second cell is the period in nanoseconds. 11ce20364bSShiraz Hashim 12ce20364bSShiraz HashimExample: 13ce20364bSShiraz Hashim 14ce20364bSShiraz Hashim pwm: pwm@a8000000 { 15ce20364bSShiraz Hashim compatible ="st,spear320-pwm"; 16ce20364bSShiraz Hashim reg = <0xa8000000 0x1000>; 17ce20364bSShiraz Hashim #pwm-cells = <2>; 18ce20364bSShiraz Hashim }; 19