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";
58 gpios = <&gpio1 12 0>;
64 gpios = <&gpio1 13 0>;
70 gpios = <&gpio1 14 0>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&pinctrl_uart2>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&pinctrl_uart4>;
88 pinctrl-names = "default";
89 pinctrl-0 = <&pinctrl_sdhc1>;
91 assigned-clocks = <&rootclk REF2CLK>, <&rootclk REF4CLK>,
93 assigned-clock-rates = <50000000>, <25000000>, <40000000>;
98 pinctrl_sdhc1: sdhc1_pins0 {
99 pins = "A6", "D4", "G13", "G12", "G14", "A7", "A0";
103 user_leds_s0: user_leds_s0 {
104 pins = "H0", "H1", "H2";
109 user_buttons_s0: user_buttons_s0 {
110 pins = "B12", "B13", "B14";
116 pinctrl_uart2: pinctrl_uart2 {
131 pinctrl_uart4: uart4-0 {