[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fc7a6f0e-e93d-a645-8078-2d747c4208d0@linaro.org>
Date: Tue, 7 Jun 2022 14:02:09 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Qin Jian <qinjian@...lus1.com>, sboyd@...nel.org
Cc: krzysztof.kozlowski+dt@...aro.org, robh+dt@...nel.org,
mturquette@...libre.com, linux@...linux.org.uk, arnd@...db.de,
olof@...om.net, soc@...nel.org,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org
Subject: Re: [PATCH v17 10/10] ARM: dts: Add Sunplus SP7021-Demo-V3 board
device tree
On 07/06/2022 03:58, Qin Jian wrote:
> Add the basic support for Sunplus SP7021-Demo-V3 board.
>
> Signed-off-by: Qin Jian <qinjian@...lus1.com>
> ---
> Fix the comments from Krzysztof.
> ---
> +
> + pctl: pinctl@...00100 {
Wrong node name - the schema requires "pinctrl" or "pinmux".
> + compatible = "sunplus,sp7021-pctl";
> + reg = <0x9C000100 0x100>,
> + <0x9C000300 0x100>,
> + <0x9C0032e4 0x1C>,
> + <0x9C000080 0x20>;
> + reg-names = "moon2", "gpioxt", "first", "moon1";
> + gpio-controller;
> + #gpio-cells = <2>;
> + clocks = <&clkc CLK_GPIO>;
> + resets = <&rstc RST_GPIO>;
> +
> + leds_pins: pinmux_gpio_leds-pins {
> + sunplus,pins = < SPPCTL_IOPAD(0,SPPCTL_PCTL_G_GPIO,0,SPPCTL_PCTL_L_OUT) >;
> + };
> +
> + emmc_pins: emmc-pins {
> + function = "CARD0_EMMC";
> + groups = "CARD0_EMMC";
> + };
> +
> + sdcard-pins {
> + function = "SD_CARD";
> + groups = "SD_CARD";
> + sunplus,pins = < SPPCTL_IOPAD(91, SPPCTL_PCTL_G_GPIO, 0, 0) >;
> + };
> +
> + emac_pins: pinmux_emac_demo_board_v3-pins {
> + sunplus,pins = <
> + SPPC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PCTL_IOPAD(53,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P1_MAC_RMII_RXER,0)
> + >;
> + sunplus,zerofunc = <
> + MUXF_L2SW_LED_FLASH0
> + MUXF_L2SW_LED_FLASH1
> + MUXF_L2SW_LED_ON0
> + MUXF_L2SW_LED_ON1
> + MUXF_DAISY_MODE
> + >;
> + };
> +
> + uart0_pins: pinmux_uart0-pins {
> + function = "UA0";
> + groups = "UA0";
> + };
> +
> + uart1_pins: pinmux_uart1-pins {
No underscores in node names.
Best regards,
Krzysztof
Powered by blists - more mailing lists