ARM: dts: am4372: Add pwm-cells property for ecap device.
authorSourav Poddar <sourav.poddar@ti.com>
Thu, 19 Dec 2013 12:33:33 +0000 (18:03 +0530)
committerBenoit Cousson <bcousson@baylibre.com>
Sun, 2 Mar 2014 17:36:41 +0000 (18:36 +0100)
Add "pwm-cells" node for all ecap, ehrpwm in am43x dtsi files.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
arch/arm/boot/dts/am4372.dtsi

index c6bd4d9..5a7cc38 100644 (file)
 
                        ecap0: ecap@48300100 {
                                compatible = "ti,am4372-ecap","ti,am33xx-ecap";
+                               #pwm-cells = <3>;
                                reg = <0x48300100 0x80>;
                                ti,hwmods = "ecap0";
                                status = "disabled";
 
                        ehrpwm0: ehrpwm@48300200 {
                                compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+                               #pwm-cells = <3>;
                                reg = <0x48300200 0x80>;
                                ti,hwmods = "ehrpwm0";
                                status = "disabled";
 
                        ecap1: ecap@48302100 {
                                compatible = "ti,am4372-ecap","ti,am33xx-ecap";
+                               #pwm-cells = <3>;
                                reg = <0x48302100 0x80>;
                                ti,hwmods = "ecap1";
                                status = "disabled";
 
                        ehrpwm1: ehrpwm@48302200 {
                                compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+                               #pwm-cells = <3>;
                                reg = <0x48302200 0x80>;
                                ti,hwmods = "ehrpwm1";
                                status = "disabled";
 
                        ecap2: ecap@48304100 {
                                compatible = "ti,am4372-ecap","ti,am33xx-ecap";
+                               #pwm-cells = <3>;
                                reg = <0x48304100 0x80>;
                                ti,hwmods = "ecap2";
                                status = "disabled";
 
                        ehrpwm2: ehrpwm@48304200 {
                                compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+                               #pwm-cells = <3>;
                                reg = <0x48304200 0x80>;
                                ti,hwmods = "ehrpwm2";
                                status = "disabled";
 
                        ehrpwm3: ehrpwm@48306200 {
                                compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+                               #pwm-cells = <3>;
                                reg = <0x48306200 0x80>;
                                ti,hwmods = "ehrpwm3";
                                status = "disabled";
 
                        ehrpwm4: ehrpwm@48308200 {
                                compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+                               #pwm-cells = <3>;
                                reg = <0x48308200 0x80>;
                                ti,hwmods = "ehrpwm4";
                                status = "disabled";
 
                        ehrpwm5: ehrpwm@4830a200 {
                                compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+                               #pwm-cells = <3>;
                                reg = <0x4830a200 0x80>;
                                ti,hwmods = "ehrpwm5";
                                status = "disabled";