2013-09-19 03:11:11 +07:00
|
|
|
/*
|
|
|
|
* Device Tree Source for the r7s72100 SoC
|
|
|
|
*
|
2014-05-14 08:10:06 +07:00
|
|
|
* Copyright (C) 2013-14 Renesas Solutions Corp.
|
|
|
|
* Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
|
2013-09-19 03:11:11 +07:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2014-05-14 08:10:06 +07:00
|
|
|
#include <dt-bindings/clock/r7s72100-clock.h>
|
2016-01-28 08:29:35 +07:00
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
2014-02-04 22:23:59 +07:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
|
2013-09-19 03:11:11 +07:00
|
|
|
/ {
|
|
|
|
compatible = "renesas,r7s72100";
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
2014-02-04 22:23:59 +07:00
|
|
|
aliases {
|
2014-02-18 04:19:17 +07:00
|
|
|
i2c0 = &i2c0;
|
|
|
|
i2c1 = &i2c1;
|
|
|
|
i2c2 = &i2c2;
|
|
|
|
i2c3 = &i2c3;
|
2014-02-04 22:23:59 +07:00
|
|
|
spi0 = &spi0;
|
|
|
|
spi1 = &spi1;
|
|
|
|
spi2 = &spi2;
|
|
|
|
spi3 = &spi3;
|
|
|
|
spi4 = &spi4;
|
|
|
|
};
|
|
|
|
|
2014-05-14 08:10:06 +07:00
|
|
|
clocks {
|
|
|
|
ranges;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
/* External clocks */
|
2016-03-18 06:10:44 +07:00
|
|
|
extal_clk: extal {
|
2014-05-14 08:10:06 +07:00
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
/* If clk present, value must be set by board */
|
|
|
|
clock-frequency = <0>;
|
|
|
|
};
|
|
|
|
|
2016-03-18 06:10:44 +07:00
|
|
|
usb_x1_clk: usb_x1 {
|
2014-05-14 08:10:06 +07:00
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
/* If clk present, value must be set by board */
|
|
|
|
clock-frequency = <0>;
|
|
|
|
};
|
|
|
|
|
2017-03-30 00:30:32 +07:00
|
|
|
rtc_x1_clk: rtc_x1 {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
/* If clk present, value must be set by board to 32678 */
|
|
|
|
clock-frequency = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
rtc_x3_clk: rtc_x3 {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
/* If clk present, value must be set by board to 4000000 */
|
|
|
|
clock-frequency = <0>;
|
|
|
|
};
|
|
|
|
|
2014-05-14 08:10:06 +07:00
|
|
|
/* Fixed factor clocks */
|
2016-03-18 06:10:44 +07:00
|
|
|
b_clk: b {
|
2014-05-14 08:10:06 +07:00
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-factor-clock";
|
|
|
|
clocks = <&cpg_clocks R7S72100_CLK_PLL>;
|
|
|
|
clock-mult = <1>;
|
|
|
|
clock-div = <3>;
|
|
|
|
};
|
2016-03-18 06:10:44 +07:00
|
|
|
p1_clk: p1 {
|
2014-05-14 08:10:06 +07:00
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-factor-clock";
|
|
|
|
clocks = <&cpg_clocks R7S72100_CLK_PLL>;
|
|
|
|
clock-mult = <1>;
|
|
|
|
clock-div = <6>;
|
|
|
|
};
|
2016-03-18 06:10:44 +07:00
|
|
|
p0_clk: p0 {
|
2014-05-14 08:10:06 +07:00
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-factor-clock";
|
|
|
|
clocks = <&cpg_clocks R7S72100_CLK_PLL>;
|
|
|
|
clock-mult = <1>;
|
|
|
|
clock-div = <12>;
|
|
|
|
};
|
|
|
|
|
2014-09-25 08:32:12 +07:00
|
|
|
/* Special CPG clocks */
|
|
|
|
cpg_clocks: cpg_clocks@fcfe0000 {
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "renesas,r7s72100-cpg-clocks",
|
|
|
|
"renesas,rz-cpg-clocks";
|
|
|
|
reg = <0xfcfe0000 0x18>;
|
|
|
|
clocks = <&extal_clk>, <&usb_x1_clk>;
|
|
|
|
clock-output-names = "pll", "i", "g";
|
2015-08-04 19:28:07 +07:00
|
|
|
#power-domain-cells = <0>;
|
2014-09-25 08:32:12 +07:00
|
|
|
};
|
|
|
|
|
2014-05-14 08:10:06 +07:00
|
|
|
/* MSTP clocks */
|
|
|
|
mstp3_clks: mstp3_clks@fcfe0420 {
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
|
|
|
|
reg = <0xfcfe0420 4>;
|
|
|
|
clocks = <&p0_clk>;
|
|
|
|
clock-indices = <R7S72100_CLK_MTU2>;
|
|
|
|
clock-output-names = "mtu2";
|
|
|
|
};
|
|
|
|
|
|
|
|
mstp4_clks: mstp4_clks@fcfe0424 {
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
|
|
|
|
reg = <0xfcfe0424 4>;
|
|
|
|
clocks = <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>,
|
|
|
|
<&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>;
|
|
|
|
clock-indices = <
|
|
|
|
R7S72100_CLK_SCIF0 R7S72100_CLK_SCIF1 R7S72100_CLK_SCIF2 R7S72100_CLK_SCIF3
|
|
|
|
R7S72100_CLK_SCIF4 R7S72100_CLK_SCIF5 R7S72100_CLK_SCIF6 R7S72100_CLK_SCIF7
|
|
|
|
>;
|
|
|
|
clock-output-names = "scif0", "scif1", "scif2", "scif3", "scif4", "scif5", "scif6", "scif7";
|
|
|
|
};
|
2014-05-14 08:10:11 +07:00
|
|
|
|
2017-01-23 20:55:18 +07:00
|
|
|
mstp5_clks: mstp5_clks@fcfe0428 {
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
|
|
|
|
reg = <0xfcfe0428 4>;
|
|
|
|
clocks = <&p0_clk>, <&p0_clk>;
|
|
|
|
clock-indices = <R7S72100_CLK_OSTM0 R7S72100_CLK_OSTM1>;
|
|
|
|
clock-output-names = "ostm0", "ostm1";
|
|
|
|
};
|
|
|
|
|
2017-03-30 00:30:31 +07:00
|
|
|
mstp6_clks: mstp6_clks@fcfe042c {
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
|
|
|
|
reg = <0xfcfe042c 4>;
|
|
|
|
clocks = <&p0_clk>;
|
|
|
|
clock-indices = <R7S72100_CLK_RTC>;
|
|
|
|
clock-output-names = "rtc";
|
|
|
|
};
|
|
|
|
|
2016-09-02 08:40:10 +07:00
|
|
|
mstp7_clks: mstp7_clks@fcfe0430 {
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
|
|
|
|
reg = <0xfcfe0430 4>;
|
2017-03-31 04:16:09 +07:00
|
|
|
clocks = <&b_clk>;
|
2016-09-02 08:40:10 +07:00
|
|
|
clock-indices = <R7S72100_CLK_ETHER>;
|
|
|
|
clock-output-names = "ether";
|
|
|
|
};
|
|
|
|
|
2016-09-16 02:34:02 +07:00
|
|
|
mstp8_clks: mstp8_clks@fcfe0434 {
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
|
|
|
|
reg = <0xfcfe0434 4>;
|
|
|
|
clocks = <&p1_clk>;
|
|
|
|
clock-indices = <R7S72100_CLK_MMCIF>;
|
|
|
|
clock-output-names = "mmcif";
|
|
|
|
};
|
|
|
|
|
2014-05-14 08:10:11 +07:00
|
|
|
mstp9_clks: mstp9_clks@fcfe0438 {
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
|
|
|
|
reg = <0xfcfe0438 4>;
|
|
|
|
clocks = <&p0_clk>, <&p0_clk>, <&p0_clk>, <&p0_clk>;
|
|
|
|
clock-indices = <
|
|
|
|
R7S72100_CLK_I2C0 R7S72100_CLK_I2C1 R7S72100_CLK_I2C2 R7S72100_CLK_I2C3
|
|
|
|
>;
|
|
|
|
clock-output-names = "i2c0", "i2c1", "i2c2", "i2c3";
|
|
|
|
};
|
2014-05-14 08:10:13 +07:00
|
|
|
|
|
|
|
mstp10_clks: mstp10_clks@fcfe043c {
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
|
|
|
|
reg = <0xfcfe043c 4>;
|
|
|
|
clocks = <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>,
|
|
|
|
<&p1_clk>;
|
|
|
|
clock-indices = <
|
|
|
|
R7S72100_CLK_SPI0 R7S72100_CLK_SPI1 R7S72100_CLK_SPI2 R7S72100_CLK_SPI3
|
|
|
|
R7S72100_CLK_SPI4
|
|
|
|
>;
|
|
|
|
clock-output-names = "spi0", "spi1", "spi2", "spi3", "spi4";
|
|
|
|
};
|
2016-09-23 04:32:09 +07:00
|
|
|
mstp12_clks: mstp12_clks@fcfe0444 {
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
|
|
|
|
reg = <0xfcfe0444 4>;
|
2017-01-26 03:28:10 +07:00
|
|
|
clocks = <&p1_clk>, <&p1_clk>, <&p1_clk>, <&p1_clk>;
|
|
|
|
clock-indices = <
|
|
|
|
R7S72100_CLK_SDHI00 R7S72100_CLK_SDHI01
|
|
|
|
R7S72100_CLK_SDHI10 R7S72100_CLK_SDHI11
|
|
|
|
>;
|
|
|
|
clock-output-names = "sdhi00", "sdhi01", "sdhi10", "sdhi11";
|
2016-09-23 04:32:09 +07:00
|
|
|
};
|
2014-05-14 08:10:06 +07:00
|
|
|
};
|
|
|
|
|
2013-09-19 03:11:11 +07:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-a9";
|
|
|
|
reg = <0>;
|
2014-06-06 12:28:49 +07:00
|
|
|
clock-frequency = <400000000>;
|
2017-02-17 00:55:55 +07:00
|
|
|
next-level-cache = <&L2>;
|
2013-09-19 03:11:11 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-05-14 08:10:08 +07:00
|
|
|
scif0: serial@e8007000 {
|
|
|
|
compatible = "renesas,scif-r7s72100", "renesas,scif";
|
|
|
|
reg = <0xe8007000 64>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
|
2014-05-14 08:10:08 +07:00
|
|
|
clocks = <&mstp4_clks R7S72100_CLK_SCIF0>;
|
2016-01-29 16:47:32 +07:00
|
|
|
clock-names = "fck";
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-05-14 08:10:08 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
scif1: serial@e8007800 {
|
|
|
|
compatible = "renesas,scif-r7s72100", "renesas,scif";
|
|
|
|
reg = <0xe8007800 64>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
|
2014-05-14 08:10:08 +07:00
|
|
|
clocks = <&mstp4_clks R7S72100_CLK_SCIF1>;
|
2016-01-29 16:47:32 +07:00
|
|
|
clock-names = "fck";
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-05-14 08:10:08 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
scif2: serial@e8008000 {
|
|
|
|
compatible = "renesas,scif-r7s72100", "renesas,scif";
|
|
|
|
reg = <0xe8008000 64>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
|
2014-05-14 08:10:08 +07:00
|
|
|
clocks = <&mstp4_clks R7S72100_CLK_SCIF2>;
|
2016-01-29 16:47:32 +07:00
|
|
|
clock-names = "fck";
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-05-14 08:10:08 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
scif3: serial@e8008800 {
|
|
|
|
compatible = "renesas,scif-r7s72100", "renesas,scif";
|
|
|
|
reg = <0xe8008800 64>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
|
2014-05-14 08:10:08 +07:00
|
|
|
clocks = <&mstp4_clks R7S72100_CLK_SCIF3>;
|
2016-01-29 16:47:32 +07:00
|
|
|
clock-names = "fck";
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-05-14 08:10:08 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
scif4: serial@e8009000 {
|
|
|
|
compatible = "renesas,scif-r7s72100", "renesas,scif";
|
|
|
|
reg = <0xe8009000 64>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
|
2014-05-14 08:10:08 +07:00
|
|
|
clocks = <&mstp4_clks R7S72100_CLK_SCIF4>;
|
2016-01-29 16:47:32 +07:00
|
|
|
clock-names = "fck";
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-05-14 08:10:08 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
scif5: serial@e8009800 {
|
|
|
|
compatible = "renesas,scif-r7s72100", "renesas,scif";
|
|
|
|
reg = <0xe8009800 64>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
|
2014-05-14 08:10:08 +07:00
|
|
|
clocks = <&mstp4_clks R7S72100_CLK_SCIF5>;
|
2016-01-29 16:47:32 +07:00
|
|
|
clock-names = "fck";
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-05-14 08:10:08 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
scif6: serial@e800a000 {
|
|
|
|
compatible = "renesas,scif-r7s72100", "renesas,scif";
|
|
|
|
reg = <0xe800a000 64>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
|
2014-05-14 08:10:08 +07:00
|
|
|
clocks = <&mstp4_clks R7S72100_CLK_SCIF6>;
|
2016-01-29 16:47:32 +07:00
|
|
|
clock-names = "fck";
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-05-14 08:10:08 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
scif7: serial@e800a800 {
|
|
|
|
compatible = "renesas,scif-r7s72100", "renesas,scif";
|
|
|
|
reg = <0xe800a800 64>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
|
2014-05-14 08:10:08 +07:00
|
|
|
clocks = <&mstp4_clks R7S72100_CLK_SCIF7>;
|
2016-01-29 16:47:32 +07:00
|
|
|
clock-names = "fck";
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-05-14 08:10:08 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2014-02-04 22:23:59 +07:00
|
|
|
spi0: spi@e800c800 {
|
|
|
|
compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
|
|
|
|
reg = <0xe800c800 0x24>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>;
|
2014-02-04 22:23:59 +07:00
|
|
|
interrupt-names = "error", "rx", "tx";
|
2014-05-14 08:10:13 +07:00
|
|
|
clocks = <&mstp10_clks R7S72100_CLK_SPI0>;
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-02-04 22:23:59 +07:00
|
|
|
num-cs = <1>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
spi1: spi@e800d000 {
|
|
|
|
compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
|
|
|
|
reg = <0xe800d000 0x24>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
|
2014-02-04 22:23:59 +07:00
|
|
|
interrupt-names = "error", "rx", "tx";
|
2014-05-14 08:10:13 +07:00
|
|
|
clocks = <&mstp10_clks R7S72100_CLK_SPI1>;
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-02-04 22:23:59 +07:00
|
|
|
num-cs = <1>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
spi2: spi@e800d800 {
|
|
|
|
compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
|
|
|
|
reg = <0xe800d800 0x24>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
|
2014-02-04 22:23:59 +07:00
|
|
|
interrupt-names = "error", "rx", "tx";
|
2014-05-14 08:10:13 +07:00
|
|
|
clocks = <&mstp10_clks R7S72100_CLK_SPI2>;
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-02-04 22:23:59 +07:00
|
|
|
num-cs = <1>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
spi3: spi@e800e000 {
|
|
|
|
compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
|
|
|
|
reg = <0xe800e000 0x24>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>;
|
2014-02-04 22:23:59 +07:00
|
|
|
interrupt-names = "error", "rx", "tx";
|
2014-05-14 08:10:13 +07:00
|
|
|
clocks = <&mstp10_clks R7S72100_CLK_SPI3>;
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-02-04 22:23:59 +07:00
|
|
|
num-cs = <1>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
spi4: spi@e800e800 {
|
|
|
|
compatible = "renesas,rspi-r7s72100", "renesas,rspi-rz";
|
|
|
|
reg = <0xe800e800 0x24>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>;
|
2014-02-04 22:23:59 +07:00
|
|
|
interrupt-names = "error", "rx", "tx";
|
2014-05-14 08:10:13 +07:00
|
|
|
clocks = <&mstp10_clks R7S72100_CLK_SPI4>;
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-02-04 22:23:59 +07:00
|
|
|
num-cs = <1>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2014-09-25 08:32:12 +07:00
|
|
|
|
|
|
|
gic: interrupt-controller@e8201000 {
|
2015-11-20 19:36:52 +07:00
|
|
|
compatible = "arm,pl390";
|
2014-09-25 08:32:12 +07:00
|
|
|
#interrupt-cells = <3>;
|
|
|
|
#address-cells = <0>;
|
|
|
|
interrupt-controller;
|
|
|
|
reg = <0xe8201000 0x1000>,
|
|
|
|
<0xe8202000 0x1000>;
|
|
|
|
};
|
|
|
|
|
2017-02-17 00:55:55 +07:00
|
|
|
L2: cache-controller@3ffff000 {
|
|
|
|
compatible = "arm,pl310-cache";
|
|
|
|
reg = <0x3ffff000 0x1000>;
|
|
|
|
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
arm,early-bresp-disable;
|
|
|
|
arm,full-line-zero-disable;
|
|
|
|
cache-unified;
|
|
|
|
cache-level = <2>;
|
|
|
|
};
|
|
|
|
|
2017-03-05 05:37:37 +07:00
|
|
|
wdt: watchdog@fcfe0000 {
|
|
|
|
compatible = "renesas,r7s72100-wdt", "renesas,rza-wdt";
|
|
|
|
reg = <0xfcfe0000 0x6>;
|
|
|
|
interrupts = <GIC_SPI 106 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
clocks = <&p0_clk>;
|
|
|
|
};
|
|
|
|
|
2014-09-25 08:32:12 +07:00
|
|
|
i2c0: i2c@fcfee000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
|
|
|
|
reg = <0xfcfee000 0x44>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 158 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 159 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
|
2014-09-25 08:32:12 +07:00
|
|
|
clocks = <&mstp9_clks R7S72100_CLK_I2C0>;
|
|
|
|
clock-frequency = <100000>;
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-09-25 08:32:12 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c1: i2c@fcfee400 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
|
|
|
|
reg = <0xfcfee400 0x44>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 166 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 167 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
|
2014-09-25 08:32:12 +07:00
|
|
|
clocks = <&mstp9_clks R7S72100_CLK_I2C1>;
|
|
|
|
clock-frequency = <100000>;
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-09-25 08:32:12 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c2: i2c@fcfee800 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
|
|
|
|
reg = <0xfcfee800 0x44>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 174 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 175 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
|
2014-09-25 08:32:12 +07:00
|
|
|
clocks = <&mstp9_clks R7S72100_CLK_I2C2>;
|
|
|
|
clock-frequency = <100000>;
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-09-25 08:32:12 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c3: i2c@fcfeec00 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
|
|
|
|
reg = <0xfcfeec00 0x44>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 182 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 183 IRQ_TYPE_EDGE_RISING>,
|
|
|
|
<GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
|
2014-09-25 08:32:12 +07:00
|
|
|
clocks = <&mstp9_clks R7S72100_CLK_I2C3>;
|
|
|
|
clock-frequency = <100000>;
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-09-25 08:32:12 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
mtu2: timer@fcff0000 {
|
|
|
|
compatible = "renesas,mtu2-r7s72100", "renesas,mtu2";
|
|
|
|
reg = <0xfcff0000 0x400>;
|
2016-01-28 08:29:35 +07:00
|
|
|
interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
|
2014-09-25 08:32:12 +07:00
|
|
|
interrupt-names = "tgi0a";
|
|
|
|
clocks = <&mstp3_clks R7S72100_CLK_MTU2>;
|
|
|
|
clock-names = "fck";
|
2015-08-04 19:28:07 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2014-09-25 08:32:12 +07:00
|
|
|
status = "disabled";
|
|
|
|
};
|
2016-09-02 08:40:11 +07:00
|
|
|
|
|
|
|
ether: ethernet@e8203000 {
|
|
|
|
compatible = "renesas,ether-r7s72100";
|
|
|
|
reg = <0xe8203000 0x800>,
|
|
|
|
<0xe8204800 0x200>;
|
|
|
|
interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&mstp7_clks R7S72100_CLK_ETHER>;
|
|
|
|
power-domains = <&cpg_clocks>;
|
|
|
|
phy-mode = "mii";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2016-09-20 22:46:18 +07:00
|
|
|
|
|
|
|
mmcif: mmc@e804c800 {
|
|
|
|
compatible = "renesas,mmcif-r7s72100", "renesas,sh-mmcif";
|
|
|
|
reg = <0xe804c800 0x80>;
|
|
|
|
interrupts = <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH
|
|
|
|
GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH
|
|
|
|
GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
clocks = <&mstp8_clks R7S72100_CLK_MMCIF>;
|
2017-01-23 21:13:49 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2016-09-20 22:46:18 +07:00
|
|
|
reg-io-width = <4>;
|
|
|
|
bus-width = <8>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2016-09-27 03:40:31 +07:00
|
|
|
|
|
|
|
sdhi0: sd@e804e000 {
|
|
|
|
compatible = "renesas,sdhi-r7s72100";
|
|
|
|
reg = <0xe804e000 0x100>;
|
|
|
|
interrupts = <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH
|
|
|
|
GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH
|
|
|
|
GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
|
2017-01-26 03:28:10 +07:00
|
|
|
clocks = <&mstp12_clks R7S72100_CLK_SDHI00>,
|
|
|
|
<&mstp12_clks R7S72100_CLK_SDHI01>;
|
|
|
|
clock-names = "core", "cd";
|
2017-02-09 20:38:03 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2016-09-27 03:40:31 +07:00
|
|
|
cap-sd-highspeed;
|
|
|
|
cap-sdio-irq;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
sdhi1: sd@e804e800 {
|
|
|
|
compatible = "renesas,sdhi-r7s72100";
|
|
|
|
reg = <0xe804e800 0x100>;
|
|
|
|
interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH
|
|
|
|
GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH
|
|
|
|
GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
|
2017-01-26 03:28:10 +07:00
|
|
|
clocks = <&mstp12_clks R7S72100_CLK_SDHI10>,
|
|
|
|
<&mstp12_clks R7S72100_CLK_SDHI11>;
|
|
|
|
clock-names = "core", "cd";
|
2017-02-09 20:38:03 +07:00
|
|
|
power-domains = <&cpg_clocks>;
|
2016-09-27 03:40:31 +07:00
|
|
|
cap-sd-highspeed;
|
|
|
|
cap-sdio-irq;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2017-01-23 20:55:19 +07:00
|
|
|
|
|
|
|
ostm0: timer@fcfec000 {
|
|
|
|
compatible = "renesas,r7s72100-ostm", "renesas,ostm";
|
|
|
|
reg = <0xfcfec000 0x30>;
|
|
|
|
interrupts = <GIC_SPI 102 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
clocks = <&mstp5_clks R7S72100_CLK_OSTM0>;
|
|
|
|
power-domains = <&cpg_clocks>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
ostm1: timer@fcfec400 {
|
|
|
|
compatible = "renesas,r7s72100-ostm", "renesas,ostm";
|
|
|
|
reg = <0xfcfec400 0x30>;
|
|
|
|
interrupts = <GIC_SPI 103 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
clocks = <&mstp5_clks R7S72100_CLK_OSTM1>;
|
|
|
|
power-domains = <&cpg_clocks>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2017-03-30 00:30:33 +07:00
|
|
|
|
|
|
|
rtc: rtc@fcff1000 {
|
|
|
|
compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc";
|
|
|
|
reg = <0xfcff1000 0x2e>;
|
|
|
|
interrupts = <GIC_SPI 276 IRQ_TYPE_EDGE_RISING
|
|
|
|
GIC_SPI 277 IRQ_TYPE_EDGE_RISING
|
|
|
|
GIC_SPI 278 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
interrupt-names = "alarm", "period", "carry";
|
|
|
|
clocks = <&mstp6_clks R7S72100_CLK_RTC>, <&rtc_x1_clk>,
|
|
|
|
<&rtc_x3_clk>, <&extal_clk>;
|
|
|
|
clock-names = "fck", "rtc_x1", "rtc_x3", "extal";
|
|
|
|
power-domains = <&cpg_clocks>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2013-09-19 03:11:11 +07:00
|
|
|
};
|