1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
11 #include "pic32mzda.dtsi"
14 compatible = "microchip,pic32mzda-sk", "microchip,pic32mzda";
15 model = "Microchip PIC32MZDA Starter Kit";
18 device_type = "memory";
19 reg = <0x08000000 0x08000000>;
23 bootargs = "earlyprintk=ttyPIC1,115200n8r console=ttyPIC1,115200n8";
27 compatible = "gpio-leds";
28 pinctrl-names = "default";
29 pinctrl-0 = <&user_leds_s0>;
32 label = "pic32mzda_sk:red:led1";
33 gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
34 linux,default-trigger = "heartbeat";
38 label = "pic32mzda_sk:yellow:led2";
39 gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
40 linux,default-trigger = "mmc0";
44 label = "pic32mzda_sk:green:led3";
45 gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
51 compatible = "gpio-keys";
52 pinctrl-0 = <&user_buttons_s0>;
53 pinctrl-names = "default";
61 gpios = <&gpio1 12 0>;
67 gpios = <&gpio1 13 0>;
73 gpios = <&gpio1 14 0>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_uart2>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_uart4>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&pinctrl_sdhc1>;
94 assigned-clocks = <&rootclk REF2CLK>, <&rootclk REF4CLK>,
96 assigned-clock-rates = <50000000>, <25000000>, <40000000>;
101 pinctrl_sdhc1: sdhc1_pins0 {
102 pins = "A6", "D4", "G13", "G12", "G14", "A7", "A0";
106 user_leds_s0: user_leds_s0 {
107 pins = "H0", "H1", "H2";
112 user_buttons_s0: user_buttons_s0 {
113 pins = "B12", "B13", "B14";
119 pinctrl_uart2: pinctrl_uart2 {
134 pinctrl_uart4: uart4-0 {