arm64: dts: rockchip: rk3568-pinctrl fix node name to gpio-func

From gpio-consumer.yaml

properties:
  gpios:
    $ref: "/schemas/types.yaml#/definitions/phandle-array"
patternProperties:
  "(?<!,nr)-gpios?$":
    $ref: "/schemas/types.yaml#/definitions/phandle-array"

This patch try to avoid anything with gpio.

Change-Id: I0c32b585aaefcaa5d0e985b3ada1887019e006c7
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
Jianqun Xu
2021-04-27 08:37:28 +08:00
committed by Tao Huang
parent ebcac36cc2
commit 6f0148b892
2 changed files with 3 additions and 3 deletions

View File

@@ -3109,9 +3109,9 @@
};
};
gpio {
gpio-func {
/omit-if-no-ref/
tsadc_gpio: tsadc-gpio {
tsadc_gpio_func: tsadc-gpio-func {
rockchip,pins =
<0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
};

View File

@@ -3182,7 +3182,7 @@
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
pinctrl-names = "gpio", "otpout";
pinctrl-0 = <&tsadc_gpio>;
pinctrl-0 = <&tsadc_gpio_func>;
pinctrl-1 = <&tsadc_shutorg>;
status = "disabled";
};