Lines Matching +full:ctrl +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the R9A08G045S33 SMARC Carrier-II's SoM board.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
12 * On-board switches' states:
22 * SW_OFF - SD0 is connected to eMMC
23 * SW_ON - SD0 is connected to uSD0 card
25 * SW_OFF - SD2 is connected to SoC
26 * SW_ON - SCIF1, SSI0, IRQ0, IRQ1 connected to SoC
32 compatible = "renesas,rzg3s-smarcm", "renesas,r9a08g045s33", "renesas,r9a08g045";
47 stdout-path = "serial0:115200n8";
57 compatible = "regulator-fixed";
58 regulator-name = "SDHI0 Vcc";
59 regulator-min-microvolt = <3300000>;
60 regulator-max-microvolt = <3300000>;
61 gpios = <&pinctrl RZG2L_GPIO(2, 1) GPIO_ACTIVE_HIGH>;
62 enable-active-high;
67 compatible = "regulator-gpio";
68 regulator-name = "SDHI0 VccQ";
69 regulator-min-microvolt = <1800000>;
70 regulator-max-microvolt = <3300000>;
71 gpios = <&pinctrl RZG2L_GPIO(2, 2) GPIO_ACTIVE_HIGH>;
72 gpios-states = <1>;
77 compatible = "regulator-fixed";
78 regulator-name = "fixed-1.8V";
79 regulator-min-microvolt = <1800000>;
80 regulator-max-microvolt = <1800000>;
81 regulator-boot-on;
82 regulator-always-on;
87 compatible = "regulator-fixed";
88 regulator-name = "SDHI2 Vcc";
89 regulator-min-microvolt = <3300000>;
90 regulator-max-microvolt = <3300000>;
91 gpios = <&pinctrl RZG2L_GPIO(8, 1) GPIO_ACTIVE_HIGH>;
92 enable-active-high;
98 pinctrl-0 = <ð0_pins>;
99 pinctrl-names = "default";
100 phy-handle = <&phy0>;
101 phy-mode = "rgmii-id";
104 phy0: ethernet-phy@7 {
106 interrupt-parent = <&pinctrl>;
108 rxc-skew-psec = <0>;
109 txc-skew-psec = <0>;
110 rxdv-skew-psec = <0>;
111 txen-skew-psec = <0>;
112 rxd0-skew-psec = <0>;
113 rxd1-skew-psec = <0>;
114 rxd2-skew-psec = <0>;
115 rxd3-skew-psec = <0>;
116 txd0-skew-psec = <0>;
117 txd1-skew-psec = <0>;
118 txd2-skew-psec = <0>;
119 txd3-skew-psec = <0>;
124 pinctrl-0 = <ð1_pins>;
125 pinctrl-names = "default";
126 phy-handle = <&phy1>;
127 phy-mode = "rgmii-id";
130 phy1: ethernet-phy@7 {
132 interrupt-parent = <&pinctrl>;
134 rxc-skew-psec = <0>;
135 txc-skew-psec = <0>;
136 rxdv-skew-psec = <0>;
137 txen-skew-psec = <0>;
138 rxd0-skew-psec = <0>;
139 rxd1-skew-psec = <0>;
140 rxd2-skew-psec = <0>;
141 rxd3-skew-psec = <0>;
142 txd0-skew-psec = <0>;
143 txd1-skew-psec = <0>;
144 txd2-skew-psec = <0>;
145 txd3-skew-psec = <0>;
151 clock-frequency = <24000000>;
161 pinctrl-0 = <&sdhi0_pins>;
162 pinctrl-1 = <&sdhi0_uhs_pins>;
163 pinctrl-names = "default", "state_uhs";
164 vmmc-supply = <&vcc_sdhi0>;
165 vqmmc-supply = <&vccq_sdhi0>;
166 bus-width = <4>;
167 sd-uhs-sdr50;
168 sd-uhs-sdr104;
169 max-frequency = <125000000>;
175 pinctrl-0 = <&sdhi0_emmc_pins>;
176 pinctrl-1 = <&sdhi0_emmc_pins>;
177 pinctrl-names = "default", "state_uhs";
178 vmmc-supply = <&vcc_sdhi0>;
179 vqmmc-supply = <®_1p8v>;
180 bus-width = <8>;
181 mmc-hs200-1_8v;
182 non-removable;
183 fixed-emmc-driver-type = <1>;
184 max-frequency = <125000000>;
191 pinctrl-0 = <&sdhi2_pins>;
192 pinctrl-names = "default";
193 vmmc-supply = <&vcc_sdhi2>;
194 bus-width = <4>;
195 max-frequency = <50000000>;
202 eth0-phy-irq-hog {
203 gpio-hog;
204 gpios = <RZG2L_GPIO(12, 0) GPIO_ACTIVE_LOW>;
206 line-name = "eth0-phy-irq";
213 power-source = <1800>;
214 output-enable;
215 input-enable;
216 drive-strength-microamp = <5200>;
221 power-source = <1800>;
222 output-enable;
223 drive-strength-microamp = <5200>;
240 power-source = <1800>;
245 eth1-phy-irq-hog {
246 gpio-hog;
247 gpios = <RZG2L_GPIO(12, 1) GPIO_ACTIVE_LOW>;
249 line-name = "eth1-phy-irq";
256 power-source = <1800>;
257 output-enable;
258 input-enable;
259 drive-strength-microamp = <5200>;
264 power-source = <1800>;
265 output-enable;
266 drive-strength-microamp = <5200>;
283 power-source = <1800>;
290 power-source = <3300>;
293 ctrl {
295 power-source = <3300>;
303 sdhi0_uhs_pins: sd0-uhs {
306 power-source = <1800>;
309 ctrl {
311 power-source = <1800>;
319 sdhi0_emmc_pins: sd0-emmc {
323 power-source = <1800>;
329 input-enable;
332 ctrl {
334 input-enable;
350 timeout-sec = <60>;