lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240806144745.s3ga45pkgfuovjg6@henna>
Date: Tue, 6 Aug 2024 09:47:45 -0500
From: Nishanth Menon <nm@...com>
To: Wadim Egorov <w.egorov@...tec.de>
CC: <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
        <linux-arm-kernel@...ts.infradead.org>, <upstream@...ts.phytec.de>,
        <vigneshr@...com>, <kristo@...nel.org>, <robh@...nel.org>,
        <krzk+dt@...nel.org>, <conor+dt@...nel.org>, <d.schultz@...tec.de>
Subject: Re: [PATCH] arm64: dts: ti: am642-phyboard-electra: Add PRU-ICSSG
 nodes

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@...tec.de>
> ---
>  .../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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ