2 * Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
15 #include "pic32mzda.dtsi"
18 compatible = "microchip,pic32mzda-sk", "microchip,pic32mzda";
19 model = "Microchip PIC32MZDA Starter Kit";
22 device_type = "memory";
23 reg = <0x08000000 0x08000000>;
27 bootargs = "earlyprintk=ttyPIC1,115200n8r console=ttyPIC1,115200n8";
31 compatible = "gpio-leds";
32 pinctrl-names = "default";
33 pinctrl-0 = <&user_leds_s0>;
36 label = "pic32mzda_sk:red:led1";
37 gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
38 linux,default-trigger = "heartbeat";
42 label = "pic32mzda_sk:yellow:led2";
43 gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
44 linux,default-trigger = "mmc0";
48 label = "pic32mzda_sk:green:led3";
49 gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>;
55 compatible = "gpio-keys";
56 pinctrl-0 = <&user_buttons_s0>;
57 pinctrl-names = "default";
65 gpios = <&gpio1 12 0>;
71 gpios = <&gpio1 13 0>;
77 gpios = <&gpio1 14 0>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&pinctrl_uart2>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_uart4>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_sdhc1>;
98 assigned-clocks = <&rootclk REF2CLK>, <&rootclk REF4CLK>,
100 assigned-clock-rates = <50000000>, <25000000>, <40000000>;
105 pinctrl_sdhc1: sdhc1_pins0 {
106 pins = "A6", "D4", "G13", "G12", "G14", "A7", "A0";
110 user_leds_s0: user_leds_s0 {
111 pins = "H0", "H1", "H2";
116 user_buttons_s0: user_buttons_s0 {
117 pins = "B12", "B13", "B14";
123 pinctrl_uart2: pinctrl_uart2 {
138 pinctrl_uart4: uart4-0 {