summaryrefslogtreecommitdiff
path: root/arch/mips/dts/pic32mzda_sk.dts
blob: fc86154e0ae606e2bf4bd1b2de5e642b51b56b32 (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";
	u-boot,dm-pre-reloc;
};

&pinctrl {
	status = "okay";
	u-boot,dm-pre-reloc;
};

&uart2 {
	status = "okay";
	u-boot,dm-pre-reloc;
};

&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";
};