2022-02-22 18:59:29

by Pali Rohár

[permalink] [raw]
Subject: [PATCH 6/6] ARM: dts: turris-omnia: Set PCIe slot-power-limit-milliwatt properties

All 3 miniPCIe slots in Turris Omnia are designed for 10 W.

Signed-off-by: Pali Rohár <[email protected]>
---
arch/arm/boot/dts/armada-385-turris-omnia.dts | 3 +++
1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts
index 5bd6a66d2c2b..f240018148f6 100644
--- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
+++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
@@ -71,16 +71,19 @@
pcie@1,0 {
/* Port 0, Lane 0 */
status = "okay";
+ slot-power-limit-milliwatt = <10000>;
};

pcie@2,0 {
/* Port 1, Lane 0 */
status = "okay";
+ slot-power-limit-milliwatt = <10000>;
};

pcie@3,0 {
/* Port 2, Lane 0 */
status = "okay";
+ slot-power-limit-milliwatt = <10000>;
};
};
};
--
2.20.1


2022-02-28 17:50:33

by Gregory CLEMENT

[permalink] [raw]
Subject: Re: [PATCH 6/6] ARM: dts: turris-omnia: Set PCIe slot-power-limit-milliwatt properties

Pali Rohár <[email protected]> writes:

> All 3 miniPCIe slots in Turris Omnia are designed for 10 W.
>
> Signed-off-by: Pali Rohár <[email protected]>

Applied on mvebu/dt64

Thanks,

Gregory
> ---
> arch/arm/boot/dts/armada-385-turris-omnia.dts | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts
> index 5bd6a66d2c2b..f240018148f6 100644
> --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
> +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
> @@ -71,16 +71,19 @@
> pcie@1,0 {
> /* Port 0, Lane 0 */
> status = "okay";
> + slot-power-limit-milliwatt = <10000>;
> };
>
> pcie@2,0 {
> /* Port 1, Lane 0 */
> status = "okay";
> + slot-power-limit-milliwatt = <10000>;
> };
>
> pcie@3,0 {
> /* Port 2, Lane 0 */
> status = "okay";
> + slot-power-limit-milliwatt = <10000>;
> };
> };
> };
> --
> 2.20.1
>

--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com