1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015 Microchip Technology, Inc.
4 * Purna Chandra Mandal, <purna.mandal@microchip.com>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/clock/microchip,clock.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include "skeleton.dtsi"
13 compatible = "microchip,pic32mzda", "microchip,pic32mz";
30 compatible = "mips,mips14kc";
35 compatible = "microchip,pic32mzda-clk";
36 reg = <0x1f801200 0x1000>;
40 uart1: serial@1f822000 {
41 compatible = "microchip,pic32mzda-uart";
42 reg = <0x1f822000 0x50>;
43 interrupts = <112 IRQ_TYPE_LEVEL_HIGH>;
45 clocks = <&clock PB2CLK>;
48 uart2: serial@1f822200 {
49 compatible = "microchip,pic32mzda-uart";
50 reg = <0x1f822200 0x50>;
51 interrupts = <145 IRQ_TYPE_LEVEL_HIGH>;
52 clocks = <&clock PB2CLK>;
56 uart6: serial@1f822a00 {
57 compatible = "microchip,pic32mzda-uart";
58 reg = <0x1f822a00 0x50>;
59 interrupts = <188 IRQ_TYPE_LEVEL_HIGH>;
60 clocks = <&clock PB2CLK>;
64 evic: interrupt-controller@1f810000 {
65 compatible = "microchip,pic32mzda-evic";
67 #interrupt-cells = <2>;
68 reg = <0x1f810000 0x1000>;
71 pinctrl: pinctrl@1f801400 {
72 compatible = "microchip,pic32mzda-pinctrl";
73 reg = <0x1f801400 0x100>, /* in */
74 <0x1f801500 0x200>, /* out */
75 <0x1f860000 0xa00>; /* port */
76 reg-names = "ppsin","ppsout","port";
79 ranges = <0 0x1f860000 0xa00>;
83 compatible = "microchip,pic32mzda-gpio";
90 compatible = "microchip,pic32mzda-gpio";
97 compatible = "microchip,pic32mzda-gpio";
104 compatible = "microchip,pic32mzda-gpio";
111 compatible = "microchip,pic32mzda-gpio";
118 compatible = "microchip,pic32mzda-gpio";
125 compatible = "microchip,pic32mzda-gpio";
132 compatible = "microchip,pic32mzda-gpio";
139 compatible = "microchip,pic32mzda-gpio";
146 compatible = "microchip,pic32mzda-gpio";
153 sdhci: sdhci@1f8ec000 {
154 compatible = "microchip,pic32mzda-sdhci";
155 reg = <0x1f8ec000 0x100>;
156 interrupts = <191 IRQ_TYPE_LEVEL_HIGH>;
157 clocks = <&clock REF4CLK>, <&clock PB5CLK>;
158 clock-names = "base_clk", "sys_clk";
159 clock-freq-min-max = <25000000>,<25000000>;
164 ethernet: ethernet@1f882000 {
165 compatible = "microchip,pic32mzda-eth";
166 reg = <0x1f882000 0x1000>;
167 interrupts = <153 IRQ_TYPE_LEVEL_HIGH>;
168 clocks = <&clock PB5CLK>;
170 #address-cells = <1>;
175 compatible = "microchip,pic32mzda-usb";
176 reg = <0x1f8e3000 0x1000>,
178 reg-names = "mc", "control";
179 interrupts = <132 IRQ_TYPE_EDGE_RISING>,
180 <133 IRQ_TYPE_LEVEL_HIGH>;
181 clocks = <&clock PB5CLK>;
182 clock-names = "usb_clk";