Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Purna Chandra Mandal | 745dd32 | 2016-01-28 15:30:17 +0530 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2015 Purna Chandra Mandal, purna.mandal@microchip.com |
Purna Chandra Mandal | 745dd32 | 2016-01-28 15:30:17 +0530 | [diff] [blame] | 4 | */ |
| 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 Mandal | 85491f5 | 2016-01-28 15:30:19 +0530 | [diff] [blame] | 25 | microchip,refo2-frequency = <50000000>; |
| 26 | microchip,refo4-frequency = <25000000>; |
| 27 | microchip,refo5-frequency = <40000000>; |
Purna Chandra Mandal | 745dd32 | 2016-01-28 15:30:17 +0530 | [diff] [blame] | 28 | 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 Mandal | 85491f5 | 2016-01-28 15:30:19 +0530 | [diff] [blame] | 41 | |
| 42 | &sdhci { |
John Robertson | 43f1a88 | 2020-09-01 02:55:42 +0000 | [diff] [blame] | 43 | microchip,use-sdcd; |
Purna Chandra Mandal | 85491f5 | 2016-01-28 15:30:19 +0530 | [diff] [blame] | 44 | status = "okay"; |
Purna Chandra Mandal | d319148 | 2016-01-28 15:30:22 +0530 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | ðernet { |
| 48 | reset-gpios = <&gpioJ 15 0>; |
| 49 | status = "okay"; |
| 50 | phy-mode = "rmii"; |
| 51 | phy-handle = <ðernet_phy>; |
| 52 | ethernet_phy: lan8740_phy@0 { |
| 53 | reg = <0>; |
| 54 | }; |
Purna Chandra Mandal | a8b8f7b | 2016-03-21 13:05:43 +0530 | [diff] [blame] | 55 | }; |
| 56 | |
| 57 | &usb { |
| 58 | status = "okay"; |
Purna Chandra Mandal | 85491f5 | 2016-01-28 15:30:19 +0530 | [diff] [blame] | 59 | }; |