summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/lan966x-pcb8291.dts
blob: 3c7e3a7d6f14095205e4efdad4bed730c786a654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * lan966x_pcb8291.dts - Device Tree file for PCB8291
 */
/dts-v1/;
#include "lan966x.dtsi"

/ {
	model = "Microchip EVB - LAN9662";
	compatible = "microchip,lan9662-pcb8291", "microchip,lan9662", "microchip,lan966";

	chosen {
		stdout-path = "serial0:115200n8";
	};

	aliases {
		serial0 = &usart3;
	};
};

&gpio {
	fc_shrd7_pins: fc_shrd7-pins {
		pins = "GPIO_49";
		function = "fc_shrd7";
	};

	fc_shrd8_pins: fc_shrd8-pins {
		pins = "GPIO_54";
		function = "fc_shrd8";
	};

	fc3_b_pins: fcb3-spi-pins {
		/* SCK, RXD, TXD */
		pins = "GPIO_51", "GPIO_52", "GPIO_53";
		function = "fc3_b";
	};

	can0_b_pins:  can0-b-pins {
		/* RX, TX */
		pins = "GPIO_35", "GPIO_36";
		function = "can0_b";
	};
};

&can0 {
	pinctrl-0 = <&can0_b_pins>;
	pinctrl-names = "default";
	status = "okay";
};

&flx3 {
	atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
	status = "okay";

	usart3: serial@200 {
		pinctrl-0 = <&fc3_b_pins>, <&fc_shrd7_pins>, <&fc_shrd8_pins>;
		pinctrl-names = "default";
		status = "okay";
	};
};

&watchdog {
	status = "okay";
};