* [PATCH 0/2] ARM: add support for pcb8385 @ 2025-11-17 12:57 Horatiu Vultur 2025-11-17 12:57 ` [PATCH 1/2] dt-bindings: arm: at91: add lan966 pcb8385 board Horatiu Vultur 2025-11-17 12:57 ` [PATCH 2/2] ARM: dts: Add support for pcb8385 Horatiu Vultur 0 siblings, 2 replies; 6+ messages in thread From: Horatiu Vultur @ 2025-11-17 12:57 UTC (permalink / raw) To: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni, claudiu.beznea, wsa+renesas, romain.sioen Cc: devicetree, linux-arm-kernel, linux-kernel, Horatiu Vultur Add pcb8385 and the documentation for it. This is a moduler board on which it can add different daughter cards. Horatiu Vultur (2): dt-bindings: arm: at91: add lan966 pcb8385 board ARM: dts: Add support for pcb8385 .../devicetree/bindings/arm/atmel-at91.yaml | 6 +- arch/arm/boot/dts/microchip/Makefile | 3 +- .../boot/dts/microchip/lan966x-pcb8385.dts | 137 ++++++++++++++++++ 3 files changed, 143 insertions(+), 3 deletions(-) create mode 100644 arch/arm/boot/dts/microchip/lan966x-pcb8385.dts -- 2.34.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] dt-bindings: arm: at91: add lan966 pcb8385 board 2025-11-17 12:57 [PATCH 0/2] ARM: add support for pcb8385 Horatiu Vultur @ 2025-11-17 12:57 ` Horatiu Vultur 2025-11-17 22:06 ` Rob Herring (Arm) 2025-11-17 12:57 ` [PATCH 2/2] ARM: dts: Add support for pcb8385 Horatiu Vultur 1 sibling, 1 reply; 6+ messages in thread From: Horatiu Vultur @ 2025-11-17 12:57 UTC (permalink / raw) To: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni, claudiu.beznea, wsa+renesas, romain.sioen Cc: devicetree, linux-arm-kernel, linux-kernel, Horatiu Vultur Add documentation for Microchip LAN9668 PCB8385 Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> --- Documentation/devicetree/bindings/arm/atmel-at91.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.yaml b/Documentation/devicetree/bindings/arm/atmel-at91.yaml index 3a34b7a2e8d4e..68d306d17c2a1 100644 --- a/Documentation/devicetree/bindings/arm/atmel-at91.yaml +++ b/Documentation/devicetree/bindings/arm/atmel-at91.yaml @@ -235,9 +235,11 @@ properties: - const: microchip,lan9662 - const: microchip,lan966 - - description: Microchip LAN9668 PCB8290 Evaluation Board. + - description: Microchip LAN9668 Evaluation Board. items: - - const: microchip,lan9668-pcb8290 + - enum: + - microchip,lan9668-pcb8290 + - microchip,lan9668-pcb8385 - const: microchip,lan9668 - const: microchip,lan966 -- 2.34.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: arm: at91: add lan966 pcb8385 board 2025-11-17 12:57 ` [PATCH 1/2] dt-bindings: arm: at91: add lan966 pcb8385 board Horatiu Vultur @ 2025-11-17 22:06 ` Rob Herring (Arm) 0 siblings, 0 replies; 6+ messages in thread From: Rob Herring (Arm) @ 2025-11-17 22:06 UTC (permalink / raw) To: Horatiu Vultur Cc: nicolas.ferre, conor+dt, romain.sioen, linux-kernel, wsa+renesas, linux-arm-kernel, devicetree, alexandre.belloni, krzk+dt, claudiu.beznea On Mon, 17 Nov 2025 13:57:08 +0100, Horatiu Vultur wrote: > Add documentation for Microchip LAN9668 PCB8385 > > Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> > --- > Documentation/devicetree/bindings/arm/atmel-at91.yaml | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > Acked-by: Rob Herring (Arm) <robh@kernel.org> ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] ARM: dts: Add support for pcb8385 2025-11-17 12:57 [PATCH 0/2] ARM: add support for pcb8385 Horatiu Vultur 2025-11-17 12:57 ` [PATCH 1/2] dt-bindings: arm: at91: add lan966 pcb8385 board Horatiu Vultur @ 2025-11-17 12:57 ` Horatiu Vultur 2025-11-22 14:21 ` Claudiu Beznea 1 sibling, 1 reply; 6+ messages in thread From: Horatiu Vultur @ 2025-11-17 12:57 UTC (permalink / raw) To: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni, claudiu.beznea, wsa+renesas, romain.sioen Cc: devicetree, linux-arm-kernel, linux-kernel, Horatiu Vultur 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@microchip.com> --- arch/arm/boot/dts/microchip/Makefile | 3 +- .../boot/dts/microchip/lan966x-pcb8385.dts | 137 ++++++++++++++++++ 2 files changed, 139 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..f4817cee93436 --- /dev/null +++ b/arch/arm/boot/dts/microchip/lan966x-pcb8385.dts @@ -0,0 +1,137 @@ +// 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"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + aliases { + serial0 = &usart3; + }; + + 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"; + linux,default-trigger = "e200413c.mdio-mii:01:link"; + }; + + 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"; + linux,default-trigger = "e200413c.mdio-mii:02:link"; + }; + + led-p2-yellow { + label = "cu1:yellow"; + gpios = <&sgpio_out 3 1 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + }; +}; + +&aes { + status = "disabled"; /* Reserved by secure OS */ +}; + +&gpio { + fc0_b_pins: fc0-b-pins { + /* SCL, SDA */ + pins = "GPIO_25", "GPIO_26"; + function = "fc0_b"; + }; + + fc3_b_pins: fc3-b-pins { + /* RX, TX */ + pins = "GPIO_52", "GPIO_53"; + function = "fc3_b"; + }; + + sgpio_a_pins: sgpio-a-pins { + /* SCK, D0, D1, LD */ + pins = "GPIO_32", "GPIO_33", "GPIO_34", "GPIO_35"; + function = "sgpio_a"; + }; +}; + +&flx0 { + atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>; + status = "okay"; + + i2c0: i2c@600 { + pinctrl-0 = <&fc0_b_pins>; + pinctrl-names = "default"; + dmas = <0>, <0>; + i2c-analog-filter; + i2c-digital-filter; + i2c-digital-filter-width-ns = <35>; + i2c-sda-hold-time-ns = <1500>; + status = "okay"; + }; +}; + +&flx3 { + atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>; + status = "okay"; + + usart3: serial@200 { + pinctrl-0 = <&fc3_b_pins>; + pinctrl-names = "default"; + status = "okay"; + }; +}; + +&i2c0 { + eeprom@54 { + compatible = "atmel,24c01"; + reg = <0x54>; + status = "okay"; + }; + + eeprom@55 { + compatible = "atmel,24c01"; + reg = <0x55>; + status = "okay"; + }; +}; + +&sgpio { + pinctrl-0 = <&sgpio_a_pins>; + pinctrl-names = "default"; + microchip,sgpio-port-ranges = <0 3>; + status = "okay"; + + gpio@0 { + ngpios = <64>; + }; + gpio@1 { + ngpios = <64>; + }; +}; -- 2.34.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] ARM: dts: Add support for pcb8385 2025-11-17 12:57 ` [PATCH 2/2] ARM: dts: Add support for pcb8385 Horatiu Vultur @ 2025-11-22 14:21 ` Claudiu Beznea 2025-11-25 7:42 ` Horatiu Vultur 0 siblings, 1 reply; 6+ messages in thread From: Claudiu Beznea @ 2025-11-22 14:21 UTC (permalink / raw) To: Horatiu Vultur, robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni, wsa+renesas, romain.sioen Cc: devicetree, linux-arm-kernel, linux-kernel Hi, Horatiu, On 11/17/25 14:57, 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@microchip.com> > --- > arch/arm/boot/dts/microchip/Makefile | 3 +- > .../boot/dts/microchip/lan966x-pcb8385.dts | 137 ++++++++++++++++++ > 2 files changed, 139 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..f4817cee93436 > --- /dev/null > +++ b/arch/arm/boot/dts/microchip/lan966x-pcb8385.dts > @@ -0,0 +1,137 @@ > +// 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"; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + aliases { > + serial0 = &usart3; > + }; > + > + 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"; > + linux,default-trigger = "e200413c.mdio-mii:01:link"; > + }; > + > + 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"; > + linux,default-trigger = "e200413c.mdio-mii:02:link"; > + }; > + > + led-p2-yellow { > + label = "cu1:yellow"; > + gpios = <&sgpio_out 3 1 GPIO_ACTIVE_LOW>; > + default-state = "off"; > + }; > + }; > +}; > + > +&aes { > + status = "disabled"; /* Reserved by secure OS */ > +}; > + > +&gpio { > + fc0_b_pins: fc0-b-pins { > + /* SCL, SDA */ > + pins = "GPIO_25", "GPIO_26"; > + function = "fc0_b"; > + }; > + > + fc3_b_pins: fc3-b-pins { > + /* RX, TX */ > + pins = "GPIO_52", "GPIO_53"; > + function = "fc3_b"; > + }; > + > + sgpio_a_pins: sgpio-a-pins { > + /* SCK, D0, D1, LD */ > + pins = "GPIO_32", "GPIO_33", "GPIO_34", "GPIO_35"; > + function = "sgpio_a"; > + }; > +}; > + > +&flx0 { This would go after aes node to have them alphanumerically sorted. I can handled it while applying, if any. > + atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>; > + status = "okay"; > + > + i2c0: i2c@600 { > + pinctrl-0 = <&fc0_b_pins>; > + pinctrl-names = "default"; > + dmas = <0>, <0>; > + i2c-analog-filter; > + i2c-digital-filter; > + i2c-digital-filter-width-ns = <35>; > + i2c-sda-hold-time-ns = <1500>; > + status = "okay"; > + }; > +}; > + > +&flx3 { > + atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>; > + status = "okay"; > + > + usart3: serial@200 { > + pinctrl-0 = <&fc3_b_pins>; > + pinctrl-names = "default"; > + status = "okay"; > + }; > +}; > + > +&i2c0 { > + eeprom@54 { > + compatible = "atmel,24c01"; > + reg = <0x54>; > + status = "okay"; > + }; > + > + eeprom@55 { > + compatible = "atmel,24c01"; > + reg = <0x55>; > + status = "okay"; > + }; Any reason for not keeping these above under "i2c0: i2c@600 {" ? Thank you, Claudiu > +}; > + > +&sgpio { > + pinctrl-0 = <&sgpio_a_pins>; > + pinctrl-names = "default"; > + microchip,sgpio-port-ranges = <0 3>; > + status = "okay"; > + > + gpio@0 { > + ngpios = <64>; > + }; > + gpio@1 { > + ngpios = <64>; > + }; > +}; ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] ARM: dts: Add support for pcb8385 2025-11-22 14:21 ` Claudiu Beznea @ 2025-11-25 7:42 ` Horatiu Vultur 0 siblings, 0 replies; 6+ messages in thread From: Horatiu Vultur @ 2025-11-25 7:42 UTC (permalink / raw) To: Claudiu Beznea Cc: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni, wsa+renesas, romain.sioen, devicetree, linux-arm-kernel, linux-kernel The 11/22/2025 16:21, Claudiu Beznea wrote: > > Hi, Horatiu, Hi Claudiu, > > > +&flx0 { > > This would go after aes node to have them alphanumerically sorted. I can > handled it while applying, if any. Yes, I make sure that the nodes are sorted alphanumerically. > > > + atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>; > > + status = "okay"; > > + > > + i2c0: i2c@600 { > > + pinctrl-0 = <&fc0_b_pins>; > > + pinctrl-names = "default"; > > + dmas = <0>, <0>; > > + i2c-analog-filter; > > + i2c-digital-filter; > > + i2c-digital-filter-width-ns = <35>; > > + i2c-sda-hold-time-ns = <1500>; > > + status = "okay"; > > + }; > > +}; ... > > +&i2c0 { > > + eeprom@54 { > > + compatible = "atmel,24c01"; > > + reg = <0x54>; > > + status = "okay"; > > + }; > > + > > + eeprom@55 { > > + compatible = "atmel,24c01"; > > + reg = <0x55>; > > + status = "okay"; > > + }; > > Any reason for not keeping these above under "i2c0: i2c@600 {" ? Not really. I will move them there. > > Thank you, > Claudiu > > > +}; > > + > > +&sgpio { > > + pinctrl-0 = <&sgpio_a_pins>; > > + pinctrl-names = "default"; > > + microchip,sgpio-port-ranges = <0 3>; > > + status = "okay"; > > + > > + gpio@0 { > > + ngpios = <64>; > > + }; > > + gpio@1 { > > + ngpios = <64>; > > + }; > > +}; > -- /Horatiu ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-11-25 7:43 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2025-11-17 12:57 [PATCH 0/2] ARM: add support for pcb8385 Horatiu Vultur 2025-11-17 12:57 ` [PATCH 1/2] dt-bindings: arm: at91: add lan966 pcb8385 board Horatiu Vultur 2025-11-17 22:06 ` Rob Herring (Arm) 2025-11-17 12:57 ` [PATCH 2/2] ARM: dts: Add support for pcb8385 Horatiu Vultur 2025-11-22 14:21 ` Claudiu Beznea 2025-11-25 7:42 ` Horatiu Vultur
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®