Skip to content

Commit e836070

Browse files
robimarkogclement
authored andcommitted
arm64: dts: marvell: espressobin-ultra: add PHY and switch reset pins
Both the Topaz switch and 88E1512 PHY have their reset and interrupts connected to the SoC. So, define the Topaz and 88E1512 reset pins in the DTS. Defining the interrupt pins wont work as both the 88E1512 and the Topaz switch uses active LOW IRQ signals but the A37xx GPIO controller only supports edge triggers. 88E1512 would require special setup anyway as its INT pin is shared with the LED2 and you first need to configure it as INT. Signed-off-by: Robert Marko <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]>
1 parent 5202f4c commit e836070

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,16 @@
114114
&mdio {
115115
extphy: ethernet-phy@1 {
116116
reg = <1>;
117+
118+
reset-gpios = <&gpionb 2 GPIO_ACTIVE_LOW>;
117119
};
118120
};
119121

120122
&switch0 {
121123
reg = <3>;
122124

125+
reset-gpios = <&gpiosb 23 GPIO_ACTIVE_LOW>;
126+
123127
ports {
124128
switch0port1: port@1 {
125129
reg = <1>;

0 commit comments

Comments
 (0)