Lines Matching +full:chg +full:- +full:gpios

1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
14 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
18 compatible = "mediatek,mt8195-demo", "mediatek,mt8195";
25 stdout-path = "serial0:921600n8";
30 compatible = "linaro,optee-tz";
35 gpio-keys {
36 compatible = "gpio-keys";
37 pinctrl-names = "default";
38 pinctrl-0 = <&gpio_keys_pins>;
40 key-0 {
41 gpios = <&pio 106 GPIO_ACTIVE_LOW>;
44 wakeup-source;
45 debounce-interval = <15>;
54 reserved-memory {
55 #address-cells = <2>;
56 #size-cells = <2>;
60 * 12 MiB reserved for OP-TEE (BL32)
61 * +-----------------------+ 0x43e0_0000
63 * +-----------------------+ 0x43c0_0000
65 * + TZDRAM +--------------+ 0x4340_0000
67 * +-----------------------+ 0x4320_0000
70 no-map;
75 compatible = "shared-dma-pool";
77 no-map;
81 compatible = "shared-dma-pool";
87 no-map;
92 compatible = "shared-dma-pool";
94 no-map;
98 compatible = "shared-dma-pool";
105 phy-mode ="rgmii-id";
106 phy-handle = <&ethernet_phy0>;
107 snps,reset-gpio = <&pio 93 GPIO_ACTIVE_HIGH>;
108 snps,reset-delays-us = <0 10000 80000>;
109 pinctrl-names = "default", "sleep";
110 pinctrl-0 = <&eth_default_pins>;
111 pinctrl-1 = <&eth_sleep_pins>;
115 ethernet_phy0: ethernet-phy@1 {
122 clock-frequency = <400000>;
123 pinctrl-0 = <&i2c6_pins>;
124 pinctrl-names = "default";
130 interrupt-controller;
131 interrupts-extended = <&pio 101 IRQ_TYPE_EDGE_FALLING>;
132 interrupt-names = "IRQB";
135 compatible = "mediatek,mt6360-chg";
136 richtek,vinovp-microvolt = <14500000>;
138 otg_vbus_regulator: usb-otg-vbus-regulator {
139 regulator-compatible = "usb-otg-vbus";
140 regulator-name = "usb-otg-vbus";
141 regulator-min-microvolt = <4425000>;
142 regulator-max-microvolt = <5825000>;
147 compatible = "mediatek,mt6360-regulator";
148 LDO_VIN3-supply = <&mt6360_buck2>;
151 regulator-compatible = "BUCK1";
152 regulator-name = "mt6360,buck1";
153 regulator-min-microvolt = <300000>;
154 regulator-max-microvolt = <1300000>;
155 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
158 regulator-always-on;
162 regulator-compatible = "BUCK2";
163 regulator-name = "mt6360,buck2";
164 regulator-min-microvolt = <300000>;
165 regulator-max-microvolt = <1300000>;
166 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
169 regulator-always-on;
173 regulator-compatible = "LDO1";
174 regulator-name = "mt6360,ldo1";
175 regulator-min-microvolt = <1200000>;
176 regulator-max-microvolt = <3600000>;
177 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
182 regulator-compatible = "LDO2";
183 regulator-name = "mt6360,ldo2";
184 regulator-min-microvolt = <1200000>;
185 regulator-max-microvolt = <3600000>;
186 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
191 regulator-compatible = "LDO3";
192 regulator-name = "mt6360,ldo3";
193 regulator-min-microvolt = <1200000>;
194 regulator-max-microvolt = <3600000>;
195 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
200 regulator-compatible = "LDO5";
201 regulator-name = "mt6360,ldo5";
202 regulator-min-microvolt = <2700000>;
203 regulator-max-microvolt = <3600000>;
204 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
209 regulator-compatible = "LDO6";
210 regulator-name = "mt6360,ldo6";
211 regulator-min-microvolt = <500000>;
212 regulator-max-microvolt = <2100000>;
213 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
218 regulator-compatible = "LDO7";
219 regulator-name = "mt6360,ldo7";
220 regulator-min-microvolt = <500000>;
221 regulator-max-microvolt = <2100000>;
222 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
224 regulator-always-on;
232 pinctrl-names = "default", "state_uhs";
233 pinctrl-0 = <&mmc0_default_pins>;
234 pinctrl-1 = <&mmc0_uhs_pins>;
235 bus-width = <8>;
236 max-frequency = <200000000>;
237 cap-mmc-highspeed;
238 mmc-hs200-1_8v;
239 mmc-hs400-1_8v;
240 cap-mmc-hw-reset;
241 no-sdio;
242 no-sd;
243 hs400-ds-delay = <0x14c11>;
244 vmmc-supply = <&mt6359_vemc_1_ldo_reg>;
245 vqmmc-supply = <&mt6359_vufs_ldo_reg>;
246 non-removable;
250 pinctrl-names = "default", "state_uhs";
251 pinctrl-0 = <&mmc1_default_pins>;
252 pinctrl-1 = <&mmc1_uhs_pins>;
253 cd-gpios = <&pio 129 GPIO_ACTIVE_LOW>;
254 bus-width = <4>;
255 max-frequency = <200000000>;
256 cap-sd-highspeed;
257 sd-uhs-sdr50;
258 sd-uhs-sdr104;
259 vmmc-supply = <&mt6360_ldo5>;
260 vqmmc-supply = <&mt6360_ldo3>;
265 regulator-always-on;
269 regulator-always-on;
273 regulator-always-on;
277 regulator-always-on;
281 regulator-always-on;
285 regulator-always-on;
289 regulator-always-on;
293 regulator-always-on;
297 regulator-always-on;
301 eth_default_pins: eth-default-pins {
302 pins-txd {
307 drive-strength = <MTK_DRIVE_8mA>;
309 pins-cc {
314 drive-strength = <MTK_DRIVE_8mA>;
316 pins-rxd {
322 pins-mdio {
325 input-enable;
327 pins-power {
330 output-high;
334 eth_sleep_pins: eth-sleep-pins {
335 pins-txd {
341 pins-cc {
347 pins-rxd {
353 pins-mdio {
356 input-disable;
357 bias-disable;
361 gpio_keys_pins: gpio-keys-pins {
364 input-enable;
368 i2c6_pins: i2c6-pins {
372 bias-pull-up;
376 mmc0_default_pins: mmc0-default-pins {
377 pins-clk {
379 drive-strength = <MTK_DRIVE_6mA>;
380 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
383 pins-cmd-dat {
393 input-enable;
394 drive-strength = <MTK_DRIVE_6mA>;
395 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
398 pins-rst {
400 drive-strength = <MTK_DRIVE_6mA>;
401 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
405 mmc0_uhs_pins: mmc0-uhs-pins {
406 pins-clk {
408 drive-strength = <MTK_DRIVE_8mA>;
409 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
412 pins-cmd-dat {
422 input-enable;
423 drive-strength = <MTK_DRIVE_8mA>;
424 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
427 pins-ds {
429 drive-strength = <MTK_DRIVE_8mA>;
430 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
433 pins-rst {
435 drive-strength = <MTK_DRIVE_8mA>;
436 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
440 mmc1_default_pins: mmc1-default-pins {
441 pins-clk {
443 drive-strength = <MTK_DRIVE_8mA>;
444 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
447 pins-cmd-dat {
453 input-enable;
454 drive-strength = <MTK_DRIVE_8mA>;
455 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
458 pins-insert {
460 bias-pull-up;
464 mmc1_uhs_pins: mmc1-uhs-pins {
465 pins-clk {
467 drive-strength = <MTK_DRIVE_8mA>;
468 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
471 pins-cmd-dat {
477 input-enable;
478 drive-strength = <MTK_DRIVE_8mA>;
479 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
483 uart0_pins: uart0-pins {
490 uart1_pins: uart1-pins {
500 interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
504 pinctrl-names = "default";
505 pinctrl-0 = <&uart0_pins>;
510 pinctrl-names = "default";
511 pinctrl-0 = <&uart1_pins>;
532 vusb33-supply = <&mt6359_vusb_ldo_reg>;
533 vbus-supply = <&otg_vbus_regulator>;
538 vusb33-supply = <&mt6359_vusb_ldo_reg>;
543 vusb33-supply = <&mt6359_vusb_ldo_reg>;
548 vusb33-supply = <&mt6359_vusb_ldo_reg>;