pwm: meson-g12a: fix pwm xtal

PD#156734: pwm: meson-g12a: fix pwm xtal

Fix pwm xtal.
And update pwm dts compatible.

Change-Id: I0314ed1b628abfe4a3e303ca827bdd50f2a2c2e8
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
This commit is contained in:
Bo Yang
2018-02-04 17:07:44 +08:00
committed by Yixun Lan
parent f6cd1db849
commit 6bd993ee05
2 changed files with 6 additions and 6 deletions

View File

@@ -396,7 +396,7 @@
};
pwm_ab: pwm@1b000 {
compatible = "amlogic,txlx-ee-pwm";
compatible = "amlogic,g12a-ee-pwm";
reg = <0x0 0x1b000 0x0 0x20>;
#pwm-cells = <3>;
clocks = <&xtal>,
@@ -414,7 +414,7 @@
};
pwm_cd: pwm@1a000 {
compatible = "amlogic,txlx-ee-pwm";
compatible = "amlogic,g12a-ee-pwm";
reg = <0x0 0x1a000 0x0 0x20>;
#pwm-cells = <3>;
clocks = <&xtal>,
@@ -429,7 +429,7 @@
};
pwm_ef: pwm@19000 {
compatible = "amlogic,txlx-ee-pwm";
compatible = "amlogic,g12a-ee-pwm";
reg = <0x0 0x19000 0x0 0x20>;
#pwm-cells = <3>;
clocks = <&xtal>,
@@ -515,7 +515,7 @@
};
pwm_AO_ab: pwm@7000 {
compatible = "amlogic,txlx-ao-pwm";
compatible = "amlogic,g12a-ao-pwm";
reg = <0x0 0x7000 0x0 0x20>;
#pwm-cells = <3>;
clocks = <&xtal>,
@@ -530,7 +530,7 @@
};
pwm_AO_cd: pwm@2000 {
compatible = "amlogic,txlx-ao-pwm";
compatible = "amlogic,g12a-ao-pwm";
reg = <0x0 0x2000 0x0 0x20>;
#pwm-cells = <3>;
clocks = <&xtal>,

View File

@@ -419,7 +419,7 @@ static const char * const pwm_g12a_ee_parent_names[] = {
};
static const char * const pwm_g12a_ao_parent_names[] = {
"clk81", "xtal", "fclk_div4", "fclk_div5"
"xtal", "clk81", "fclk_div4", "fclk_div5"
};
static const char * const pwm_txlx_ee_parent_names[] = {