Lines Matching +full:sda +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-1_8v;
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 phy-mode = "rmii";
153 ethernet-phy@1 {
155 interrupt-parent = <&pioA>;
162 compatible = "atmel,tcb-timer";
167 compatible = "atmel,tcb-timer";
173 pinctrl-names = "default";
174 pinctrl-0 = <&pinctrl_uart1_default>;
175 atmel,use-dma-rx;
176 atmel,use-dma-tx;
182 pinctrl-names = "default", "gpio";
183 pinctrl-0 = <&pinctrl_i2c0_default>;
184 pinctrl-1 = <&pinctrl_i2c0_gpio>;
185 sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>;
186 scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
187 i2c-sda-hold-time-ns = <350>;
191 compatible = "active-semi,act8945a";
193 active-semi,vsel-high;
198 regulator-name = "VDD_1V35";
199 regulator-min-microvolt = <1350000>;
200 regulator-max-microvolt = <1350000>;
201 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
203 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
204 regulator-always-on;
206 regulator-state-mem {
207 regulator-on-in-suspend;
208 regulator-suspend-min-microvolt=<1400000>;
209 regulator-suspend-max-microvolt=<1400000>;
210 regulator-changeable-in-suspend;
211 regulator-mode=<ACT8945A_REGULATOR_MODE_LOWPOWER>;
216 regulator-name = "VDD_1V2";
217 regulator-min-microvolt = <1100000>;
218 regulator-max-microvolt = <1300000>;
219 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
221 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
222 regulator-always-on;
224 regulator-state-mem {
225 regulator-off-in-suspend;
230 regulator-name = "VDD_3V3";
231 regulator-min-microvolt = <3300000>;
232 regulator-max-microvolt = <3300000>;
233 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
235 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
236 regulator-always-on;
238 regulator-state-mem {
239 regulator-off-in-suspend;
244 regulator-name = "VDD_FUSE";
245 regulator-min-microvolt = <2500000>;
246 regulator-max-microvolt = <2500000>;
247 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
249 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
250 regulator-always-on;
252 regulator-state-mem {
253 regulator-off-in-suspend;
258 regulator-name = "VDD_3V3_LP";
259 regulator-min-microvolt = <3300000>;
260 regulator-max-microvolt = <3300000>;
261 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
263 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
264 regulator-always-on;
266 regulator-state-mem {
267 regulator-off-in-suspend;
272 regulator-name = "VDD_LED";
273 regulator-min-microvolt = <3300000>;
274 regulator-max-microvolt = <3300000>;
275 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
277 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
278 regulator-always-on;
280 regulator-state-mem {
281 regulator-off-in-suspend;
286 regulator-name = "VDD_SDHC_1V8";
287 regulator-min-microvolt = <1800000>;
288 regulator-max-microvolt = <1800000>;
289 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
291 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
292 regulator-always-on;
294 regulator-state-mem {
295 regulator-off-in-suspend;
301 compatible = "active-semi,act8945a-charger";
302 pinctrl-names = "default";
303 pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
304 interrupt-parent = <&pioA>;
307 active-semi,chglev-gpios = <&pioA PIN_PA12 GPIO_ACTIVE_HIGH>;
308 active-semi,lbo-gpios = <&pioA PIN_PC8 GPIO_ACTIVE_LOW>;
309 active-semi,input-voltage-threshold-microvolt = <6600>;
310 active-semi,precondition-timeout = <40>;
311 active-semi,total-timeout = <3>;
318 pinctrl-names = "default";
319 pinctrl-0 = <&pinctrl_pwm0_pwm2_default>;
324 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
329 pinctrl-names = "default";
330 pinctrl-0 = <&pinctrl_flx0_default>;
336 pinctrl-names = "default", "gpio";
337 pinctrl-0 = <&pinctrl_flx0_default>;
338 pinctrl-1 = <&pinctrl_i2c2_gpio>;
339 sda-gpios = <&pioA PIN_PB28 GPIO_ACTIVE_HIGH>;
340 scl-gpios = <&pioA PIN_PB29 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
341 i2c-sda-hold-time-ns = <350>;
342 i2c-analog-filter;
343 i2c-digital-filter;
344 i2c-digital-filter-width-ns = <35>;
350 debounce-delay-us = <976>;
351 atmel,wakeup-rtc-timer;
363 pinctrl-names = "default";
364 pinctrl-0 = <&pinctrl_i2s0_default>;
369 pinctrl-names = "default";
370 pinctrl-0 = <&pinctrl_can0_default>;
375 atmel,use-dma-rx;
376 atmel,use-dma-tx;
377 pinctrl-names = "default";
378 pinctrl-0 = <&pinctrl_uart3_default>;
383 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
388 pinctrl-names = "default", "gpio";
389 pinctrl-0 = <&pinctrl_flx4_default>;
390 pinctrl-1 = <&pinctrl_flx4_gpio>;
391 sda-gpios = <&pioA PIN_PD12 GPIO_ACTIVE_HIGH>;
392 scl-gpios = <&pioA PIN_PD13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
393 i2c-analog-filter;
394 i2c-digital-filter;
395 i2c-digital-filter-width-ns = <35>;
402 pinctrl-names = "default", "gpio";
403 pinctrl-0 = <&pinctrl_i2c1_default>;
404 i2c-analog-filter;
405 i2c-digital-filter;
406 i2c-digital-filter-width-ns = <35>;
407 pinctrl-1 = <&pinctrl_i2c1_gpio>;
408 sda-gpios = <&pioA PIN_PD4 GPIO_ACTIVE_HIGH>;
409 scl-gpios = <&pioA PIN_PD5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
420 vddana-supply = <&vdd_3v3_lp_reg>;
421 vref-supply = <&vdd_3v3_lp_reg>;
422 pinctrl-names = "default";
423 pinctrl-0 = <&pinctrl_adc_default &pinctrl_adtrg_default>;
439 bias-disable;
445 bias-disable;
451 bias-disable;
459 * or any edge, and the pull-up can be changed
460 * to pull-down or left floating according to
465 bias-pull-up;
470 bias-disable;
475 bias-disable;
480 bias-pull-up;
486 bias-pull-up;
492 bias-pull-down;
498 bias-disable;
504 bias-disable;
510 bias-disable;
516 bias-disable;
522 bias-disable;
528 bias-disable;
534 bias-disable;
540 bias-disable;
549 bias-disable;
558 bias-disable;
563 bias-pull-up;
570 bias-pull-up;
584 bias-disable;
589 bias-disable;
596 bias-disable;
604 bias-pull-up;
619 bias-disable;
627 bias-disable;
638 bias-disable;
641 conf-ck_cd {
644 bias-disable;
653 bias-disable;
659 bias-disable;
665 bias-disable;
670 bias-disable;
675 bias-disable;
681 bias-pull-up;
686 pinctrl-names = "default";
687 pinctrl-0 = <&pinctrl_classd_default_pfets &pinctrl_classd_default_nfets>;
688 atmel,pwm-type = "diff";
689 atmel,non-overlap-time = <10>;
694 pinctrl-names = "default";
695 pinctrl-0 = <&pinctrl_i2s1_default>;
700 pinctrl-names = "default";
701 pinctrl-0 = <&pinctrl_can1_default>;
708 compatible = "gpio-keys";
710 pinctrl-names = "default";
711 pinctrl-0 = <&pinctrl_key_gpio_default>;
715 gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>;
717 wakeup-source;
722 compatible = "gpio-leds";
723 pinctrl-names = "default";
724 pinctrl-0 = <&pinctrl_led_gpio_default>;
729 gpios = <&pioA PIN_PB6 GPIO_ACTIVE_LOW>;
735 gpios = <&pioA PIN_PB5 GPIO_ACTIVE_LOW>;
740 gpios = <&pioA PIN_PB0 GPIO_ACTIVE_LOW>;
741 linux,default-trigger = "heartbeat";