Lines Matching +full:chglev +full:- +full:gpios

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board
8 /dts-v1/;
10 #include "sama5d2-pinfunc.h"
11 #include <dt-bindings/mfd/atmel-flexcom.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
18 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
28 stdout-path = "serial0:115200n8";
33 clock-frequency = <32768>;
37 clock-frequency = <12000000>;
43 atmel,vbus-gpio = <&pioA PIN_PA31 GPIO_ACTIVE_HIGH>;
44 pinctrl-names = "default";
45 pinctrl-0 = <&pinctrl_usba_vbus>;
50 num-ports = <3>;
51 atmel,vbus-gpio = <0 /* &pioA PIN_PB9 GPIO_ACTIVE_HIGH */
55 pinctrl-names = "default";
56 pinctrl-0 = <&pinctrl_usb_default>;
64 sdmmc0: sdio-host@a0000000 {
65 bus-width = <8>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&pinctrl_sdmmc0_default>;
68 non-removable;
69 mmc-ddr-3_3v;
73 sdmmc1: sdio-host@b0000000 {
74 bus-width = <4>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&pinctrl_sdmmc1_default>;
78 vqmmc-supply = <&vdd_3v3_reg>;
79 vmmc-supply = <&vdd_3v3_reg>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_qspi0_default>;
89 #address-cells = <1>;
90 #size-cells = <1>;
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <80000000>;
94 spi-tx-bus-width = <4>;
95 spi-rx-bus-width = <4>;
96 m25p,fast-read;
136 pinctrl-names = "default";
137 pinctrl-0 = <&pinctrl_spi0_default>;
143 spi-max-frequency = <50000000>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq>;
150 #address-cells = <1>;
151 #size-cells = <0>;
152 phy-mode = "rmii";
155 ethernet-phy@1 {
157 interrupt-parent = <&pioA>;
164 compatible = "atmel,tcb-timer";
169 compatible = "atmel,tcb-timer";
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_uart1_default>;
177 atmel,use-dma-rx;
178 atmel,use-dma-tx;
184 pinctrl-names = "default", "gpio";
185 pinctrl-0 = <&pinctrl_i2c0_default>;
186 pinctrl-1 = <&pinctrl_i2c0_gpio>;
187 sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>;
188 scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
189 i2c-sda-hold-time-ns = <350>;
193 compatible = "active-semi,act8945a";
195 active-semi,vsel-high;
200 regulator-name = "VDD_1V35";
201 regulator-min-microvolt = <1350000>;
202 regulator-max-microvolt = <1350000>;
203 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
205 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
206 regulator-always-on;
208 regulator-state-mem {
209 regulator-on-in-suspend;
210 regulator-suspend-min-microvolt = <1400000>;
211 regulator-suspend-max-microvolt = <1400000>;
212 regulator-changeable-in-suspend;
213 regulator-mode = <ACT8945A_REGULATOR_MODE_LOWPOWER>;
218 regulator-name = "VDD_1V2";
219 regulator-min-microvolt = <1100000>;
220 regulator-max-microvolt = <1300000>;
221 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
223 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
224 regulator-always-on;
226 regulator-state-mem {
227 regulator-off-in-suspend;
232 regulator-name = "VDD_3V3";
233 regulator-min-microvolt = <3300000>;
234 regulator-max-microvolt = <3300000>;
235 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
237 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
238 regulator-always-on;
240 regulator-state-mem {
241 regulator-off-in-suspend;
246 regulator-name = "VDD_FUSE";
247 regulator-min-microvolt = <2500000>;
248 regulator-max-microvolt = <2500000>;
249 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
251 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
252 regulator-always-on;
254 regulator-state-mem {
255 regulator-off-in-suspend;
260 regulator-name = "VDD_3V3_LP";
261 regulator-min-microvolt = <3300000>;
262 regulator-max-microvolt = <3300000>;
263 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
265 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
266 regulator-always-on;
268 regulator-state-mem {
269 regulator-off-in-suspend;
274 regulator-name = "VDD_LED";
275 regulator-min-microvolt = <3300000>;
276 regulator-max-microvolt = <3300000>;
277 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
279 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
280 regulator-always-on;
282 regulator-state-mem {
283 regulator-off-in-suspend;
288 regulator-name = "VDD_SDHC_1V8";
289 regulator-min-microvolt = <1800000>;
290 regulator-max-microvolt = <1800000>;
291 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
293 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
294 regulator-always-on;
296 regulator-state-mem {
297 regulator-off-in-suspend;
303 compatible = "active-semi,act8945a-charger";
304 pinctrl-names = "default";
305 pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
306 interrupt-parent = <&pioA>;
309 active-semi,chglev-gpios = <&pioA PIN_PA12 GPIO_ACTIVE_HIGH>;
310 active-semi,lbo-gpios = <&pioA PIN_PC8 GPIO_ACTIVE_LOW>;
311 active-semi,input-voltage-threshold-microvolt = <6600>;
312 active-semi,precondition-timeout = <40>;
313 active-semi,total-timeout = <3>;
320 pinctrl-names = "default";
321 pinctrl-0 = <&pinctrl_pwm0_pwm2_default>;
326 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
331 pinctrl-names = "default";
332 pinctrl-0 = <&pinctrl_flx0_default>;
338 pinctrl-names = "default", "gpio";
339 pinctrl-0 = <&pinctrl_flx0_default>;
340 pinctrl-1 = <&pinctrl_i2c2_gpio>;
341 sda-gpios = <&pioA PIN_PB28 GPIO_ACTIVE_HIGH>;
342 scl-gpios = <&pioA PIN_PB29 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
343 i2c-sda-hold-time-ns = <350>;
344 i2c-analog-filter;
345 i2c-digital-filter;
346 i2c-digital-filter-width-ns = <35>;
352 debounce-delay-us = <976>;
353 atmel,wakeup-rtc-timer;
365 pinctrl-names = "default";
366 pinctrl-0 = <&pinctrl_i2s0_default>;
371 pinctrl-names = "default";
372 pinctrl-0 = <&pinctrl_can0_default>;
377 atmel,use-dma-rx;
378 atmel,use-dma-tx;
379 pinctrl-names = "default";
380 pinctrl-0 = <&pinctrl_uart3_default>;
385 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
390 pinctrl-names = "default", "gpio";
391 pinctrl-0 = <&pinctrl_flx4_default>;
392 pinctrl-1 = <&pinctrl_flx4_gpio>;
393 sda-gpios = <&pioA PIN_PD12 GPIO_ACTIVE_HIGH>;
394 scl-gpios = <&pioA PIN_PD13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
395 i2c-analog-filter;
396 i2c-digital-filter;
397 i2c-digital-filter-width-ns = <35>;
404 pinctrl-names = "default", "gpio";
405 pinctrl-0 = <&pinctrl_i2c1_default>;
406 i2c-analog-filter;
407 i2c-digital-filter;
408 i2c-digital-filter-width-ns = <35>;
409 pinctrl-1 = <&pinctrl_i2c1_gpio>;
410 sda-gpios = <&pioA PIN_PD4 GPIO_ACTIVE_HIGH>;
411 scl-gpios = <&pioA PIN_PD5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
422 vddana-supply = <&vdd_3v3_lp_reg>;
423 vref-supply = <&vdd_3v3_lp_reg>;
424 pinctrl-names = "default";
425 pinctrl-0 = <&pinctrl_adc_default &pinctrl_adtrg_default>;
441 bias-disable;
447 bias-disable;
453 bias-disable;
461 * or any edge, and the pull-up can be changed
462 * to pull-down or left floating according to
467 bias-pull-up;
472 bias-disable;
477 bias-disable;
482 bias-pull-up;
488 bias-pull-up;
494 bias-pull-down;
500 bias-disable;
506 bias-disable;
512 bias-disable;
518 bias-disable;
524 bias-disable;
530 bias-disable;
536 bias-disable;
542 bias-disable;
551 bias-disable;
560 bias-disable;
565 bias-pull-up;
572 bias-pull-up;
586 bias-disable;
591 bias-disable;
598 bias-disable;
606 bias-pull-up;
621 bias-disable;
628 bias-disable;
639 bias-disable;
642 conf-ck_cd {
645 bias-disable;
654 bias-disable;
660 bias-disable;
666 bias-disable;
671 bias-disable;
676 bias-disable;
682 bias-pull-up;
687 pinctrl-names = "default";
688 pinctrl-0 = <&pinctrl_classd_default_pfets &pinctrl_classd_default_nfets>;
689 atmel,pwm-type = "diff";
690 atmel,non-overlap-time = <10>;
695 pinctrl-names = "default";
696 pinctrl-0 = <&pinctrl_i2s1_default>;
701 pinctrl-names = "default";
702 pinctrl-0 = <&pinctrl_can1_default>;
708 gpio-keys {
709 compatible = "gpio-keys";
711 pinctrl-names = "default";
712 pinctrl-0 = <&pinctrl_key_gpio_default>;
716 gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>;
718 wakeup-source;
723 compatible = "gpio-leds";
724 pinctrl-names = "default";
725 pinctrl-0 = <&pinctrl_led_gpio_default>;
728 led-red {
730 gpios = <&pioA PIN_PB6 GPIO_ACTIVE_LOW>;
734 led-green {
736 gpios = <&pioA PIN_PB5 GPIO_ACTIVE_LOW>;
739 led-blue {
741 gpios = <&pioA PIN_PB0 GPIO_ACTIVE_LOW>;
742 linux,default-trigger = "heartbeat";