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/regulator/active-semi,8945a-regulator.h>
17 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
27 stdout-path = "serial0:115200n8";
32 clock-frequency = <32768>;
36 clock-frequency = <12000000>;
42 atmel,vbus-gpio = <&pioA PIN_PA31 GPIO_ACTIVE_HIGH>;
43 pinctrl-names = "default";
44 pinctrl-0 = <&pinctrl_usba_vbus>;
49 num-ports = <3>;
50 atmel,vbus-gpio = <0 /* &pioA PIN_PB9 GPIO_ACTIVE_HIGH */
54 pinctrl-names = "default";
55 pinctrl-0 = <&pinctrl_usb_default>;
63 sdmmc0: sdio-host@a0000000 {
64 bus-width = <8>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&pinctrl_sdmmc0_default>;
67 non-removable;
68 mmc-ddr-1_8v;
72 sdmmc1: sdio-host@b0000000 {
73 bus-width = <4>;
74 pinctrl-names = "default";
75 pinctrl-0 = <&pinctrl_sdmmc1_default>;
77 vqmmc-supply = <&vdd_3v3_reg>;
78 vmmc-supply = <&vdd_3v3_reg>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&pinctrl_qspi0_default>;
88 #address-cells = <1>;
89 #size-cells = <1>;
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <80000000>;
93 spi-tx-bus-width = <4>;
94 spi-rx-bus-width = <4>;
95 m25p,fast-read;
135 pinctrl-names = "default";
136 pinctrl-0 = <&pinctrl_spi0_default>;
142 spi-max-frequency = <50000000>;
147 pinctrl-names = "default";
148 pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq>;
149 phy-mode = "rmii";
152 ethernet-phy@1 {
154 interrupt-parent = <&pioA>;
161 compatible = "atmel,tcb-timer";
166 compatible = "atmel,tcb-timer";
172 pinctrl-names = "default";
173 pinctrl-0 = <&pinctrl_uart1_default>;
174 atmel,use-dma-rx;
175 atmel,use-dma-tx;
181 pinctrl-names = "default", "gpio";
182 pinctrl-0 = <&pinctrl_i2c0_default>;
183 pinctrl-1 = <&pinctrl_i2c0_gpio>;
184 sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>;
185 scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
186 i2c-sda-hold-time-ns = <350>;
190 compatible = "active-semi,act8945a";
192 active-semi,vsel-high;
197 regulator-name = "VDD_1V35";
198 regulator-min-microvolt = <1350000>;
199 regulator-max-microvolt = <1350000>;
200 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
202 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
203 regulator-always-on;
205 regulator-state-mem {
206 regulator-on-in-suspend;
207 regulator-suspend-min-microvolt=<1400000>;
208 regulator-suspend-max-microvolt=<1400000>;
209 regulator-changeable-in-suspend;
210 regulator-mode=<ACT8945A_REGULATOR_MODE_LOWPOWER>;
215 regulator-name = "VDD_1V2";
216 regulator-min-microvolt = <1100000>;
217 regulator-max-microvolt = <1300000>;
218 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
220 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
221 regulator-always-on;
223 regulator-state-mem {
224 regulator-off-in-suspend;
229 regulator-name = "VDD_3V3";
230 regulator-min-microvolt = <3300000>;
231 regulator-max-microvolt = <3300000>;
232 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
234 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_FIXED>;
235 regulator-always-on;
237 regulator-state-mem {
238 regulator-off-in-suspend;
243 regulator-name = "VDD_FUSE";
244 regulator-min-microvolt = <2500000>;
245 regulator-max-microvolt = <2500000>;
246 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
248 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
249 regulator-always-on;
251 regulator-state-mem {
252 regulator-off-in-suspend;
257 regulator-name = "VDD_3V3_LP";
258 regulator-min-microvolt = <3300000>;
259 regulator-max-microvolt = <3300000>;
260 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
262 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
263 regulator-always-on;
265 regulator-state-mem {
266 regulator-off-in-suspend;
271 regulator-name = "VDD_LED";
272 regulator-min-microvolt = <3300000>;
273 regulator-max-microvolt = <3300000>;
274 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
276 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
277 regulator-always-on;
279 regulator-state-mem {
280 regulator-off-in-suspend;
285 regulator-name = "VDD_SDHC_1V8";
286 regulator-min-microvolt = <1800000>;
287 regulator-max-microvolt = <1800000>;
288 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
290 regulator-initial-mode = <ACT8945A_REGULATOR_MODE_NORMAL>;
291 regulator-always-on;
293 regulator-state-mem {
294 regulator-off-in-suspend;
300 compatible = "active-semi,act8945a-charger";
301 pinctrl-names = "default";
302 pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
303 interrupt-parent = <&pioA>;
306 active-semi,chglev-gpios = <&pioA PIN_PA12 GPIO_ACTIVE_HIGH>;
307 active-semi,lbo-gpios = <&pioA PIN_PC8 GPIO_ACTIVE_LOW>;
308 active-semi,input-voltage-threshold-microvolt = <6600>;
309 active-semi,precondition-timeout = <40>;
310 active-semi,total-timeout = <3>;
317 pinctrl-names = "default";
318 pinctrl-0 = <&pinctrl_pwm0_pwm2_default>;
323 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
328 pinctrl-names = "default";
329 pinctrl-0 = <&pinctrl_flx0_default>;
335 pinctrl-names = "default", "gpio";
336 pinctrl-0 = <&pinctrl_flx0_default>;
337 pinctrl-1 = <&pinctrl_i2c2_gpio>;
338 sda-gpios = <&pioA PIN_PB28 GPIO_ACTIVE_HIGH>;
339 scl-gpios = <&pioA PIN_PB29 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
340 i2c-sda-hold-time-ns = <350>;
341 i2c-analog-filter;
342 i2c-digital-filter;
343 i2c-digital-filter-width-ns = <35>;
349 atmel,shdwc-debouncer = <976>;
350 atmel,wakeup-rtc-timer;
354 atmel,wakeup-type = "low";
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";