Lines Matching +full:i2c +full:- +full:gate

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include "meson-g12b-a311d.dtsi"
7 #include <dt-bindings/gpio/meson-g12a-gpio.h>
16 stdout-path = "serial0:115200n8";
19 emmc_pwrseq: emmc-pwrseq {
20 compatible = "mmc-pwrseq-emmc";
21 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
29 sdio_pwrseq: sdio-pwrseq {
30 compatible = "mmc-pwrseq-simple";
31 reset-gpios = <&gpio GPIOAO_6 GPIO_ACTIVE_LOW>;
33 clock-names = "ext_clock";
36 emmc_1v8: regulator-emmc-1v8 {
37 compatible = "regulator-fixed";
38 regulator-name = "EMMC_1V8";
39 regulator-min-microvolt = <1800000>;
40 regulator-max-microvolt = <1800000>;
41 vin-supply = <&vddao_3v3>;
42 regulator-always-on;
45 dc_in: regulator-dc-in {
46 compatible = "regulator-fixed";
47 regulator-name = "DC_IN";
48 regulator-min-microvolt = <5000000>;
49 regulator-max-microvolt = <5000000>;
50 regulator-always-on;
53 vddio_c: regulator-vddio-c {
54 compatible = "regulator-gpio";
55 regulator-name = "VDDIO_C";
56 regulator-min-microvolt = <1800000>;
57 regulator-max-microvolt = <3300000>;
59 enable-gpios = <&gpio_ao GPIOAO_3 GPIO_OPEN_DRAIN>;
60 enable-active-high;
61 regulator-always-on;
64 gpios-states = <1>;
70 vddao_1v8: regulator-vddao-1v8 {
71 compatible = "regulator-fixed";
72 regulator-name = "VDDAO_1V8";
73 regulator-min-microvolt = <1800000>;
74 regulator-max-microvolt = <1800000>;
75 vin-supply = <&vddao_3v3>;
76 regulator-always-on;
79 vddao_3v3: regulator-vddao-3v3 {
80 compatible = "regulator-fixed";
81 regulator-name = "VDDAO_3V3";
82 regulator-min-microvolt = <3300000>;
83 regulator-max-microvolt = <3300000>;
84 vin-supply = <&dc_in>;
85 regulator-always-on;
88 vddcpu_a: regulator-vddcpu-a {
92 compatible = "pwm-regulator";
94 regulator-name = "VDDCPU_A";
95 regulator-min-microvolt = <680000>;
96 regulator-max-microvolt = <1040000>;
98 pwm-supply = <&dc_in>;
101 pwm-dutycycle-range = <100 0>;
103 regulator-boot-on;
104 regulator-always-on;
107 vddcpu_b: regulator-vddcpu-b {
111 compatible = "pwm-regulator";
113 regulator-name = "VDDCPU_B";
114 regulator-min-microvolt = <680000>;
115 regulator-max-microvolt = <1040000>;
117 pwm-supply = <&dc_in>;
120 pwm-dutycycle-range = <100 0>;
122 regulator-boot-on;
123 regulator-always-on;
127 compatible = "pwm-clock";
128 #clock-cells = <0>;
129 clock-frequency = <32768>;
143 pinctrl-0 = <&cec_ao_a_h_pins>;
144 pinctrl-names = "default";
145 hdmi-phandle = <&hdmi_tx>;
149 pinctrl-0 = <&cec_ao_b_h_pins>;
150 pinctrl-names = "default";
151 hdmi-phandle = <&hdmi_tx>;
155 cpu-supply = <&vddcpu_b>;
156 operating-points-v2 = <&cpu_opp_table_0>;
161 cpu-supply = <&vddcpu_b>;
162 operating-points-v2 = <&cpu_opp_table_0>;
167 cpu-supply = <&vddcpu_a>;
168 operating-points-v2 = <&cpub_opp_table_1>;
173 cpu-supply = <&vddcpu_a>;
174 operating-points-v2 = <&cpub_opp_table_1>;
179 cpu-supply = <&vddcpu_a>;
180 operating-points-v2 = <&cpub_opp_table_1>;
185 cpu-supply = <&vddcpu_a>;
186 operating-points-v2 = <&cpub_opp_table_1>;
191 external_phy: ethernet-phy@0 {
194 max-speed = <1000>;
196 interrupt-parent = <&gpio_intc>;
204 pinctrl-0 = <&eth_pins>, <&eth_rgmii_pins>;
205 pinctrl-names = "default";
206 phy-mode = "rgmii-txid";
207 phy-handle = <&external_phy>;
224 pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
225 pinctrl-names = "default";
226 hdmi-supply = <&dc_in>;
229 /* "Camera" I2C bus */
231 pinctrl-0 = <&i2c1_sda_h6_pins>, <&i2c1_sck_h7_pins>;
232 pinctrl-names = "default";
235 /* Main I2C bus */
237 pinctrl-0 = <&i2c2_sda_x_pins>, <&i2c2_sck_x_pins>;
238 pinctrl-names = "default";
241 /* "ID" I2C bus */
243 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
244 pinctrl-names = "default";
248 reset-gpios = <&gpio GPIOA_8 GPIO_ACTIVE_LOW>;
252 pinctrl-0 = <&pwm_a_e_pins>;
253 pinctrl-names = "default";
259 pinctrl-0 = <&pwm_e_pins>;
260 pinctrl-names = "default";
266 pinctrl-0 = <&pwm_ao_d_e_pins>;
267 pinctrl-names = "default";
273 vref-supply = <&vddao_1v8>;
278 /* on-module SDIO WiFi */
280 pinctrl-0 = <&sdio_pins>;
281 pinctrl-1 = <&sdio_clk_gate_pins>;
282 pinctrl-names = "default", "clk-gate";
283 #address-cells = <1>;
284 #size-cells = <0>;
286 bus-width = <4>;
287 sd-uhs-sdr104;
288 max-frequency = <50000000>;
290 non-removable;
291 disable-wp;
294 keep-power-in-suspend;
296 mmc-pwrseq = <&sdio_pwrseq>;
298 vmmc-supply = <&vddao_3v3>;
299 vqmmc-supply = <&vddao_3v3>;
310 pinctrl-0 = <&sdcard_c_pins>;
311 pinctrl-1 = <&sdcard_clk_gate_c_pins>;
312 pinctrl-names = "default", "clk-gate";
314 bus-width = <4>;
315 cap-sd-highspeed;
316 max-frequency = <50000000>;
317 disable-wp;
319 cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
320 vmmc-supply = <&vddao_3v3>;
321 vqmmc-supply = <&vddio_c>;
324 /* on-module eMMC */
326 pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
327 pinctrl-1 = <&emmc_clk_gate_pins>;
328 pinctrl-names = "default", "clk-gate";
330 bus-width = <8>;
331 cap-mmc-highspeed;
332 mmc-ddr-1_8v;
333 mmc-hs200-1_8v;
334 max-frequency = <200000000>;
335 disable-wp;
337 mmc-pwrseq = <&emmc_pwrseq>;
338 vmmc-supply = <&vddao_3v3>;
339 vqmmc-supply = <&vddao_1v8>;
352 /* on-module UART BT */
354 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
355 pinctrl-names = "default";
356 uart-has-rtscts;
361 compatible = "realtek,rtl8822cs-bt";
362 enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
363 host-wake-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>;
364 device-wake-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>;
369 pinctrl-0 = <&uart_ao_a_pins>;
370 pinctrl-names = "default";
377 phy-names = "usb2-phy0", "usb2-phy1";