File tree Expand file tree Collapse file tree 9 files changed +35
-17
lines changed
arch/arm64/boot/dts/marvell Expand file tree Collapse file tree 9 files changed +35
-17
lines changed Original file line number Diff line number Diff line change 128
128
129
129
/* CON15(V2.0)/CON17(V1.4) : PCIe / CON15(V2.0)/CON12(V1.4) :mini-PCIe */
130
130
&pcie0 {
131
+ pinctrl-names = "default";
132
+ pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
133
+ reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
131
134
status = "okay";
132
135
};
133
136
Original file line number Diff line number Diff line change 44
44
/* J9 */
45
45
&pcie0 {
46
46
status = "okay";
47
- phys = <&comphy1 0>;
48
47
pinctrl-names = "default";
49
48
pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
49
+ reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
50
50
};
51
51
52
52
/* J6 */
Original file line number Diff line number Diff line change 95
95
};
96
96
97
97
sfp: sfp {
98
- compatible = "sff,sfp+ ";
98
+ compatible = "sff,sfp";
99
99
i2c-bus = <&i2c0>;
100
100
los-gpio = <&moxtet_sfp 0 GPIO_ACTIVE_HIGH>;
101
101
tx-fault-gpio = <&moxtet_sfp 1 GPIO_ACTIVE_HIGH>;
128
128
};
129
129
};
130
130
131
- &pcie_reset_pins {
132
- function = "gpio";
133
- };
134
-
135
131
&pcie0 {
136
132
pinctrl-names = "default";
137
133
pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
138
134
status = "okay";
139
- max-link-speed = <2>;
140
135
reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
141
- phys = <&comphy1 0>;
142
136
143
137
/* enabled by U-Boot if PCIe module is present */
144
138
status = "disabled";
179
173
marvell,pad-type = "sd";
180
174
vqmmc-supply = <&vsdio_reg>;
181
175
mmc-pwrseq = <&sdhci1_pwrseq>;
176
+ /* forbid SDR104 for FCC purposes */
177
+ sdhci-caps-mask = <0x2 0x0>;
182
178
status = "okay";
183
179
};
184
180
Original file line number Diff line number Diff line change 117
117
};
118
118
};
119
119
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
+
120
132
&i2c0 {
121
133
status = "okay";
122
- pinctrl-names = "default";
134
+ pinctrl-names = "default", "recovery" ;
123
135
pinctrl-0 = <&i2c1_pins>;
136
+ pinctrl-1 = <&i2c1_recovery_pins>;
124
137
/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)>;
125
140
};
126
141
127
142
&i2c1 {
128
143
status = "okay";
129
- pinctrl-names = "default";
144
+ pinctrl-names = "default", "recovery" ;
130
145
pinctrl-0 = <&i2c2_pins>;
146
+ pinctrl-1 = <&i2c2_recovery_pins>;
131
147
/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)>;
132
150
133
151
lm75@48 {
134
152
status = "okay";
Original file line number Diff line number Diff line change 317
317
318
318
pcie_reset_pins: pcie-reset-pins {
319
319
groups = "pcie1";
320
- function = "pcie ";
320
+ function = "gpio ";
321
321
};
322
322
323
323
pcie_clkreq_pins: pcie-clkreq-pins {
493
493
<0 0 0 2 &pcie_intc 1>,
494
494
<0 0 0 3 &pcie_intc 2>,
495
495
<0 0 0 4 &pcie_intc 3>;
496
+ max-link-speed = <2>;
497
+ phys = <&comphy1 0>;
496
498
pcie_intc: interrupt-controller {
497
499
interrupt-controller;
498
500
#interrupt-cells = <1>;
Original file line number Diff line number Diff line change 276
276
/* SFP */
277
277
&cp0_eth0 {
278
278
status = "okay";
279
- phy-mode = "10gbase-kr ";
279
+ phy-mode = "10gbase-r ";
280
280
managed = "in-band-status";
281
281
phys = <&cp0_comphy2 0>;
282
282
sfp = <&sfp_cp0_eth0>;
Original file line number Diff line number Diff line change 16
16
17
17
&cp0_eth0 {
18
18
status = "okay";
19
- phy-mode = "10gbase-kr ";
19
+ phy-mode = "10gbase-r ";
20
20
managed = "in-band-status";
21
21
sfp = <&sfp_eth0>;
22
22
};
23
23
24
24
&cp1_eth0 {
25
25
status = "okay";
26
- phy-mode = "10gbase-kr ";
26
+ phy-mode = "10gbase-r ";
27
27
managed = "in-band-status";
28
28
sfp = <&sfp_eth1>;
29
29
};
Original file line number Diff line number Diff line change 34
34
status = "okay";
35
35
/* Network PHY */
36
36
phy = <&phy0>;
37
- phy-mode = "10gbase-kr ";
37
+ phy-mode = "10gbase-r ";
38
38
};
39
39
40
40
&cp1_eth0 {
41
41
status = "okay";
42
42
/* Network PHY */
43
43
phy = <&phy8>;
44
- phy-mode = "10gbase-kr ";
44
+ phy-mode = "10gbase-r ";
45
45
};
Original file line number Diff line number Diff line change 201
201
#address-cells = <1>;
202
202
#size-cells = <0>;
203
203
interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
204
- timeout-ms = <1000>;
205
204
clocks = <&ap_clk 3>;
206
205
status = "disabled";
207
206
};
You can’t perform that action at this time.
0 commit comments