Skip to content

Commit 23b76ba

Browse files
HoratiuVulturclaudiubeznea
authored andcommitted
ARM: dts: lan966x: Add support for SMA connectors
The pcb8309 has 2 SMA connectors which are connected to the lan966x chip. The lan966x can generate 1PPS output on one of them and it can receive 1PPS input on the other one. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20230421113758.3465678-1-horatiu.vultur@microchip.com
1 parent 3ecb546 commit 23b76ba

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

arch/arm/boot/dts/lan966x-pcb8309.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,18 @@
144144
function = "fc4_b";
145145
};
146146

147+
pps_out_pins: pps-out-pins {
148+
/* 1pps output */
149+
pins = "GPIO_38";
150+
function = "ptpsync_3";
151+
};
152+
153+
ptp_ext_pins: ptp-ext-pins {
154+
/* 1pps input */
155+
pins = "GPIO_39";
156+
function = "ptpsync_4";
157+
};
158+
147159
sgpio_a_pins: sgpio-a-pins {
148160
/* SCK, D0, D1, LD */
149161
pins = "GPIO_32", "GPIO_33", "GPIO_34", "GPIO_35";
@@ -212,5 +224,7 @@
212224
};
213225

214226
&switch {
227+
pinctrl-0 = <&pps_out_pins>, <&ptp_ext_pins>;
228+
pinctrl-names = "default";
215229
status = "okay";
216230
};

0 commit comments

Comments
 (0)