|
17 | 17 | model = "Atmel SAMA5D2 Xplained"; |
18 | 18 | compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5"; |
19 | 19 |
|
| 20 | + aliases { |
| 21 | + i2c0 = &i2c0; |
| 22 | + i2c1 = &i2c1; |
| 23 | + i2c2 = &i2c2; /* XPRO EXT2 */ |
| 24 | + }; |
| 25 | + |
20 | 26 | chosen { |
21 | 27 | stdout-path = "serial0:115200n8"; |
22 | 28 | }; |
|
338 | 344 | atmel,fifo-size = <32>; |
339 | 345 | status = "okay"; |
340 | 346 | }; |
| 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 | + }; |
341 | 369 | }; |
342 | 370 |
|
343 | 371 | shdwc@f8048010 { |
|
378 | 406 | atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>; |
379 | 407 | status = "okay"; |
380 | 408 |
|
381 | | - i2c2: i2c@600 { |
| 409 | + i2c6: i2c@600 { |
382 | 410 | compatible = "atmel,sama5d2-i2c"; |
383 | 411 | reg = <0x600 0x200>; |
384 | 412 | interrupts = <23 IRQ_TYPE_LEVEL_HIGH 7>; |
|
533 | 561 | bias-disable; |
534 | 562 | }; |
535 | 563 |
|
| 564 | + pinctrl_i2c2_gpio: i2c2_gpio { |
| 565 | + pinmux = <PIN_PB28__GPIO>, |
| 566 | + <PIN_PB29__GPIO>; |
| 567 | + bias-disable; |
| 568 | + }; |
| 569 | + |
536 | 570 | pinctrl_i2s0_default: i2s0_default { |
537 | 571 | pinmux = <PIN_PC1__I2SC0_CK>, |
538 | 572 | <PIN_PC2__I2SC0_MCK>, |
|
0 commit comments