Re: [PATCH] arm64: dts: ti: am642-phyboard-electra: Add PRU-ICSSG nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12:12-20240709, Wadim Egorov wrote:
> The phyBOARD-Electra implements two Ethernet ports utilizing PRUs.
> Add configuration for both mac ports & PHYs.
> 
> Signed-off-by: Wadim Egorov <w.egorov@xxxxxxxxx>
> ---
>  .../dts/ti/k3-am642-phyboard-electra-rdk.dts  | 146 ++++++++++++++++++
>  1 file changed, 146 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> index 6df331ccb970..364a7582cf99 100644
> --- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> @@ -28,6 +28,8 @@ / {
>  	model = "PHYTEC phyBOARD-Electra-AM64x RDK";
>  
>  	aliases {
> +		ethernet1 = &icssg0_emac0;
> +		ethernet2 = &icssg0_emac1;
>  		mmc1 = &sdhci1;
>  		serial2 = &main_uart0;
>  		serial3 = &main_uart1;
> @@ -55,6 +57,73 @@ can_tc2: can-phy1 {
>  		standby-gpios = <&main_gpio0 35 GPIO_ACTIVE_HIGH>;
>  	};
>  
> +	/* Dual Ethernet application node on PRU-ICSSG0 */
> +	ethernet {
> +		compatible = "ti,am642-icssg-prueth";
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&icssg0_rgmii1_pins_default &icssg0_rgmii2_pins_default>;

&icssg0_rgmii1_pins_default>, <&icssg0_rgmii2_pins_default>

> +
> +		sram = <&oc_sram>;
> +		ti,prus = <&pru0_0>, <&rtu0_0>, <&tx_pru0_0>, <&pru0_1>, <&rtu0_1>, <&tx_pru0_1>;

here and elsewhere, follow
	https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/dts-coding-style.rst#n117

	[...]

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux