~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: b9b78b507e1c5c6b454b8db1938b01368b43f5e0 (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
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2015 Purna Chandra Mandal, purna.mandal@microchip.com
 */

/dts-v1/;

#include "pic32mzda.dtsi"

/ {
	model = "Microchip PIC32MZDASK";
	compatible = "microchip,pic32mzdask", "microchip,pic32mzda";

	aliases {
		console = &uart2;
		serial0 = &uart2;
	};

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

&clock {
	microchip,refo2-frequency = <50000000>;
	microchip,refo4-frequency = <25000000>;
	microchip,refo5-frequency = <40000000>;
	status = "okay";
	bootph-all;
};

&pinctrl {
	status = "okay";
	bootph-all;
};

&uart2 {
	status = "okay";
	bootph-all;
};

&sdhci {
	microchip,use-sdcd;
	status = "okay";
};

&ethernet {
	reset-gpios = <&gpioJ 15 0>;
	status = "okay";
	phy-mode = "rmii";
	phy-handle = <&ethernet_phy>;
	ethernet_phy: lan8740_phy@0 {
		reg = <0>;
	};
};

&usb {
	status = "okay";
};