2 * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board
4 * Copyright (C) 2016 Renesas Electronics Corp.
5 * Copyright (C) 2016 Cogent Embedded, Inc.
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2. This program is licensed "as is" without any warranty of any
9 * kind, whether express or implied.
13 #include "r8a7796.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
18 model = "Renesas M3ULCB board based on r8a7796";
19 compatible = "renesas,m3ulcb", "renesas,r8a7796";
26 stdout-path = "serial0:115200n8";
30 device_type = "memory";
31 /* first 128MB is reserved for secure area. */
32 reg = <0x0 0x48000000 0x0 0x38000000>;
36 compatible = "gpio-leds";
39 gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
42 gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
47 compatible = "gpio-keys";
53 debounce-interval = <20>;
54 gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
58 reg_1p8v: regulator0 {
59 compatible = "regulator-fixed";
60 regulator-name = "fixed-1.8V";
61 regulator-min-microvolt = <1800000>;
62 regulator-max-microvolt = <1800000>;
67 reg_3p3v: regulator1 {
68 compatible = "regulator-fixed";
69 regulator-name = "fixed-3.3V";
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
76 vcc_sdhi0: regulator-vcc-sdhi0 {
77 compatible = "regulator-fixed";
79 regulator-name = "SDHI0 Vcc";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
83 gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
87 vccq_sdhi0: regulator-vccq-sdhi0 {
88 compatible = "regulator-gpio";
90 regulator-name = "SDHI0 VccQ";
91 regulator-min-microvolt = <1800000>;
92 regulator-max-microvolt = <3300000>;
94 gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
102 clock-frequency = <16666666>;
106 clock-frequency = <32768>;
110 pinctrl-0 = <&scif_clk_pins>;
111 pinctrl-names = "default";
114 groups = "scif2_data_a";
118 scif_clk_pins: scif_clk {
119 groups = "scif_clk_a";
120 function = "scif_clk";
124 groups = "sdhi0_data4", "sdhi0_ctrl";
126 power-source = <3300>;
129 sdhi0_pins_uhs: sd0_uhs {
130 groups = "sdhi0_data4", "sdhi0_ctrl";
132 power-source = <1800>;
136 groups = "sdhi2_data8", "sdhi2_ctrl";
138 power-source = <3300>;
141 sdhi2_pins_uhs: sd2_uhs {
142 groups = "sdhi2_data8", "sdhi2_ctrl";
144 power-source = <1800>;
149 pinctrl-0 = <&sdhi0_pins>;
150 pinctrl-1 = <&sdhi0_pins_uhs>;
151 pinctrl-names = "default", "state_uhs";
153 vmmc-supply = <&vcc_sdhi0>;
154 vqmmc-supply = <&vccq_sdhi0>;
155 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
162 /* used for on-board 8bit eMMC */
163 pinctrl-0 = <&sdhi2_pins>;
164 pinctrl-1 = <&sdhi2_pins_uhs>;
165 pinctrl-names = "default", "state_uhs";
167 vmmc-supply = <®_3p3v>;
168 vqmmc-supply = <®_1p8v>;
175 pinctrl-0 = <&scif2_pins>;
176 pinctrl-names = "default";
182 clock-frequency = <14745600>;