2 * Device Tree Source for the Salvator-X board
4 * Copyright (C) 2016 Renesas Electronics Corp.
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
12 #include "r8a7796.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
16 model = "Renesas Salvator-X board based on r8a7796";
17 compatible = "renesas,salvator-x", "renesas,r8a7796";
24 bootargs = "ignore_loglevel";
25 stdout-path = "serial0:115200n8";
29 device_type = "memory";
30 /* first 128MB is reserved for secure area. */
31 reg = <0x0 0x48000000 0x0 0x78000000>;
34 reg_1p8v: regulator0 {
35 compatible = "regulator-fixed";
36 regulator-name = "fixed-1.8V";
37 regulator-min-microvolt = <1800000>;
38 regulator-max-microvolt = <1800000>;
43 reg_3p3v: regulator1 {
44 compatible = "regulator-fixed";
45 regulator-name = "fixed-3.3V";
46 regulator-min-microvolt = <3300000>;
47 regulator-max-microvolt = <3300000>;
52 vcc_sdhi0: regulator-vcc-sdhi0 {
53 compatible = "regulator-fixed";
55 regulator-name = "SDHI0 Vcc";
56 regulator-min-microvolt = <3300000>;
57 regulator-max-microvolt = <3300000>;
59 gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
63 vccq_sdhi0: regulator-vccq-sdhi0 {
64 compatible = "regulator-gpio";
66 regulator-name = "SDHI0 VccQ";
67 regulator-min-microvolt = <1800000>;
68 regulator-max-microvolt = <3300000>;
70 gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
76 vcc_sdhi3: regulator-vcc-sdhi3 {
77 compatible = "regulator-fixed";
79 regulator-name = "SDHI3 Vcc";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
83 gpio = <&gpio3 15 GPIO_ACTIVE_HIGH>;
87 vccq_sdhi3: regulator-vccq-sdhi3 {
88 compatible = "regulator-gpio";
90 regulator-name = "SDHI3 VccQ";
91 regulator-min-microvolt = <1800000>;
92 regulator-max-microvolt = <3300000>;
94 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
102 pinctrl-0 = <&scif_clk_pins>;
103 pinctrl-names = "default";
106 groups = "scif2_data_a";
109 scif_clk_pins: scif_clk {
110 groups = "scif_clk_a";
111 function = "scif_clk";
120 groups = "sdhi0_data4", "sdhi0_ctrl";
122 power-source = <3300>;
125 sdhi0_pins_uhs: sd0_uhs {
126 groups = "sdhi0_data4", "sdhi0_ctrl";
128 power-source = <1800>;
132 groups = "sdhi2_data8", "sdhi2_ctrl";
134 power-source = <3300>;
137 sdhi2_pins_uhs: sd2_uhs {
138 groups = "sdhi2_data8", "sdhi2_ctrl";
140 power-source = <1800>;
144 groups = "sdhi3_data4", "sdhi3_ctrl";
146 power-source = <3300>;
149 sdhi3_pins_uhs: sd3_uhs {
150 groups = "sdhi3_data4", "sdhi3_ctrl";
152 power-source = <1800>;
157 clock-frequency = <16666666>;
161 clock-frequency = <32768>;
165 pinctrl-0 = <&sdhi0_pins>;
166 pinctrl-1 = <&sdhi0_pins_uhs>;
167 pinctrl-names = "default", "state_uhs";
169 vmmc-supply = <&vcc_sdhi0>;
170 vqmmc-supply = <&vccq_sdhi0>;
171 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
172 wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
179 /* used for on-board 8bit eMMC */
180 pinctrl-0 = <&sdhi2_pins>;
181 pinctrl-1 = <&sdhi2_pins_uhs>;
182 pinctrl-names = "default", "state_uhs";
184 vmmc-supply = <®_3p3v>;
185 vqmmc-supply = <®_1p8v>;
192 pinctrl-0 = <&sdhi3_pins>;
193 pinctrl-1 = <&sdhi3_pins_uhs>;
194 pinctrl-names = "default", "state_uhs";
196 vmmc-supply = <&vcc_sdhi3>;
197 vqmmc-supply = <&vccq_sdhi3>;
198 cd-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
199 wp-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;
206 pinctrl-0 = <&scif2_pins>;
207 pinctrl-names = "default";
212 clock-frequency = <14745600>;
217 pinctrl-0 = <&i2c2_pins>;
218 pinctrl-names = "default";