blob: fc86154e0ae606e2bf4bd1b2de5e642b51b56b32 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Purna Chandra Mandal44da3a12016-01-28 15:30:17 +05302/*
3 * Copyright (C) 2015 Purna Chandra Mandal, purna.mandal@microchip.com
Purna Chandra Mandal44da3a12016-01-28 15:30:17 +05304 */
5
6/dts-v1/;
7
8#include "pic32mzda.dtsi"
9
10/ {
11 model = "Microchip PIC32MZDASK";
12 compatible = "microchip,pic32mzdask", "microchip,pic32mzda";
13
14 aliases {
15 console = &uart2;
16 serial0 = &uart2;
17 };
18
19 chosen {
20 stdout-path = "serial0:115200n8";
21 };
22};
23
24&clock {
Purna Chandra Mandalc76eb722016-01-28 15:30:19 +053025 microchip,refo2-frequency = <50000000>;
26 microchip,refo4-frequency = <25000000>;
27 microchip,refo5-frequency = <40000000>;
Purna Chandra Mandal44da3a12016-01-28 15:30:17 +053028 status = "okay";
29 u-boot,dm-pre-reloc;
30};
31
32&pinctrl {
33 status = "okay";
34 u-boot,dm-pre-reloc;
35};
36
37&uart2 {
38 status = "okay";
39 u-boot,dm-pre-reloc;
40};
Purna Chandra Mandalc76eb722016-01-28 15:30:19 +053041
42&sdhci {
John Robertson69af0332020-09-01 02:55:42 +000043 microchip,use-sdcd;
Purna Chandra Mandalc76eb722016-01-28 15:30:19 +053044 status = "okay";
Purna Chandra Mandal7d514a72016-01-28 15:30:22 +053045};
46
47&ethernet {
48 reset-gpios = <&gpioJ 15 0>;
49 status = "okay";
50 phy-mode = "rmii";
51 phy-handle = <&ethernet_phy>;
52 ethernet_phy: lan8740_phy@0 {
53 reg = <0>;
54 };
Purna Chandra Mandalac7eef72016-03-21 13:05:43 +053055};
56
57&usb {
58 status = "okay";
Purna Chandra Mandalc76eb722016-01-28 15:30:19 +053059};