Skip to content

Commit

Permalink
ARM: dts: sun5i: Add PWM controller node for A13 / A10s
Browse files Browse the repository at this point in the history
Add dts nodes for the PWM controller on the A13 / A10s.

Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
  • Loading branch information
jwrdegoede authored and mripard committed Oct 12, 2015
1 parent 465a225 commit 51763bd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/sun5i-a10s.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,14 @@
#size-cells = <0>;
};

pwm: pwm@01c20e00 {
compatible = "allwinner,sun5i-a10s-pwm";
reg = <0x01c20e00 0xc>;
clocks = <&osc24M>;
#pwm-cells = <3>;
status = "disabled";
};

uart0: serial@01c28000 {
compatible = "snps,dw-apb-uart";
reg = <0x01c28000 0x400>;
Expand Down
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/sun5i-a13.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,16 @@
"apb1_uart3";
};
};

soc@01c00000 {
pwm: pwm@01c20e00 {
compatible = "allwinner,sun5i-a13-pwm";
reg = <0x01c20e00 0xc>;
clocks = <&osc24M>;
#pwm-cells = <3>;
status = "disabled";
};
};
};

&cpu0 {
Expand Down

0 comments on commit 51763bd

Please sign in to comment.