Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'at91-dt' of git://github.com/at91linux/linux-at91 into next/dt

From Nicolas Ferre:
First DT pull-request for 3.14
- many little corrections and documentation updates
- LCD FB Device Tree for at91sam9263 and at91sam9g45 boards
- crypto peripherals DT entries + DMA specification
- new Cosino board

* tag 'at91-dt' of git://github.com/at91linux/linux-at91: (21 commits)
ARM: at91/at91rm9200ek.dts: rearrange nodes in address ascending order
ARM: at91: dt: at91rm9200ek: add emac and nor flash support
ARM: at91: add uart aliases to sama5d3 dtsi
ARM: at91: add i2c2 pinctrl speficifation to sama5d3 DT
ARM: at91: Animeo IP: fix mtd partition table
ARM: at91: at91sam9g45: add i2c pinctrl
ARM: at91: at91sam9g45: set default mmc pinctrl-names
ARM: at91: sama5d3: enable qt1070 as a wakeup source
ARM: at91: add support for Cosino board series by HCE Engineering
ARM: at91/dt/sama5d3: add DMA information to SHA/AES/TDES nodes
ARM: at91/dt/trivial: before sama5d3, Atmel MPU were using at91 prefix
ARM: at91/dt/trivial: use macro for AES irq type
ARM: at91: sam9263ek: add dt lcd support
ARM: at91: at9sam9m10g45ek: add dt lcd support
ARM: at91: sam9263: add fb dt support
ARM: at91: sam9g45: add fb dt support
ARM: at91/dt: binding: add missing compatibility string in SDRAM/DDR documentation
ARM: at91/dt: binding: add precision to AIC documentation
ARM: at91/dt: add atmel,pullup-gpio to at91rm9200ek usb1 definition
ARM: at91/dt: add ethernet phy to at91rm9200ek board
...

Signed-off-by: Kevin Hilman <khilman@linaro.org>

+457 -41
+1
Documentation/devicetree/bindings/arm/atmel-aic.txt
··· 2 2 3 3 Required properties: 4 4 - compatible: Should be "atmel,<chip>-aic" 5 + <chip> can be "at91rm9200" or "sama5d3" 5 6 - interrupt-controller: Identifies the node as an interrupt controller. 6 7 - interrupt-parent: For single AIC system, it is an empty property. 7 8 - #interrupt-cells: The number of cells to define the interrupts. It should be 3.
+2 -1
Documentation/devicetree/bindings/arm/atmel-at91.txt
··· 50 50 }; 51 51 52 52 RAMC SDRAM/DDR Controller required properties: 53 - - compatible: Should be "atmel,at91sam9260-sdramc", 53 + - compatible: Should be "atmel,at91rm9200-sdramc", 54 + "atmel,at91sam9260-sdramc", 54 55 "atmel,at91sam9g45-ddramc", 55 56 - reg: Should contain registers location and length 56 57 For at91sam9263 and at91sam9g45 you must specify 2 entries.
+1
arch/arm/boot/dts/Makefile
··· 30 30 dtb-$(CONFIG_ARCH_AT91) += at91sam9n12ek.dtb 31 31 # sam9x5 32 32 dtb-$(CONFIG_ARCH_AT91) += at91-ariag25.dtb 33 + dtb-$(CONFIG_ARCH_AT91) += at91-cosino_mega2560.dtb 33 34 dtb-$(CONFIG_ARCH_AT91) += at91sam9g15ek.dtb 34 35 dtb-$(CONFIG_ARCH_AT91) += at91sam9g25ek.dtb 35 36 dtb-$(CONFIG_ARCH_AT91) += at91sam9g35ek.dtb
+8 -23
arch/arm/boot/dts/animeo_ip.dts
··· 90 90 nand-on-flash-bbt; 91 91 status = "okay"; 92 92 93 - at91bootstrap@0 { 94 - label = "at91bootstrap"; 95 - reg = <0x0 0x8000>; 96 - }; 97 - 98 - barebox@8000 { 93 + barebox@0 { 99 94 label = "barebox"; 100 - reg = <0x8000 0x40000>; 95 + reg = <0x0 0x58000>; 101 96 }; 102 97 103 - bareboxenv@48000 { 104 - label = "bareboxenv"; 105 - reg = <0x48000 0x8000>; 98 + u_boot_env@58000 { 99 + label = "u_boot_env"; 100 + reg = <0x58000 0x8000>; 106 101 }; 107 102 108 - user_block@0x50000 { 109 - label = "user_block"; 110 - reg = <0x50000 0xb0000>; 111 - }; 112 - 113 - kernel@100000 { 114 - label = "kernel"; 115 - reg = <0x100000 0x1b0000>; 116 - }; 117 - 118 - root@2b0000 { 119 - label = "root"; 120 - reg = <0x2b0000 0x1D50000>; 103 + ubi@60000 { 104 + label = "ubi"; 105 + reg = <0x60000 0x1FA0000>; 121 106 }; 122 107 }; 123 108
+122
arch/arm/boot/dts/at91-cosino.dtsi
··· 1 + /* 2 + * at91-cosino.dtsi - Device Tree file for Cosino core module 3 + * 4 + * Copyright (C) 2013 - Rodolfo Giometti <giometti@linux.it> 5 + * HCE Engineering 6 + * 7 + * Derived from at91sam9x5ek.dtsi by: 8 + * Copyright (C) 2012 Atmel, 9 + * 2012 Nicolas Ferre <nicolas.ferre@atmel.com> 10 + * 11 + * Licensed under GPLv2 or later. 12 + */ 13 + 14 + #include "at91sam9g35.dtsi" 15 + 16 + / { 17 + model = "HCE Cosino core module"; 18 + compatible = "hce,cosino", "atmel,at91sam9x5", "atmel,at91sam9"; 19 + 20 + chosen { 21 + bootargs = "console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait"; 22 + }; 23 + 24 + memory { 25 + reg = <0x20000000 0x8000000>; 26 + }; 27 + 28 + clocks { 29 + #address-cells = <1>; 30 + #size-cells = <1>; 31 + ranges; 32 + 33 + main_clock: clock@0 { 34 + compatible = "atmel,osc", "fixed-clock"; 35 + clock-frequency = <12000000>; 36 + }; 37 + }; 38 + 39 + ahb { 40 + apb { 41 + mmc0: mmc@f0008000 { 42 + pinctrl-0 = < 43 + &pinctrl_board_mmc0 44 + &pinctrl_mmc0_slot0_clk_cmd_dat0 45 + &pinctrl_mmc0_slot0_dat1_3>; 46 + status = "okay"; 47 + slot@0 { 48 + reg = <0>; 49 + bus-width = <4>; 50 + cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>; 51 + }; 52 + }; 53 + 54 + dbgu: serial@fffff200 { 55 + status = "okay"; 56 + }; 57 + 58 + usart0: serial@f801c000 { 59 + status = "okay"; 60 + }; 61 + 62 + i2c0: i2c@f8010000 { 63 + status = "okay"; 64 + }; 65 + 66 + adc0: adc@f804c000 { 67 + atmel,adc-clock-rate = <1000000>; 68 + atmel,adc-ts-wires = <4>; 69 + atmel,adc-ts-pressure-threshold = <10000>; 70 + status = "okay"; 71 + }; 72 + 73 + pinctrl@fffff400 { 74 + mmc0 { 75 + pinctrl_board_mmc0: mmc0-board { 76 + atmel,pins = 77 + <AT91_PIOD 15 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PD15 gpio CD pin pull up and deglitch */ 78 + }; 79 + }; 80 + }; 81 + 82 + watchdog@fffffe40 { 83 + status = "okay"; 84 + }; 85 + }; 86 + 87 + nand0: nand@40000000 { 88 + nand-bus-width = <8>; 89 + nand-ecc-mode = "hw"; 90 + atmel,has-pmecc; /* Enable PMECC */ 91 + atmel,pmecc-cap = <4>; 92 + atmel,pmecc-sector-size = <512>; 93 + nand-on-flash-bbt; 94 + status = "okay"; 95 + 96 + at91bootstrap@0 { 97 + label = "at91bootstrap"; 98 + reg = <0x0 0x40000>; 99 + }; 100 + 101 + uboot@40000 { 102 + label = "u-boot"; 103 + reg = <0x40000 0x80000>; 104 + }; 105 + 106 + ubootenv@c0000 { 107 + label = "U-Boot Env"; 108 + reg = <0xc0000 0x140000>; 109 + }; 110 + 111 + kernel@200000 { 112 + label = "kernel"; 113 + reg = <0x200000 0x600000>; 114 + }; 115 + 116 + rootfs@800000 { 117 + label = "rootfs"; 118 + reg = <0x800000 0x0f800000>; 119 + }; 120 + }; 121 + }; 122 + };
+84
arch/arm/boot/dts/at91-cosino_mega2560.dts
··· 1 + /* 2 + * at91-cosino_mega2560.dts - Device Tree file for Cosino board with 3 + * Mega 2560 extension 4 + * 5 + * Copyright (C) 2013 - Rodolfo Giometti <giometti@linux.it> 6 + * HCE Engineering 7 + * 8 + * Derived from at91sam9g35ek.dts by: 9 + * Copyright (C) 2012 Atmel, 10 + * 2012 Nicolas Ferre <nicolas.ferre@atmel.com> 11 + * 12 + * Licensed under GPLv2 or later. 13 + */ 14 + 15 + /dts-v1/; 16 + #include "at91-cosino.dtsi" 17 + 18 + / { 19 + model = "HCE Cosino Mega 2560"; 20 + compatible = "hce,cosino_mega2560", "atmel,at91sam9x5", "atmel,at91sam9"; 21 + 22 + ahb { 23 + apb { 24 + macb0: ethernet@f802c000 { 25 + phy-mode = "rmii"; 26 + status = "okay"; 27 + }; 28 + 29 + adc0: adc@f804c000 { 30 + atmel,adc-clock-rate = <1000000>; 31 + atmel,adc-ts-wires = <4>; 32 + atmel,adc-ts-pressure-threshold = <10000>; 33 + status = "okay"; 34 + }; 35 + 36 + 37 + tsadcc: tsadcc@f804c000 { 38 + status = "okay"; 39 + }; 40 + 41 + rtc@fffffeb0 { 42 + status = "okay"; 43 + }; 44 + 45 + usart1: serial@f8020000 { 46 + status = "okay"; 47 + }; 48 + 49 + usart2: serial@f8024000 { 50 + status = "okay"; 51 + }; 52 + 53 + usb2: gadget@f803c000 { 54 + atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>; 55 + status = "okay"; 56 + }; 57 + 58 + mmc1: mmc@f000c000 { 59 + pinctrl-0 = < 60 + &pinctrl_mmc1_slot0_clk_cmd_dat0 61 + &pinctrl_mmc1_slot0_dat1_3>; 62 + status = "okay"; 63 + slot@0 { 64 + reg = <0>; 65 + bus-width = <4>; 66 + non-removable; 67 + }; 68 + }; 69 + }; 70 + 71 + usb0: ohci@00600000 { 72 + status = "okay"; 73 + num-ports = <3>; 74 + atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW */ 75 + &pioD 19 GPIO_ACTIVE_LOW 76 + &pioD 20 GPIO_ACTIVE_LOW 77 + >; 78 + }; 79 + 80 + usb1: ehci@00700000 { 81 + status = "okay"; 82 + }; 83 + }; 84 + };
+2 -2
arch/arm/boot/dts/at91rm9200.dtsi
··· 191 191 AT91_PIOA 18 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA18 periph A */ 192 192 }; 193 193 194 - pinctrl_uart0_rts: uart0_rts-0 { 194 + pinctrl_uart0_cts: uart0_cts-0 { 195 195 atmel,pins = 196 196 <AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A */ 197 197 }; 198 198 199 - pinctrl_uart0_cts: uart0_cts-0 { 199 + pinctrl_uart0_rts: uart0_rts-0 { 200 200 atmel,pins = 201 201 <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA21 periph A */ 202 202 };
+46 -11
arch/arm/boot/dts/at91rm9200ek.dts
··· 29 29 30 30 ahb { 31 31 apb { 32 - dbgu: serial@fffff200 { 32 + usb1: gadget@fffb0000 { 33 + atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>; 34 + atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>; 33 35 status = "okay"; 36 + }; 37 + 38 + macb0: ethernet@fffbc000 { 39 + phy-mode = "rmii"; 40 + status = "okay"; 41 + 42 + phy0: ethernet-phy { 43 + interrupt-parent = <&pioC>; 44 + interrupts = <4 IRQ_TYPE_EDGE_BOTH>; 45 + }; 34 46 }; 35 47 36 48 usart1: serial@fffc4000 { ··· 56 44 status = "okay"; 57 45 }; 58 46 59 - macb0: ethernet@fffbc000 { 60 - phy-mode = "rmii"; 61 - status = "okay"; 62 - }; 63 - 64 - usb1: gadget@fffb0000 { 65 - atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>; 66 - status = "okay"; 67 - }; 68 - 69 47 spi0: spi@fffe0000 { 70 48 status = "okay"; 71 49 cs-gpios = <&pioA 3 0>, <0>, <0>, <0>; ··· 65 63 reg = <0>; 66 64 }; 67 65 }; 66 + 67 + dbgu: serial@fffff200 { 68 + status = "okay"; 69 + }; 68 70 }; 69 71 70 72 usb0: ohci@00300000 { 71 73 num-ports = <2>; 72 74 status = "okay"; 75 + }; 76 + 77 + nor_flash@10000000 { 78 + compatible = "cfi-flash"; 79 + reg = <0x10000000 0x800000>; 80 + linux,mtd-name = "physmap-flash.0"; 81 + bank-width = <2>; 82 + #address-cells = <1>; 83 + #size-cells = <1>; 84 + 85 + barebox@0 { 86 + label = "barebox"; 87 + reg = <0x00000 0x40000>; 88 + }; 89 + 90 + bareboxenv@40000 { 91 + label = "bareboxenv"; 92 + reg = <0x40000 0x10000>; 93 + }; 94 + 95 + kernel@50000 { 96 + label = "kernel"; 97 + reg = <0x50000 0x300000>; 98 + }; 99 + 100 + root@350000 { 101 + label = "root"; 102 + reg = <0x350000 0x4B0000>; 103 + }; 73 104 }; 74 105 }; 75 106
+37
arch/arm/boot/dts/at91sam9263.dtsi
··· 366 366 }; 367 367 }; 368 368 369 + fb { 370 + pinctrl_fb: fb-0 { 371 + atmel,pins = 372 + <AT91_PIOC 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC1 periph A */ 373 + AT91_PIOC 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC2 periph A */ 374 + AT91_PIOC 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC3 periph A */ 375 + AT91_PIOB 9 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB9 periph B */ 376 + AT91_PIOC 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC6 periph A */ 377 + AT91_PIOC 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC7 periph A */ 378 + AT91_PIOC 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC8 periph A */ 379 + AT91_PIOC 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC9 periph A */ 380 + AT91_PIOC 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC10 periph A */ 381 + AT91_PIOC 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC11 periph A */ 382 + AT91_PIOC 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC14 periph A */ 383 + AT91_PIOC 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC15 periph A */ 384 + AT91_PIOC 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC16 periph A */ 385 + AT91_PIOC 12 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC12 periph B */ 386 + AT91_PIOC 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC18 periph A */ 387 + AT91_PIOC 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC19 periph A */ 388 + AT91_PIOC 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC22 periph A */ 389 + AT91_PIOC 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC23 periph A */ 390 + AT91_PIOC 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC24 periph A */ 391 + AT91_PIOC 17 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC17 periph B */ 392 + AT91_PIOC 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC26 periph A */ 393 + AT91_PIOC 27 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PC27 periph A */ 394 + }; 395 + }; 396 + 369 397 pioA: gpio@fffff200 { 370 398 compatible = "atmel,at91rm9200-gpio"; 371 399 reg = <0xfffff200 0x200>; ··· 575 547 pinctrl-0 = <&pinctrl_spi1>; 576 548 status = "disabled"; 577 549 }; 550 + }; 551 + 552 + fb0: fb@0x00700000 { 553 + compatible = "atmel,at91sam9263-lcdc"; 554 + reg = <0x00700000 0x1000>; 555 + interrupts = <26 IRQ_TYPE_LEVEL_HIGH 3>; 556 + pinctrl-names = "default"; 557 + pinctrl-0 = <&pinctrl_fb>; 558 + status = "disabled"; 578 559 }; 579 560 580 561 nand0: nand@40000000 {
+30
arch/arm/boot/dts/at91sam9263ek.dts
··· 95 95 }; 96 96 }; 97 97 98 + fb0: fb@0x00700000 { 99 + display = <&display0>; 100 + status = "okay"; 101 + 102 + display0: display { 103 + bits-per-pixel = <16>; 104 + atmel,lcdcon-backlight; 105 + atmel,dmacon = <0x1>; 106 + atmel,lcdcon2 = <0x80008002>; 107 + atmel,guard-time = <1>; 108 + 109 + display-timings { 110 + native-mode = <&timing0>; 111 + timing0: timing0 { 112 + clock-frequency = <4965000>; 113 + hactive = <240>; 114 + vactive = <320>; 115 + hback-porch = <1>; 116 + hfront-porch = <33>; 117 + vback-porch = <1>; 118 + vfront-porch = <0>; 119 + hsync-len = <5>; 120 + vsync-len = <1>; 121 + hsync-active = <1>; 122 + vsync-active = <1>; 123 + }; 124 + }; 125 + }; 126 + }; 127 + 98 128 nand0: nand@40000000 { 99 129 nand-bus-width = <8>; 100 130 nand-ecc-mode = "soft";
+67
arch/arm/boot/dts/at91sam9g45.dtsi
··· 143 143 }; 144 144 }; 145 145 146 + i2c0 { 147 + pinctrl_i2c0: i2c0-0 { 148 + atmel,pins = 149 + <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA21 periph A TWCK0 */ 150 + AT91_PIOA 20 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PA20 periph A TWD0 */ 151 + }; 152 + }; 153 + 154 + i2c1 { 155 + pinctrl_i2c1: i2c1-0 { 156 + atmel,pins = 157 + <AT91_PIOB 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB11 periph A TWCK1 */ 158 + AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A TWD1 */ 159 + }; 160 + }; 161 + 146 162 usart0 { 147 163 pinctrl_usart0: usart0-0 { 148 164 atmel,pins = ··· 441 425 }; 442 426 }; 443 427 428 + fb { 429 + pinctrl_fb: fb-0 { 430 + atmel,pins = 431 + <AT91_PIOE 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE0 periph A */ 432 + AT91_PIOE 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE2 periph A */ 433 + AT91_PIOE 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE3 periph A */ 434 + AT91_PIOE 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE4 periph A */ 435 + AT91_PIOE 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE5 periph A */ 436 + AT91_PIOE 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE6 periph A */ 437 + AT91_PIOE 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE7 periph A */ 438 + AT91_PIOE 8 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE8 periph A */ 439 + AT91_PIOE 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE9 periph A */ 440 + AT91_PIOE 10 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE10 periph A */ 441 + AT91_PIOE 11 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE11 periph A */ 442 + AT91_PIOE 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE12 periph A */ 443 + AT91_PIOE 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE13 periph A */ 444 + AT91_PIOE 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE14 periph A */ 445 + AT91_PIOE 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE15 periph A */ 446 + AT91_PIOE 16 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE16 periph A */ 447 + AT91_PIOE 17 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE17 periph A */ 448 + AT91_PIOE 18 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE18 periph A */ 449 + AT91_PIOE 19 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE19 periph A */ 450 + AT91_PIOE 20 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE20 periph A */ 451 + AT91_PIOE 21 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE21 periph A */ 452 + AT91_PIOE 22 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE22 periph A */ 453 + AT91_PIOE 23 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE23 periph A */ 454 + AT91_PIOE 24 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE24 periph A */ 455 + AT91_PIOE 25 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE25 periph A */ 456 + AT91_PIOE 26 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE26 periph A */ 457 + AT91_PIOE 27 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE27 periph A */ 458 + AT91_PIOE 28 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE28 periph A */ 459 + AT91_PIOE 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* PE29 periph A */ 460 + AT91_PIOE 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PE30 periph A */ 461 + }; 462 + }; 463 + 444 464 pioA: gpio@fffff200 { 445 465 compatible = "atmel,at91rm9200-gpio"; 446 466 reg = <0xfffff200 0x200>; ··· 594 542 compatible = "atmel,at91sam9g10-i2c"; 595 543 reg = <0xfff84000 0x100>; 596 544 interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>; 545 + pinctrl-names = "default"; 546 + pinctrl-0 = <&pinctrl_i2c0>; 597 547 #address-cells = <1>; 598 548 #size-cells = <0>; 599 549 status = "disabled"; ··· 605 551 compatible = "atmel,at91sam9g10-i2c"; 606 552 reg = <0xfff88000 0x100>; 607 553 interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>; 554 + pinctrl-names = "default"; 555 + pinctrl-0 = <&pinctrl_i2c1>; 608 556 #address-cells = <1>; 609 557 #size-cells = <0>; 610 558 status = "disabled"; ··· 674 618 compatible = "atmel,hsmci"; 675 619 reg = <0xfff80000 0x600>; 676 620 interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>; 621 + pinctrl-names = "default"; 677 622 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(0)>; 678 623 dma-names = "rxtx"; 679 624 #address-cells = <1>; ··· 686 629 compatible = "atmel,hsmci"; 687 630 reg = <0xfffd0000 0x600>; 688 631 interrupts = <29 IRQ_TYPE_LEVEL_HIGH 0>; 632 + pinctrl-names = "default"; 689 633 dmas = <&dma 1 AT91_DMA_CFG_PER_ID(13)>; 690 634 dma-names = "rxtx"; 691 635 #address-cells = <1>; ··· 783 725 atmel,can-isoc; 784 726 }; 785 727 }; 728 + }; 729 + 730 + fb0: fb@0x00500000 { 731 + compatible = "atmel,at91sam9g45-lcdc"; 732 + reg = <0x00500000 0x1000>; 733 + interrupts = <23 IRQ_TYPE_LEVEL_HIGH 3>; 734 + pinctrl-names = "default"; 735 + pinctrl-0 = <&pinctrl_fb>; 736 + status = "disabled"; 786 737 }; 787 738 788 739 nand0: nand@40000000 {
+29
arch/arm/boot/dts/at91sam9m10g45ek.dts
··· 123 123 }; 124 124 }; 125 125 126 + fb0: fb@0x00500000 { 127 + display = <&display0>; 128 + status = "okay"; 129 + 130 + display0: display { 131 + bits-per-pixel = <32>; 132 + atmel,lcdcon-backlight; 133 + atmel,dmacon = <0x1>; 134 + atmel,lcdcon2 = <0x80008002>; 135 + atmel,guard-time = <9>; 136 + atmel,lcd-wiring-mode = "RGB"; 137 + 138 + display-timings { 139 + native-mode = <&timing0>; 140 + timing0: timing0 { 141 + clock-frequency = <9000000>; 142 + hactive = <480>; 143 + vactive = <272>; 144 + hback-porch = <1>; 145 + hfront-porch = <1>; 146 + vback-porch = <40>; 147 + vfront-porch = <1>; 148 + hsync-len = <45>; 149 + vsync-len = <1>; 150 + }; 151 + }; 152 + }; 153 + }; 154 + 126 155 nand0: nand@40000000 { 127 156 nand-bus-width = <8>; 128 157 nand-ecc-mode = "soft";
+22 -4
arch/arm/boot/dts/sama5d3.dtsi
··· 304 304 dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(11)>, 305 305 <&dma1 2 AT91_DMA_CFG_PER_ID(12)>; 306 306 dma-names = "tx", "rx"; 307 + pinctrl-names = "default"; 308 + pinctrl-0 = <&pinctrl_i2c2>; 307 309 #address-cells = <1>; 308 310 #size-cells = <0>; 309 311 clocks = <&twi2_clk>; ··· 335 333 }; 336 334 337 335 sha@f8034000 { 338 - compatible = "atmel,sam9g46-sha"; 336 + compatible = "atmel,at91sam9g46-sha"; 339 337 reg = <0xf8034000 0x100>; 340 338 interrupts = <42 IRQ_TYPE_LEVEL_HIGH 0>; 339 + dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(17)>; 340 + dma-names = "tx"; 341 341 }; 342 342 343 343 aes@f8038000 { 344 - compatible = "atmel,sam9g46-aes"; 344 + compatible = "atmel,at91sam9g46-aes"; 345 345 reg = <0xf8038000 0x100>; 346 - interrupts = <43 4 0>; 346 + interrupts = <43 IRQ_TYPE_LEVEL_HIGH 0>; 347 + dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(18)>, 348 + <&dma1 2 AT91_DMA_CFG_PER_ID(19)>; 349 + dma-names = "tx", "rx"; 347 350 }; 348 351 349 352 tdes@f803c000 { 350 - compatible = "atmel,sam9g46-tdes"; 353 + compatible = "atmel,at91sam9g46-tdes"; 351 354 reg = <0xf803c000 0x100>; 352 355 interrupts = <44 IRQ_TYPE_LEVEL_HIGH 0>; 356 + dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(20)>, 357 + <&dma1 2 AT91_DMA_CFG_PER_ID(21)>; 358 + dma-names = "tx", "rx"; 353 359 }; 354 360 355 361 dma0: dma-controller@ffffe600 { ··· 493 483 atmel,pins = 494 484 <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE /* PC26 periph B TWD1 pin, conflicts with SPI1_NPCS1, ISI_D11 */ 495 485 AT91_PIOC 27 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC27 periph B TWCK1 pin, conflicts with SPI1_NPCS2, ISI_D10 */ 486 + }; 487 + }; 488 + 489 + i2c2 { 490 + pinctrl_i2c2: i2c2-0 { 491 + atmel,pins = 492 + <AT91_PIOA 18 AT91_PERIPH_B AT91_PINCTRL_NONE /* TWD2 pin, conflicts with LCDDAT18, ISI_D2 */ 493 + AT91_PIOA 19 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* TWCK2 pin, conflicts with LCDDAT19, ISI_D3 */ 496 494 }; 497 495 }; 498 496
+5
arch/arm/boot/dts/sama5d3_uart.dtsi
··· 12 12 #include <dt-bindings/clk/at91.h> 13 13 14 14 / { 15 + aliases { 16 + serial5 = &uart0; 17 + serial6 = &uart1; 18 + }; 19 + 15 20 ahb { 16 21 apb { 17 22 pinctrl@fffff200 {
+1
arch/arm/boot/dts/sama5d3xdm.dtsi
··· 18 18 interrupts = <31 0x0>; 19 19 pinctrl-names = "default"; 20 20 pinctrl-0 = <&pinctrl_qt1070_irq>; 21 + wakeup-source; 21 22 }; 22 23 }; 23 24