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

Merge tag 'renesas-dt-for-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt

Merge "Renesas ARM Based SoC DT Updates for v4.4" from Simon Horman:

* Add missing CPG/MSTP Clock Domain for sound on r8a779[01] SoCs
* Tidy up SCI resource region on r8a779[018] SoCs
* Add pinmux for iic0 on Lager board
* Use CCF for audio clock on Lager and Koelsch boards
* Use serial0 and 1 as serial ports on Marzen board
* Use adxl345-specific compatible property for KZM9G board
* Document compat string for Silk board
* Enable GPIO, I2C, PCI, QSPI, USB PHY and HS, and VIN support on r8a7794/Silk
* Add initial support for r8a7791/porter
* Add common file for AA121TD01 panel

* tag 'renesas-dt-for-v4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (28 commits)
ARM: shmobile: porter: add Ether DT support
ARM: shmobile: fix SILK board name
ARM: shmobile: r8a7794: add HS-USB DT support
ARM: shmobile: dts: Add common file for AA121TD01 panel
ARM: shmobile: r8a7794: link PCI USB devices to USB PHY
ARM: shmobile: silk: enable USB PHY
ARM: shmobile: r8a7794: add USB PHY DT support
ARM: shmobile: porter: initial device tree
ARM: shmobile: add Porter board DT bindings
ARM: shmobile: silk: enable internal PCI
ARM: shmobile: r8a7794: add internal PCI bridge nodes
ARM: shmobile: r8a7790: lager: add pinmux for iic0
ARM: shmobile: r8a7778: tidyup SSI resource region
ARM: shmobile: r8a7791: tidyup SSI resource region
ARM: shmobile: r8a7790: tidyup SSI resource region
ARM: shmobile: lager: use CCF for audio clock
ARM: shmobile: koelsch: use CCF for audio clock
ARM: shmobile: silk: add VIN0/ADV7180 DT support
ARM: shmobile: r8a7794: add VIN DT support
ARM: shmobile: silk: add I2C1 DT support
...

+588 -17
+4
Documentation/devicetree/bindings/arm/shmobile.txt
··· 55 55 compatible = "renesas,lager", "renesas,r8a7790" 56 56 - Marzen 57 57 compatible = "renesas,marzen", "renesas,r8a7779" 58 + - Porter (M2-LCDP) 59 + compatible = "renesas,porter", "renesas,r8a7791" 60 + - SILK (RTP0RC7794LCB00011S) 61 + compatible = "renesas,silk", "renesas,r8a7794"
+1
arch/arm/boot/dts/Makefile
··· 532 532 r8a7790-lager.dtb \ 533 533 r8a7791-henninger.dtb \ 534 534 r8a7791-koelsch.dtb \ 535 + r8a7791-porter.dtb \ 535 536 r8a7793-gose.dtb \ 536 537 r8a7794-alt.dtb \ 537 538 r8a7794-silk.dtb \
+1 -1
arch/arm/boot/dts/r8a7778.dtsi
··· 239 239 #sound-dai-cells = <1>; 240 240 compatible = "renesas,rcar_sound-r8a7778", "renesas,rcar_sound-gen1"; 241 241 reg = <0xffd90000 0x1000>, /* SRU */ 242 - <0xffd91000 0x1240>, /* SSI */ 242 + <0xffd91000 0x240>, /* SSI */ 243 243 <0xfffe0000 0x24>; /* ADG */ 244 244 clocks = <&mstp3_clks R8A7778_CLK_SSI8>, 245 245 <&mstp3_clks R8A7778_CLK_SSI7>,
+3 -3
arch/arm/boot/dts/r8a7779-marzen.dts
··· 19 19 compatible = "renesas,marzen", "renesas,r8a7779"; 20 20 21 21 aliases { 22 - serial2 = &scif2; 23 - serial4 = &scif4; 22 + serial0 = &scif2; 23 + serial1 = &scif4; 24 24 }; 25 25 26 26 chosen { 27 - bootargs = "console=ttySC2,115200 ignore_loglevel root=/dev/nfs ip=on"; 27 + bootargs = "ignore_loglevel root=/dev/nfs ip=on"; 28 28 stdout-path = &scif2; 29 29 }; 30 30
+15 -1
arch/arm/boot/dts/r8a7790-lager.dts
··· 174 174 1800000 0>; 175 175 }; 176 176 177 + audio_clock: clock { 178 + compatible = "fixed-clock"; 179 + #clock-cells = <0>; 180 + clock-frequency = <11289600>; 181 + clock-output-names = "audio_clock"; 182 + }; 183 + 177 184 rsnd_ak4643: sound { 178 185 compatible = "simple-audio-card"; 179 186 ··· 194 187 195 188 sndcodec: simple-audio-card,codec { 196 189 sound-dai = <&ak4643>; 197 - system-clock-frequency = <11289600>; 190 + clocks = <&audio_clock>; 198 191 }; 199 192 }; 200 193 ··· 340 333 renesas,groups = "msiof1_clk", "msiof1_sync", "msiof1_rx", 341 334 "msiof1_tx"; 342 335 renesas,function = "msiof1"; 336 + }; 337 + 338 + iic0_pins: iic0 { 339 + renesas,groups = "iic0"; 340 + renesas,function = "iic0"; 343 341 }; 344 342 345 343 iic1_pins: iic1 { ··· 522 510 523 511 &iic0 { 524 512 status = "okay"; 513 + pinctrl-0 = <&iic0_pins>; 514 + pinctrl-names = "default"; 525 515 }; 526 516 527 517 &iic1 {
+1 -1
arch/arm/boot/dts/r8a7790.dtsi
··· 1599 1599 reg = <0 0xec500000 0 0x1000>, /* SCU */ 1600 1600 <0 0xec5a0000 0 0x100>, /* ADG */ 1601 1601 <0 0xec540000 0 0x1000>, /* SSIU */ 1602 - <0 0xec541000 0 0x1280>, /* SSI */ 1602 + <0 0xec541000 0 0x280>, /* SSI */ 1603 1603 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/ 1604 1604 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1605 1605
+8 -1
arch/arm/boot/dts/r8a7791-koelsch.dts
··· 242 242 1800000 0>; 243 243 }; 244 244 245 + audio_clock: clock { 246 + compatible = "fixed-clock"; 247 + #clock-cells = <0>; 248 + clock-frequency = <11289600>; 249 + clock-output-names = "audio_clock"; 250 + }; 251 + 245 252 rsnd_ak4643: sound { 246 253 compatible = "simple-audio-card"; 247 254 ··· 262 255 263 256 sndcodec: simple-audio-card,codec { 264 257 sound-dai = <&ak4643>; 265 - system-clock-frequency = <11289600>; 258 + clocks = <&audio_clock>; 266 259 }; 267 260 }; 268 261
+80
arch/arm/boot/dts/r8a7791-porter.dts
··· 1 + /* 2 + * Device Tree Source for the Porter board 3 + * 4 + * Copyright (C) 2015 Cogent Embedded, Inc. 5 + * 6 + * This file is licensed under the terms of the GNU General Public License 7 + * version 2. This program is licensed "as is" without any warranty of any 8 + * kind, whether express or implied. 9 + */ 10 + 11 + /dts-v1/; 12 + #include "r8a7791.dtsi" 13 + 14 + / { 15 + model = "Porter"; 16 + compatible = "renesas,porter", "renesas,r8a7791"; 17 + 18 + aliases { 19 + serial0 = &scif0; 20 + }; 21 + 22 + chosen { 23 + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; 24 + stdout-path = &scif0; 25 + }; 26 + 27 + memory@40000000 { 28 + device_type = "memory"; 29 + reg = <0 0x40000000 0 0x40000000>; 30 + }; 31 + 32 + memory@200000000 { 33 + device_type = "memory"; 34 + reg = <2 0x00000000 0 0x40000000>; 35 + }; 36 + }; 37 + 38 + &extal_clk { 39 + clock-frequency = <20000000>; 40 + }; 41 + 42 + &pfc { 43 + scif0_pins: serial0 { 44 + renesas,groups = "scif0_data_d"; 45 + renesas,function = "scif0"; 46 + }; 47 + 48 + ether_pins: ether { 49 + renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; 50 + renesas,function = "eth"; 51 + }; 52 + 53 + phy1_pins: phy1 { 54 + renesas,groups = "intc_irq0"; 55 + renesas,function = "intc"; 56 + }; 57 + }; 58 + 59 + &scif0 { 60 + pinctrl-0 = <&scif0_pins>; 61 + pinctrl-names = "default"; 62 + 63 + status = "okay"; 64 + }; 65 + 66 + &ether { 67 + pinctrl-0 = <&ether_pins &phy1_pins>; 68 + pinctrl-names = "default"; 69 + 70 + phy-handle = <&phy1>; 71 + renesas,ether-link-active-low; 72 + status = "ok"; 73 + 74 + phy1: ethernet-phy@1 { 75 + reg = <1>; 76 + interrupt-parent = <&irqc0>; 77 + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 78 + micrel,led-mode = <1>; 79 + }; 80 + };
+1 -1
arch/arm/boot/dts/r8a7791.dtsi
··· 1649 1649 reg = <0 0xec500000 0 0x1000>, /* SCU */ 1650 1650 <0 0xec5a0000 0 0x100>, /* ADG */ 1651 1651 <0 0xec540000 0 0x1000>, /* SSIU */ 1652 - <0 0xec541000 0 0x1280>, /* SSI */ 1652 + <0 0xec541000 0 0x280>, /* SSI */ 1653 1653 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/ 1654 1654 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; 1655 1655
+114
arch/arm/boot/dts/r8a7794-silk.dts
··· 61 61 renesas,function = "intc"; 62 62 }; 63 63 64 + i2c1_pins: i2c1 { 65 + renesas,groups = "i2c1"; 66 + renesas,function = "i2c1"; 67 + }; 68 + 64 69 mmcif0_pins: mmcif0 { 65 70 renesas,groups = "mmc_data8", "mmc_ctrl"; 66 71 renesas,function = "mmc"; 72 + }; 73 + 74 + qspi_pins: spi0 { 75 + renesas,groups = "qspi_ctrl", "qspi_data4"; 76 + renesas,function = "qspi"; 77 + }; 78 + 79 + vin0_pins: vin0 { 80 + renesas,groups = "vin0_data8", "vin0_clk"; 81 + renesas,function = "vin0"; 82 + }; 83 + 84 + usb0_pins: usb0 { 85 + renesas,groups = "usb0"; 86 + renesas,function = "usb0"; 87 + }; 88 + 89 + usb1_pins: usb1 { 90 + renesas,groups = "usb1"; 91 + renesas,function = "usb1"; 67 92 }; 68 93 }; 69 94 ··· 115 90 }; 116 91 }; 117 92 93 + &i2c1 { 94 + pinctrl-0 = <&i2c1_pins>; 95 + pinctrl-names = "default"; 96 + 97 + status = "okay"; 98 + clock-frequency = <400000>; 99 + 100 + composite-in@20 { 101 + compatible = "adi,adv7180"; 102 + reg = <0x20>; 103 + remote = <&vin0>; 104 + 105 + port { 106 + adv7180: endpoint { 107 + bus-width = <8>; 108 + remote-endpoint = <&vin0ep>; 109 + }; 110 + }; 111 + }; 112 + }; 113 + 118 114 &mmcif0 { 119 115 pinctrl-0 = <&mmcif0_pins>; 120 116 pinctrl-names = "default"; ··· 144 98 vqmmc-supply = <&d3_3v>; 145 99 bus-width = <8>; 146 100 non-removable; 101 + status = "okay"; 102 + }; 103 + 104 + &qspi { 105 + pinctrl-0 = <&qspi_pins>; 106 + pinctrl-names = "default"; 107 + 108 + status = "okay"; 109 + 110 + flash@0 { 111 + #address-cells = <1>; 112 + #size-cells = <1>; 113 + compatible = "spansion,s25fl512s", "jedec,spi-nor"; 114 + reg = <0>; 115 + spi-max-frequency = <30000000>; 116 + spi-tx-bus-width = <4>; 117 + spi-rx-bus-width = <4>; 118 + spi-cpol; 119 + spi-cpha; 120 + m25p,fast-read; 121 + 122 + partition@0 { 123 + label = "loader"; 124 + reg = <0x00000000 0x00040000>; 125 + read-only; 126 + }; 127 + partition@40000 { 128 + label = "user"; 129 + reg = <0x00040000 0x00400000>; 130 + read-only; 131 + }; 132 + partition@440000 { 133 + label = "flash"; 134 + reg = <0x00440000 0x03bc0000>; 135 + }; 136 + }; 137 + }; 138 + 139 + /* composite video input */ 140 + &vin0 { 141 + status = "okay"; 142 + pinctrl-0 = <&vin0_pins>; 143 + pinctrl-names = "default"; 144 + 145 + port { 146 + #address-cells = <1>; 147 + #size-cells = <0>; 148 + 149 + vin0ep: endpoint { 150 + remote-endpoint = <&adv7180>; 151 + bus-width = <8>; 152 + }; 153 + }; 154 + }; 155 + 156 + &pci0 { 157 + status = "okay"; 158 + pinctrl-0 = <&usb0_pins>; 159 + pinctrl-names = "default"; 160 + }; 161 + 162 + &pci1 { 163 + status = "okay"; 164 + pinctrl-0 = <&usb1_pins>; 165 + pinctrl-names = "default"; 166 + }; 167 + 168 + &usbphy { 147 169 status = "okay"; 148 170 };
+318 -8
arch/arm/boot/dts/r8a7794.dtsi
··· 19 19 #address-cells = <2>; 20 20 #size-cells = <2>; 21 21 22 + aliases { 23 + i2c0 = &i2c0; 24 + i2c1 = &i2c1; 25 + i2c2 = &i2c2; 26 + i2c3 = &i2c3; 27 + i2c4 = &i2c4; 28 + i2c5 = &i2c5; 29 + spi0 = &qspi; 30 + vin0 = &vin0; 31 + vin1 = &vin1; 32 + }; 33 + 22 34 cpus { 23 35 #address-cells = <1>; 24 36 #size-cells = <0>; ··· 60 48 <0 0xf1004000 0 0x2000>, 61 49 <0 0xf1006000 0 0x2000>; 62 50 interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; 51 + }; 52 + 53 + gpio0: gpio@e6050000 { 54 + compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; 55 + reg = <0 0xe6050000 0 0x50>; 56 + interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>; 57 + #gpio-cells = <2>; 58 + gpio-controller; 59 + gpio-ranges = <&pfc 0 0 32>; 60 + #interrupt-cells = <2>; 61 + interrupt-controller; 62 + clocks = <&mstp9_clks R8A7794_CLK_GPIO0>; 63 + power-domains = <&cpg_clocks>; 64 + }; 65 + 66 + gpio1: gpio@e6051000 { 67 + compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; 68 + reg = <0 0xe6051000 0 0x50>; 69 + interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>; 70 + #gpio-cells = <2>; 71 + gpio-controller; 72 + gpio-ranges = <&pfc 0 32 26>; 73 + #interrupt-cells = <2>; 74 + interrupt-controller; 75 + clocks = <&mstp9_clks R8A7794_CLK_GPIO1>; 76 + power-domains = <&cpg_clocks>; 77 + }; 78 + 79 + gpio2: gpio@e6052000 { 80 + compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; 81 + reg = <0 0xe6052000 0 0x50>; 82 + interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; 83 + #gpio-cells = <2>; 84 + gpio-controller; 85 + gpio-ranges = <&pfc 0 64 32>; 86 + #interrupt-cells = <2>; 87 + interrupt-controller; 88 + clocks = <&mstp9_clks R8A7794_CLK_GPIO2>; 89 + power-domains = <&cpg_clocks>; 90 + }; 91 + 92 + gpio3: gpio@e6053000 { 93 + compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; 94 + reg = <0 0xe6053000 0 0x50>; 95 + interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>; 96 + #gpio-cells = <2>; 97 + gpio-controller; 98 + gpio-ranges = <&pfc 0 96 32>; 99 + #interrupt-cells = <2>; 100 + interrupt-controller; 101 + clocks = <&mstp9_clks R8A7794_CLK_GPIO3>; 102 + power-domains = <&cpg_clocks>; 103 + }; 104 + 105 + gpio4: gpio@e6054000 { 106 + compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; 107 + reg = <0 0xe6054000 0 0x50>; 108 + interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>; 109 + #gpio-cells = <2>; 110 + gpio-controller; 111 + gpio-ranges = <&pfc 0 128 32>; 112 + #interrupt-cells = <2>; 113 + interrupt-controller; 114 + clocks = <&mstp9_clks R8A7794_CLK_GPIO4>; 115 + power-domains = <&cpg_clocks>; 116 + }; 117 + 118 + gpio5: gpio@e6055000 { 119 + compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; 120 + reg = <0 0xe6055000 0 0x50>; 121 + interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; 122 + #gpio-cells = <2>; 123 + gpio-controller; 124 + gpio-ranges = <&pfc 0 160 28>; 125 + #interrupt-cells = <2>; 126 + interrupt-controller; 127 + clocks = <&mstp9_clks R8A7794_CLK_GPIO5>; 128 + power-domains = <&cpg_clocks>; 129 + }; 130 + 131 + gpio6: gpio@e6055400 { 132 + compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar"; 133 + reg = <0 0xe6055400 0 0x50>; 134 + interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>; 135 + #gpio-cells = <2>; 136 + gpio-controller; 137 + gpio-ranges = <&pfc 0 192 26>; 138 + #interrupt-cells = <2>; 139 + interrupt-controller; 140 + clocks = <&mstp9_clks R8A7794_CLK_GPIO6>; 141 + power-domains = <&cpg_clocks>; 63 142 }; 64 143 65 144 cmt0: timer@ffca0000 { ··· 510 407 status = "disabled"; 511 408 }; 512 409 410 + /* The memory map in the User's Manual maps the cores to bus numbers */ 411 + i2c0: i2c@e6508000 { 412 + compatible = "renesas,i2c-r8a7794"; 413 + reg = <0 0xe6508000 0 0x40>; 414 + interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>; 415 + clocks = <&mstp9_clks R8A7794_CLK_I2C0>; 416 + power-domains = <&cpg_clocks>; 417 + #address-cells = <1>; 418 + #size-cells = <0>; 419 + status = "disabled"; 420 + }; 421 + 422 + i2c1: i2c@e6518000 { 423 + compatible = "renesas,i2c-r8a7794"; 424 + reg = <0 0xe6518000 0 0x40>; 425 + interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>; 426 + clocks = <&mstp9_clks R8A7794_CLK_I2C1>; 427 + power-domains = <&cpg_clocks>; 428 + #address-cells = <1>; 429 + #size-cells = <0>; 430 + status = "disabled"; 431 + }; 432 + 433 + i2c2: i2c@e6530000 { 434 + compatible = "renesas,i2c-r8a7794"; 435 + reg = <0 0xe6530000 0 0x40>; 436 + interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>; 437 + clocks = <&mstp9_clks R8A7794_CLK_I2C2>; 438 + power-domains = <&cpg_clocks>; 439 + #address-cells = <1>; 440 + #size-cells = <0>; 441 + status = "disabled"; 442 + }; 443 + 444 + i2c3: i2c@e6540000 { 445 + compatible = "renesas,i2c-r8a7794"; 446 + reg = <0 0xe6540000 0 0x40>; 447 + interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>; 448 + clocks = <&mstp9_clks R8A7794_CLK_I2C3>; 449 + power-domains = <&cpg_clocks>; 450 + #address-cells = <1>; 451 + #size-cells = <0>; 452 + status = "disabled"; 453 + }; 454 + 455 + i2c4: i2c@e6520000 { 456 + compatible = "renesas,i2c-r8a7794"; 457 + reg = <0 0xe6520000 0 0x40>; 458 + interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>; 459 + clocks = <&mstp9_clks R8A7794_CLK_I2C4>; 460 + power-domains = <&cpg_clocks>; 461 + #address-cells = <1>; 462 + #size-cells = <0>; 463 + status = "disabled"; 464 + }; 465 + 466 + i2c5: i2c@e6528000 { 467 + compatible = "renesas,i2c-r8a7794"; 468 + reg = <0 0xe6528000 0 0x40>; 469 + interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>; 470 + clocks = <&mstp9_clks R8A7794_CLK_I2C5>; 471 + power-domains = <&cpg_clocks>; 472 + #address-cells = <1>; 473 + #size-cells = <0>; 474 + status = "disabled"; 475 + }; 476 + 513 477 mmcif0: mmc@ee200000 { 514 478 compatible = "renesas,mmcif-r8a7794", "renesas,sh-mmcif"; 515 479 reg = <0 0xee200000 0 0x80>; ··· 614 444 clocks = <&mstp3_clks R8A7794_CLK_SDHI2>; 615 445 power-domains = <&cpg_clocks>; 616 446 status = "disabled"; 447 + }; 448 + 449 + qspi: spi@e6b10000 { 450 + compatible = "renesas,qspi-r8a7794", "renesas,qspi"; 451 + reg = <0 0xe6b10000 0 0x2c>; 452 + interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>; 453 + clocks = <&mstp9_clks R8A7794_CLK_QSPI_MOD>; 454 + dmas = <&dmac0 0x17>, <&dmac0 0x18>; 455 + dma-names = "tx", "rx"; 456 + power-domains = <&cpg_clocks>; 457 + num-cs = <1>; 458 + #address-cells = <1>; 459 + #size-cells = <0>; 460 + status = "disabled"; 461 + }; 462 + 463 + vin0: video@e6ef0000 { 464 + compatible = "renesas,vin-r8a7794"; 465 + reg = <0 0xe6ef0000 0 0x1000>; 466 + interrupts = <0 188 IRQ_TYPE_LEVEL_HIGH>; 467 + clocks = <&mstp8_clks R8A7794_CLK_VIN0>; 468 + power-domains = <&cpg_clocks>; 469 + status = "disabled"; 470 + }; 471 + 472 + vin1: video@e6ef1000 { 473 + compatible = "renesas,vin-r8a7794"; 474 + reg = <0 0xe6ef1000 0 0x1000>; 475 + interrupts = <0 189 IRQ_TYPE_LEVEL_HIGH>; 476 + clocks = <&mstp8_clks R8A7794_CLK_VIN1>; 477 + power-domains = <&cpg_clocks>; 478 + status = "disabled"; 479 + }; 480 + 481 + pci0: pci@ee090000 { 482 + compatible = "renesas,pci-r8a7794"; 483 + device_type = "pci"; 484 + reg = <0 0xee090000 0 0xc00>, 485 + <0 0xee080000 0 0x1100>; 486 + interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; 487 + clocks = <&mstp7_clks R8A7794_CLK_EHCI>; 488 + power-domains = <&cpg_clocks>; 489 + status = "disabled"; 490 + 491 + bus-range = <0 0>; 492 + #address-cells = <3>; 493 + #size-cells = <2>; 494 + #interrupt-cells = <1>; 495 + ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>; 496 + interrupt-map-mask = <0xff00 0 0 0x7>; 497 + interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH 498 + 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH 499 + 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>; 500 + 501 + usb@0,1 { 502 + reg = <0x800 0 0 0 0>; 503 + device_type = "pci"; 504 + phys = <&usb0 0>; 505 + phy-names = "usb"; 506 + }; 507 + 508 + usb@0,2 { 509 + reg = <0x1000 0 0 0 0>; 510 + device_type = "pci"; 511 + phys = <&usb0 0>; 512 + phy-names = "usb"; 513 + }; 514 + }; 515 + 516 + pci1: pci@ee0d0000 { 517 + compatible = "renesas,pci-r8a7794"; 518 + device_type = "pci"; 519 + reg = <0 0xee0d0000 0 0xc00>, 520 + <0 0xee0c0000 0 0x1100>; 521 + interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>; 522 + clocks = <&mstp7_clks R8A7794_CLK_EHCI>; 523 + power-domains = <&cpg_clocks>; 524 + status = "disabled"; 525 + 526 + bus-range = <1 1>; 527 + #address-cells = <3>; 528 + #size-cells = <2>; 529 + #interrupt-cells = <1>; 530 + ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>; 531 + interrupt-map-mask = <0xff00 0 0 0x7>; 532 + interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH 533 + 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH 534 + 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; 535 + 536 + usb@0,1 { 537 + reg = <0x800 0 0 0 0>; 538 + device_type = "pci"; 539 + phys = <&usb2 0>; 540 + phy-names = "usb"; 541 + }; 542 + 543 + usb@0,2 { 544 + reg = <0x1000 0 0 0 0>; 545 + device_type = "pci"; 546 + phys = <&usb2 0>; 547 + phy-names = "usb"; 548 + }; 549 + }; 550 + 551 + hsusb: usb@e6590000 { 552 + compatible = "renesas,usbhs-r8a7794"; 553 + reg = <0 0xe6590000 0 0x100>; 554 + interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; 555 + clocks = <&mstp7_clks R8A7794_CLK_HSUSB>; 556 + power-domains = <&cpg_clocks>; 557 + renesas,buswait = <4>; 558 + phys = <&usb0 1>; 559 + phy-names = "usb"; 560 + status = "disabled"; 561 + }; 562 + 563 + usbphy: usb-phy@e6590100 { 564 + compatible = "renesas,usb-phy-r8a7794"; 565 + reg = <0 0xe6590100 0 0x100>; 566 + #address-cells = <1>; 567 + #size-cells = <0>; 568 + clocks = <&mstp7_clks R8A7794_CLK_HSUSB>; 569 + clock-names = "usbhs"; 570 + power-domains = <&cpg_clocks>; 571 + status = "disabled"; 572 + 573 + usb0: usb-channel@0 { 574 + reg = <0>; 575 + #phy-cells = <1>; 576 + }; 577 + usb2: usb-channel@2 { 578 + reg = <2>; 579 + #phy-cells = <1>; 580 + }; 617 581 }; 618 582 619 583 clocks { ··· 1053 749 mstp9_clks: mstp9_clks@e6150994 { 1054 750 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks"; 1055 751 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>; 1056 - clocks = <&cpg_clocks R8A7794_CLK_QSPI>, <&hp_clk>, <&hp_clk>, 1057 - <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>; 752 + clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>, 753 + <&cp_clk>, <&cp_clk>, <&cp_clk>, 754 + <&cpg_clocks R8A7794_CLK_QSPI>, <&hp_clk>, <&hp_clk>, 755 + <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>; 1058 756 #clock-cells = <1>; 1059 - clock-indices = < 1060 - R8A7794_CLK_QSPI_MOD R8A7794_CLK_I2C5 R8A7794_CLK_I2C4 1061 - R8A7794_CLK_I2C3 R8A7794_CLK_I2C2 R8A7794_CLK_I2C1 1062 - R8A7794_CLK_I2C0 1063 - >; 757 + clock-indices = <R8A7794_CLK_GPIO6 R8A7794_CLK_GPIO5 758 + R8A7794_CLK_GPIO4 R8A7794_CLK_GPIO3 759 + R8A7794_CLK_GPIO2 R8A7794_CLK_GPIO1 760 + R8A7794_CLK_GPIO0 R8A7794_CLK_QSPI_MOD 761 + R8A7794_CLK_I2C5 R8A7794_CLK_I2C4 762 + R8A7794_CLK_I2C3 R8A7794_CLK_I2C2 763 + R8A7794_CLK_I2C1 R8A7794_CLK_I2C0>; 1064 764 clock-output-names = 1065 - "qspi_mod", "i2c5", "i2c4", "i2c3", "i2c2", "i2c1", "i2c0"; 765 + "gpio6", "gpio5", "gpio4", "gpio3", "gpio2", 766 + "gpio1", "gpio0", "qspi_mod", 767 + "i2c5", "i2c4", "i2c3", "i2c2", "i2c1", "i2c0"; 1066 768 }; 1067 769 mstp11_clks: mstp11_clks@e615099c { 1068 770 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
+41
arch/arm/boot/dts/r8a77xx-aa121td01-panel.dtsi
··· 1 + /* 2 + * Common file for the AA121TD01 panel connected to Renesas R-Car boards 3 + * 4 + * Copyright (C) 2015 Renesas Electronics Corp. 5 + * 6 + * This file is licensed under the terms of the GNU General Public License 7 + * version 2. This program is licensed "as is" without any warranty of any 8 + * kind, whether express or implied. 9 + */ 10 + 11 + / { 12 + panel { 13 + compatible = "mitsubishi,aa121td01", "panel-dpi"; 14 + 15 + width-mm = <261>; 16 + height-mm = <163>; 17 + 18 + panel-timing { 19 + /* 1280x800 @60Hz */ 20 + clock-frequency = <71000000>; 21 + hactive = <1280>; 22 + vactive = <800>; 23 + hsync-len = <70>; 24 + hfront-porch = <20>; 25 + hback-porch = <70>; 26 + vsync-len = <5>; 27 + vfront-porch = <3>; 28 + vback-porch = <15>; 29 + }; 30 + 31 + port { 32 + panel_in: endpoint { 33 + remote-endpoint = <&lvds_connector>; 34 + }; 35 + }; 36 + }; 37 + }; 38 + 39 + &lvds_connector { 40 + remote-endpoint = <&panel_in>; 41 + };
+1 -1
arch/arm/boot/dts/sh73a0-kzm9g.dts
··· 206 206 }; 207 207 208 208 accelerometer@1d { 209 - compatible = "adi,adxl34x"; 209 + compatible = "adi,adxl345"; 210 210 reg = <0x1d>; 211 211 interrupt-parent = <&irqpin3>; 212 212 interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,