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";
25 bootargs = "ignore_loglevel";
26 stdout-path = "serial0:115200n8";
30 device_type = "memory";
31 /* first 128MB is reserved for secure area. */
32 reg = <0x0 0x48000000 0x0 0x78000000>;
36 device_type = "memory";
37 reg = <0x6 0x00000000 0x0 0x80000000>;
40 reg_1p8v: regulator0 {
41 compatible = "regulator-fixed";
42 regulator-name = "fixed-1.8V";
43 regulator-min-microvolt = <1800000>;
44 regulator-max-microvolt = <1800000>;
49 reg_3p3v: regulator1 {
50 compatible = "regulator-fixed";
51 regulator-name = "fixed-3.3V";
52 regulator-min-microvolt = <3300000>;
53 regulator-max-microvolt = <3300000>;
58 vcc_sdhi0: regulator-vcc-sdhi0 {
59 compatible = "regulator-fixed";
61 regulator-name = "SDHI0 Vcc";
62 regulator-min-microvolt = <3300000>;
63 regulator-max-microvolt = <3300000>;
65 gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
69 vccq_sdhi0: regulator-vccq-sdhi0 {
70 compatible = "regulator-gpio";
72 regulator-name = "SDHI0 VccQ";
73 regulator-min-microvolt = <1800000>;
74 regulator-max-microvolt = <3300000>;
76 gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
82 vcc_sdhi3: regulator-vcc-sdhi3 {
83 compatible = "regulator-fixed";
85 regulator-name = "SDHI3 Vcc";
86 regulator-min-microvolt = <3300000>;
87 regulator-max-microvolt = <3300000>;
89 gpio = <&gpio3 15 GPIO_ACTIVE_HIGH>;
93 vccq_sdhi3: regulator-vccq-sdhi3 {
94 compatible = "regulator-gpio";
96 regulator-name = "SDHI3 VccQ";
97 regulator-min-microvolt = <1800000>;
98 regulator-max-microvolt = <3300000>;
100 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
108 pinctrl-0 = <&scif_clk_pins>;
109 pinctrl-names = "default";
117 groups = "scif2_data_a";
120 scif_clk_pins: scif_clk {
121 groups = "scif_clk_a";
122 function = "scif_clk";
131 groups = "sdhi0_data4", "sdhi0_ctrl";
133 power-source = <3300>;
136 sdhi0_pins_uhs: sd0_uhs {
137 groups = "sdhi0_data4", "sdhi0_ctrl";
139 power-source = <1800>;
143 groups = "sdhi2_data8", "sdhi2_ctrl";
145 power-source = <3300>;
148 sdhi2_pins_uhs: sd2_uhs {
149 groups = "sdhi2_data8", "sdhi2_ctrl";
151 power-source = <1800>;
155 groups = "sdhi3_data4", "sdhi3_ctrl";
157 power-source = <3300>;
160 sdhi3_pins_uhs: sd3_uhs {
161 groups = "sdhi3_data4", "sdhi3_ctrl";
163 power-source = <1800>;
168 pinctrl-0 = <&avb_pins>;
169 pinctrl-names = "default";
170 renesas,no-ether-link;
171 phy-handle = <&phy0>;
174 phy0: ethernet-phy@0 {
188 interrupt-parent = <&gpio2>;
189 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
194 clock-frequency = <16666666>;
198 clock-frequency = <32768>;
202 pinctrl-0 = <&sdhi0_pins>;
203 pinctrl-1 = <&sdhi0_pins_uhs>;
204 pinctrl-names = "default", "state_uhs";
206 vmmc-supply = <&vcc_sdhi0>;
207 vqmmc-supply = <&vccq_sdhi0>;
208 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
209 wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
216 /* used for on-board 8bit eMMC */
217 pinctrl-0 = <&sdhi2_pins>;
218 pinctrl-1 = <&sdhi2_pins_uhs>;
219 pinctrl-names = "default", "state_uhs";
221 vmmc-supply = <®_3p3v>;
222 vqmmc-supply = <®_1p8v>;
229 pinctrl-0 = <&sdhi3_pins>;
230 pinctrl-1 = <&sdhi3_pins_uhs>;
231 pinctrl-names = "default", "state_uhs";
233 vmmc-supply = <&vcc_sdhi3>;
234 vqmmc-supply = <&vccq_sdhi3>;
235 cd-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
236 wp-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;
243 pinctrl-0 = <&scif2_pins>;
244 pinctrl-names = "default";
249 clock-frequency = <14745600>;
254 pinctrl-0 = <&i2c2_pins>;
255 pinctrl-names = "default";