Skip to content

Commit c6b8a2a

Browse files
committed
board: photonicat2: move pwm nodes to device tree and remove wrong pwm node
1 parent edd54eb commit c6b8a2a

File tree

2 files changed

+13
-56
lines changed

2 files changed

+13
-56
lines changed

patch/kernel/archive/rockchip64-6.18/dt/rk3576-photonicat2.dts

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,6 @@
280280
default-brightness-level = <40>;
281281
};
282282

283-
beeper: beeper {
284-
compatible = "pwm-beeper";
285-
pwms = <&pwm1_6ch_0 0 5000 0>;
286-
status = "okay";
287-
};
288-
289283
rfkill-usb-wlan {
290284
compatible = "rfkill-gpio";
291285
pinctrl-names = "default";
@@ -333,6 +327,19 @@
333327
reset-ms = <500>;
334328
scan-interval = <15000>;
335329
};
330+
331+
pwm2_8ch_2: pwm@2ade2000 {
332+
compatible = "rockchip,rk3576-pwm";
333+
reg = <0x0 0x2ade2000 0x0 0x1000>;
334+
clocks = <&cru CLK_PWM2>, <&cru PCLK_PWM2>,
335+
<&cru CLK_OSC_PWM2>, <&cru CLK_RC_PWM2>;
336+
clock-names = "pwm", "pclk", "osc", "rc";
337+
interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
338+
pinctrl-names = "default";
339+
pinctrl-0 = <&pwm2m0_ch2>;
340+
#pwm-cells = <3>;
341+
status = "disabled";
342+
};
336343
};
337344

338345
&cpu_l0 {

patch/kernel/archive/rockchip64-6.18/rk3576-board-photonicat2-pwm.patch

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)