dts: starfive: Fix fail to load overlay pwm
authorJianlong Huang <jianlong.huang@starfivetech.com>
Thu, 30 Jun 2022 01:46:49 +0000 (09:46 +0800)
committerJianlong Huang <jianlong.huang@starfivetech.com>
Thu, 30 Jun 2022 01:46:49 +0000 (09:46 +0800)
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
arch/riscv/boot/dts/starfive/evb-overlay/jh7110-evb-overlay-uart4-emmc.dts

index d92ae07..359fe2d 100644 (file)
        fragment@1 {
                target-path = "/soc/gpio@17020000";
                __overlay__ {
-                       pwm_ch6to7_pins: pwm-ch6to7-pins {
+                       dt_pwm_ch6to7_pins: dt-pwm-ch6to7-pins {
                                pwm-ch6-pins {
                                        sf,pins = <PAD_RGPIO0>;
                                        sf,pin-ioconfig = <IO(GPIO_IE(1))>;
                target-path = "/soc/pwm@120d0000";
                __overlay__ {
                        pinctrl-names = "default";
-                       pinctrl-0 = <&pwm_ch6to7_pins>;
+                       pinctrl-0 = <&dt_pwm_ch6to7_pins>;
                        status = "okay";
                };
        };