arm: soc: kinetis: Update PWM dts support
Add #pwm-cells properties to kinetis dts files and update the yaml binding to spec the two cells as pin and period (in nanosecond to match Linux Kernel binding spec). Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
30960e61bf
commit
d857d2fac2
3 changed files with 12 additions and 7 deletions
|
@ -337,8 +337,8 @@
|
|||
reg = <0x40038000 0x98>;
|
||||
interrupts = <42 0>;
|
||||
label = "PWM_0";
|
||||
/* channel information needed - fixme */
|
||||
status = "disabled";
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
|
||||
pwm1: pwm@40039000{
|
||||
|
@ -346,8 +346,8 @@
|
|||
reg = <0x40039000 0x98>;
|
||||
interrupts = <43 0>;
|
||||
label = "PWM_1";
|
||||
/* channel information needed - fixme */
|
||||
status = "disabled";
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
|
||||
pwm2: pwm@4003a000{
|
||||
|
@ -355,8 +355,8 @@
|
|||
reg = <0x4003a000 0x98>;
|
||||
interrupts = <44 0>;
|
||||
label = "PWM_2";
|
||||
/* channel information needed - fixme */
|
||||
status = "disabled";
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
|
||||
pwm3: pwm@400b9000{
|
||||
|
@ -364,8 +364,8 @@
|
|||
reg = <0x400b9000 0x98>;
|
||||
interrupts = <71 0>;
|
||||
label = "PWM_3";
|
||||
/* channel information needed - fixme */
|
||||
status = "disabled";
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
|
||||
adc0: adc@4003b000{
|
||||
|
|
|
@ -287,8 +287,8 @@
|
|||
reg = <0x40038000 0x98>;
|
||||
interrupts = <42 0>;
|
||||
label = "PWM_0";
|
||||
/* channel information needed - fixme */
|
||||
status = "disabled";
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
|
||||
pwm1: pwm@40039000{
|
||||
|
@ -296,8 +296,8 @@
|
|||
reg = <0x40039000 0x98>;
|
||||
interrupts = <43 0>;
|
||||
label = "PWM_1";
|
||||
/* channel information needed - fixme */
|
||||
status = "disabled";
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
|
||||
pwm2: pwm@4003a000{
|
||||
|
@ -305,8 +305,8 @@
|
|||
reg = <0x4003a000 0x98>;
|
||||
interrupts = <44 0>;
|
||||
label = "PWM_2";
|
||||
/* channel information needed - fixme */
|
||||
status = "disabled";
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
|
||||
adc0: adc@4003b000{
|
||||
|
|
|
@ -28,4 +28,9 @@ properties:
|
|||
category: required
|
||||
description: required interrupts
|
||||
generation: define
|
||||
|
||||
"#cells":
|
||||
- channel
|
||||
# period in terms of nanoseconds
|
||||
- period
|
||||
...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue