Skip to content

Commit 5b970df

Browse files
Marc Zyngierbjorn-helgaas
authored andcommitted
arm64: dts: apple: t8103: Mark PCIe PERST# polarity active low in DT
As the name indicates, PERST# is active low. Fix the DT description to match the HW behaviour. Fixes: ff2a8d9 ("arm64: apple: Add PCIe node") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Luca Ceresoli <[email protected]> Reviewed-by: Mark Kettenis <[email protected]> Acked-by: Arnd Bergmann <[email protected]>
1 parent ee91cb5 commit 5b970df

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

arch/arm64/boot/dts/apple/t8103.dtsi

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Copyright The Asahi Linux Contributors
88
*/
99

10+
#include <dt-bindings/gpio/gpio.h>
1011
#include <dt-bindings/interrupt-controller/apple-aic.h>
1112
#include <dt-bindings/interrupt-controller/irq.h>
1213
#include <dt-bindings/pinctrl/apple.h>
@@ -281,7 +282,7 @@
281282
port00: pci@0,0 {
282283
device_type = "pci";
283284
reg = <0x0 0x0 0x0 0x0 0x0>;
284-
reset-gpios = <&pinctrl_ap 152 0>;
285+
reset-gpios = <&pinctrl_ap 152 GPIO_ACTIVE_LOW>;
285286
max-link-speed = <2>;
286287

287288
#address-cells = <3>;
@@ -301,7 +302,7 @@
301302
port01: pci@1,0 {
302303
device_type = "pci";
303304
reg = <0x800 0x0 0x0 0x0 0x0>;
304-
reset-gpios = <&pinctrl_ap 153 0>;
305+
reset-gpios = <&pinctrl_ap 153 GPIO_ACTIVE_LOW>;
305306
max-link-speed = <2>;
306307

307308
#address-cells = <3>;
@@ -321,7 +322,7 @@
321322
port02: pci@2,0 {
322323
device_type = "pci";
323324
reg = <0x1000 0x0 0x0 0x0 0x0>;
324-
reset-gpios = <&pinctrl_ap 33 0>;
325+
reset-gpios = <&pinctrl_ap 33 GPIO_ACTIVE_LOW>;
325326
max-link-speed = <1>;
326327

327328
#address-cells = <3>;

0 commit comments

Comments
 (0)