2012-05-16 14:45:54 +08:00
|
|
|
/*
|
|
|
|
* Device Tree Source for the EMEV2 SoC
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Renesas Solutions 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.
|
|
|
|
*/
|
|
|
|
|
2013-11-14 07:03:45 +08:00
|
|
|
#include "skeleton.dtsi"
|
2013-11-29 00:37:50 +08:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
2012-05-16 14:45:54 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "renesas,emev2";
|
|
|
|
interrupt-parent = <&gic>;
|
|
|
|
|
2013-07-02 17:27:57 +08:00
|
|
|
aliases {
|
|
|
|
gpio0 = &gpio0;
|
|
|
|
gpio1 = &gpio1;
|
|
|
|
gpio2 = &gpio2;
|
|
|
|
gpio3 = &gpio3;
|
|
|
|
gpio4 = &gpio4;
|
2015-07-11 15:46:25 +08:00
|
|
|
i2c0 = &iic0;
|
|
|
|
i2c1 = &iic1;
|
2013-07-02 17:27:57 +08:00
|
|
|
};
|
|
|
|
|
2012-05-16 14:45:54 +08:00
|
|
|
cpus {
|
2013-01-28 08:41:40 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2012-05-16 14:45:54 +08:00
|
|
|
cpu@0 {
|
2013-01-28 08:41:40 +08:00
|
|
|
device_type = "cpu";
|
2012-05-16 14:45:54 +08:00
|
|
|
compatible = "arm,cortex-a9";
|
2013-01-28 08:41:40 +08:00
|
|
|
reg = <0>;
|
2014-06-05 13:31:56 +08:00
|
|
|
clock-frequency = <533000000>;
|
2012-05-16 14:45:54 +08:00
|
|
|
};
|
|
|
|
cpu@1 {
|
2013-01-28 08:41:40 +08:00
|
|
|
device_type = "cpu";
|
2012-05-16 14:45:54 +08:00
|
|
|
compatible = "arm,cortex-a9";
|
2013-01-28 08:41:40 +08:00
|
|
|
reg = <1>;
|
2014-06-05 13:31:56 +08:00
|
|
|
clock-frequency = <533000000>;
|
2012-05-16 14:45:54 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gic: interrupt-controller@e0020000 {
|
2015-11-20 20:36:54 +08:00
|
|
|
compatible = "arm,pl390";
|
2012-05-16 14:45:54 +08:00
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <3>;
|
|
|
|
reg = <0xe0028000 0x1000>,
|
|
|
|
<0xe0020000 0x0100>;
|
|
|
|
};
|
|
|
|
|
2013-07-24 11:42:40 +08:00
|
|
|
pmu {
|
|
|
|
compatible = "arm,cortex-a9-pmu";
|
2013-11-29 00:37:50 +08:00
|
|
|
interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<0 121 IRQ_TYPE_LEVEL_HIGH>;
|
2013-07-24 11:42:40 +08:00
|
|
|
};
|
|
|
|
|
2014-10-03 23:11:32 +08:00
|
|
|
clocks@e0110000 {
|
2013-10-08 13:33:07 +08:00
|
|
|
compatible = "renesas,emev2-smu";
|
|
|
|
reg = <0xe0110000 0x10000>;
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
c32ki: c32ki {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
2015-07-11 15:46:25 +08:00
|
|
|
iic0_sclkdiv: iic0_sclkdiv {
|
|
|
|
compatible = "renesas,emev2-smu-clkdiv";
|
|
|
|
reg = <0x624 0>;
|
|
|
|
clocks = <&pll3_fo>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
iic0_sclk: iic0_sclk {
|
|
|
|
compatible = "renesas,emev2-smu-gclk";
|
|
|
|
reg = <0x48c 1>;
|
|
|
|
clocks = <&iic0_sclkdiv>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
iic1_sclkdiv: iic1_sclkdiv {
|
|
|
|
compatible = "renesas,emev2-smu-clkdiv";
|
|
|
|
reg = <0x624 16>;
|
|
|
|
clocks = <&pll3_fo>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
iic1_sclk: iic1_sclk {
|
|
|
|
compatible = "renesas,emev2-smu-gclk";
|
|
|
|
reg = <0x490 1>;
|
|
|
|
clocks = <&iic1_sclkdiv>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
2013-10-08 13:33:07 +08:00
|
|
|
pll3_fo: pll3_fo {
|
|
|
|
compatible = "fixed-factor-clock";
|
|
|
|
clocks = <&c32ki>;
|
|
|
|
clock-div = <1>;
|
|
|
|
clock-mult = <7000>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
usia_u0_sclkdiv: usia_u0_sclkdiv {
|
|
|
|
compatible = "renesas,emev2-smu-clkdiv";
|
|
|
|
reg = <0x610 0>;
|
|
|
|
clocks = <&pll3_fo>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
usib_u1_sclkdiv: usib_u1_sclkdiv {
|
|
|
|
compatible = "renesas,emev2-smu-clkdiv";
|
|
|
|
reg = <0x65c 0>;
|
|
|
|
clocks = <&pll3_fo>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
usib_u2_sclkdiv: usib_u2_sclkdiv {
|
|
|
|
compatible = "renesas,emev2-smu-clkdiv";
|
|
|
|
reg = <0x65c 16>;
|
|
|
|
clocks = <&pll3_fo>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
usib_u3_sclkdiv: usib_u3_sclkdiv {
|
|
|
|
compatible = "renesas,emev2-smu-clkdiv";
|
|
|
|
reg = <0x660 0>;
|
|
|
|
clocks = <&pll3_fo>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
usia_u0_sclk: usia_u0_sclk {
|
|
|
|
compatible = "renesas,emev2-smu-gclk";
|
|
|
|
reg = <0x4a0 1>;
|
|
|
|
clocks = <&usia_u0_sclkdiv>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
usib_u1_sclk: usib_u1_sclk {
|
|
|
|
compatible = "renesas,emev2-smu-gclk";
|
|
|
|
reg = <0x4b8 1>;
|
|
|
|
clocks = <&usib_u1_sclkdiv>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
usib_u2_sclk: usib_u2_sclk {
|
|
|
|
compatible = "renesas,emev2-smu-gclk";
|
|
|
|
reg = <0x4bc 1>;
|
|
|
|
clocks = <&usib_u2_sclkdiv>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
usib_u3_sclk: usib_u3_sclk {
|
|
|
|
compatible = "renesas,emev2-smu-gclk";
|
|
|
|
reg = <0x4c0 1>;
|
|
|
|
clocks = <&usib_u3_sclkdiv>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
sti_sclk: sti_sclk {
|
|
|
|
compatible = "renesas,emev2-smu-gclk";
|
|
|
|
reg = <0x528 1>;
|
|
|
|
clocks = <&c32ki>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-10-03 23:11:32 +08:00
|
|
|
timer@e0180000 {
|
2012-05-16 14:45:54 +08:00
|
|
|
compatible = "renesas,em-sti";
|
|
|
|
reg = <0xe0180000 0x54>;
|
2013-11-29 00:37:51 +08:00
|
|
|
interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 13:33:07 +08:00
|
|
|
clocks = <&sti_sclk>;
|
|
|
|
clock-names = "sclk";
|
2012-05-16 14:45:54 +08:00
|
|
|
};
|
|
|
|
|
2014-10-03 23:11:33 +08:00
|
|
|
uart0: serial@e1020000 {
|
2012-05-16 14:45:54 +08:00
|
|
|
compatible = "renesas,em-uart";
|
|
|
|
reg = <0xe1020000 0x38>;
|
2013-11-29 00:37:51 +08:00
|
|
|
interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 13:33:07 +08:00
|
|
|
clocks = <&usia_u0_sclk>;
|
|
|
|
clock-names = "sclk";
|
2012-05-16 14:45:54 +08:00
|
|
|
};
|
|
|
|
|
2014-10-03 23:11:33 +08:00
|
|
|
uart1: serial@e1030000 {
|
2012-05-16 14:45:54 +08:00
|
|
|
compatible = "renesas,em-uart";
|
|
|
|
reg = <0xe1030000 0x38>;
|
2013-11-29 00:37:51 +08:00
|
|
|
interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 13:33:07 +08:00
|
|
|
clocks = <&usib_u1_sclk>;
|
|
|
|
clock-names = "sclk";
|
2012-05-16 14:45:54 +08:00
|
|
|
};
|
|
|
|
|
2014-10-03 23:11:33 +08:00
|
|
|
uart2: serial@e1040000 {
|
2012-05-16 14:45:54 +08:00
|
|
|
compatible = "renesas,em-uart";
|
|
|
|
reg = <0xe1040000 0x38>;
|
2013-11-29 00:37:51 +08:00
|
|
|
interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 13:33:07 +08:00
|
|
|
clocks = <&usib_u2_sclk>;
|
|
|
|
clock-names = "sclk";
|
2012-05-16 14:45:54 +08:00
|
|
|
};
|
|
|
|
|
2014-10-03 23:11:33 +08:00
|
|
|
uart3: serial@e1050000 {
|
2012-05-16 14:45:54 +08:00
|
|
|
compatible = "renesas,em-uart";
|
|
|
|
reg = <0xe1050000 0x38>;
|
2013-11-29 00:37:51 +08:00
|
|
|
interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
|
2013-10-08 13:33:07 +08:00
|
|
|
clocks = <&usib_u3_sclk>;
|
|
|
|
clock-names = "sclk";
|
2012-05-16 14:45:54 +08:00
|
|
|
};
|
2013-07-02 17:27:57 +08:00
|
|
|
|
2015-02-17 21:31:54 +08:00
|
|
|
pfc: pfc@e0140200 {
|
|
|
|
compatible = "renesas,pfc-emev2";
|
|
|
|
reg = <0xe0140200 0x100>;
|
|
|
|
};
|
|
|
|
|
2013-07-02 17:27:57 +08:00
|
|
|
gpio0: gpio@e0050000 {
|
|
|
|
compatible = "renesas,em-gio";
|
|
|
|
reg = <0xe0050000 0x2c>, <0xe0050040 0x20>;
|
2013-11-29 00:37:51 +08:00
|
|
|
interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<0 68 IRQ_TYPE_LEVEL_HIGH>;
|
2013-07-02 17:27:57 +08:00
|
|
|
gpio-controller;
|
2015-02-17 21:31:54 +08:00
|
|
|
gpio-ranges = <&pfc 0 0 32>;
|
2013-07-02 17:27:57 +08:00
|
|
|
#gpio-cells = <2>;
|
|
|
|
ngpios = <32>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
gpio1: gpio@e0050080 {
|
|
|
|
compatible = "renesas,em-gio";
|
|
|
|
reg = <0xe0050080 0x2c>, <0xe00500c0 0x20>;
|
2013-11-29 00:37:51 +08:00
|
|
|
interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<0 70 IRQ_TYPE_LEVEL_HIGH>;
|
2013-07-02 17:27:57 +08:00
|
|
|
gpio-controller;
|
2015-02-17 21:31:54 +08:00
|
|
|
gpio-ranges = <&pfc 0 32 32>;
|
2013-07-02 17:27:57 +08:00
|
|
|
#gpio-cells = <2>;
|
|
|
|
ngpios = <32>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
gpio2: gpio@e0050100 {
|
|
|
|
compatible = "renesas,em-gio";
|
|
|
|
reg = <0xe0050100 0x2c>, <0xe0050140 0x20>;
|
2013-11-29 00:37:51 +08:00
|
|
|
interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<0 72 IRQ_TYPE_LEVEL_HIGH>;
|
2013-07-02 17:27:57 +08:00
|
|
|
gpio-controller;
|
2015-02-17 21:31:54 +08:00
|
|
|
gpio-ranges = <&pfc 0 64 32>;
|
2013-07-02 17:27:57 +08:00
|
|
|
#gpio-cells = <2>;
|
|
|
|
ngpios = <32>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
gpio3: gpio@e0050180 {
|
|
|
|
compatible = "renesas,em-gio";
|
|
|
|
reg = <0xe0050180 0x2c>, <0xe00501c0 0x20>;
|
2013-11-29 00:37:51 +08:00
|
|
|
interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<0 74 IRQ_TYPE_LEVEL_HIGH>;
|
2013-07-02 17:27:57 +08:00
|
|
|
gpio-controller;
|
2015-02-17 21:31:54 +08:00
|
|
|
gpio-ranges = <&pfc 0 96 32>;
|
2013-07-02 17:27:57 +08:00
|
|
|
#gpio-cells = <2>;
|
|
|
|
ngpios = <32>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
gpio4: gpio@e0050200 {
|
|
|
|
compatible = "renesas,em-gio";
|
|
|
|
reg = <0xe0050200 0x2c>, <0xe0050240 0x20>;
|
2013-11-29 00:37:51 +08:00
|
|
|
interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<0 76 IRQ_TYPE_LEVEL_HIGH>;
|
2013-07-02 17:27:57 +08:00
|
|
|
gpio-controller;
|
2015-02-17 21:31:54 +08:00
|
|
|
gpio-ranges = <&pfc 0 128 31>;
|
2013-07-02 17:27:57 +08:00
|
|
|
#gpio-cells = <2>;
|
|
|
|
ngpios = <31>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
2015-07-11 15:46:25 +08:00
|
|
|
|
|
|
|
iic0: i2c@e0070000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "renesas,iic-emev2";
|
|
|
|
reg = <0xe0070000 0x28>;
|
|
|
|
interrupts = <0 32 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
clocks = <&iic0_sclk>;
|
|
|
|
clock-names = "sclk";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
iic1: i2c@e10a0000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
compatible = "renesas,iic-emev2";
|
|
|
|
reg = <0xe10a0000 0x28>;
|
|
|
|
interrupts = <0 33 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
clocks = <&iic1_sclk>;
|
|
|
|
clock-names = "sclk";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2012-05-16 14:45:54 +08:00
|
|
|
};
|