From: INAGAKI Hiroshi Date: Sun, 27 Aug 2023 14:26:01 +0000 (+0900) Subject: mediatek: drop pwm7_pins from Buffalo WSR-2533DHP2 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4d9113017b2d401e821fb008518cdd660dafb8a3;p=openwrt%2Fstaging%2Fjow.git mediatek: drop pwm7_pins from Buffalo WSR-2533DHP2 MediaTek MT7622 doesn't support ch7 of PWM and pinctrl groups were dropped from driver source[0]. So pwm7-related groups are unavailable now, then, kernel shows a warning. [ 0.370264] mt7622-pinctrl 10211000.pinctrl: invalid group "pwm_ch7_2" for function "pwm" Drop that pinmux from pinctrl node. [0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/pinctrl/mediatek/pinctrl-mt7622.c?id=57972641810a97566ffd13e4be3f6a66d61eb3b5 Signed-off-by: INAGAKI Hiroshi --- diff --git a/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts b/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts index f8990b25cf..8b0dc1aa98 100644 --- a/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts +++ b/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts @@ -193,13 +193,6 @@ }; }; - pwm7_pins: pwm1-2-pins { - mux { - function = "pwm"; - groups = "pwm_ch7_2"; - }; - }; - uart0_pins: uart0-pins { mux { function = "uart"; @@ -330,8 +323,6 @@ }; &pwm { - pinctrl-names = "default"; - pinctrl-0 = <&pwm7_pins>; status = "okay"; };