Lines Matching +full:scl +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR X11)
3 * at91-sama5d2_ptc_ek.dts - Device Tree file for SAMA5D2 PTC EK board
9 /dts-v1/;
11 #include "sama5d2-pinfunc.h"
12 #include <dt-bindings/mfd/atmel-flexcom.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/pinctrl/at91.h>
19 compatible = "atmel,sama5d2-ptc_ek", "atmel,sama5d2", "atmel,sama5";
29 stdout-path = "serial0:115200n8";
34 clock-frequency = <32768>;
38 clock-frequency = <24000000>;
44 atmel,vbus-gpio = <&pioA PIN_PB11 GPIO_ACTIVE_HIGH>;
45 pinctrl-names = "default";
46 pinctrl-0 = <&pinctrl_usba_vbus>;
51 num-ports = <3>;
52 atmel,vbus-gpio = <0
56 pinctrl-names = "default";
57 pinctrl-0 = <&pinctrl_usb_default>;
66 pinctrl-names = "default";
67 pinctrl-0 = <&pinctrl_nand_default>;
70 nand_controller: nand-controller {
76 nand-bus-width = <8>;
77 nand-ecc-mode = "hw";
78 nand-on-flash-bbt;
82 compatible = "fixed-partitions";
83 #address-cells = <1>;
84 #size-cells = <1>;
125 sdmmc0: sdio-host@a0000000 {
126 bus-width = <8>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&pinctrl_sdmmc0_default>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&pinctrl_spi0_default>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq>;
142 #address-cells = <1>;
143 #size-cells = <0>;
144 phy-mode = "rmii";
147 ethernet-phy@1 {
149 interrupt-parent = <&pioA>;
156 compatible = "atmel,tcb-timer";
161 compatible = "atmel,tcb-timer";
167 pinctrl-names = "default";
168 pinctrl-0 = <&pinctrl_uart0_default>;
169 atmel,use-dma-rx;
170 atmel,use-dma-tx;
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_uart2_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)>;
193 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
198 pinctrl-names = "default", "gpio";
199 pinctrl-0 = <&pinctrl_flx0_default>;
200 pinctrl-1 = <&pinctrl_flx0_gpio>;
201 sda-gpios = <&pioA PIN_PB28 GPIO_ACTIVE_HIGH>;
202 scl-gpios = <&pioA PIN_PB29 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
208 debounce-delay-us = <976>;
220 pinctrl-names = "default";
221 pinctrl-0 = <&pinctrl_spi1_default>;
227 pinctrl-names = "default", "gpio";
228 pinctrl-0 = <&pinctrl_i2c1_default>;
229 pinctrl-1 = <&pinctrl_i2c1_gpio>;
230 sda-gpios = <&pioA PIN_PC6 GPIO_ACTIVE_HIGH>;
231 scl-gpios = <&pioA PIN_PC7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
245 bias-disable;
251 bias-disable;
257 bias-disable;
263 bias-disable;
269 bias-disable;
275 bias-disable;
280 bias-pull-up;
287 bias-pull-up;
301 bias-disable;
306 bias-disable;
321 bias-pull-up;
322 atmel,drive-strength = <ATMEL_PIO_DRVSTR_ME>;
330 bias-pull-up;
345 bias-pull-up;
352 bias-disable;
361 bias-disable;
369 bias-disable;
375 bias-disable;
381 bias-disable;
386 bias-disable;
391 bias-disable;
399 gpio-keys {
400 compatible = "gpio-keys";
402 pinctrl-names = "default";
403 pinctrl-0 = <&pinctrl_key_gpio_default>;
405 button-1 {
407 gpios = <&pioA PIN_PA10 GPIO_ACTIVE_LOW>;
409 wakeup-source;
414 compatible = "gpio-leds";
415 pinctrl-names = "default";
416 pinctrl-0 = <&pinctrl_led_gpio_default>;
421 gpios = <&pioA PIN_PB10 GPIO_ACTIVE_HIGH>;
426 gpios = <&pioA PIN_PB8 GPIO_ACTIVE_HIGH>;
431 gpios = <&pioA PIN_PB6 GPIO_ACTIVE_HIGH>;
432 linux,default-trigger = "heartbeat";