Lines Matching +full:sama5d2 +full:- +full:i2c

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board
11 /dts-v1/;
12 #include "sama5d2.dtsi"
13 #include "sama5d2-pinfunc.h"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/mfd/atmel-flexcom.h>
19 model = "Microchip SAMA5D2-ICP";
20 compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
32 stdout-path = "serial0:115200n8";
37 clock-frequency = <32768>;
41 clock-frequency = <12000000>;
45 gpio-keys {
46 compatible = "gpio-keys";
48 pinctrl-names = "default";
49 pinctrl-0 = <&pinctrl_key_gpio_default>;
51 button-1 {
55 wakeup-source;
60 compatible = "gpio-leds";
61 pinctrl-names = "default";
62 pinctrl-0 = <&pinctrl_led_gpio_default>;
65 led-red {
70 led-green {
75 led-blue {
78 linux,default-trigger = "heartbeat";
84 vddana-supply = <&vdd_io_reg>;
85 vref-supply = <&vdd_io_reg>;
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_adc_default &pinctrl_adtrg_default>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_can0_default>;
98 pinctrl-names = "default";
99 pinctrl-0 = <&pinctrl_can1_default>;
104 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;
109 cs-gpios = <&pioA PIN_PC0 GPIO_ACTIVE_LOW>;
110 pinctrl-names = "default";
111 pinctrl-0 = <&pinctrl_mikrobus2_spi &pinctrl_ksz_spi_cs>;
113 #address-cells = <1>;
114 #size-cells = <0>;
119 reset-gpios = <&pioA PIN_PD4 GPIO_ACTIVE_LOW>;
121 spi-max-frequency = <500000>;
122 spi-cpha;
123 spi-cpol;
126 #address-cells = <1>;
127 #size-cells = <0>;
142 phy-mode = "mii";
143 fixed-link {
145 full-duplex;
154 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
158 pinctrl-0 = <&pinctrl_flx2_default>;
159 pinctrl-names = "default";
160 atmel,use-dma-rx;
161 atmel,use-dma-tx;
167 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_SPI>;
172 pinctrl-names = "default";
173 pinctrl-0 = <&pinctrl_mikrobus1_spi &pinctrl_mikrobus1_spi_cs>;
179 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
182 i2c6: i2c@600 {
184 pinctrl-names = "default";
185 pinctrl-0 = <&pinctrl_flx4_default>;
186 i2c-digital-filter;
187 i2c-digital-filter-width-ns = <35>;
194 lpm-gpios = <&pioBU 7 GPIO_ACTIVE_LOW>;
198 regulator-name = "VDD_IO";
199 regulator-min-microvolt = <3300000>;
200 regulator-max-microvolt = <3300000>;
201 regulator-initial-mode = <2>;
202 regulator-allowed-modes = <2>, <4>;
203 regulator-always-on;
205 regulator-state-standby {
206 regulator-on-in-suspend;
207 regulator-mode = <4>;
210 regulator-state-mem {
211 regulator-off-in-suspend;
212 regulator-mode = <4>;
217 regulator-name = "VDD_DDR";
218 regulator-min-microvolt = <1350000>;
219 regulator-max-microvolt = <1350000>;
220 regulator-initial-mode = <2>;
221 regulator-allowed-modes = <2>, <4>;
222 regulator-always-on;
224 regulator-state-standby {
225 regulator-on-in-suspend;
226 regulator-mode = <4>;
229 regulator-state-mem {
230 regulator-on-in-suspend;
231 regulator-mode = <4>;
236 regulator-name = "VDD_CORE";
237 regulator-min-microvolt = <1250000>;
238 regulator-max-microvolt = <1250000>;
239 regulator-initial-mode = <2>;
240 regulator-allowed-modes = <2>, <4>;
241 regulator-always-on;
243 regulator-state-standby {
244 regulator-on-in-suspend;
245 regulator-mode = <4>;
248 regulator-state-mem {
249 regulator-off-in-suspend;
250 regulator-mode = <4>;
255 regulator-name = "VDD_OTHER";
256 regulator-min-microvolt = <600000>;
257 regulator-max-microvolt = <1850000>;
258 regulator-initial-mode = <2>;
259 regulator-allowed-modes = <2>, <4>;
261 regulator-state-standby {
262 regulator-on-in-suspend;
263 regulator-mode = <4>;
266 regulator-state-mem {
267 regulator-off-in-suspend;
268 regulator-mode = <4>;
273 regulator-name = "LDO1";
274 regulator-min-microvolt = <2500000>;
275 regulator-max-microvolt = <2500000>;
276 regulator-always-on;
278 regulator-state-standby {
279 regulator-on-in-suspend;
282 regulator-state-mem {
283 regulator-off-in-suspend;
288 regulator-name = "LDO2";
289 regulator-min-microvolt = <3300000>;
290 regulator-max-microvolt = <3300000>;
291 regulator-always-on;
293 regulator-state-standby {
294 regulator-on-in-suspend;
297 regulator-state-mem {
298 regulator-off-in-suspend;
307 &i2c0 { /* mikrobus i2c */
308 pinctrl-names = "default", "gpio";
309 pinctrl-0 = <&pinctrl_mikrobus_i2c>;
310 pinctrl-1 = <&pinctrl_i2c0_gpio>;
311 sda-gpios = <&pioA PIN_PD21 GPIO_ACTIVE_HIGH>;
312 scl-gpios = <&pioA PIN_PD22 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
313 i2c-digital-filter;
314 i2c-digital-filter-width-ns = <35>;
320 pinctrl-names = "default", "gpio";
321 pinctrl-0 = <&pinctrl_i2c1_default>;
322 pinctrl-1 = <&pinctrl_i2c1_gpio>;
323 sda-gpios = <&pioA PIN_PD19 GPIO_ACTIVE_HIGH>;
324 scl-gpios = <&pioA PIN_PD20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
325 i2c-digital-filter;
326 i2c-digital-filter-width-ns = <35>;
352 pinctrl-names = "default";
353 pinctrl-0 = <&pinctrl_macb0_default &pinctrl_macb0_phy_irq &pinctrl_macb0_rst>;
354 phy-mode = "mii";
357 fixed-link {
359 full-duplex;
368 bias-disable;
376 * or any edge, and the pull-up can be changed
377 * to pull-down or left floating according to
382 bias-pull-up;
388 bias-disable;
394 bias-disable;
400 bias-disable;
406 bias-disable;
412 bias-disable;
417 bias-pull-up;
424 bias-pull-up;
434 bias-disable;
444 bias-disable;
450 bias-disable;
460 bias-disable;
466 bias-disable;
473 bias-disable;
479 bias-disable;
484 bias-disable;
489 bias-disable;
494 bias-disable;
501 bias-disable;
506 bias-disable;
511 bias-disable;
517 bias-disable;
522 bias-disable;
527 bias-disable;
532 bias-disable;
539 bias-disable;
544 bias-disable;
549 bias-disable;
554 bias-disable;
560 bias-disable;
565 bias-disable;
570 bias-disable;
575 bias-disable;
582 bias-disable;
587 bias-disable;
592 bias-disable;
598 bias-disable;
603 bias-disable;
608 bias-disable;
614 bias-pull-up;
634 bias-disable;
639 bias-disable;
644 bias-disable;
652 bias-disable;
657 pinctrl-names = "default";
658 pinctrl-0 = <&pinctrl_pwm0_pwm2_default>;
663 pinctrl-names = "default";
664 pinctrl-0 = <&pinctrl_qspi1_default>;
668 #address-cells = <1>;
669 #size-cells = <1>;
670 compatible = "jedec,spi-nor";
672 spi-max-frequency = <104000000>;
673 spi-cs-setup-ns = <7>;
674 spi-tx-bus-width = <4>;
675 spi-rx-bus-width = <4>;
676 m25p,fast-read;
711 no-1-8-v;
712 bus-width = <4>;
713 pinctrl-names = "default";
714 pinctrl-0 = <&pinctrl_sdmmc0_default>;
719 debounce-delay-us = <976>;
720 atmel,wakeup-rtc-timer;
728 pinctrl-names = "default";
729 pinctrl-0 = <&pinctrl_mikrobus3_spi &pinctrl_mikrobus3_spi_cs>;
735 compatible = "atmel,tcb-timer";
740 compatible = "atmel,tcb-timer";
746 pinctrl-names = "default";
747 pinctrl-0 = <&pinctrl_mikrobus1_uart>;
748 atmel,use-dma-rx;
749 atmel,use-dma-tx;
754 pinctrl-names = "default";
755 pinctrl-0 = <&pinctrl_mikrobus3_uart>;
756 atmel,use-dma-rx;
757 atmel,use-dma-tx;
762 pinctrl-names = "default";
763 pinctrl-0 = <&pinctrl_mikrobus2_uart>;
764 atmel,use-dma-rx;
765 atmel,use-dma-tx;
770 atmel,vbus-gpio = <&pioA PIN_PD23 GPIO_ACTIVE_HIGH>;
771 pinctrl-names = "default";
772 pinctrl-0 = <&pinctrl_usba_vbus>;
777 num-ports = <3>;
778 pinctrl-names = "default";
779 pinctrl-0 = <&pinctrl_usb_default>;