[PATCH v1 18/19] arm64: dts: nuvoton: Add initial NPCM845 EVB device tree

Arnd Bergmann arnd at arndb.de
Mon May 23 02:39:48 PDT 2022


On Sun, May 22, 2022 at 5:50 PM Tomer Maimon <tmaimon77 at gmail.com> wrote:
> +/ {
> +       model = "Nuvoton npcm845 Development Board (Device Tree)";
> +       compatible = "nuvoton,npcm845";
> +
> +       aliases {
> +               serial0 = &serial0;
> +               serial1 = &serial1;
> +               serial2 = &serial2;
> +               serial3 = &serial3;
> +       };

> +               apb {
> +                       serial0: serial at 0 {
> +                               status = "okay";
> +                       };
> +
> +                       serial1: serial at 1000 {
> +                               status = "disabled";
> +                       };
> +
> +                       serial2: serial at 2000 {
> +                               status = "disabled";
> +                       };
> +
> +                       serial3: serial at 3000 {
> +                               status = "disabled";
> +                       };

Please drop the aliases for disabled uarts. It probably also makes
sense to have the status="disabled" properties in the .dtsi file and
only override them when you explicitly want to enable a uart for a
board.

       Arnd



More information about the linux-arm-kernel mailing list