[PATCH v2 3/4] arm64: dts: nuvoton: Add pinctrl support for ma35d1
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Mon Nov 27 23:35:19 PST 2023
On 28/11/2023 07:11, Jacky Huang wrote:
> From: Jacky Huang <ychuang3 at nuvoton.com>
>
> Add 'pinctrl' node and 'gpioa' ~ 'gpion' nodes to the dtsi of ma35d1
> SoC and describe default pin configurations.
>
> Enable all UART nodes presented on som and iot boards, and add pinctrl
> function settings to these nodes.
>
> Signed-off-by: Jacky Huang <ychuang3 at nuvoton.com>
> +
> + gpion: gpio at 40040340 {
> + reg = <0x340 0x40>;
> + interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&clk GPN_GATE>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + };
> +
> + pcfg_default: pin-default {
> + slew-rate = <0>;
> + input-schmitt-disable;
> + bias-disable;
> + power-source = <1>;
> + drive-strength = <17100>;
> + };
It does not look like you tested the DTS against bindings. Please run
`make dtbs_check W=1` (see
Documentation/devicetree/bindings/writing-schema.rst or
https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/
for instructions).
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list