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