mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 11:18:28 +00:00
7d514a7407
This adds ethernet, TFTP support for PIC32MZ[DA] Starter Kit. Also custom environment variables/scripts are added to help boot from network. Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
55 lines
No EOL
844 B
Text
55 lines
No EOL
844 B
Text
/*
|
|
* Copyright (C) 2015 Purna Chandra Mandal, purna.mandal@microchip.com
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
/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 {
|
|
status = "okay";
|
|
};
|
|
|
|
ðernet {
|
|
reset-gpios = <&gpioJ 15 0>;
|
|
status = "okay";
|
|
phy-mode = "rmii";
|
|
phy-handle = <ðernet_phy>;
|
|
ethernet_phy: lan8740_phy@0 {
|
|
reg = <0>;
|
|
};
|
|
}; |