xref: /openbmc/u-boot/arch/mips/dts/pic32mzda_sk.dts (revision 83d290c5)
1*83d290c5STom Rini// SPDX-License-Identifier: GPL-2.0+
244da3a17SPurna Chandra Mandal/*
344da3a17SPurna Chandra Mandal * Copyright (C) 2015 Purna Chandra Mandal, purna.mandal@microchip.com
444da3a17SPurna Chandra Mandal */
544da3a17SPurna Chandra Mandal
644da3a17SPurna Chandra Mandal/dts-v1/;
744da3a17SPurna Chandra Mandal
844da3a17SPurna Chandra Mandal#include "pic32mzda.dtsi"
944da3a17SPurna Chandra Mandal
1044da3a17SPurna Chandra Mandal/ {
1144da3a17SPurna Chandra Mandal	model = "Microchip PIC32MZDASK";
1244da3a17SPurna Chandra Mandal	compatible = "microchip,pic32mzdask", "microchip,pic32mzda";
1344da3a17SPurna Chandra Mandal
1444da3a17SPurna Chandra Mandal	aliases {
1544da3a17SPurna Chandra Mandal		console = &uart2;
1644da3a17SPurna Chandra Mandal		serial0 = &uart2;
1744da3a17SPurna Chandra Mandal	};
1844da3a17SPurna Chandra Mandal
1944da3a17SPurna Chandra Mandal	chosen {
2044da3a17SPurna Chandra Mandal		stdout-path = "serial0:115200n8";
2144da3a17SPurna Chandra Mandal	};
2244da3a17SPurna Chandra Mandal};
2344da3a17SPurna Chandra Mandal
2444da3a17SPurna Chandra Mandal&clock {
25c76eb72cSPurna Chandra Mandal	microchip,refo2-frequency = <50000000>;
26c76eb72cSPurna Chandra Mandal	microchip,refo4-frequency = <25000000>;
27c76eb72cSPurna Chandra Mandal	microchip,refo5-frequency = <40000000>;
2844da3a17SPurna Chandra Mandal	status = "okay";
2944da3a17SPurna Chandra Mandal	u-boot,dm-pre-reloc;
3044da3a17SPurna Chandra Mandal};
3144da3a17SPurna Chandra Mandal
3244da3a17SPurna Chandra Mandal&pinctrl {
3344da3a17SPurna Chandra Mandal	status = "okay";
3444da3a17SPurna Chandra Mandal	u-boot,dm-pre-reloc;
3544da3a17SPurna Chandra Mandal};
3644da3a17SPurna Chandra Mandal
3744da3a17SPurna Chandra Mandal&uart2 {
3844da3a17SPurna Chandra Mandal	status = "okay";
3944da3a17SPurna Chandra Mandal	u-boot,dm-pre-reloc;
4044da3a17SPurna Chandra Mandal};
41c76eb72cSPurna Chandra Mandal
42c76eb72cSPurna Chandra Mandal&sdhci {
43c76eb72cSPurna Chandra Mandal	status = "okay";
44c76eb72cSPurna Chandra Mandal};
457d514a74SPurna Chandra Mandal
467d514a74SPurna Chandra Mandal&ethernet {
477d514a74SPurna Chandra Mandal	reset-gpios = <&gpioJ 15 0>;
487d514a74SPurna Chandra Mandal	status = "okay";
497d514a74SPurna Chandra Mandal	phy-mode = "rmii";
507d514a74SPurna Chandra Mandal	phy-handle = <&ethernet_phy>;
517d514a74SPurna Chandra Mandal	ethernet_phy: lan8740_phy@0 {
527d514a74SPurna Chandra Mandal		reg = <0>;
537d514a74SPurna Chandra Mandal	};
547d514a74SPurna Chandra Mandal};
55ac7eef71SPurna Chandra Mandal
56ac7eef71SPurna Chandra Mandal&usb {
57ac7eef71SPurna Chandra Mandal	status = "okay";
58ac7eef71SPurna Chandra Mandal};