Skip to content

Commit 87b990a

Browse files
committed
Merge tag 'mvebu-dt64-5.8-1' of git://git.infradead.org/linux-mvebu into arm/dt
mvebu dt64 for 5.8 (part 1) Armada 3720 based SoC: + Fix PCIe support allowing to use Compex wifi cards + Turris MOX board: - fix SFP binding - forbid SDR104 on SDIO to pass electromagnetic interference certifications + uDPU board: add i2c recovery support Armada 8040 based SoC: SolidRun 8040: update phy interface * tag 'mvebu-dt64-5.8-1' of git://git.infradead.org/linux-mvebu: arm64: dts: armada-3720-turris-mox: fix SFP binding arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes arm64: dts: add uDPU i2c bus recovery arm64: dts: marvell: drop i2c timeout-ms property arm64: dts: marvell: armada-37xx: Move PCIe max-link-speed property arm64: dts: marvell: armada-37xx: Move PCIe comphy handle property arm64: dts: marvell: armada-37xx: Set pcie_reset_pin to gpio function arm64: dts: update SolidRun Armada 8040 phy interface types Link: https://lore.kernel.org/r/878shmeffd.fsf@FE-laptop Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 65ad1ca + c2671ac commit 87b990a

9 files changed

+35
-17
lines changed

arch/arm64/boot/dts/marvell/armada-3720-db.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@
128128

129129
/* CON15(V2.0)/CON17(V1.4) : PCIe / CON15(V2.0)/CON12(V1.4) :mini-PCIe */
130130
&pcie0 {
131+
pinctrl-names = "default";
132+
pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
133+
reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
131134
status = "okay";
132135
};
133136

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
/* J9 */
4545
&pcie0 {
4646
status = "okay";
47-
phys = <&comphy1 0>;
4847
pinctrl-names = "default";
4948
pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
49+
reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
5050
};
5151

5252
/* J6 */

arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
};
9696

9797
sfp: sfp {
98-
compatible = "sff,sfp+";
98+
compatible = "sff,sfp";
9999
i2c-bus = <&i2c0>;
100100
los-gpio = <&moxtet_sfp 0 GPIO_ACTIVE_HIGH>;
101101
tx-fault-gpio = <&moxtet_sfp 1 GPIO_ACTIVE_HIGH>;
@@ -128,17 +128,11 @@
128128
};
129129
};
130130

131-
&pcie_reset_pins {
132-
function = "gpio";
133-
};
134-
135131
&pcie0 {
136132
pinctrl-names = "default";
137133
pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
138134
status = "okay";
139-
max-link-speed = <2>;
140135
reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
141-
phys = <&comphy1 0>;
142136

143137
/* enabled by U-Boot if PCIe module is present */
144138
status = "disabled";
@@ -179,6 +173,8 @@
179173
marvell,pad-type = "sd";
180174
vqmmc-supply = <&vsdio_reg>;
181175
mmc-pwrseq = <&sdhci1_pwrseq>;
176+
/* forbid SDR104 for FCC purposes */
177+
sdhci-caps-mask = <0x2 0x0>;
182178
status = "okay";
183179
};
184180

arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,36 @@
117117
};
118118
};
119119

120+
&pinctrl_nb {
121+
i2c1_recovery_pins: i2c1-recovery-pins {
122+
groups = "i2c1";
123+
function = "gpio";
124+
};
125+
126+
i2c2_recovery_pins: i2c2-recovery-pins {
127+
groups = "i2c2";
128+
function = "gpio";
129+
};
130+
};
131+
120132
&i2c0 {
121133
status = "okay";
122-
pinctrl-names = "default";
134+
pinctrl-names = "default", "recovery";
123135
pinctrl-0 = <&i2c1_pins>;
136+
pinctrl-1 = <&i2c1_recovery_pins>;
124137
/delete-property/mrvl,i2c-fast-mode;
138+
scl-gpios = <&gpionb 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
139+
sda-gpios = <&gpionb 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
125140
};
126141

127142
&i2c1 {
128143
status = "okay";
129-
pinctrl-names = "default";
144+
pinctrl-names = "default", "recovery";
130145
pinctrl-0 = <&i2c2_pins>;
146+
pinctrl-1 = <&i2c2_recovery_pins>;
131147
/delete-property/mrvl,i2c-fast-mode;
148+
scl-gpios = <&gpionb 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
149+
sda-gpios = <&gpionb 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
132150

133151
lm75@48 {
134152
status = "okay";

arch/arm64/boot/dts/marvell/armada-37xx.dtsi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@
317317

318318
pcie_reset_pins: pcie-reset-pins {
319319
groups = "pcie1";
320-
function = "pcie";
320+
function = "gpio";
321321
};
322322

323323
pcie_clkreq_pins: pcie-clkreq-pins {
@@ -493,6 +493,8 @@
493493
<0 0 0 2 &pcie_intc 1>,
494494
<0 0 0 3 &pcie_intc 2>,
495495
<0 0 0 4 &pcie_intc 3>;
496+
max-link-speed = <2>;
497+
phys = <&comphy1 0>;
496498
pcie_intc: interrupt-controller {
497499
interrupt-controller;
498500
#interrupt-cells = <1>;

arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
/* SFP */
277277
&cp0_eth0 {
278278
status = "okay";
279-
phy-mode = "10gbase-kr";
279+
phy-mode = "10gbase-r";
280280
managed = "in-band-status";
281281
phys = <&cp0_comphy2 0>;
282282
sfp = <&sfp_cp0_eth0>;

arch/arm64/boot/dts/marvell/armada-8040-mcbin-singleshot.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616

1717
&cp0_eth0 {
1818
status = "okay";
19-
phy-mode = "10gbase-kr";
19+
phy-mode = "10gbase-r";
2020
managed = "in-band-status";
2121
sfp = <&sfp_eth0>;
2222
};
2323

2424
&cp1_eth0 {
2525
status = "okay";
26-
phy-mode = "10gbase-kr";
26+
phy-mode = "10gbase-r";
2727
managed = "in-band-status";
2828
sfp = <&sfp_eth1>;
2929
};

arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@
3434
status = "okay";
3535
/* Network PHY */
3636
phy = <&phy0>;
37-
phy-mode = "10gbase-kr";
37+
phy-mode = "10gbase-r";
3838
};
3939

4040
&cp1_eth0 {
4141
status = "okay";
4242
/* Network PHY */
4343
phy = <&phy8>;
44-
phy-mode = "10gbase-kr";
44+
phy-mode = "10gbase-r";
4545
};

arch/arm64/boot/dts/marvell/armada-ap80x.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@
201201
#address-cells = <1>;
202202
#size-cells = <0>;
203203
interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
204-
timeout-ms = <1000>;
205204
clocks = <&ap_clk 3>;
206205
status = "disabled";
207206
};

0 commit comments

Comments
 (0)