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";
26 bootargs = "ignore_loglevel";
27 stdout-path = "serial0:115200n8";
31 device_type = "memory";
32 /* first 128MB is reserved for secure area. */
33 reg = <0x0 0x48000000 0x0 0x78000000>;
37 device_type = "memory";
38 reg = <0x6 0x00000000 0x0 0x80000000>;
41 reg_1p8v: regulator0 {
42 compatible = "regulator-fixed";
43 regulator-name = "fixed-1.8V";
44 regulator-min-microvolt = <1800000>;
45 regulator-max-microvolt = <1800000>;
50 reg_3p3v: regulator1 {
51 compatible = "regulator-fixed";
52 regulator-name = "fixed-3.3V";
53 regulator-min-microvolt = <3300000>;
54 regulator-max-microvolt = <3300000>;
59 vcc_sdhi0: regulator-vcc-sdhi0 {
60 compatible = "regulator-fixed";
62 regulator-name = "SDHI0 Vcc";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
66 gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
70 vccq_sdhi0: regulator-vccq-sdhi0 {
71 compatible = "regulator-gpio";
73 regulator-name = "SDHI0 VccQ";
74 regulator-min-microvolt = <1800000>;
75 regulator-max-microvolt = <3300000>;
77 gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
83 vcc_sdhi3: regulator-vcc-sdhi3 {
84 compatible = "regulator-fixed";
86 regulator-name = "SDHI3 Vcc";
87 regulator-min-microvolt = <3300000>;
88 regulator-max-microvolt = <3300000>;
90 gpio = <&gpio3 15 GPIO_ACTIVE_HIGH>;
94 vccq_sdhi3: regulator-vccq-sdhi3 {
95 compatible = "regulator-gpio";
97 regulator-name = "SDHI3 VccQ";
98 regulator-min-microvolt = <1800000>;
99 regulator-max-microvolt = <3300000>;
101 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
109 pinctrl-0 = <&scif_clk_pins>;
110 pinctrl-names = "default";
118 groups = "scif1_data_a", "scif1_ctrl";
123 groups = "scif2_data_a";
126 scif_clk_pins: scif_clk {
127 groups = "scif_clk_a";
128 function = "scif_clk";
137 groups = "sdhi0_data4", "sdhi0_ctrl";
139 power-source = <3300>;
142 sdhi0_pins_uhs: sd0_uhs {
143 groups = "sdhi0_data4", "sdhi0_ctrl";
145 power-source = <1800>;
149 groups = "sdhi2_data8", "sdhi2_ctrl";
151 power-source = <3300>;
154 sdhi2_pins_uhs: sd2_uhs {
155 groups = "sdhi2_data8", "sdhi2_ctrl";
157 power-source = <1800>;
161 groups = "sdhi3_data4", "sdhi3_ctrl";
163 power-source = <3300>;
166 sdhi3_pins_uhs: sd3_uhs {
167 groups = "sdhi3_data4", "sdhi3_ctrl";
169 power-source = <1800>;
174 pinctrl-0 = <&avb_pins>;
175 pinctrl-names = "default";
176 renesas,no-ether-link;
177 phy-handle = <&phy0>;
180 phy0: ethernet-phy@0 {
181 rxc-skew-ps = <1500>;
183 interrupt-parent = <&gpio2>;
184 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
189 clock-frequency = <16666666>;
193 clock-frequency = <32768>;
197 pinctrl-0 = <&sdhi0_pins>;
198 pinctrl-1 = <&sdhi0_pins_uhs>;
199 pinctrl-names = "default", "state_uhs";
201 vmmc-supply = <&vcc_sdhi0>;
202 vqmmc-supply = <&vccq_sdhi0>;
203 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
204 wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
211 /* used for on-board 8bit eMMC */
212 pinctrl-0 = <&sdhi2_pins>;
213 pinctrl-1 = <&sdhi2_pins_uhs>;
214 pinctrl-names = "default", "state_uhs";
216 vmmc-supply = <®_3p3v>;
217 vqmmc-supply = <®_1p8v>;
224 pinctrl-0 = <&sdhi3_pins>;
225 pinctrl-1 = <&sdhi3_pins_uhs>;
226 pinctrl-names = "default", "state_uhs";
228 vmmc-supply = <&vcc_sdhi3>;
229 vqmmc-supply = <&vccq_sdhi3>;
230 cd-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
231 wp-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;
238 pinctrl-0 = <&scif1_pins>;
239 pinctrl-names = "default";
246 pinctrl-0 = <&scif2_pins>;
247 pinctrl-names = "default";
252 clock-frequency = <14745600>;
256 pinctrl-0 = <&i2c2_pins>;
257 pinctrl-names = "default";