|
2060 | 2060 | }; |
2061 | 2061 |
|
2062 | 2062 | pwm_AO_cd: pwm@2000 { |
2063 | | - compatible = "amlogic,meson-g12a-ao-pwm-cd"; |
| 2063 | + compatible = "amlogic,meson-g12-pwm-v2", |
| 2064 | + "amlogic,meson8-pwm-v2"; |
2064 | 2065 | reg = <0x0 0x2000 0x0 0x20>; |
| 2066 | + clocks = <&xtal>, |
| 2067 | + <&clkc_AO CLKID_AO_CLK81>; |
2065 | 2068 | #pwm-cells = <3>; |
2066 | 2069 | status = "disabled"; |
2067 | 2070 | }; |
|
2099 | 2102 | }; |
2100 | 2103 |
|
2101 | 2104 | pwm_AO_ab: pwm@7000 { |
2102 | | - compatible = "amlogic,meson-g12a-ao-pwm-ab"; |
| 2105 | + compatible = "amlogic,meson-g12-pwm-v2", |
| 2106 | + "amlogic,meson8-pwm-v2"; |
2103 | 2107 | reg = <0x0 0x7000 0x0 0x20>; |
| 2108 | + clocks = <&xtal>, |
| 2109 | + <&clkc_AO CLKID_AO_CLK81>, |
| 2110 | + <&clkc CLKID_FCLK_DIV4>, |
| 2111 | + <&clkc CLKID_FCLK_DIV5>; |
2104 | 2112 | #pwm-cells = <3>; |
2105 | 2113 | status = "disabled"; |
2106 | 2114 | }; |
|
2301 | 2309 | }; |
2302 | 2310 |
|
2303 | 2311 | pwm_ef: pwm@19000 { |
2304 | | - compatible = "amlogic,meson-g12a-ee-pwm"; |
| 2312 | + compatible = "amlogic,meson-g12-pwm-v2", |
| 2313 | + "amlogic,meson8-pwm-v2"; |
2305 | 2314 | reg = <0x0 0x19000 0x0 0x20>; |
| 2315 | + clocks = <&xtal>, |
| 2316 | + <>, /* unknown/untested, the datasheet calls it "vid_pll" */ |
| 2317 | + <&clkc CLKID_FCLK_DIV4>, |
| 2318 | + <&clkc CLKID_FCLK_DIV3>; |
2306 | 2319 | #pwm-cells = <3>; |
2307 | 2320 | status = "disabled"; |
2308 | 2321 | }; |
2309 | 2322 |
|
2310 | 2323 | pwm_cd: pwm@1a000 { |
2311 | | - compatible = "amlogic,meson-g12a-ee-pwm"; |
| 2324 | + compatible = "amlogic,meson-g12-pwm-v2", |
| 2325 | + "amlogic,meson8-pwm-v2"; |
2312 | 2326 | reg = <0x0 0x1a000 0x0 0x20>; |
| 2327 | + clocks = <&xtal>, |
| 2328 | + <>, /* unknown/untested, the datasheet calls it "vid_pll" */ |
| 2329 | + <&clkc CLKID_FCLK_DIV4>, |
| 2330 | + <&clkc CLKID_FCLK_DIV3>; |
2313 | 2331 | #pwm-cells = <3>; |
2314 | 2332 | status = "disabled"; |
2315 | 2333 | }; |
2316 | 2334 |
|
2317 | 2335 | pwm_ab: pwm@1b000 { |
2318 | | - compatible = "amlogic,meson-g12a-ee-pwm"; |
| 2336 | + compatible = "amlogic,meson-g12-pwm-v2", |
| 2337 | + "amlogic,meson8-pwm-v2"; |
2319 | 2338 | reg = <0x0 0x1b000 0x0 0x20>; |
| 2339 | + clocks = <&xtal>, |
| 2340 | + <>, /* unknown/untested, the datasheet calls it "vid_pll" */ |
| 2341 | + <&clkc CLKID_FCLK_DIV4>, |
| 2342 | + <&clkc CLKID_FCLK_DIV3>; |
2320 | 2343 | #pwm-cells = <3>; |
2321 | 2344 | status = "disabled"; |
2322 | 2345 | }; |
|
0 commit comments