Commit Graph

782009 Commits

Author SHA1 Message Date
Olof Johansson
68df1dba22 Amlogic ARM64 DT updates for v4.20
- AXG: cleanup/reorder nodes
 - AXG: add audio PDM support for s400 board
 - GX: increase CMA memory size
 - GX: new canvas driver
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEe4dGDhaSf6n1v/EMWTcYmtP7xmUFAluaj9QACgkQWTcYmtP7
 xmXcKw//VD2TEK1XxYTULWnWxGQsTRmTDXvyr6CGMSQbt1xJATQYKLUCEeYKlLtT
 7TRnwUAyIWe4ql+m176j6VZ30V10xtyiBxoyhjm3KHGS4E45xe/iu4OBOQ5zb9U2
 CVZO+/TwaTBterrSpnLJDKDerf9x9Swdm+EBbsxd79hKOU75DlU/Ml0F+st2WG6N
 Hlwgl14xwotVWlXhp2si4AHvKi7GoZUnDu7qjQrssvK3cJM3eJloN8lVNWKCokJ8
 kzWgm9M4W26oydekkdDnNgy4MWFqeWaX8XwJW/SEPM7Jhpu80J+luUa9eCQmq7ck
 4xZnXiDTNfsY8HOxoYoRG8HJeTc2G0qZIPe9K0Ra2HOjAd6pAaFm7hCzcY71mrrf
 98K7EEAJVsuRgz8PykiWpS+b697ufVVYQk5KArZQ+ADnq744VH0G5a0Mv0iopDKD
 /vlJbTopsYaPjC33WyGWHdsIkm2amBv6BLW94sogYZJAO9hlSvQOuH5uSDXNKmeM
 vDwkPoLK5XPGEXZ1QqhwvfB3C8DnQFJI0cTUkcvXYlxJRrLogqR9l4ziOThAU2GI
 4Af7JTmWlftIe3xhMQ+Y1kJ6JXztpOPIHxGmUFhSBl79naH5cvcN8WeisM/P+a1A
 inA3zPLlHLtC/OQnqU366QdjRgz8L317Fdtx5nkxNlAPQcaHPrk=
 =Op/z
 -----END PGP SIGNATURE-----

Merge tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt

Amlogic ARM64 DT updates for v4.20
- AXG: cleanup/reorder nodes
- AXG: add audio PDM support for s400 board
- GX: increase CMA memory size
- GX: new canvas driver

* tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
  arm64: dts: meson: Switch simple-mfd and syscon order
  arm64: dts: meson-axg-s400: Add chosen and memory nodes
  arm64: dts: meson-axg: use the proper compatible for ethmac
  arm64: dts: meson-axg: s400: add pdm to the sound card
  arm64: dts: meson-axg: s400: add dmic codec
  arm64: dts: meson-axg: add pdm
  arm64: dts: meson-gx: add dmcbus and canvas nodes.
  arm64: dts: meson: libretech: update board model
  arm64: dts: meson-gx: increase default shared CMA pool size
  arm64: dts: meson-axg: sort nodes consistently
  arm64: dts: meson-axg: s400: add sound card
  arm64: dts: meson-axg: s400: enable audio devices
  arm64: dts: meson-axg: add audio fifos

Signed-off-by: Olof Johansson <olof@lixom.net>
2018-09-23 06:21:10 -07:00
Olof Johansson
923769f7b3 New soc support for the px30 quad-core Cortex-A35.
New boards are the px30 eval board and roc-rk3399-pc.
 The rk3328 got support for the one gpio controlled via the general
 register files and the rk3399 finally got its idle-states defined.
 And finally fixes and improvements for firefly-rk3399 (wifi),
 roc-rk3328-cc (sdmmc-uhs, io-domains), rk3328-rock64 (gpio-regulator
 pin fix) and rk3399-sapphire (gpio-regulator pin fix, pmic pin fix
 and type-c port supply).
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAluaaskQHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgTTdCACrfKOzRBY7rAmuo5abqWZGsAmbVLFmC/dG
 ssxdF9uUAKS2vOV2OKu4364RZgBTXI4Ko+k4IT/mbQbAOduvlrcdHoB+a0IzSJJj
 WGpFKTyt63uL9V34sLSXfJ7f0NevWXnBT54tisbvfOVHC+ysJ6MrvEiGl6eDcCkh
 Hweejd/tzryFefgn4r2TClsGtew45cSo2ZO9IHNTaLSNxL2yz6r3jCwmWl3P7a8o
 eBfvOllg/5FYKL1ybXs6/RJBOeowzOk9RBr9r2Q+7EGD6XsuU4W1DXc8wI57xwXP
 bYP/JfQR/yGrJuX+eA6XxkMoGXu5VWSu6PFnyupIGpmJz2EG/kGL
 =T4U2
 -----END PGP SIGNATURE-----

Merge tag 'v4.20-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt

New soc support for the px30 quad-core Cortex-A35.
New boards are the px30 eval board and roc-rk3399-pc.
The rk3328 got support for the one gpio controlled via the general
register files and the rk3399 finally got its idle-states defined.
And finally fixes and improvements for firefly-rk3399 (wifi),
roc-rk3328-cc (sdmmc-uhs, io-domains), rk3328-rock64 (gpio-regulator
pin fix) and rk3399-sapphire (gpio-regulator pin fix, pmic pin fix
and type-c port supply).

* tag 'v4.20-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  arm64: dts: rockchip: Add type-c port supply on rk3399-sapphire board
  arm64: dts: rockchip: fix vcc_host1_5v pin assign on rk3328-rock64
  arm64: dts: rockchip: add WiFi module support for Firefly-RK3399
  arm64: dts: rockchip: remove dvs2 pinctrl from pmic on rk3399-sapphire
  arm64: dts: rockchip: Fix VCC5V0_HOST_EN on rk3399-sapphire
  arm64: dts: rockchip: re-order vcc_sys on rk3399-sapphire
  arm64: dts: rockchip: add missing vop properties for px30
  arm64: dts: rockchip: Add idle-states to device tree for rk3399
  arm64: dts: rockchip: add sdmmc UHS support for roc-rk3328-cc
  arm64: dts: rockchip: add GRF GPIO controller to rk3328
  arm64: dts: rockchip: add io-domain to roc-rk3328-cc
  arm64: dts: rockchip: add PX30 evaluation board devicetree
  arm64: dts: rockchip: add core dtsi file for PX30 SoCs
  dt-bindings: rockchip: grf: add grf and pmugrf description for px30
  arm64: dts: rockchip: add support for ROC-RK3399-PC board

Signed-off-by: Olof Johansson <olof@lixom.net>
2018-09-23 06:20:06 -07:00
Olof Johansson
89cb3a4c97 Renesas ARM64 Based SoC DT Updates for v4.20
* Correct whitespace around assignments
 
 * R-Car Gen-3 SoCs:
   - Enable SDR104 for SD devices
   - Include R-Car product name in DTSI files to ease maintenance
 * R-Car Gen-3 SoC based boards: Convert to new LVDS DT bindings
 * R-Car Gen 3 Salvator-X and Salvator-XS boards:
   - Override secondary addresses of ADV748x to avoid address conflicts
 * R-Car Gen 3 based Salvator-XS board: Enable SATA
 
 * R-Car M3-N (r8a77965) SoC:
   - Add FDP1 device nodes
   - Move arm_cc630p and timer nodes to restore sort-order of file
   - Correct clock/reset for usb2_phy1
   - Correct HS-USB compat string
   - Add OPPs table for cpu devices enabling CPUFreq support
   - Add CAN device placeholder nodes to facilitate adding
     initial device tree for KF daughter board
   - Attach SYS-DMAC to the IPMMU
 * R-Car M3-N (r8a77965) based ULCB board:
   - Initial device tree for board and KF daughter board
 
 * R-Car E3 (r8a77990) SoC:
   - Add SYS-DMAC, I2C VIN, CSI-2, MSIOF device nodes
   - Add BRG support to SCIF2 which allows an increase in serial clock accuracy
   - Use CPG/MSSR and SYSC binding definitions
 * R-Car E3 (r8a77990) based Ebisu board: Enable PWM
 
 * R-Car D3 (r8a77995) SoC: Attach the SYS-DMAC to the IPMMU
 * R-Car D3 (r8a77995) based Draak board: Sort device nodes
 
 * R-Car V3H (r8a77980) based V3HSK board:
   - Move lvds0 node to restore sort-order of file
 * R-Car V3H (r8a77980) SoC:
   - Add RWDT, CSI2 and VIN, Cortex-A53 PMU nodes
   - Move IPMMU and CAN clock nodes to restore sort-order of file
 
 * R-Car V3M (r8a77970) SoC:
   - Add MMC nodes
   - Move CAN clock node to restore sort-order of file
 * R-Car V3M (r8a77970) based V3MSK board: Add eMMC support
 * R-Car V3H (r8a77980) based Condor board: Add PCIe, DU, LVDS and HDMI support
 
 * RZ/G2M (r8a774a1) SoC:
   - Initial device tree
   - Add SYS-DMAC, SCIF, HSCIF, INTC-EX, EtherAVB, RWDT, pinctl, GPIO,
     SDHI, I2C, IIC-DVFS, thermal, IPMMU, MSIOF, Cortex-A53 CPU core,
     PWM, Audio, FCPF, FCPV, USB2.0, USB-DMAC, HSUSB and USB3.0 device nodes
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE4nzZofWswv9L/nKF189kaWo3T74FAluaJGgACgkQ189kaWo3
 T77fhxAAq3QhXh2NUl1CWqWOQo43/iKOFbm5QVjnPs7HGENYIWPJ3+CSF3ALHa52
 KVVVZevBGwOX0osXnMN/W85N5iyEt077OYONK13XMijf6V6rrWxunlV0DMQHOK+j
 AwxfL7xDugnJf6Q+nSd3MDu39HGu5iEiUSfhI9FBGrRcDcyB+4sQ9j67gbjxVp25
 WYax5El3eJhUMi53L5J46Om6QApdoNGkAtW2IQMFJv/RG4ygp/ja050U7iguDrNg
 CuNCX83myfVST3RgcZzmcY/qiFeHb65UOYNdzWZ18lJhix+NWI5udxPjoBcIrq70
 cOudHM22BZs6m5dL7PJ1ZU9dM7lF/CCp44GSpgSwTryOEWoiSGNrcGznmFhU6qsK
 im+ZCytvgDulVCZuDZHk79K4mlOPlNpWgr+cmU0PvlRRd7zjUs/SkPySl39jL4rb
 c1PDIreUfDUEBvHz4GQHgMVwGymBim+oeFdutQ5vwKt6f6PA91MTPT2m6J5v0sFR
 tBFgxIYZGAAyu3Ll9uQm+vawv97oJnhllNLXfKhYgw9WY/CpboKFqRFgKsZe0g9y
 tRtogMM9uMWvvqy8fHjaL7oL2qrN3n8RDtR7CxXs14LZbxEgHtQKo0ON4b5v5kqz
 N5hnxrI3pbxTo8n7wLgQIdJb5MTzWFOeLHFztPajBuNSmxlrwjE=
 =Qez4
 -----END PGP SIGNATURE-----

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

Renesas ARM64 Based SoC DT Updates for v4.20

* Correct whitespace around assignments

* R-Car Gen-3 SoCs:
  - Enable SDR104 for SD devices
  - Include R-Car product name in DTSI files to ease maintenance
* R-Car Gen-3 SoC based boards: Convert to new LVDS DT bindings
* R-Car Gen 3 Salvator-X and Salvator-XS boards:
  - Override secondary addresses of ADV748x to avoid address conflicts
* R-Car Gen 3 based Salvator-XS board: Enable SATA

* R-Car M3-N (r8a77965) SoC:
  - Add FDP1 device nodes
  - Move arm_cc630p and timer nodes to restore sort-order of file
  - Correct clock/reset for usb2_phy1
  - Correct HS-USB compat string
  - Add OPPs table for cpu devices enabling CPUFreq support
  - Add CAN device placeholder nodes to facilitate adding
    initial device tree for KF daughter board
  - Attach SYS-DMAC to the IPMMU
* R-Car M3-N (r8a77965) based ULCB board:
  - Initial device tree for board and KF daughter board

* R-Car E3 (r8a77990) SoC:
  - Add SYS-DMAC, I2C VIN, CSI-2, MSIOF device nodes
  - Add BRG support to SCIF2 which allows an increase in serial clock accuracy
  - Use CPG/MSSR and SYSC binding definitions
* R-Car E3 (r8a77990) based Ebisu board: Enable PWM

* R-Car D3 (r8a77995) SoC: Attach the SYS-DMAC to the IPMMU
* R-Car D3 (r8a77995) based Draak board: Sort device nodes

* R-Car V3H (r8a77980) based V3HSK board:
  - Move lvds0 node to restore sort-order of file
* R-Car V3H (r8a77980) SoC:
  - Add RWDT, CSI2 and VIN, Cortex-A53 PMU nodes
  - Move IPMMU and CAN clock nodes to restore sort-order of file

* R-Car V3M (r8a77970) SoC:
  - Add MMC nodes
  - Move CAN clock node to restore sort-order of file
* R-Car V3M (r8a77970) based V3MSK board: Add eMMC support
* R-Car V3H (r8a77980) based Condor board: Add PCIe, DU, LVDS and HDMI support

* RZ/G2M (r8a774a1) SoC:
  - Initial device tree
  - Add SYS-DMAC, SCIF, HSCIF, INTC-EX, EtherAVB, RWDT, pinctl, GPIO,
    SDHI, I2C, IIC-DVFS, thermal, IPMMU, MSIOF, Cortex-A53 CPU core,
    PWM, Audio, FCPF, FCPV, USB2.0, USB-DMAC, HSUSB and USB3.0 device nodes

* tag 'renesas-arm64-dt-for-v4.20' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (58 commits)
  arm64: dts: r8a77965: add FDP1 device nodes
  arm64: dts: renesas: draak: Sort device nodes
  arm64: dts: renesas: enable SDR104 on R-Car Gen3
  arm64: dts: renesas: r8a77990: Add SYS-DMAC device nodes
  arm64: dts: renesas: r8a77990: Add I2C device nodes
  arm64: dts: renesas: r8a77990: Add VIN and CSI-2 device nodes
  arm64: dts: renesas: r8a77990: Add all MSIOF nodes
  arm64: dts: renesas: r8a7795: Move arm_cc630p node
  arm64: dts: renesas: r8a77990: Add BRG support to SCIF2
  arm64: dts: renesas: r8a77990: Use CPG/MSSR and SYSC binding definitions
  arm64: dts: renesas: salvator-xs: Improve SATA switch settings comments
  arm64: dts: renesas: r8a77965: Fix clock/reset for usb2_phy1
  arm64: dts: renesas: r8a77965: Fix HS-USB compatible
  arm64: dts: renesas: r8a77965: Move timer node
  arm64: dts: renesas: v3hsk: Move lvds0 node
  arm64: dts: renesas: Fix whitespace around assignments
  arm64: dts: renesas: r8a77965: m3nulcb-kf: Initial device tree
  arm64: dts: renesas: condor: add PCIe support
  arm64: dts: renesas: r8a77980: add PCIe support
  arm64: dts: renesas: r8a774a1: Add USB3.0 device nodes
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
2018-09-23 06:19:04 -07:00
Olof Johansson
fc48cf437a Renesas ARM Based SoC DT Updates for v4.20
* R-Car Gen1 SoCs: Include product name in DTSI files for ease of maintenance
 * R-Car Gen2 SoCs:
   - Convert to new DU DT bindings
   - Correct SATA device sizes to 2 MiB
 * R-Car H2 (r8a7790) based Porter board: Add DA9063 OnKey PMIC node
 * R-Car E2 (r8a7794) based Silk board: Add DA9063 PMIC, RTC and OnKey nodes
 * R-Car M2-N (r8a7793) based Gose board: Add DA9210 node for CPU DVFS
 * RZ/G1C (R8A77470) SoC:
   - Add GPIO nodes
   - Add PFC support
   - Use r8a77470-sysc binding definitions
 * RZ/G1C (r8a77470) iW-RainboW-G23S dev platform:
   - Specify EtherAVB PHY IRQ
   - Add pinctl support for scif1
 * RZ/N1D (r9a06g032) SoC: Use r9a06g032-sysctrl binding definitions
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE4nzZofWswv9L/nKF189kaWo3T74FAluaFBAACgkQ189kaWo3
 T75EpRAAnFoZqV6NVk0NjckfGjCjSWdXtRzbvpYAZ3pBYKHgTxWCQgCrK8dUZHgb
 RhpcrN25QMqcbZ30SV8kjlshUh7a+5rJTKpNDmcIcIkXsM0uTf7eyO7jFx6QBjGg
 iaDzJjzXTH58caNGyo0LHrXI+bGprLwkoZzkLB8zbqZ7r9uUQbyq0AObdYALOHiY
 3x3BF7UiVa5747tv6M99g/9KN50tfDLhSaXM07/v/VHw6jSA+fDDmvfPec5psx5u
 oyB1G+2MQR57NBiv/cR/m4IQ3kVl5P3hAXoZaL2MPO53k3aULAjLzZXBE6CH2agT
 UFkCq3ZY5zsnZjhZqOjPcKxB4h7amGg9eCbJi2a8V0VHGz2V/T2KsVGoBadsVPR1
 Vc+AgY0J70T64XgUxYyfusRUDTw+NjPn4ax0SA88tIjD8fUuSq8OSRtqVXobwHmw
 QdrB8vZepNXmL+pWK+xiul+zfQxZ9gPI/8Bv+LviuuP8aNWAUvVZBiB+bhA7+yLb
 DGEt2fwE00toDwWOQgyVN96hvfBFE0L0Pau/43uIt4u5Mu3bHhg9XtMEpY5AnYcP
 HZjsDpAeGeiA+tNAr8vwHepQrSvoPvuPr8lglgPXpKxPO72/9lMtDjwuHVC+43bd
 WglRvn2e/nr+bq2ioDh29EFjxXIkWAWfcElIrEYp52s0VI8GLSA=
 =0yXr
 -----END PGP SIGNATURE-----

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

Renesas ARM Based SoC DT Updates for v4.20

* R-Car Gen1 SoCs: Include product name in DTSI files for ease of maintenance
* R-Car Gen2 SoCs:
  - Convert to new DU DT bindings
  - Correct SATA device sizes to 2 MiB
* R-Car H2 (r8a7790) based Porter board: Add DA9063 OnKey PMIC node
* R-Car E2 (r8a7794) based Silk board: Add DA9063 PMIC, RTC and OnKey nodes
* R-Car M2-N (r8a7793) based Gose board: Add DA9210 node for CPU DVFS
* RZ/G1C (R8A77470) SoC:
  - Add GPIO nodes
  - Add PFC support
  - Use r8a77470-sysc binding definitions
* RZ/G1C (r8a77470) iW-RainboW-G23S dev platform:
  - Specify EtherAVB PHY IRQ
  - Add pinctl support for scif1
* RZ/N1D (r9a06g032) SoC: Use r9a06g032-sysctrl binding definitions

* tag 'renesas-arm-dt-for-v4.20' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: dts: r9a06g032: Use r9a06g032-sysctrl binding definitions
  ARM: dts: Include R-Car Gen1 product name in DTSI files
  ARM: dts: stout: Add DA9063 OnKey node
  ARM: dts: silk: Add DA9063 RTC and OnKey node
  ARM: dts: iwg23s-sbc: specify EtherAVB PHY IRQ
  ARM: dts: r8a77470: Add GPIO support
  ARM: dts: silk: Add DA9063 PMIC node
  ARM: dts: gose: Add DA9210 node for CPU DVFS
  ARM: dts: rcar-gen2: Convert to new DU DT bindings
  ARM: dts: iwg23s-sbc: Add pinctl support for scif1
  ARM: dts: r8a77470: Add PFC support
  ARM: dts: r8a77470: Use r8a77470-sysc binding definitions
  ARM: dts: rcar: Correct SATA device sizes to 2 MiB

Signed-off-by: Olof Johansson <olof@lixom.net>
2018-09-23 06:14:40 -07:00
Neil Armstrong
445f2bda35 arm64: dts: meson: Switch simple-mfd and syscon order
The order between "syscon" and "simple-mfd" is important because in these
particular cases, the node needs to be first a "simple-mfd" to expose
it's sub-nodes, and later on a "syscon" to permit other nodes to access
this register space through the "syscon" mechanism.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-09-13 09:16:36 -07:00
Hoan Nguyen An
450d6079e8 arm64: dts: r8a77965: add FDP1 device nodes
The r8a77965 has a single FDP1 instance.

Signed-off-by: Hoan Nguyen An <na-hoan@jinso.co.jp>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:48:13 +02:00
Geert Uytterhoeven
7acc17b1a3 arm64: dts: renesas: draak: Sort device nodes
- Device nodes with unit addresses are sorted by unit address,
  - Device nodes without unit addresses and references are sorted
    alphabetically.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:48:12 +02:00
Wolfram Sang
9bc03b5727 arm64: dts: renesas: enable SDR104 on R-Car Gen3
Successfully tested on H3 ES1.0 and ES2.0, M3-W ES1.0, and M3-N ES1.0.
Even previously stubborn cards work fine. Transfer rates were >60MB/s.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:48:11 +02:00
Takeshi Kihara
3943e8967a arm64: dts: renesas: r8a77990: Add SYS-DMAC device nodes
This patch adds SYS-DMAC{0,1,2} device nodes for the R8A77990 SoC.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:48:10 +02:00
Takeshi Kihara
bc011dfa30 arm64: dts: renesas: r8a77990: Add I2C device nodes
Add device nodes for I2C ch[0-7] to R-Car E3 R8A77990 device tree.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:48:06 +02:00
Koji Matsuoka
ec70407ae7 arm64: dts: renesas: r8a77990: Add VIN and CSI-2 device nodes
Add device nodes for VIN4, VIN5 and CSI40 to R-Car E3 R8A77990 device tree.

Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[simon: sorted nodes by bus address, then IP block]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:48:00 +02:00
Geert Uytterhoeven
4b7e3ab191 arm64: dts: renesas: r8a77990: Add all MSIOF nodes
Add the device nodes for all MSIOF SPI controllers, incl. clocks, power
domains, and resets properties.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:58 +02:00
Geert Uytterhoeven
8db067d553 arm64: dts: renesas: r8a7795: Move arm_cc630p node
To preserve by-address-per-group sort order.

Fixes: 0f6d237caf ("arm64: dts: renesas: r8a7795: add ccree to device tree")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:57 +02:00
Takeshi Kihara
103db9b539 arm64: dts: renesas: r8a77990: Add BRG support to SCIF2
Add the device node for the external SCIF_CLK, and describe the clock
inputs for the Baud Rate Generator for External Clock (BRG) for SCIF2,
which can increase serial clock accuracy.

The presence of the SCIF_CLK crystal and its clock frequency depend on
the actual board.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
[geert: Enhance patch description]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:56 +02:00
Geert Uytterhoeven
83e7d2ec0d arm64: dts: renesas: r8a77990: Use CPG/MSSR and SYSC binding definitions
Use the SoC-specific CPG/MSSR include file to allow future use of
R8A77990_CLK_* symbols.
Replace the hardcoded power domain indices by R8A77990_PD_* symbols.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:55 +02:00
Geert Uytterhoeven
48e1f50bd6 arm64: dts: renesas: salvator-xs: Improve SATA switch settings comments
The comments describing the non-default switch settings to use SATA are
confusing: 'Off' refers to the switch position, not to the MD12 logic
value, while the parentheses suggest otherwise.  Rephrase to fix this.

Fixes: bec000784d5bb571 ("arm64: dts: renesas: salvator-xs: enable SATA")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:53 +02:00
Geert Uytterhoeven
7a590fe317 arm64: dts: renesas: r8a77965: Fix clock/reset for usb2_phy1
usb2_phy1 accidentally uses the same clock/reset as usb2_phy0.

Fixes: b5857630a8 ("arm64: dts: renesas: r8a77965: add usb2_phy nodes")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:52 +02:00
Geert Uytterhoeven
99584d93e3 arm64: dts: renesas: r8a77965: Fix HS-USB compatible
Should be "renesas,usbhs-r8a77965", not "renesas,usbhs-r8a7796".

Fixes: a06e8af801 ("arm64: dts: renesas: r8a77965: add HS-USB node")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:51 +02:00
Geert Uytterhoeven
ff55027185 arm64: dts: renesas: r8a77965: Move timer node
To preserve alphabetical sort order.

Fixes: 4c529600ee ("arm64: dts: renesas: r8a77965: Add R-Car Gen3 thermal support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:50 +02:00
Geert Uytterhoeven
47d7f68228 arm64: dts: renesas: v3hsk: Move lvds0 node
To preserve alphabetical sort order.

Fixes: 4edac426aff11a37 ("arm64: dts: renesas: condor/v3hsk: add DU/LVDS/HDMI support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:48 +02:00
Geert Uytterhoeven
fced3a97f8 arm64: dts: renesas: Fix whitespace around assignments
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
[simon: updated for a few new cases]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:47 +02:00
Eugeniu Rosca
c41fc11850 arm64: dts: renesas: r8a77965: m3nulcb-kf: Initial device tree
This is based on the existing KF device tree sources:
$ ls -1 arch/arm64/boot/dts/renesas/*-kf.dts
arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts
arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts

Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:46 +02:00
Sergei Shtylyov
c6eb20473f arm64: dts: renesas: condor: add PCIe support
Enable PCIe PHY and PCIEC and specify the PCIe bus clock for the Condor
board.

Based on the original (and large) patch by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:45 +02:00
Sergei Shtylyov
ffa967e24c arm64: dts: renesas: r8a77980: add PCIe support
Describe the PCIe PHY, PCIEC, and PCIe bus clock in the R8A77980 device
tree.

Based on the original (and large) patch by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:44 +02:00
Biju Das
453240f665 arm64: dts: renesas: r8a774a1: Add USB3.0 device nodes
Add usb3.0 phy, host and function device nodes on RZ/G2M SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:43 +02:00
Biju Das
ed898d4fc1 arm64: dts: renesas: r8a774a1: Add USB-DMAC and HSUSB device nodes
Add usb dmac and hsusb device nodes on RZ/G2M SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:41 +02:00
Biju Das
4c2c2fb998 arm64: dts: renesas: r8a774a1: Add USB2.0 phy and host(EHCI/OHCI) device nodes
Add USB2.0 phy and host (EHCI/OHCI) device nodes on RZ/G2M SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:40 +02:00
Fabrizio Castro
282419526a arm64: dts: renesas: r8a774a1: Add FCPF and FCPV instances
Add FCPF and FCPV instances to the r8a774a1 dtsi, similarly
to what was done for the r8a7796 with commit 41dbbf0c5b
("arm64: dts: r8a7796: Add FCPF and FCPV instances"),
commit 69490bc966 ("arm64: dts: renesas: r8a7796: Point
FDP1 via FCPF to IPMMU-VI0"), and commit cef942d0bd ("arm64:
dts: renesas: r8a7796: Point VSPI via FCPVI to IPMMU-VC0").

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:39 +02:00
Biju Das
e2f04248fc arm64: dts: renesas: r8a774a1: Add audio support
Add sound support for the RZ/G2M SoC (a.k.a. R8A774A1).

This work is based on similar work done on the R8A7796 SoC
by Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:38 +02:00
Fabrizio Castro
9567a85668 arm64: dts: renesas: r8a774a1: Add PWM device nodes
This patch adds PWM[0123456] device nodes to the RZ/G2M (a.k.a R8A774A1)
device tree.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:37 +02:00
Biju Das
09f49bcf6f arm64: dts: renesas: r8a774a1: Add Cortex-A53 CPU cores
This patch adds definitions for L2 cache for the Cortex-A53 CPU
cores (512 KiB in size, organized as 32 KiB x 16 ways), adds
Cortex-A53 CPU cores (setting a total of 6 cores, 2 x Cortex-A57
+ 4 x Cortex-A53), and finally enables the performance monitor
unit for the Cortex-A53 cores on the R8A774A1 SoC.

Based on work done for r8a7796 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:36 +02:00
Biju Das
c512110d64 arm64: dts: renesas: r8a774a1: Add all MSIOF nodes
Add the device nodes for all MSIOF SPI controllers on RZ/G2M SoC.

Based on several similar patches of the R8A7796 device tree
by Geert Uytterhoeven <geert+renesas@glider.be>
and Simon Horman <horms+renesas@verge.net.au>.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:35 +02:00
Fabrizio Castro
8f507babc6 arm64: dts: renesas: r8a774a1: Add IPMMU device nodes
Add r8a774a1 IPMMU nodes.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:33 +02:00
Biju Das
a4165904fd arm64: dts: renesas: r8a774a1: Add RZ/G2M thermal support
Add thermal support for R8A774A1 (RZ/G2M) SoC.

Based on the work done for r8a7796 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:32 +02:00
Biju Das
c674e8a78c arm64: dts: renesas: r8a774a1: Add I2C and IIC-DVFS support
Add the I2C[0-6] and IIC Bus Interface for DVFS (IIC for DVFS)
devices nodes to the r8a774a1 device tree.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:31 +02:00
Fabrizio Castro
663386c3e1 arm64: dts: renesas: r8a774a1: Add SDHI nodes
Add SDHI nodes to the DT of the r8a774a1 SoC.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:30 +02:00
Fabrizio Castro
53ae5809d3 arm64: dts: renesas: r8a774a1: Add GPIO device nodes
Add GPIO device nodes to the DT of the r8a774a1 SoC.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:29 +02:00
Fabrizio Castro
3698dbd02c arm64: dts: renesas: r8a774a1: Add pinctrl device node
This patch adds pinctrl device node for R8A774A1 SoC.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:28 +02:00
Biju Das
426f0b95af arm64: dts: renesas: r8a774a1: Add RWDT node
Add a device node for the Watchdog Timer (RWDT) controller on the Renesas
RZ/G2M (r8a774a1) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:26 +02:00
Fabrizio Castro
71bddde2a2 arm64: dts: renesas: r8a774a1: Add Ethernet AVB node
This patch adds the SoC specific part of the Ethernet AVB
device tree node.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:25 +02:00
Biju Das
a21c572ce8 arm64: dts: renesas: r8a774a1: Add INTC-EX device node
Add support for the Interrupt Controller for External Devices
(INTC-EX) on RZ/G2M.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:24 +02:00
Fabrizio Castro
3a3933a4fa arm64: dts: renesas: r8a774a1: Add SCIF and HSCIF nodes
Add the device nodes for all RZ/G2M SCIF and HSCIF serial ports,
incl. clocks, power domains and DMAs.
According to the HW user manual, SCIF[015] and HSCIF[012] are
connected to both SYS-DMAC1 and SYS-DMAC2, while SCIF[34] and
HSCIF[34] are connected to SYS-DMAC0.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:23 +02:00
Biju Das
37a61e4d9f arm64: dts: renesas: r8a774a1: Add SYS-DMAC controller nodes
Add sys-dmac[0-2] device nodes for RZ/G2M (r8a774a1) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:22 +02:00
Sergei Shtylyov
70fd8b6a48 arm64: dts: renesas: condor/v3hsk: add DU/LVDS/HDMI support
Define the Condor/V3HSK board dependent parts of the DU and  LVDS device
nodes. Also add the device nodes for Thine THC63LVD1024 LVDS decoder and
Analog Devices ADV7511W HDMI transmitter...

Based on the original (and large) patch by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:21 +02:00
Sergei Shtylyov
8d9923b3a2 arm64: dts: renesas: v3msk: add eMMC support
Add the eMMC chip support for the V3M Started Kit board.

Based on the original (and large) patches by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:20 +02:00
Sergei Shtylyov
979e32b526 arm64: dts: renesas: r8a77970: add MMC support
Define the generic R8A77970 part of the MMC0 (SDHI2) device node.

Based on the original (and large) patches by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:18 +02:00
Dien Pham
6253110442 arm64: dts: renesas: r8a77965: Add OPPs table for cpu devices
This patch adds OPPs table for CA57{0,1} cpu devices

Signed-off-by: Dien Pham <dien.pham.ry@renesas.com>
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Tested-by: Simon Horman <horms+renesas@verge.net.au>
[simon: do not give nodes unit names as they have no bus addresses]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:17 +02:00
Eugeniu Rosca
83ff28c74b arm64: dts: renesas: r8a77965: m3nulcb: Initial device tree
Allow the bare M3-N-based ULCB board to boot.

Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:16 +02:00
Eugeniu Rosca
92bc66bfce arm64: dts: renesas: r8a77965: Add CAN{0,1} placeholder nodes
According to R-Car Gen3 HW manual rev1.00, R-Car M3-N has two CAN
interfaces, similar to H3, M3-W and other SoCs from the same family.

Add CAN placeholder nodes to avoid below DTC errors:
Error: arch/arm64/boot/dts/renesas/ulcb-kf.dtsi:19.1-6 Label or path can0 not found
Error: arch/arm64/boot/dts/renesas/ulcb-kf.dtsi:25.1-6 Label or path can1 not found

These errors occur *after* the addition of r8a77965-m3nulcb-kf.dts.
Fix them beforehand.

CAN support is inspired from below commits:
 - v4.7 commit 308b7e4ba6 ("arm64: dts: r8a7795: Add CAN support")
 - v4.11 commit 909c162524 ("arm64: dts: r8a7796: Add CAN support")
 - v4.12 commit bec0948e81 ("arm64: dts: r8a7796: Add reset control properties")

Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
[simon: make placeholder minimal by only including reg property]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:15 +02:00
Magnus Damm
4d76ad7d9d arm64: dts: renesas: r8a77965: Attach the SYS-DMAC to the IPMMU
For R-Car M3-N hook up SYS-DMAC0, SYS-DMAC1 and SYS-DMAC2 to
IPMMU-DS0 and IPMMU-DS1 in same way as for R-Car M3-W.
This follows the R-Car Gen3 Rev.1.00 (April 2018) datasheet.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-13 09:47:14 +02:00