Skip to content

Commit 48dd909

Browse files
committed
Merge branch 'at91-5.4-trunk/dt' into linux-5.4-at91
2 parents 43a9dd9 + fa7a136 commit 48dd909

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

arch/arm/boot/dts/at91-sama5d2_xplained.dts

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
model = "Atmel SAMA5D2 Xplained";
1818
compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
1919

20+
aliases {
21+
i2c0 = &i2c0;
22+
i2c1 = &i2c1;
23+
i2c2 = &i2c2; /* XPRO EXT2 */
24+
};
25+
2026
chosen {
2127
stdout-path = "serial0:115200n8";
2228
};
@@ -338,6 +344,28 @@
338344
atmel,fifo-size = <32>;
339345
status = "okay";
340346
};
347+
348+
i2c2: i2c@600 {
349+
compatible = "atmel,sama5d2-i2c";
350+
reg = <0x600 0x200>;
351+
interrupts = <19 IRQ_TYPE_LEVEL_HIGH 7>;
352+
dmas = <0>, <0>;
353+
dma-names = "tx", "rx";
354+
#address-cells = <1>;
355+
#size-cells = <0>;
356+
clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
357+
pinctrl-names = "default", "gpio";
358+
pinctrl-0 = <&pinctrl_flx0_default>;
359+
pinctrl-1 = <&pinctrl_i2c2_gpio>;
360+
sda-gpios = <&pioA PIN_PB28 GPIO_ACTIVE_HIGH>;
361+
scl-gpios = <&pioA PIN_PB29 GPIO_ACTIVE_HIGH>;
362+
i2c-sda-hold-time-ns = <350>;
363+
i2c-analog-filter;
364+
i2c-digital-filter;
365+
i2c-digital-filter-width-ns = <35>;
366+
atmel,fifo-size = <16>;
367+
status = "disabled"; /* conflict with ISC_D2 & ISC_D3 data pins */
368+
};
341369
};
342370

343371
shdwc@f8048010 {
@@ -378,7 +406,7 @@
378406
atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
379407
status = "okay";
380408

381-
i2c2: i2c@600 {
409+
i2c6: i2c@600 {
382410
compatible = "atmel,sama5d2-i2c";
383411
reg = <0x600 0x200>;
384412
interrupts = <23 IRQ_TYPE_LEVEL_HIGH 7>;
@@ -533,6 +561,12 @@
533561
bias-disable;
534562
};
535563

564+
pinctrl_i2c2_gpio: i2c2_gpio {
565+
pinmux = <PIN_PB28__GPIO>,
566+
<PIN_PB29__GPIO>;
567+
bias-disable;
568+
};
569+
536570
pinctrl_i2s0_default: i2s0_default {
537571
pinmux = <PIN_PC1__I2SC0_CK>,
538572
<PIN_PC2__I2SC0_MCK>,

0 commit comments

Comments
 (0)