mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
pwm: support pwm for s7d [1/1]
PD#SWPL-147274 Problem: there is no s7d pwm support Solution: add s7d pwm support Verify: s7d pxp Change-Id: I88cc2c08a50f0edc0f68859f886707a2e1c07b1c Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
This commit is contained in:
@@ -976,9 +976,9 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm_c: pwm@5a000 {
|
||||
pwm_c: pwm@58400 {
|
||||
compatible = "amlogic,meson-even-pwm";
|
||||
reg = <0x0 0x5a000 0x0 0x24>,
|
||||
reg = <0x0 0x58400 0x0 0x24>,
|
||||
<0x0 0x184 0x0 0x4>;
|
||||
#pwm-cells = <3>;
|
||||
//clocks = <&clkc CLKID_PWM_C_SEL>;
|
||||
@@ -986,9 +986,9 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm_d: pwm@5a200 {
|
||||
pwm_d: pwm@58600 {
|
||||
compatible = "amlogic,meson-odd-pwm";
|
||||
reg = <0x0 0x5a000 0x0 0x24>,
|
||||
reg = <0x0 0x58600 0x0 0x24>,
|
||||
<0x0 0x184 0x0 0x4>;
|
||||
#pwm-cells = <3>;
|
||||
//clocks = <&clkc CLKID_PWM_D_SEL>;
|
||||
@@ -996,9 +996,9 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm_e: pwm@5c000 {
|
||||
pwm_e: pwm@58800 {
|
||||
compatible = "amlogic,meson-even-pwm";
|
||||
reg = <0x0 0x5c000 0x0 0x24>,
|
||||
reg = <0x0 0x58800 0x0 0x24>,
|
||||
<0x0 0x188 0x0 0x4>;
|
||||
#pwm-cells = <3>;
|
||||
//clocks = <&clkc CLKID_PWM_E_SEL>;
|
||||
@@ -1006,9 +1006,9 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm_f: pwm@5c200 {
|
||||
pwm_f: pwm@58a00 {
|
||||
compatible = "amlogic,meson-odd-pwm";
|
||||
reg = <0x0 0x5c000 0x0 0x24>,
|
||||
reg = <0x0 0x58a00 0x0 0x24>,
|
||||
<0x0 0x188 0x0 0x4>;
|
||||
#pwm-cells = <3>;
|
||||
//clocks = <&clkc CLKID_PWM_F_SEL>;
|
||||
@@ -1016,9 +1016,9 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm_g: pwm@5e000 {
|
||||
pwm_g: pwm@58c00 {
|
||||
compatible = "amlogic,meson-even-pwm";
|
||||
reg = <0x0 0x5e000 0x0 0x24>,
|
||||
reg = <0x0 0x58c00 0x0 0x24>,
|
||||
<0x0 0x18c 0x0 0x4>;
|
||||
#pwm-cells = <3>;
|
||||
//clocks = <&clkc CLKID_PWM_G_SEL>;
|
||||
@@ -1026,9 +1026,9 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm_h: pwm@5e200 {
|
||||
pwm_h: pwm@58e00 {
|
||||
compatible = "amlogic,meson-odd-pwm";
|
||||
reg = <0x0 0x5e000 0x0 0x24>,
|
||||
reg = <0x0 0x58e00 0x0 0x24>,
|
||||
<0x0 0x18c 0x0 0x4>;
|
||||
#pwm-cells = <3>;
|
||||
//clocks = <&clkc CLKID_PWM_H_SEL>;
|
||||
@@ -1036,9 +1036,9 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm_i: pwm@60000 {
|
||||
pwm_i: pwm@59000 {
|
||||
compatible = "amlogic,meson-even-pwm";
|
||||
reg = <0x0 0x60000 0x0 0x24>,
|
||||
reg = <0x0 0x59000 0x0 0x24>,
|
||||
<0x0 0x190 0x0 0x4>;
|
||||
#pwm-cells = <3>;
|
||||
//clocks = <&clkc CLKID_PWM_I_SEL>;
|
||||
@@ -1046,13 +1046,13 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm_j: pwm@62000 {
|
||||
compatible = "amlogic,meson-odd-pwm";
|
||||
reg = <0x0 0x60000 0x0 0x24>,
|
||||
<0x0 0x190 0x0 0x4>;
|
||||
pwm_j: pwm@59200 {
|
||||
compatible = "amlogic,meson-pwm-tee";
|
||||
reg = <0x0 0x59200 0x0 0x24>;
|
||||
#pwm-cells = <3>;
|
||||
//clocks = <&clkc CLKID_PWM_J_SEL>;
|
||||
//clock-names = "clkin0";
|
||||
// clocks = <&clkc CLKID_PWM_J>;
|
||||
// clock-names = "clkin0";
|
||||
tee_id = <9>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user