[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b8e4805e-c0fc-489f-941d-d052668cbe74@tuxon.dev>
Date: Sat, 6 Dec 2025 12:59:22 +0200
From: Claudiu Beznea <claudiu.beznea@...on.dev>
To: Horatiu Vultur <horatiu.vultur@...rochip.com>, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, nicolas.ferre@...rochip.com,
alexandre.belloni@...tlin.com, wsa+renesas@...g-engineering.com,
romain.sioen@...rochip.com
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 2/2] ARM: dts: Add support for pcb8385
Hi, Horatiu,
On 12/1/25 10:26, Horatiu Vultur wrote:
> Add basic support for pcb8385 [1]. It is a modular board which allows
> to add different daughter cards on which there are different PHYs.
> This adds support for UART, LEDs and I2C.
>
> [1] https://www.microchip.com/en-us/development-tool/ev83e85a
>
> Signed-off-by: Horatiu Vultur <horatiu.vultur@...rochip.com>
> ---
> arch/arm/boot/dts/microchip/Makefile | 3 +-
> .../boot/dts/microchip/lan966x-pcb8385.dts | 131 ++++++++++++++++++
> 2 files changed, 133 insertions(+), 1 deletion(-)
> create mode 100644 arch/arm/boot/dts/microchip/lan966x-pcb8385.dts
>
> diff --git a/arch/arm/boot/dts/microchip/Makefile b/arch/arm/boot/dts/microchip/Makefile
> index 79cd38fdc7dab..08986c24a4700 100644
> --- a/arch/arm/boot/dts/microchip/Makefile
> +++ b/arch/arm/boot/dts/microchip/Makefile
> @@ -102,4 +102,5 @@ dtb-$(CONFIG_SOC_LAN966) += \
> lan966x-kontron-kswitch-d10-mmt-8g.dtb \
> lan966x-pcb8290.dtb \
> lan966x-pcb8291.dtb \
> - lan966x-pcb8309.dtb
> + lan966x-pcb8309.dtb \
> + lan966x-pcb8385.dtb
> diff --git a/arch/arm/boot/dts/microchip/lan966x-pcb8385.dts b/arch/arm/boot/dts/microchip/lan966x-pcb8385.dts
> new file mode 100644
> index 0000000000000..6bbe1222f9106
> --- /dev/null
> +++ b/arch/arm/boot/dts/microchip/lan966x-pcb8385.dts
> @@ -0,0 +1,131 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * lan966x-pcb8385.dts - Device Tree file for PCB8385
> + */
> +/dts-v1/;
> +
> +#include "lan966x.dtsi"
> +#include "dt-bindings/phy/phy-lan966x-serdes.h"
> +
> +/ {
> + model = "Microchip EVB - LAN9668";
> + compatible = "microchip,lan9668-pcb8385", "microchip,lan9668", "microchip,lan966";
> +
> + aliases {
> + serial0 = &usart3;
> + };
> +
> + chosen {
> + stdout-path = "serial0:115200n8";
> + };
> +
> + gpio-restart {
> + compatible = "gpio-restart";
> + gpios = <&gpio 59 GPIO_ACTIVE_LOW>;
> + open-source;
> + priority = <200>;
> + };
> +
> + leds {
> + compatible = "gpio-leds";
> +
> + led-p1-green {
> + label = "cu0:green";
> + gpios = <&sgpio_out 2 0 GPIO_ACTIVE_LOW>;
> + default-state = "off";
> + };
> +
> + led-p1-yellow {
> + label = "cu0:yellow";
> + gpios = <&sgpio_out 2 1 GPIO_ACTIVE_LOW>;
> + default-state = "off";
> + };
> +
> + led-p2-green {
> + label = "cu1:green";
> + gpios = <&sgpio_out 3 0 GPIO_ACTIVE_LOW>;
> + default-state = "off";
> + };
> +
> + led-p2-yellow {
> + label = "cu1:yellow";
> + gpios = <&sgpio_out 3 1 GPIO_ACTIVE_LOW>;
> + default-state = "off";
> + };
> + };
> +};
> +
> +&aes {
> + status = "disabled"; /* Reserved by secure OS */
According to [1] this should be marked as reserved.
[1]
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#status
Thank you,
Claudiu
Powered by blists - more mailing lists