Commit 2bc0b8e2 authored by Olof Johansson's avatar Olof Johansson

Merge tag 'renesas-arm64-dt-for-v4.19' of...

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

Renesas ARM64 Based SoC DT Updates for v4.19

* All applicable R-Car Gen 3 SoCs
  - Correct VSPD registers range
  - Convert R-Car Gen3 SoC and board DT files to SPDX identifiers

* R-Car H3 (r8a7795), M3-W (r8a7796) and M3-N (r8a77965) SoCs
  - Salvator-X and Salvator-XS boards
    + Describe HSCIF1 device
    + Correct I2C ch4 clock to 400kHz
  - Salvator-X, Salvator-XS and ULCB boards
    + Add sdhi2_ds pin group to SDHI2 pinctrl groups

* R-Car H3 (r8a7795) SoC
  - Describe CryptoCAL (CCREE) device

* R-Car M3-W (r8a7796) SoC
  - Describe PCIe devices
  - Describe HSCIF nodes

* R-Car M3-N (r8a77965) SoC
  - Describe PCIe devices
  - Use CPG MSSR symbols instead of numeric indicies

* R-Car D3 (r8a77995) SoC
  - Describe Thermal device
  - Describe MSIOF devices
  - Add power domains to description of IPMMU devices
  - Do not use deprecated renesas,gpio-rcar compat string
  - Describe HDMI and CVBS input in DT of R-Car Gen3 D3 Draak board

* R-Car V3H (r8a77980) SoC
  - Describe secondary CA53 CPU cores, and GPIO and
    interconected FCPVD0, VSPD0, DU, and LVDS0 devices
  - Enable ethernet on V3HSK board
  - Specify Ethernet PHY IRQs in the DT of the Condor and V3HSK boards.
    This is possible now that GPIO support is present.
    Previously phylib had to resort to polling.
  - Enable I2C0 on Condor board

* R-Car E3 (r8a77990)
  - Enable Watchdog timer and USB2.0 host on Ebisu board
  - Enable secondary CA53 CPU core

* tag 'renesas-arm64-dt-for-v4.19' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (29 commits)
  arm64: dts: renesas: r8a77995: Add MSIOF device nodes
  arm64: dts: renesas: salvator-common: Add HSCIF1 device support
  arm64: dts: renesas: r8a77980: add FCPVD/VSPD/DU/LVDS support
  arm64: dts: renesas: condor/v3hsk: specify Ethernet PHY IRQs
  arm64: dts: renesas: r8a77965: Add PCIe device nodes
  arm64: dts: renesas: Fix VSPD registers range
  arm64: dts: renesas: convert to SPDX identifiers
  arm64: dts: renesas: r8a77980: add GPIO support
  arm64: dts: renesas: r8a77990: Enable USB2.0 Host for Ebisu board
  arm64: dts: renesas: r8a7796: Add PCIe device nodes
  arm64: dts: renesas: r8a77990: Add secondary CA53 CPU core
  arm64: dts: renesas: r8a77990: ebisu: Enable watchdog timer
  arm64: dts: renesas: condor: add I2C0 support
  arm64: dts: renesas: r8a77980: add I2C support
  arm64: dts: renesas: salvator-x(s): Update I2C ch4 clock to 400kHz
  arm64: dts: renesas: Add sdhi2_ds pin group to SDHI2 pinctrl groups
  arm64: dts: renesas: r8a77965: Add all HSCIF nodes
  arm64: dts: renesas: r8a77965: Use r8a77965-cpg-mssr binding definitions
  arm64: dts: renesas: r8a7795: add ccree to device tree
  arm64: dts: renesas: r8a77965: Add Watchdog Timer controller node using RCLK Watchdog Timer
  ...
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents 021c9179 6b284a81
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the H3ULCB Kingfisher board * Device Tree Source for the H3ULCB Kingfisher board
* *
* Copyright (C) 2017 Renesas Electronics Corp. * Copyright (C) 2017 Renesas Electronics Corp.
* Copyright (C) 2017 Cogent Embedded, Inc. * Copyright (C) 2017 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include "r8a7795-es1-h3ulcb.dts" #include "r8a7795-es1-h3ulcb.dts"
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) board * Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) board
* *
* Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Renesas Electronics Corp.
* Copyright (C) 2016 Cogent Embedded, Inc. * Copyright (C) 2016 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/dts-v1/; /dts-v1/;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the Salvator-X board with R-Car H3 ES1.x * Device Tree Source for the Salvator-X board with R-Car H3 ES1.x
* *
* Copyright (C) 2015 Renesas Electronics Corp. * Copyright (C) 2015 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/dts-v1/; /dts-v1/;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the r8a7795 ES1.x SoC * Device Tree Source for the r8a7795 ES1.x SoC
* *
* Copyright (C) 2015 Renesas Electronics Corp. * Copyright (C) 2015 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include "r8a7795.dtsi" #include "r8a7795.dtsi"
...@@ -80,7 +77,7 @@ fcpvi2: fcp@fe9cf000 { ...@@ -80,7 +77,7 @@ fcpvi2: fcp@fe9cf000 {
vspd3: vsp@fea38000 { vspd3: vsp@fea38000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea38000 0 0x8000>; reg = <0 0xfea38000 0 0x5000>;
interrupts = <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 620>; clocks = <&cpg CPG_MOD 620>;
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the H3ULCB Kingfisher board * Device Tree Source for the H3ULCB Kingfisher board
* *
* Copyright (C) 2017 Renesas Electronics Corp. * Copyright (C) 2017 Renesas Electronics Corp.
* Copyright (C) 2017 Cogent Embedded, Inc. * Copyright (C) 2017 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include "r8a7795-h3ulcb.dts" #include "r8a7795-h3ulcb.dts"
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) board * Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) board
* *
* Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Renesas Electronics Corp.
* Copyright (C) 2016 Cogent Embedded, Inc. * Copyright (C) 2016 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/dts-v1/; /dts-v1/;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the Salvator-X board with R-Car H3 ES2.0 * Device Tree Source for the Salvator-X board with R-Car H3 ES2.0
* *
* Copyright (C) 2015 Renesas Electronics Corp. * Copyright (C) 2015 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/dts-v1/; /dts-v1/;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the Salvator-X 2nd version board with R-Car H3 ES2.0 * Device Tree Source for the Salvator-X 2nd version board with R-Car H3 ES2.0
* *
* Copyright (C) 2015-2017 Renesas Electronics Corp. * Copyright (C) 2015-2017 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/dts-v1/; /dts-v1/;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the r8a7795 SoC * Device Tree Source for the r8a7795 SoC
* *
* Copyright (C) 2015 Renesas Electronics Corp. * Copyright (C) 2015 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include <dt-bindings/clock/r8a7795-cpg-mssr.h> #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
...@@ -528,6 +525,15 @@ i2c2: i2c@e6510000 { ...@@ -528,6 +525,15 @@ i2c2: i2c@e6510000 {
status = "disabled"; status = "disabled";
}; };
arm_cc630p: crypto@e6601000 {
compatible = "arm,cryptocell-630p-ree";
interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
reg = <0x0 0xe6601000 0 0x1000>;
clocks = <&cpg CPG_MOD 229>;
resets = <&cpg 229>;
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
};
i2c3: i2c@e66d0000 { i2c3: i2c@e66d0000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -2530,7 +2536,7 @@ vspbc: vsp@fe920000 { ...@@ -2530,7 +2536,7 @@ vspbc: vsp@fe920000 {
vspd0: vsp@fea20000 { vspd0: vsp@fea20000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea20000 0 0x8000>; reg = <0 0xfea20000 0 0x5000>;
interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 623>; clocks = <&cpg CPG_MOD 623>;
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
...@@ -2541,7 +2547,7 @@ vspd0: vsp@fea20000 { ...@@ -2541,7 +2547,7 @@ vspd0: vsp@fea20000 {
vspd1: vsp@fea28000 { vspd1: vsp@fea28000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea28000 0 0x8000>; reg = <0 0xfea28000 0 0x5000>;
interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 622>; clocks = <&cpg CPG_MOD 622>;
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
...@@ -2552,7 +2558,7 @@ vspd1: vsp@fea28000 { ...@@ -2552,7 +2558,7 @@ vspd1: vsp@fea28000 {
vspd2: vsp@fea30000 { vspd2: vsp@fea30000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea30000 0 0x8000>; reg = <0 0xfea30000 0 0x5000>;
interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 621>; clocks = <&cpg CPG_MOD 621>;
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the M3ULCB Kingfisher board * Device Tree Source for the M3ULCB Kingfisher board
* *
* Copyright (C) 2017 Renesas Electronics Corp. * Copyright (C) 2017 Renesas Electronics Corp.
* Copyright (C) 2017 Cogent Embedded, Inc. * Copyright (C) 2017 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include "r8a7796-m3ulcb.dts" #include "r8a7796-m3ulcb.dts"
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board
* *
* Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Renesas Electronics Corp.
* Copyright (C) 2016 Cogent Embedded, Inc. * Copyright (C) 2016 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/dts-v1/; /dts-v1/;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the Salvator-X board with R-Car M3-W * Device Tree Source for the Salvator-X board with R-Car M3-W
* *
* Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/dts-v1/; /dts-v1/;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the Salvator-X 2nd version board with R-Car M3-W * Device Tree Source for the Salvator-X 2nd version board with R-Car M3-W
* *
* Copyright (C) 2015-2017 Renesas Electronics Corp. * Copyright (C) 2015-2017 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/dts-v1/; /dts-v1/;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the r8a7796 SoC * Device Tree Source for the r8a7796 SoC
* *
* Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016-2017 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include <dt-bindings/clock/r8a7796-cpg-mssr.h> #include <dt-bindings/clock/r8a7796-cpg-mssr.h>
...@@ -2108,13 +2105,57 @@ gic: interrupt-controller@f1010000 { ...@@ -2108,13 +2105,57 @@ gic: interrupt-controller@f1010000 {
}; };
pciec0: pcie@fe000000 { pciec0: pcie@fe000000 {
compatible = "renesas,pcie-r8a7796",
"renesas,pcie-rcar-gen3";
reg = <0 0xfe000000 0 0x80000>; reg = <0 0xfe000000 0 0x80000>;
/* placeholder */ #address-cells = <3>;
#size-cells = <2>;
bus-range = <0x00 0xff>;
device_type = "pci";
ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
/* Map all possible DDR as inbound ranges */
dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
clock-names = "pcie", "pcie_bus";
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
resets = <&cpg 319>;
status = "disabled";
}; };
pciec1: pcie@ee800000 { pciec1: pcie@ee800000 {
compatible = "renesas,pcie-r8a7796",
"renesas,pcie-rcar-gen3";
reg = <0 0xee800000 0 0x80000>; reg = <0 0xee800000 0 0x80000>;
/* placeholder */ #address-cells = <3>;
#size-cells = <2>;
bus-range = <0x00 0xff>;
device_type = "pci";
ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000
0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000
0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000
0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>;
/* Map all possible DDR as inbound ranges */
dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>;
clock-names = "pcie", "pcie_bus";
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
resets = <&cpg 318>;
status = "disabled";
}; };
imr-lx4@fe860000 { imr-lx4@fe860000 {
...@@ -2212,7 +2253,7 @@ vspb: vsp@fe960000 { ...@@ -2212,7 +2253,7 @@ vspb: vsp@fe960000 {
vspd0: vsp@fea20000 { vspd0: vsp@fea20000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea20000 0 0x8000>; reg = <0 0xfea20000 0 0x5000>;
interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 623>; clocks = <&cpg CPG_MOD 623>;
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
...@@ -2223,7 +2264,7 @@ vspd0: vsp@fea20000 { ...@@ -2223,7 +2264,7 @@ vspd0: vsp@fea20000 {
vspd1: vsp@fea28000 { vspd1: vsp@fea28000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea28000 0 0x8000>; reg = <0 0xfea28000 0 0x5000>;
interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 622>; clocks = <&cpg CPG_MOD 622>;
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
...@@ -2234,7 +2275,7 @@ vspd1: vsp@fea28000 { ...@@ -2234,7 +2275,7 @@ vspd1: vsp@fea28000 {
vspd2: vsp@fea30000 { vspd2: vsp@fea30000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea30000 0 0x8000>; reg = <0 0xfea30000 0 0x5000>;
interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 621>; clocks = <&cpg CPG_MOD 621>;
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
......
...@@ -139,8 +139,13 @@ soc { ...@@ -139,8 +139,13 @@ soc {
ranges; ranges;
wdt0: watchdog@e6020000 { wdt0: watchdog@e6020000 {
compatible = "renesas,r8a77965-wdt",
"renesas,rcar-gen3-wdt";
reg = <0 0xe6020000 0 0x0c>; reg = <0 0xe6020000 0 0x0c>;
/* placeholder */ clocks = <&cpg CPG_MOD 402>;
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
resets = <&cpg 402>;
status = "disabled";
}; };
gpio0: gpio@e6050000 { gpio0: gpio@e6050000 {
...@@ -451,6 +456,94 @@ i2c_dvfs: i2c@e60b0000 { ...@@ -451,6 +456,94 @@ i2c_dvfs: i2c@e60b0000 {
status = "disabled"; status = "disabled";
}; };
hscif0: serial@e6540000 {
compatible = "renesas,hscif-r8a77965",
"renesas,rcar-gen3-hscif",
"renesas,hscif";
reg = <0 0xe6540000 0 0x60>;
interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 520>,
<&cpg CPG_CORE R8A77965_CLK_S3D1>,
<&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac1 0x31>, <&dmac1 0x30>,
<&dmac2 0x31>, <&dmac2 0x30>;
dma-names = "tx", "rx", "tx", "rx";
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
resets = <&cpg 520>;
status = "disabled";
};
hscif1: serial@e6550000 {
compatible = "renesas,hscif-r8a77965",
"renesas,rcar-gen3-hscif",
"renesas,hscif";
reg = <0 0xe6550000 0 0x60>;
interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 519>,
<&cpg CPG_CORE R8A77965_CLK_S3D1>,
<&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac1 0x33>, <&dmac1 0x32>,
<&dmac2 0x33>, <&dmac2 0x32>;
dma-names = "tx", "rx", "tx", "rx";
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
resets = <&cpg 519>;
status = "disabled";
};
hscif2: serial@e6560000 {
compatible = "renesas,hscif-r8a77965",
"renesas,rcar-gen3-hscif",
"renesas,hscif";
reg = <0 0xe6560000 0 0x60>;
interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 518>,
<&cpg CPG_CORE R8A77965_CLK_S3D1>,
<&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac1 0x35>, <&dmac1 0x34>,
<&dmac2 0x35>, <&dmac2 0x34>;
dma-names = "tx", "rx", "tx", "rx";
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
resets = <&cpg 518>;
status = "disabled";
};
hscif3: serial@e66a0000 {
compatible = "renesas,hscif-r8a77965",
"renesas,rcar-gen3-hscif",
"renesas,hscif";
reg = <0 0xe66a0000 0 0x60>;
interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 517>,
<&cpg CPG_CORE R8A77965_CLK_S3D1>,
<&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac0 0x37>, <&dmac0 0x36>;
dma-names = "tx", "rx";
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
resets = <&cpg 517>;
status = "disabled";
};
hscif4: serial@e66b0000 {
compatible = "renesas,hscif-r8a77965",
"renesas,rcar-gen3-hscif",
"renesas,hscif";
reg = <0 0xe66b0000 0 0x60>;
interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 516>,
<&cpg CPG_CORE R8A77965_CLK_S3D1>,
<&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac0 0x39>, <&dmac0 0x38>;
dma-names = "tx", "rx";
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
resets = <&cpg 516>;
status = "disabled";
};
hsusb: usb@e6590000 { hsusb: usb@e6590000 {
compatible = "renesas,usbhs-r8a7796", compatible = "renesas,usbhs-r8a7796",
"renesas,rcar-gen3-usbhs"; "renesas,rcar-gen3-usbhs";
...@@ -732,7 +825,7 @@ scif0: serial@e6e60000 { ...@@ -732,7 +825,7 @@ scif0: serial@e6e60000 {
reg = <0 0xe6e60000 0 64>; reg = <0 0xe6e60000 0 64>;
interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 207>, clocks = <&cpg CPG_MOD 207>,
<&cpg CPG_CORE 20>, <&cpg CPG_CORE R8A77965_CLK_S3D1>,
<&scif_clk>; <&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk"; clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac1 0x51>, <&dmac1 0x50>, dmas = <&dmac1 0x51>, <&dmac1 0x50>,
...@@ -749,7 +842,7 @@ scif1: serial@e6e68000 { ...@@ -749,7 +842,7 @@ scif1: serial@e6e68000 {
reg = <0 0xe6e68000 0 64>; reg = <0 0xe6e68000 0 64>;
interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 206>, clocks = <&cpg CPG_MOD 206>,
<&cpg CPG_CORE 20>, <&cpg CPG_CORE R8A77965_CLK_S3D1>,
<&scif_clk>; <&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk"; clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac1 0x53>, <&dmac1 0x52>, dmas = <&dmac1 0x53>, <&dmac1 0x52>,
...@@ -766,7 +859,7 @@ scif2: serial@e6e88000 { ...@@ -766,7 +859,7 @@ scif2: serial@e6e88000 {
reg = <0 0xe6e88000 0 64>; reg = <0 0xe6e88000 0 64>;
interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 310>, clocks = <&cpg CPG_MOD 310>,
<&cpg CPG_CORE 20>, <&cpg CPG_CORE R8A77965_CLK_S3D1>,
<&scif_clk>; <&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk"; clock-names = "fck", "brg_int", "scif_clk";
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
...@@ -780,7 +873,7 @@ scif3: serial@e6c50000 { ...@@ -780,7 +873,7 @@ scif3: serial@e6c50000 {
reg = <0 0xe6c50000 0 64>; reg = <0 0xe6c50000 0 64>;
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 204>, clocks = <&cpg CPG_MOD 204>,
<&cpg CPG_CORE 20>, <&cpg CPG_CORE R8A77965_CLK_S3D1>,
<&scif_clk>; <&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk"; clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac0 0x57>, <&dmac0 0x56>; dmas = <&dmac0 0x57>, <&dmac0 0x56>;
...@@ -796,7 +889,7 @@ scif4: serial@e6c40000 { ...@@ -796,7 +889,7 @@ scif4: serial@e6c40000 {
reg = <0 0xe6c40000 0 64>; reg = <0 0xe6c40000 0 64>;
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 203>, clocks = <&cpg CPG_MOD 203>,
<&cpg CPG_CORE 20>, <&cpg CPG_CORE R8A77965_CLK_S3D1>,
<&scif_clk>; <&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk"; clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac0 0x59>, <&dmac0 0x58>; dmas = <&dmac0 0x59>, <&dmac0 0x58>;
...@@ -812,7 +905,7 @@ scif5: serial@e6f30000 { ...@@ -812,7 +905,7 @@ scif5: serial@e6f30000 {
reg = <0 0xe6f30000 0 64>; reg = <0 0xe6f30000 0 64>;
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 202>, clocks = <&cpg CPG_MOD 202>,
<&cpg CPG_CORE 20>, <&cpg CPG_CORE R8A77965_CLK_S3D1>,
<&scif_clk>; <&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk"; clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac1 0x5b>, <&dmac1 0x5a>, dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
...@@ -1340,13 +1433,57 @@ gic: interrupt-controller@f1010000 { ...@@ -1340,13 +1433,57 @@ gic: interrupt-controller@f1010000 {
}; };
pciec0: pcie@fe000000 { pciec0: pcie@fe000000 {
compatible = "renesas,pcie-r8a77965",
"renesas,pcie-rcar-gen3";
reg = <0 0xfe000000 0 0x80000>; reg = <0 0xfe000000 0 0x80000>;
/* placeholder */ #address-cells = <3>;
#size-cells = <2>;
bus-range = <0x00 0xff>;
device_type = "pci";
ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
/* Map all possible DDR as inbound ranges */
dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
clock-names = "pcie", "pcie_bus";
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
resets = <&cpg 319>;
status = "disabled";
}; };
pciec1: pcie@ee800000 { pciec1: pcie@ee800000 {
compatible = "renesas,pcie-r8a77965",
"renesas,pcie-rcar-gen3";
reg = <0 0xee800000 0 0x80000>; reg = <0 0xee800000 0 0x80000>;
/* placeholder */ #address-cells = <3>;
#size-cells = <2>;
bus-range = <0x00 0xff>;
device_type = "pci";
ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000
0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000
0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000
0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>;
/* Map all possible DDR as inbound ranges */
dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>;
clock-names = "pcie", "pcie_bus";
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
resets = <&cpg 318>;
status = "disabled";
}; };
fcpf0: fcp@fe950000 { fcpf0: fcp@fe950000 {
...@@ -1397,7 +1534,7 @@ fcpvi0: fcp@fe9af000 { ...@@ -1397,7 +1534,7 @@ fcpvi0: fcp@fe9af000 {
vspd0: vsp@fea20000 { vspd0: vsp@fea20000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea20000 0 0x8000>; reg = <0 0xfea20000 0 0x5000>;
interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 623>; clocks = <&cpg CPG_MOD 623>;
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
...@@ -1416,7 +1553,7 @@ fcpvd0: fcp@fea27000 { ...@@ -1416,7 +1553,7 @@ fcpvd0: fcp@fea27000 {
vspd1: vsp@fea28000 { vspd1: vsp@fea28000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea28000 0 0x8000>; reg = <0 0xfea28000 0 0x5000>;
interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 622>; clocks = <&cpg CPG_MOD 622>;
power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the Eagle board * Device Tree Source for the Eagle board
* *
* Copyright (C) 2016-2017 Renesas Electronics Corp. * Copyright (C) 2016-2017 Renesas Electronics Corp.
* Copyright (C) 2017 Cogent Embedded, Inc. * Copyright (C) 2017 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/dts-v1/; /dts-v1/;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the V3M Starter Kit board * Device Tree Source for the V3M Starter Kit board
* *
* Copyright (C) 2017 Renesas Electronics Corp. * Copyright (C) 2017 Renesas Electronics Corp.
* Copyright (C) 2017 Cogent Embedded, Inc. * Copyright (C) 2017 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/dts-v1/; /dts-v1/;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the r8a77970 SoC * Device Tree Source for the r8a77970 SoC
* *
* Copyright (C) 2016-2017 Renesas Electronics Corp. * Copyright (C) 2016-2017 Renesas Electronics Corp.
* Copyright (C) 2017 Cogent Embedded, Inc. * Copyright (C) 2017 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include <dt-bindings/clock/r8a77970-cpg-mssr.h> #include <dt-bindings/clock/r8a77970-cpg-mssr.h>
...@@ -776,7 +773,7 @@ gic: interrupt-controller@f1010000 { ...@@ -776,7 +773,7 @@ gic: interrupt-controller@f1010000 {
vspd0: vsp@fea20000 { vspd0: vsp@fea20000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea20000 0 0x8000>; reg = <0 0xfea20000 0 0x5000>;
interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 623>; clocks = <&cpg CPG_MOD 623>;
power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
......
...@@ -59,6 +59,8 @@ &avb { ...@@ -59,6 +59,8 @@ &avb {
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
rxc-skew-ps = <1500>; rxc-skew-ps = <1500>;
reg = <0>; reg = <0>;
interrupt-parent = <&gpio1>;
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
}; };
}; };
...@@ -80,6 +82,28 @@ &extalr_clk { ...@@ -80,6 +82,28 @@ &extalr_clk {
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
&i2c0 {
pinctrl-0 = <&i2c0_pins>;
pinctrl-names = "default";
status = "okay";
clock-frequency = <400000>;
io_expander0: gpio@20 {
compatible = "onnn,pca9654";
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
};
io_expander1: gpio@21 {
compatible = "onnn,pca9654";
reg = <0x21>;
gpio-controller;
#gpio-cells = <2>;
};
};
&mmc0 { &mmc0 {
pinctrl-0 = <&mmc_pins>; pinctrl-0 = <&mmc_pins>;
pinctrl-1 = <&mmc_pins_uhs>; pinctrl-1 = <&mmc_pins_uhs>;
...@@ -104,6 +128,11 @@ canfd0_pins: canfd0 { ...@@ -104,6 +128,11 @@ canfd0_pins: canfd0 {
function = "canfd0"; function = "canfd0";
}; };
i2c0_pins: i2c0 {
groups = "i2c0";
function = "i2c0";
};
mmc_pins: mmc { mmc_pins: mmc {
groups = "mmc_data8", "mmc_ctrl", "mmc_ds"; groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
function = "mmc"; function = "mmc";
......
...@@ -15,6 +15,7 @@ / { ...@@ -15,6 +15,7 @@ / {
aliases { aliases {
serial0 = &scif0; serial0 = &scif0;
ethernet0 = &gether;
}; };
chosen { chosen {
...@@ -36,7 +37,29 @@ &extalr_clk { ...@@ -36,7 +37,29 @@ &extalr_clk {
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
&gether {
pinctrl-0 = <&gether_pins>;
pinctrl-names = "default";
phy-mode = "rgmii";
phy-handle = <&phy0>;
renesas,no-ether-link;
status = "okay";
phy0: ethernet-phy@0 {
reg = <0>;
interrupt-parent = <&gpio4>;
interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
};
};
&pfc { &pfc {
gether_pins: gether {
groups = "gether_mdio_a", "gether_rgmii",
"gether_txcrefclk", "gether_txcrefclk_mega";
function = "gether";
};
scif0_pins: scif0 { scif0_pins: scif0 {
groups = "scif0_data"; groups = "scif0_data";
function = "scif0"; function = "scif0";
......
This diff is collapsed.
...@@ -47,10 +47,18 @@ phy0: ethernet-phy@0 { ...@@ -47,10 +47,18 @@ phy0: ethernet-phy@0 {
}; };
}; };
&ehci0 {
status = "okay";
};
&extal_clk { &extal_clk {
clock-frequency = <48000000>; clock-frequency = <48000000>;
}; };
&ohci0 {
status = "okay";
};
&pfc { &pfc {
avb_pins: avb { avb_pins: avb {
mux { mux {
...@@ -58,8 +66,25 @@ mux { ...@@ -58,8 +66,25 @@ mux {
function = "avb"; function = "avb";
}; };
}; };
usb0_pins: usb {
groups = "usb0_b";
function = "usb0";
};
};
&rwdt {
timeout-sec = <60>;
status = "okay";
}; };
&scif2 { &scif2 {
status = "okay"; status = "okay";
}; };
&usb2_phy0 {
pinctrl-0 = <&usb0_pins>;
pinctrl-names = "default";
status = "okay";
};
...@@ -17,16 +17,24 @@ cpus { ...@@ -17,16 +17,24 @@ cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
/* 1 core only at this point */
a53_0: cpu@0 { a53_0: cpu@0 {
compatible = "arm,cortex-a53", "arm,armv8"; compatible = "arm,cortex-a53", "arm,armv8";
reg = <0x0>; reg = <0>;
device_type = "cpu"; device_type = "cpu";
power-domains = <&sysc 5>; power-domains = <&sysc 5>;
next-level-cache = <&L2_CA53>; next-level-cache = <&L2_CA53>;
enable-method = "psci"; enable-method = "psci";
}; };
a53_1: cpu@1 {
compatible = "arm,cortex-a53", "arm,armv8";
reg = <1>;
device_type = "cpu";
power-domains = <&sysc 6>;
next-level-cache = <&L2_CA53>;
enable-method = "psci";
};
L2_CA53: cache-controller-0 { L2_CA53: cache-controller-0 {
compatible = "cache"; compatible = "cache";
power-domains = <&sysc 21>; power-domains = <&sysc 21>;
...@@ -44,8 +52,9 @@ extal_clk: extal { ...@@ -44,8 +52,9 @@ extal_clk: extal {
pmu_a53 { pmu_a53 {
compatible = "arm,cortex-a53-pmu"; compatible = "arm,cortex-a53-pmu";
interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
interrupt-affinity = <&a53_0>; <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
interrupt-affinity = <&a53_0>, <&a53_1>;
}; };
psci { psci {
...@@ -60,6 +69,16 @@ soc: soc { ...@@ -60,6 +69,16 @@ soc: soc {
#size-cells = <2>; #size-cells = <2>;
ranges; ranges;
rwdt: watchdog@e6020000 {
compatible = "renesas,r8a77990-wdt",
"renesas,rcar-gen3-wdt";
reg = <0 0xe6020000 0 0x0c>;
clocks = <&cpg CPG_MOD 402>;
power-domains = <&sysc 32>;
resets = <&cpg 402>;
status = "disabled";
};
gpio0: gpio@e6050000 { gpio0: gpio@e6050000 {
compatible = "renesas,gpio-r8a77990", compatible = "renesas,gpio-r8a77990",
"renesas,rcar-gen3-gpio"; "renesas,rcar-gen3-gpio";
...@@ -248,6 +267,43 @@ scif2: serial@e6e88000 { ...@@ -248,6 +267,43 @@ scif2: serial@e6e88000 {
status = "disabled"; status = "disabled";
}; };
ohci0: usb@ee080000 {
compatible = "generic-ohci";
reg = <0 0xee080000 0 0x100>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 703>;
phys = <&usb2_phy0>;
phy-names = "usb";
power-domains = <&sysc 32>;
resets = <&cpg 703>;
status = "disabled";
};
ehci0: usb@ee080100 {
compatible = "generic-ehci";
reg = <0 0xee080100 0 0x100>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 703>;
phys = <&usb2_phy0>;
phy-names = "usb";
companion = <&ohci0>;
power-domains = <&sysc 32>;
resets = <&cpg 703>;
status = "disabled";
};
usb2_phy0: usb-phy@ee080200 {
compatible = "renesas,usb2-phy-r8a77990",
"renesas,rcar-gen3-usb2-phy";
reg = <0 0xee080200 0 0x700>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 703>;
power-domains = <&sysc 32>;
resets = <&cpg 703>;
#phy-cells = <0>;
status = "disabled";
};
gic: interrupt-controller@f1010000 { gic: interrupt-controller@f1010000 {
compatible = "arm,gic-400"; compatible = "arm,gic-400";
#interrupt-cells = <3>; #interrupt-cells = <3>;
...@@ -258,7 +314,7 @@ gic: interrupt-controller@f1010000 { ...@@ -258,7 +314,7 @@ gic: interrupt-controller@f1010000 {
<0x0 0xf1040000 0 0x20000>, <0x0 0xf1040000 0 0x20000>,
<0x0 0xf1060000 0 0x20000>; <0x0 0xf1060000 0 0x20000>;
interrupts = <GIC_PPI 9 interrupts = <GIC_PPI 9
(GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>; (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
clocks = <&cpg CPG_MOD 408>; clocks = <&cpg CPG_MOD 408>;
clock-names = "clk"; clock-names = "clk";
power-domains = <&sysc 32>; power-domains = <&sysc 32>;
...@@ -273,9 +329,9 @@ prr: chipid@fff00044 { ...@@ -273,9 +329,9 @@ prr: chipid@fff00044 {
timer { timer {
compatible = "arm,armv8-timer"; compatible = "arm,armv8-timer";
interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
<&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
<&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
<&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
}; };
}; };
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the Draak board * Device Tree Source for the Draak board
* *
* Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Renesas Electronics Corp.
* Copyright (C) 2017 Glider bvba * Copyright (C) 2017 Glider bvba
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/dts-v1/; /dts-v1/;
...@@ -59,6 +56,27 @@ adv7123_out: endpoint { ...@@ -59,6 +56,27 @@ adv7123_out: endpoint {
}; };
}; };
composite-in {
compatible = "composite-video-connector";
port {
composite_con_in: endpoint {
remote-endpoint = <&adv7180_in>;
};
};
};
hdmi-in {
compatible = "hdmi-connector";
type = "a";
port {
hdmi_con_in: endpoint {
remote-endpoint = <&adv7612_in>;
};
};
};
memory@48000000 { memory@48000000 {
device_type = "memory"; device_type = "memory";
/* first 128MB is reserved for secure area. */ /* first 128MB is reserved for secure area. */
...@@ -82,6 +100,12 @@ reg_3p3v: regulator1 { ...@@ -82,6 +100,12 @@ reg_3p3v: regulator1 {
regulator-boot-on; regulator-boot-on;
regulator-always-on; regulator-always-on;
}; };
x12_clk: x12 {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <74250000>;
};
}; };
&extal_clk { &extal_clk {
...@@ -142,6 +166,11 @@ usb0_pins: usb0 { ...@@ -142,6 +166,11 @@ usb0_pins: usb0 {
groups = "usb0"; groups = "usb0";
function = "usb0"; function = "usb0";
}; };
vin4_pins_cvbs: vin4 {
groups = "vin4_data8", "vin4_sync", "vin4_clk";
function = "vin4";
};
}; };
&i2c0 { &i2c0 {
...@@ -154,6 +183,77 @@ eeprom@50 { ...@@ -154,6 +183,77 @@ eeprom@50 {
reg = <0x50>; reg = <0x50>;
pagesize = <8>; pagesize = <8>;
}; };
composite-in@20 {
compatible = "adi,adv7180cp";
reg = <0x20>;
port {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
adv7180_in: endpoint {
remote-endpoint = <&composite_con_in>;
};
};
port@3 {
reg = <3>;
/*
* The VIN4 video input path is shared between
* CVBS and HDMI inputs through SW[49-53]
* switches.
*
* CVBS is the default selection, link it to
* VIN4 here.
*/
adv7180_out: endpoint {
remote-endpoint = <&vin4_in>;
};
};
};
};
hdmi-decoder@4c {
compatible = "adi,adv7612";
reg = <0x4c>;
default-input = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
adv7612_in: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};
port@2 {
reg = <2>;
/*
* The VIN4 video input path is shared between
* CVBS and HDMI inputs through SW[49-53]
* switches.
*
* CVBS is the default selection, leave HDMI
* not connected here.
*/
adv7612_out: endpoint {
pclk-sample = <0>;
hsync-active = <0>;
vsync-active = <0>;
};
};
};
};
}; };
&i2c1 { &i2c1 {
...@@ -167,6 +267,11 @@ &du { ...@@ -167,6 +267,11 @@ &du {
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
clocks = <&cpg CPG_MOD 724>,
<&cpg CPG_MOD 723>,
<&x12_clk>;
clock-names = "du.0", "du.1", "dclkin.0";
ports { ports {
port@0 { port@0 {
endpoint { endpoint {
...@@ -246,3 +351,23 @@ &rwdt { ...@@ -246,3 +351,23 @@ &rwdt {
timeout-sec = <60>; timeout-sec = <60>;
status = "okay"; status = "okay";
}; };
&vin4 {
pinctrl-0 = <&vin4_pins_cvbs>;
pinctrl-names = "default";
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
vin4_in: endpoint {
remote-endpoint = <&adv7180_out>;
};
};
};
};
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the r8a77995 SoC * Device Tree Source for the r8a77995 SoC
* *
* Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Renesas Electronics Corp.
* Copyright (C) 2017 Glider bvba * Copyright (C) 2017 Glider bvba
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include <dt-bindings/clock/r8a77995-cpg-mssr.h> #include <dt-bindings/clock/r8a77995-cpg-mssr.h>
...@@ -88,8 +85,7 @@ rwdt: watchdog@e6020000 { ...@@ -88,8 +85,7 @@ rwdt: watchdog@e6020000 {
gpio0: gpio@e6050000 { gpio0: gpio@e6050000 {
compatible = "renesas,gpio-r8a77995", compatible = "renesas,gpio-r8a77995",
"renesas,rcar-gen3-gpio", "renesas,rcar-gen3-gpio";
"renesas,gpio-rcar";
reg = <0 0xe6050000 0 0x50>; reg = <0 0xe6050000 0 0x50>;
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -104,8 +100,7 @@ gpio0: gpio@e6050000 { ...@@ -104,8 +100,7 @@ gpio0: gpio@e6050000 {
gpio1: gpio@e6051000 { gpio1: gpio@e6051000 {
compatible = "renesas,gpio-r8a77995", compatible = "renesas,gpio-r8a77995",
"renesas,rcar-gen3-gpio", "renesas,rcar-gen3-gpio";
"renesas,gpio-rcar";
reg = <0 0xe6051000 0 0x50>; reg = <0 0xe6051000 0 0x50>;
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -120,8 +115,7 @@ gpio1: gpio@e6051000 { ...@@ -120,8 +115,7 @@ gpio1: gpio@e6051000 {
gpio2: gpio@e6052000 { gpio2: gpio@e6052000 {
compatible = "renesas,gpio-r8a77995", compatible = "renesas,gpio-r8a77995",
"renesas,rcar-gen3-gpio", "renesas,rcar-gen3-gpio";
"renesas,gpio-rcar";
reg = <0 0xe6052000 0 0x50>; reg = <0 0xe6052000 0 0x50>;
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -136,8 +130,7 @@ gpio2: gpio@e6052000 { ...@@ -136,8 +130,7 @@ gpio2: gpio@e6052000 {
gpio3: gpio@e6053000 { gpio3: gpio@e6053000 {
compatible = "renesas,gpio-r8a77995", compatible = "renesas,gpio-r8a77995",
"renesas,rcar-gen3-gpio", "renesas,rcar-gen3-gpio";
"renesas,gpio-rcar";
reg = <0 0xe6053000 0 0x50>; reg = <0 0xe6053000 0 0x50>;
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -152,8 +145,7 @@ gpio3: gpio@e6053000 { ...@@ -152,8 +145,7 @@ gpio3: gpio@e6053000 {
gpio4: gpio@e6054000 { gpio4: gpio@e6054000 {
compatible = "renesas,gpio-r8a77995", compatible = "renesas,gpio-r8a77995",
"renesas,rcar-gen3-gpio", "renesas,rcar-gen3-gpio";
"renesas,gpio-rcar";
reg = <0 0xe6054000 0 0x50>; reg = <0 0xe6054000 0 0x50>;
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -168,8 +160,7 @@ gpio4: gpio@e6054000 { ...@@ -168,8 +160,7 @@ gpio4: gpio@e6054000 {
gpio5: gpio@e6055000 { gpio5: gpio@e6055000 {
compatible = "renesas,gpio-r8a77995", compatible = "renesas,gpio-r8a77995",
"renesas,rcar-gen3-gpio", "renesas,rcar-gen3-gpio";
"renesas,gpio-rcar";
reg = <0 0xe6055000 0 0x50>; reg = <0 0xe6055000 0 0x50>;
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -184,8 +175,7 @@ gpio5: gpio@e6055000 { ...@@ -184,8 +175,7 @@ gpio5: gpio@e6055000 {
gpio6: gpio@e6055400 { gpio6: gpio@e6055400 {
compatible = "renesas,gpio-r8a77995", compatible = "renesas,gpio-r8a77995",
"renesas,rcar-gen3-gpio", "renesas,rcar-gen3-gpio";
"renesas,gpio-rcar";
reg = <0 0xe6055400 0 0x50>; reg = <0 0xe6055400 0 0x50>;
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
#gpio-cells = <2>; #gpio-cells = <2>;
...@@ -224,6 +214,18 @@ sysc: system-controller@e6180000 { ...@@ -224,6 +214,18 @@ sysc: system-controller@e6180000 {
#power-domain-cells = <1>; #power-domain-cells = <1>;
}; };
thermal: thermal@e6190000 {
compatible = "renesas,thermal-r8a77995";
reg = <0 0xe6190000 0 0x10>, <0 0xe6190100 0 0x38>;
interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 522>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
resets = <&cpg 522>;
#thermal-sensor-cells = <0>;
};
intc_ex: interrupt-controller@e61c0000 { intc_ex: interrupt-controller@e61c0000 {
compatible = "renesas,intc-ex-r8a77995", "renesas,irqc"; compatible = "renesas,intc-ex-r8a77995", "renesas,irqc";
#interrupt-cells = <2>; #interrupt-cells = <2>;
...@@ -408,6 +410,7 @@ ipmmu_ds0: mmu@e6740000 { ...@@ -408,6 +410,7 @@ ipmmu_ds0: mmu@e6740000 {
compatible = "renesas,ipmmu-r8a77995"; compatible = "renesas,ipmmu-r8a77995";
reg = <0 0xe6740000 0 0x1000>; reg = <0 0xe6740000 0 0x1000>;
renesas,ipmmu-main = <&ipmmu_mm 0>; renesas,ipmmu-main = <&ipmmu_mm 0>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
#iommu-cells = <1>; #iommu-cells = <1>;
}; };
...@@ -415,6 +418,7 @@ ipmmu_ds1: mmu@e7740000 { ...@@ -415,6 +418,7 @@ ipmmu_ds1: mmu@e7740000 {
compatible = "renesas,ipmmu-r8a77995"; compatible = "renesas,ipmmu-r8a77995";
reg = <0 0xe7740000 0 0x1000>; reg = <0 0xe7740000 0 0x1000>;
renesas,ipmmu-main = <&ipmmu_mm 1>; renesas,ipmmu-main = <&ipmmu_mm 1>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
#iommu-cells = <1>; #iommu-cells = <1>;
}; };
...@@ -422,6 +426,7 @@ ipmmu_hc: mmu@e6570000 { ...@@ -422,6 +426,7 @@ ipmmu_hc: mmu@e6570000 {
compatible = "renesas,ipmmu-r8a77995"; compatible = "renesas,ipmmu-r8a77995";
reg = <0 0xe6570000 0 0x1000>; reg = <0 0xe6570000 0 0x1000>;
renesas,ipmmu-main = <&ipmmu_mm 2>; renesas,ipmmu-main = <&ipmmu_mm 2>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
#iommu-cells = <1>; #iommu-cells = <1>;
}; };
...@@ -430,6 +435,7 @@ ipmmu_mm: mmu@e67b0000 { ...@@ -430,6 +435,7 @@ ipmmu_mm: mmu@e67b0000 {
reg = <0 0xe67b0000 0 0x1000>; reg = <0 0xe67b0000 0 0x1000>;
interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
#iommu-cells = <1>; #iommu-cells = <1>;
}; };
...@@ -437,6 +443,7 @@ ipmmu_mp: mmu@ec670000 { ...@@ -437,6 +443,7 @@ ipmmu_mp: mmu@ec670000 {
compatible = "renesas,ipmmu-r8a77995"; compatible = "renesas,ipmmu-r8a77995";
reg = <0 0xec670000 0 0x1000>; reg = <0 0xec670000 0 0x1000>;
renesas,ipmmu-main = <&ipmmu_mm 4>; renesas,ipmmu-main = <&ipmmu_mm 4>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
#iommu-cells = <1>; #iommu-cells = <1>;
}; };
...@@ -444,6 +451,7 @@ ipmmu_pv0: mmu@fd800000 { ...@@ -444,6 +451,7 @@ ipmmu_pv0: mmu@fd800000 {
compatible = "renesas,ipmmu-r8a77995"; compatible = "renesas,ipmmu-r8a77995";
reg = <0 0xfd800000 0 0x1000>; reg = <0 0xfd800000 0 0x1000>;
renesas,ipmmu-main = <&ipmmu_mm 6>; renesas,ipmmu-main = <&ipmmu_mm 6>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
#iommu-cells = <1>; #iommu-cells = <1>;
}; };
...@@ -451,6 +459,7 @@ ipmmu_rt: mmu@ffc80000 { ...@@ -451,6 +459,7 @@ ipmmu_rt: mmu@ffc80000 {
compatible = "renesas,ipmmu-r8a77995"; compatible = "renesas,ipmmu-r8a77995";
reg = <0 0xffc80000 0 0x1000>; reg = <0 0xffc80000 0 0x1000>;
renesas,ipmmu-main = <&ipmmu_mm 10>; renesas,ipmmu-main = <&ipmmu_mm 10>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
#iommu-cells = <1>; #iommu-cells = <1>;
}; };
...@@ -458,6 +467,7 @@ ipmmu_vc0: mmu@fe6b0000 { ...@@ -458,6 +467,7 @@ ipmmu_vc0: mmu@fe6b0000 {
compatible = "renesas,ipmmu-r8a77995"; compatible = "renesas,ipmmu-r8a77995";
reg = <0 0xfe6b0000 0 0x1000>; reg = <0 0xfe6b0000 0 0x1000>;
renesas,ipmmu-main = <&ipmmu_mm 12>; renesas,ipmmu-main = <&ipmmu_mm 12>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
#iommu-cells = <1>; #iommu-cells = <1>;
}; };
...@@ -465,6 +475,7 @@ ipmmu_vi0: mmu@febd0000 { ...@@ -465,6 +475,7 @@ ipmmu_vi0: mmu@febd0000 {
compatible = "renesas,ipmmu-r8a77995"; compatible = "renesas,ipmmu-r8a77995";
reg = <0 0xfebd0000 0 0x1000>; reg = <0 0xfebd0000 0 0x1000>;
renesas,ipmmu-main = <&ipmmu_mm 14>; renesas,ipmmu-main = <&ipmmu_mm 14>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
#iommu-cells = <1>; #iommu-cells = <1>;
}; };
...@@ -472,6 +483,7 @@ ipmmu_vp0: mmu@fe990000 { ...@@ -472,6 +483,7 @@ ipmmu_vp0: mmu@fe990000 {
compatible = "renesas,ipmmu-r8a77995"; compatible = "renesas,ipmmu-r8a77995";
reg = <0 0xfe990000 0 0x1000>; reg = <0 0xfe990000 0 0x1000>;
renesas,ipmmu-main = <&ipmmu_mm 16>; renesas,ipmmu-main = <&ipmmu_mm 16>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
#iommu-cells = <1>; #iommu-cells = <1>;
}; };
...@@ -610,6 +622,68 @@ scif2: serial@e6e88000 { ...@@ -610,6 +622,68 @@ scif2: serial@e6e88000 {
status = "disabled"; status = "disabled";
}; };
msiof0: spi@e6e90000 {
compatible = "renesas,msiof-r8a77995",
"renesas,rcar-gen3-msiof";
reg = <0 0xe6e90000 0 0x64>;
interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 211>;
dmas = <&dmac1 0x41>, <&dmac1 0x40>,
<&dmac2 0x41>, <&dmac2 0x40>;
dma-names = "tx", "rx", "tx", "rx";
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
resets = <&cpg 211>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
msiof1: spi@e6ea0000 {
compatible = "renesas,msiof-r8a77995",
"renesas,rcar-gen3-msiof";
reg = <0 0xe6ea0000 0 0x64>;
interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 210>;
dmas = <&dmac1 0x43>, <&dmac1 0x42>,
<&dmac2 0x43>, <&dmac2 0x42>;
dma-names = "tx", "rx", "tx", "rx";
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
resets = <&cpg 210>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
msiof2: spi@e6c00000 {
compatible = "renesas,msiof-r8a77995",
"renesas,rcar-gen3-msiof";
reg = <0 0xe6c00000 0 0x64>;
interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 209>;
dmas = <&dmac0 0x45>, <&dmac0 0x44>;
dma-names = "tx", "rx";
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
resets = <&cpg 209>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
msiof3: spi@e6c10000 {
compatible = "renesas,msiof-r8a77995",
"renesas,rcar-gen3-msiof";
reg = <0 0xe6c10000 0 0x64>;
interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 208>;
dmas = <&dmac0 0x47>, <&dmac0 0x46>;
dma-names = "tx", "rx";
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
resets = <&cpg 208>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
vin4: video@e6ef4000 { vin4: video@e6ef4000 {
compatible = "renesas,vin-r8a77995"; compatible = "renesas,vin-r8a77995";
reg = <0 0xe6ef4000 0 0x1000>; reg = <0 0xe6ef4000 0 0x1000>;
...@@ -699,7 +773,7 @@ vspbs: vsp@fe960000 { ...@@ -699,7 +773,7 @@ vspbs: vsp@fe960000 {
vspd0: vsp@fea20000 { vspd0: vsp@fea20000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea20000 0 0x8000>; reg = <0 0xfea20000 0 0x5000>;
interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 623>; clocks = <&cpg CPG_MOD 623>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
...@@ -709,7 +783,7 @@ vspd0: vsp@fea20000 { ...@@ -709,7 +783,7 @@ vspd0: vsp@fea20000 {
vspd1: vsp@fea28000 { vspd1: vsp@fea28000 {
compatible = "renesas,vsp2"; compatible = "renesas,vsp2";
reg = <0 0xfea28000 0 0x8000>; reg = <0 0xfea28000 0 0x5000>;
interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 622>; clocks = <&cpg CPG_MOD 622>;
power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
...@@ -785,6 +859,25 @@ prr: chipid@fff00044 { ...@@ -785,6 +859,25 @@ prr: chipid@fff00044 {
}; };
}; };
thermal-zones {
cpu_thermal: cpu-thermal {
polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&thermal>;
trips {
cpu-crit {
temperature = <120000>;
hysteresis = <2000>;
type = "critical";
};
};
cooling-maps {
};
};
};
timer { timer {
compatible = "arm,armv8-timer"; compatible = "arm,armv8-timer";
interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for common parts of Salvator-X board variants * Device Tree Source for common parts of Salvator-X board variants
* *
* Copyright (C) 2015-2016 Renesas Electronics Corp. * Copyright (C) 2015-2016 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/* /*
...@@ -341,6 +338,15 @@ &extalr_clk { ...@@ -341,6 +338,15 @@ &extalr_clk {
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
&hscif1 {
pinctrl-0 = <&hscif1_pins>;
pinctrl-names = "default";
uart-has-rtscts;
/* Please only enable hscif1 or scif1 */
/* status = "okay"; */
};
&hsusb { &hsusb {
dr_mode = "otg"; dr_mode = "otg";
status = "okay"; status = "okay";
...@@ -546,6 +552,11 @@ du_pins: du { ...@@ -546,6 +552,11 @@ du_pins: du {
function = "du"; function = "du";
}; };
hscif1_pins: hscif1 {
groups = "hscif1_data_a", "hscif1_ctrl_a";
function = "hscif1";
};
i2c2_pins: i2c2 { i2c2_pins: i2c2 {
groups = "i2c2_a"; groups = "i2c2_a";
function = "i2c2"; function = "i2c2";
...@@ -589,13 +600,13 @@ sdhi0_pins_uhs: sd0_uhs { ...@@ -589,13 +600,13 @@ sdhi0_pins_uhs: sd0_uhs {
}; };
sdhi2_pins: sd2 { sdhi2_pins: sd2 {
groups = "sdhi2_data8", "sdhi2_ctrl"; groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds";
function = "sdhi2"; function = "sdhi2";
power-source = <3300>; power-source = <3300>;
}; };
sdhi2_pins_uhs: sd2_uhs { sdhi2_pins_uhs: sd2_uhs {
groups = "sdhi2_data8", "sdhi2_ctrl"; groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds";
function = "sdhi2"; function = "sdhi2";
power-source = <1800>; power-source = <1800>;
}; };
...@@ -711,6 +722,7 @@ &scif1 { ...@@ -711,6 +722,7 @@ &scif1 {
pinctrl-names = "default"; pinctrl-names = "default";
uart-has-rtscts; uart-has-rtscts;
/* Please only enable hscif1 or scif1 */
status = "okay"; status = "okay";
}; };
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the Salvator-X board * Device Tree Source for the Salvator-X board
* *
* Copyright (C) 2015-2016 Renesas Electronics Corp. * Copyright (C) 2015-2016 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include "salvator-common.dtsi" #include "salvator-common.dtsi"
...@@ -20,6 +17,8 @@ &extal_clk { ...@@ -20,6 +17,8 @@ &extal_clk {
}; };
&i2c4 { &i2c4 {
clock-frequency = <400000>;
versaclock5: clock-generator@6a { versaclock5: clock-generator@6a {
compatible = "idt,5p49v5923"; compatible = "idt,5p49v5923";
reg = <0x6a>; reg = <0x6a>;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the Salvator-X 2nd version board * Device Tree Source for the Salvator-X 2nd version board
* *
* Copyright (C) 2015-2017 Renesas Electronics Corp. * Copyright (C) 2015-2017 Renesas Electronics Corp.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include "salvator-common.dtsi" #include "salvator-common.dtsi"
...@@ -20,6 +17,8 @@ &extal_clk { ...@@ -20,6 +17,8 @@ &extal_clk {
}; };
&i2c4 { &i2c4 {
clock-frequency = <400000>;
versaclock6: clock-generator@6a { versaclock6: clock-generator@6a {
compatible = "idt,5p49v6901"; compatible = "idt,5p49v6901";
reg = <0x6a>; reg = <0x6a>;
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the Kingfisher (ULCB extension) board * Device Tree Source for the Kingfisher (ULCB extension) board
* *
* Copyright (C) 2017 Renesas Electronics Corp. * Copyright (C) 2017 Renesas Electronics Corp.
* Copyright (C) 2017 Cogent Embedded, Inc. * Copyright (C) 2017 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
/ { / {
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Device Tree Source for the R-Car Gen3 ULCB board * Device Tree Source for the R-Car Gen3 ULCB board
* *
* Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Renesas Electronics Corp.
* Copyright (C) 2016 Cogent Embedded, Inc. * Copyright (C) 2016 Cogent Embedded, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/ */
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
...@@ -330,13 +327,13 @@ sdhi0_pins_uhs: sd0_uhs { ...@@ -330,13 +327,13 @@ sdhi0_pins_uhs: sd0_uhs {
}; };
sdhi2_pins: sd2 { sdhi2_pins: sd2 {
groups = "sdhi2_data8", "sdhi2_ctrl"; groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds";
function = "sdhi2"; function = "sdhi2";
power-source = <3300>; power-source = <3300>;
}; };
sdhi2_pins_uhs: sd2_uhs { sdhi2_pins_uhs: sd2_uhs {
groups = "sdhi2_data8", "sdhi2_ctrl"; groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds";
function = "sdhi2"; function = "sdhi2";
power-source = <1800>; power-source = <1800>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment